개발/Xilinx Zynq
QSPI Kernel Booting
slayernoone
2016. 11. 17. 21:40
1. Kernel Update
U-Boot-PetaLinux> setenv ipaddr 192.168.0.125;setenv serverip 192.168.0.43;tftpboot 0x1000000 image.ub
U-Boot-PetaLinux> sf probe 0 0 0
U-Boot-PetaLinux> sf erase 0x1000000 0x1000000
U-Boot-PetaLinux> sf write 0x1000000 0x1000000 0xffffff
2. Kernel Boot Script
U-Boot-PetaLinux> sf probe 0 0 0
U-Boot-PetaLinux> sf read 0x8000000 0x1000000 0x1000000
U-Boot-PetaLinux> bootm 0x8000000
U-Boot-PetaLinux> setenv bootcmd 'sf probe 0 0 0; sf read 0x8000000 0x1000000 0x1000000; bootm 0x8000000'