cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
303 Views
Registered: ‎10-13-2015

KCU105 Petalinux image won't fit, how to load and boot from second flash (U36)?

We're trying to fit the linux image into flash.  The bitfile is just less than 16MB and the linux image (image.elf) file is about 20 MB.  That exceeds the 32MB (128 Mb) of U35.  How can I store the Linux image in the second QSPI flash device (U36) and boot from it?

The bootloader expects the memory to be mapped like this:

0x0000000 – 0x0FFFFFF : bit file (16MB)

0x1000000 – 0x1FFFBFF : linux image (~16MB)

0x1FFFC00 – 0x1FFFFFF : image_desc.bin

Alternatively, I might be able to boot from SD Card, but ug1144 suggests this only works on the Zynq.  Can I boot uBlaze Petalinux from SD?
 
Thanks!
Tags (3)
0 Kudos
Reply
2 Replies
Highlighted
Moderator
Moderator
185 Views
Registered: ‎09-12-2007

If you have ethernet, then you can boot the kernel over tftp from uboot. This would be the easiest way, as it doesnt require any HW/SW changes

0 Kudos
Reply
Highlighted
Observer
Observer
174 Views
Registered: ‎10-13-2015

Thanks - that would work for development, but we are trying to send MCS files to customers for evaluation of our IP cores, and we don't want them to have to set up the enviromment for TFTP for a demo.  Is there a way to get to the second flash chip?  Maybe download a partial MCS with some code (modified FSBL?) that copies from the first flash to the second, making room to overwrite the first flash with the bit file...?  Then boot PetaLinux from the second flash?

My assumption is that the JTAG cannot access the second flash.  Is that correct?  They are both wired directly to the FPGA, so why is there a limitation to the first flash?

 

Thanks.

0 Kudos
Reply