Nand partition in I.MX28

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Nand partition in I.MX28

1,061 Views
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,

Labels (2)
0 Kudos
Reply
2 Replies

832 Views
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 Kudos
Reply

832 Views
srinivasanshanm
Contributor III

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

0 Kudos
Reply