MPSOC之5——開發流程BOOT.BIN


需要把若干文件打成大包,燒寫到flash或者sd卡中,才能啟動運行。

1.petalinux打包

petalinux-packet打包時,需要petalinux的工程,限制太死了,不用。

2 windows環境SDK打包

2.1 制作BOOT.bin

用SDK的圖形界面搞定也是一樣的。(markdown顯示本地圖片,路徑里的\要換成/,蛋疼)

為啥必須要pmu和atf,后續再研究,先把系統啟動起來再說。

2.2 燒寫到SD卡

BOOTROM支持FAT32,把剛才生成的BOOT.bin拷貝到SD卡里,並把mpsoc的啟動介質設置為SD,即可完成啟動。
啟動界面如下:

Xilinx Zynq MP First Stage Boot Loader 

Release 2017.2   Jun 19 2017  -  21:37:22
NOTICE:  ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000, with PMU firmware
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v1.3(release):0d9d51a
NOTICE:  BL31: Built : 03:32:10, Jun 20 2017


U-Boot 2017.01 (Jun 19 2017 - 21:34:37 -0600) Xilinx ZynqMP ZCU102 rev1.0

I2C:   ready
DRAM:  4 GiB
EL Level:	EL2
Chip ID:	xczu9eg
MMC:   sdhci@ff170000: 0 (SD)
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ZYNQ GEM: ff0e0000, phyaddr c, interface rgmii-id
eth0: ethernet@ff0e0000
Hit any key to stop autoboot:  4  3  2  1  0 
reading uImage
** Unable to read file uImage **
reading uramdisk.image.gz
** Unable to read file uramdisk.image.gz **
reading zynqmp-sf-zcu102.dtb
** Unable to read file zynqmp-sf-zcu102.dtb **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
ZynqMP> 

沒有燒寫kernel等,所以提示找不到文件。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM