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?
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/ (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.
Please check this wiki article: https://www.olimex.com/wiki/How_to_install_Debian_to_NAND (https://www.olimex.com/wiki/How_to_install_Debian_to_NAND)
Best regards,
Lub/OLIMEX