In this article, we compile Uboot
Extract:
[#17 #17:26:56 [email protected] ~/zybo_demo] $tar zxvf *.tar.gz
The following problems occurred during the decompression process
Tar:xlnx-boot/arch/arm/include/asm/arch:cannot create symlink to ' arch-zynq ': File exists
Cause: The source package cannot be placed in the shared folder and the source package is copied to the Linux file system.
Clean
[#63 #18:31:49 [email protected] ~/zybo_demo/u-boot-xlnx-xilinx-v2014.2] $make Distclean
Modify Boards.cfg, add Zynq_zybo, Include/configs add zybo.h and other configuration files, Zedboard and Zybo PS clock is not the same, the configuration needs to be defined as 50MHz
[#64 #18:31:53 [email protected] ~/zybo_demo/u-boot-xlnx-xilinx-v2014.2] $make zynq_zybo_config
Make
[#66 #18:32:[email protected] ~/zybo_demo/u-boot-xlnx-xilinx-v2014.2] $make
After the compilation succeeds, the folder will generate U-boot, modify the U-boot.elf file, then copy it to the SDK, merge bitstream as the startup file
The merge method is as follows
The bin file can be copied to the SD card for booting
[Original] based on ZYNQ Linux environment Construction (ii)