日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Zynq ZC702平台 QSPI + eMMC实现

發(fā)布時間:2025/3/21 编程问答 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Zynq ZC702平台 QSPI + eMMC实现 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

預(yù)備知識:

UG821

The processor system boot is a two-stage process:? Another boot mode supported through FSBL is eMMC boot mode. This boot mode is possible only when the primary boot mode (set through the boot mode pins) is QSPI. This is used when you have a small QSPI flash and would like to store all the other partitions on a larger flash memory like eMMC. In this case, place the FSBL on the QSPI flash, and all the other partitions on eMMC flash.

指導(dǎo)步驟:

To enable and use this boot mode: 1. Create a BSP with the library and set enable_mmc in the SDK options. For more details, see the library documentation. 2. Enable the MMC_SUPPORT flag through SDK and build FSBL. The FSBL image build (fsbl.elf) now has eMMC support. 3. Stitch the boot image with FSBL as the only partition (using Bootgen). 4. Place the boot image in the QSPI flash. 5. Stitch an image (using Bootgen) with all the other required partitions (like the bitstream or the U-Boot) and place it in the eMMC. 6. Set the boot mode to QSPI. 7. Power cycle the board. 具體實現(xiàn):

Step1.?Create a BSP with the library and set?enable_mmc?in the SDK options. For more details, see the library documentation.?

--建立FSBL,點擊 Modify this BSP's Settings --> Supported Libaries中選中xilffs

--xilffs的pdf見《UG1032》

?

?

Step2:Enable the?MMC_SUPPORT?flag through SDK and build FSBL. The FSBL image build (fsbl.elf) now has eMMC support.

?--FSBL工程,右鍵,彈出菜單中選中 C/C++ Building Settings 添加?-DMMC_SUPPORT

?

Step3.??Stitch the boot image with?FSBL as the?only partition?(using Bootgen).?

--SDK下用Bootgen只添加FSBL,生成BOOT.BIN,

?

Step4.?Place the boot image in the QSPI flash.

--通過JTAG燒錄step3中生產(chǎn)的BOOT.BIN文件到QSPI中

?

Step5.?Stitch an image (using Bootgen) with?all the other required partitions?(like the bitstream or the U-Boot) and place it in the eMMC.

--SDK下用Bootgen添加bitstream or the U-Boot,生成BOOT.BIN, 這個文件要拷貝到eMMC中

?

Step6.?拷貝step5生產(chǎn)的BOOT.bin,以及uImage,devicetree,ramdisk到SD中,啟動

--由于ZC702沒有eMMC,用SD代理,原理一樣。

原文鏈接:

https://www.cnblogs.com/kevin-heyongyuan/p/7529214.html

總結(jié)

以上是生活随笔為你收集整理的Zynq ZC702平台 QSPI + eMMC实现的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。