A20 Olinuxion Micro NAND bad geometry

Started by Gogolator, January 04, 2016, 10:45:28 PM

Previous topic - Next topic

Gogolator

I want to install Debian on NAND in A20-Micro. But when i make
tar -xzOf nand_part.gz | dd of=/dev/nand
sync
reboot

mkfs.vfat /dev/nanda

The result is "mkfs.fat 3.0.28 (2015-05-16)  unable to get drive geometry, using default 255/63"
When I make "fdisk /dev/nand -l", I don't have any partition!

I think, is a problem of CHS parameter on NAND.
Can you tell me what CHS parameter, have on your NAND?




MBR

The NAND memory is seen in the Linux as a MTD device and these dont have a geometry. Thend don't even have partitions, becasue there are bad blocks that may appear even at the very start of the device. See the kernel documntation of the MTD subsystem, or maybe a nice article at http://free-electrons.com/blog/managing-flash-storage-with-linux/. You will aslo need to look arount at this forum about the instaling Debian on internal NAND flash, because the process is a bit different than booting from a SD card.

LubOlimex

Technical support and documentation manager at Olimex