How to load boot linux kernal from NAND flash in P2041RDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to load boot linux kernal from NAND flash in P2041RDB

732 次查看
karavindvijayak
Contributor I

We are using P2040 in our board. We are using QorIQ SDK V2.0 along with update
SDK-v2.0-1703 .

If we want to use NAND flash for linux booting , Is there any document that gives us the procedure to achieve this

标签 (1)
0 项奖励
回复
1 回复

639 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello k aravind vijaya kumar,

I assume that you have deployed uImage at offset 1a000000, dtb at 1e000000, jffs2 filesystem on the second partition, Ramdisk filesystem at 0x12000000 on NAND flash.

nand read 0x10000000 1a000000 0x1000000

nand read 0x20000000 1e000000 0x100000

boot from jffs2 filesystem.

setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 rw console=ttyS0,115200

bootm 0x10000000 - 0x20000000

boot from Ramdisk filesystem

nand read 0x40000000 0x12000000 0x4000000

bootm 0x10000000 0x40000000 0x20000000

Thanks,

Yiping

0 项奖励
回复