How to create mtd partitions on NAND

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

How to create mtd partitions on NAND

1,630 Views
swaraj
Contributor II

How  to create mtd partitions on NAND ,Can anyone help me ?

Labels (1)
0 Kudos
4 Replies

1,010 Views
snan1z
Contributor I

You can check this topic, Mike's reply will help you, he had created ubi volumes with ubimkvol command.

http://imxcommunity.org/group/imx28andimx28evk/forum/topics/imx28-nand-boot-no-init-found

 

create a ubi volume as <volume_name> that has size of 50MiB

$ ubimkvol  /dev/ubi0 -N <volume_name> -s 50MiB

 

-m means rest of space

$ ubimkvol  /dev/ubi0 -N <volume_name> -m

 

 

Also, attachment at this link may help you
http://imxcommunity.org/forum/topics/imx28-nand-boot?commentId=4103... 

0 Kudos

1,010 Views
JonSzymaniak
Contributor II

The following discussion contains a bunch of info on setting up NAND. It helped me getting NAND with UBIFS running.

 

http://imxcommunity.org/forum/topics/imx28-nand-boot

0 Kudos

1,010 Views
swaraj
Contributor II

Thanks for the reply Sinan, Should they be configured while kernel compiling or should we follow any other procedure for that.

Please help me in creating those volumes. As i am stuck at a point.


0 Kudos

1,010 Views
snan1z
Contributor I

In the past, I dealt with mtd partitioning and according to me it is very hard. Instead of this, ubi volumes may help you ( If you use ubifs ).

0 Kudos