Nand partition in I.MX28

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

Nand partition in I.MX28

884 次查看
srinivasanshanm
Contributor III

Dear I.MX Community

How to create mtd partitions on nand in I.MX28 ?

The default partitions mtd0, mtd1 exists, I want to create mtd2

Please let me know how to create the same

Thanks in advance,

标签 (2)
0 项奖励
回复
2 回复数

655 次查看
Yuri
NXP Employee
NXP Employee

Hope the following helps.

1.

https://community.freescale.com/message/237117#237117

2.

MX28 Linux just creates boot area partition and general use partition.

The size of boot area partition is hard code in source code.

You can create partitions in general use partition which command line parameter "mtdparts",
or you create ubi volume in ucl.xml when you mfg to program NAND.

<CMD type="push" body="$ ubimkvol /dev/ubi0 -n 0 -N rootfs0 -s 256MiB">Creating UBI volumes</CMD>

<CMD type="push" body="$ ubimkvol /dev/ubi0 -n 1 -N data -m">Creating UBI volumes</CMD>


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

655 次查看
srinivasanshanm
Contributor III

Could any body please update to the above thread as early as possible

0 项奖励
回复