On Sat, Feb 6, 2016 at 7:25 AM, Moritz Fischer <moritz.fisc...@ettus.com> wrote: > Hi Nathan, > > On Mon, Jan 18, 2016 at 2:59 AM, Nathan Rossi <nat...@nathanrossi.com> wrote: >> On Mon, Jan 18, 2016 at 8:43 PM, Mike Looijmans <mike.looijm...@topic.nl> >> wrote: >>> I just tried with current xilinx/master u-boot. >>> >>> QSPI support is still broken. >>> >>> This makes the current bootloader useless, we ALWAYS boot from QSPI. >>> >>> >>> Any news on this front? Anything we can do? >> >> Try u-boot mainline master, it has fixes for QSPI booting. I have it >> working well on the Zybo, but the fixes were not specific to that >> board. > > So I built off of master (94985cc9d3d7ed991ca8b2627d5894df5ea68f49) > added the u-boot,dm-pre-reloc to the dts for the qspi node. > > I then boot off of mmc which works fine (on zedboard). Do you have any > pointers > as to which address I have to write my u-boot-dtb.img and boot.bin to > from u-boot > to boot from qspi (on zedboard?).
boot.bin is always at 0x0, since it is loaded by the BootROM. As for the u-boot-dtb.img, that is loaded from whatever "CONFIG_SYS_SPI_U_BOOT_OFFS" is set to. It's defined in zynq-common.h as 0x100000 by default. http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/zynq-common.h;h=e8c3ef0c387222ad0c507a90451bd09ae68d058c;hb=HEAD#l350 Regards, Nathan > > I tried to follow: http://www.wiki.xilinx.com/U-Boot+Secondary+Program+Loader > > I also tried to adapt sizes to fit my file sizes, with no luck. > > Thanks, > > Moritz -- _______________________________________________ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx