12-04-2014 06:47 AM
I am trying to boot linux from JTAG mode following the pdf from
Everything looks fine, but when i run bootm 0x3000000 0x2000000 0x2A00000 in terminal window. I get error
" wrong image format for bootm command
ERROR: can't get kernel image!"
I tried so many things if I made error. If anybody have similar issues with this tutorial also, please reply.
Please somebody reply.
12-04-2014 06:50 AM
12-04-2014 07:24 AM
Hi @ashishd, I looked into the forums you suggested. But they did not help. I don't think I missed any steps.
first, fpga is programmed with bit file.
in XMD console,
connect arm hw
dow -data C:/ug873_design/BOOT.bin 0x3000000
dow -data C:/ug873_design/ramdisk8M.image.gz 0x2000000
dow -data C:/ug873_design/devicetree.dtb 0x2A00000
pause uboot autoboot(in terminal by hitting some key)
typed bootm 0x3000000 0x2000000 0x2A00000 in terminal
then got error.
@sampatd , I used image from ug873_design_files.zip.
12-04-2014 07:32 AM
Try this sequence in xmd console (make sure that the mode pins on the board are set to jtag)
connect arm hw
fpga -f download.bit (if you have a bit file; otherwise skip this step)
//prese a key on the serial terminal now to stop autoboot from u-boot and you should see a command prompt on the serial terminal//
dow -data directory/uImage.bin 0x3000000
dow -data directory/uramdisk.image.gz 0x2000000
dow -data directory/devicetree.dtb 0x2A00000
bootm 0x3000000 0x2000000 ( on serial terminal)
when you are using the ps7_init.tcl to initialize the ps system, you do not need to download the fsbl.elf, which does the samething when booting from a flash.
12-04-2014 07:49 AM
12-04-2014 08:00 AM
12-04-2014 08:18 AM
12-05-2014 12:51 AM
Hi @sampatd, I used zImage from ug873_design_files.zip(uImage is not found in the zip archive). I still get same error. Besides, I also used "Create Zynq Boot Image" to get new boot image. The boot image can be save either in bin or mcs format.
Using the boot.bin from above, does not help either. Could you tell me how to generate uImage?
Thanks a lot your help.