imx6 u-boot.bin 和 u-boot.imx


有些MFG TOOL燒錄工具使用了u-boot.imx,而不是原來的u-boot.bin文件進行燒錄。

這兩個鏡像的區別是,u-boot.bin文件編譯后,會在u-boot.bin的開頭添加一個大小為1K的IVT頭,用於告訴BOOT ROM找到uboot的位置和函數,要運行在什么模式,DRAM的配置數據等。新生成的文件就是u-boot.imx文件。

參考鏈接:

https://community.nxp.com/thread/309765

以下內容來自參考鏈接

You can look into the HEX code of u-boot.imx, for the first 1K structure, the beginning is formatted as below, this header is for uboot-v2009.08, but I think uboot-2013-04 is same, although the code is different, but eventually they will both put a header in front of uboot.bin.
 
ROM will read first IVT header to identify which mode need to execute, DCD or PLUG, if DCD mode, then where to find the DRAM config data, and after DRAM configured, where to read the reset uboot image and where to put this image, in which DRAM address etc.

Tony Liu

2016-11-11, Shenzhen


免責聲明!

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



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