This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flashing file system into the Nand flash and Booting

Hi all:

Two nand flashes :

1) 512MiB Hynix nand flash!

page size = 2KiB

Erasesize = 128KiB

For creating ubifs image:

./mkfs_ubifs -r filesytem/ -m 2048 -e 129024 -c 812 -o ubifs.img

./ubinize -o ubi.img -m 2048 -p 128KiB -s 512 ubinize.cfg

ubinize.cfg file contains:

[ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_size=100MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize

I'ts working fine!

2) 2048MiB Micron nand flash:

pagesize = 4KiB

Erasesize = 1024KiB

./mkfs.ubifs -r android_rootfs -m 4096 -e 1044480 -c 812 -o ubifs.img

./ubinize -o ubi.img -m 4096 -p 1024KiB -s 1024 -O 4096 ubinize.cfg

But above thing is not working for me!

I am asking interms of mounting from nand flash!

Please need help?

Regards,

santosh vastrad