Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A10 => Topic started by: vaid on December 08, 2015, 11:14:33 PM

Title: How to use NAND-PART?
Post by: vaid on December 08, 2015, 11:14:33 PM
I wonder, how do I use NAND-PART from Sunxi?

Can erase the whole NAND chip and just create two partitions, rather than the 10 partitions that Allwinner PhoenixSuite creates?
Title: Re: How to use NAND-PART?
Post by: JohnS on December 09, 2015, 02:05:52 AM
I suspect it's hardly ever used.

google may be the way to find out.

I don't know why you want to use it...

John
Title: Re: How to use NAND-PART?
Post by: vaid on December 09, 2015, 04:30:18 AM
I want to have just two partitions on my NAND. The OS is on the SD card and the NAND will be used for some specific files.

I just want to find a way to re-format the NAND, that's all.
Title: Re: How to use NAND-PART?
Post by: JohnS on December 09, 2015, 10:22:26 AM
Worst case you render the NAND unusable.  Maybe google will help.  Good luck!

John
Title: Re: How to use NAND-PART?
Post by: igorpec on December 10, 2015, 05:17:14 PM
Check this example:

https://github.com/igorpecovnik/lib/blob/second/scripts/nand-sata-install/usr/lib/nand-sata-install/nand-sata-install.sh#L113-L127

It creates one 32Mb boot and X Mb for the rest.
Title: Re: How to use NAND-PART?
Post by: vaid on December 12, 2015, 05:09:16 PM
@igorpec: thank you