NAND Partitions on ARM

Fabrizio Grasso
2005-01-04T13:58:24Z

Hi all,
I'm using S3C2410A from Samsung and SMDK2410 from Aiji System. Kernel is
2.4.18 from MIZI and bootloader is VIVI version 0.1.4 .
I'm trying to partition my NAND flash (64MB) by using VIVI commands. The
result I obtained is:
>- bon part info
> > BON info. (5 partitions)
> > No: offset size flags bad
> > ---------------------------------------------
> > 0: 0x00000000 0x00020000 00000000 0 128k
> > 1: 0x00020000 0x00010000 00000000 0 64k
> > 2: 0x00030000 0x000d0000 00000000 0 832k
> > 3: 0x00100000 0x02200000 00000000 0 34M
> > 4: 0x02300000 0x01cfc000 00000000 0 28M+1008k
> >
> >- part show
> > mtdpart info. (5 partitions)
> > name offset size flag
> >
> >-------------------------------------------------------------------------
> -------
> > vivi : 0x00000000 0x00020000 4 128k
> > param : 0x00020000 0x00010000 4 64k
> > kernel : 0x00030000 0x000d0000 4 832k
> > root : 0x00100000 0x02200000 4 34M
> > data : 0x02300000 0x01d00000 8 29M

Under /dev/bon I can see all 4 partitions... but under /dev/mtdblock I can
see only "0" !!
What I'm missing?

My system boots from NAND and mounts FS in ram. I'm trying to make
partitions to have one of them readable/writable at runtime... I'd like to
have the last partitions to store personal data!

Has anybody any suggestion?

Thanks a lot