大家好:
最近在调一个imx6qp的板子(sabresd sdb),有一个疑问想跟大家请教一下。
我看到有资料说,板子在上电后,boot rom会先拷贝IVT,Boot Data,设备配置数据DCD和用户代码数据等信息到片上ram(ocram)中,然后再根据这些信息启动uboot,那么最后uboot是运行在ocram中呢,还是运行在ddr里面的呢?是否有这方面相关的资料呢?
谢谢。
Hi Harris,
After power up, ROM CODE in CPU will read 4K code from Flash/SD card/eMMC to internal RAM, in the 4K data, code for DDR initialization is included, and will be used to initialize DDR, after DDR initialization is done, full u-boot will be loaded into DDR.
So finally u-boot will run in DDR
More information can be found in chapter boot flow in reference manual.
Have a nice day!
NXP TIC weidong sun
Thank you very much!