0

I am trying to boot Linaro on a Zynq board, but can't get past U-Boot. If I try to run "bootm" manually at the prompt I just get an error:

Zynq> bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!

I've been taking the u-boot.elf I generate from Xilinx's Petalinux SDK and generating BOOT.BIN with it using a shell script provided by ADI. uImage is a known good image provided by ADI, but I've also tried recompiling the kernel myself. I guess the actual question is why does it think the image is formatted wrong? How can I change the image format or change what uboot expects?

I've pasted the boot log below. I don't know why it tries to run the command "booti" at the end.

U-Boot 2018.01 (Feb 19 2019 - 13:41:17 -0800) Xilinx Zynq TE0720

Board: Xilinx Zynq
Silicon: v3.1
I2C:   ready
DRAM:  ECC disabled 1 GiB
MMC:   sdhci@e0100000: 0 (SD), sdhci@e0101000: 1 (eMMC)
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB
In:    serial@e0000000
Out:   serial@e0000000
Err:   serial@e0000000
Board: Xilinx Zynq
Silicon: v3.1
Net:   ZYNQ GEM: e000b000, phyaddr ffffffff, interface rgmii-id
eth0: ethernet@e000b000
Hit any key to stop autoboot:  0 
reading uEnv.txt
381 bytes read in 10 ms (37.1 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
Running uenvcmd ...
Copying Linux from SD to RAM...
reading uImage
4109416 bytes read in 237 ms (16.5 MiB/s)
reading devicetree.dtb
10436 bytes read in 16 ms (636.7 KiB/s)
** Unable to read file uramdisk.image.gz **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Device: sdhci@e0100000
Manufacturer ID: 1b
OEM: 534d
Name: 00000 
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading uImage
4109416 bytes read in 237 ms (16.5 MiB/s)
Device: sdhci@e0100000
Manufacturer ID: 1b
OEM: 534d
Name: 00000 
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading devicetree.dtb
10436 bytes read in 16 ms (636.7 KiB/s)
Unknown command 'booti' - try 'help'
Zynq> 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.