06-13-2019 03:35 PM
My image.ub contains the kernel, flattened device tree, and initramfs per dumpimage -l.
Naively, I tried the following thinking that bootm might know how to read the FIT image:
Zynq> fatload mmc 0 0x01000000 image.ub Zynq> bootm 0x01000000
The kernal began to boot but then hung at something related to PL DMA.
I've seen the form:
Zynq> bootm <address_kernel> - <address_dtb>
I've been reading UG1144 which is pretty good but somehow I missed the detail on how to actually use image.ub. Are there U-Boot command to pull things out of image.ub, place them in memory, and then call bootm with three arguments to specify where those pieces were loaded? Or was I kind of on the right track expecting bootm to figure things out from the FIT format?
06-13-2019 10:33 PM
Can you please try bootm <image.ub address> ?
if still hangs, please share the console logs
06-14-2019 11:03 AM
It turned out that the system was hanging because the FPGA was not configured. I'm bringing stuff up for the first time on Zynq and thought I'd put that on hold while I was getting the FSL, U-Boot, and Linux booting. Obviously that cost me.
It's not clear to me why it would hang or why the DMA has been instantiated in the PL (we didn't explicitly instantiate it) but at least I can move forward.
06-16-2019 04:46 AM
You could be using an IP subsystem that contains DMA, like AXI Ethernet
If you want to bring up linux without bitstream, then you could select the remove pl option in the dtg settings in petalinux-config.
You could go further and use device tree overlays. You would need to create a pl.dtbo, and use fpga manager to load bit and dtbo