How to build u-boot boot form qspi flash?
How to build u-boot boot form qspi flash?
Hi,
Here is the repo that contains the sources to build the u-boot.
Andrei
How to build should be described in the documentation(README). The used defconfig might not be that obvious.
export ARCH=arm
export CROSS_COMPILE=<Vitis or SDK instalation dir(+version)>/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-
make zynq_zed_defconfig
make
yes,build compiles without problems, how to make the generated uboot file work on qspi flash? I use tftp to write uboot to qspi flash but nothing happens when I restart.
You need more than u-boot. u-boot is the second stage bootloader.
I'm not sure if you need some special settings for u-boot to boot from qspi. I'm guessing not.
I do not have much experience on booting from qspi. I've played with loading a hello world(and other baremetal projects) as packed in a boot.bin on the qspi via Vitis or SDK.
To boot a linux you need the dtb and kernel image, BOOT.BIN is not enough.
We have some example regarding this on pluto and m2k. Where the above and more are packed in a .frm
Andrei