Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A10 => Topic started by: kontaktasa on July 11, 2024, 09:42:42 PM

Title: How Boot from NAND FLASH memory (A20-OlinuXino-Lime, with A10 CPU)
Post by: kontaktasa on July 11, 2024, 09:42:42 PM
Hello, I want to flash Linux to NAND FLASH memory. However, I get the error that eMMC is not found. Physically, I can definitely see that the NAND FLASH memory is soldered. Where's the problem? :-[

Board: A20-OlinuXino-Lime Rev.I 2018 (With A10 CPU)
Image: A10-OLinuXino-bullseye-minimal-20231106-081613.img
(https://i.postimg.cc/Jznr8gtv/A10.jpg)


olimex@a10-olinuxino:~$ sudo olinuxino-sd-to-emmc

Detecting board...

Detecting the root device...
Root partition:         /dev/mmcblk0p1
Root device:            /dev/mmcblk0

Detecting eMMC device...
Failed to detect eMMC device!
olimex@a10-olinuxino:~$

Title: Re: How Boot from NAND FLASH memory (A20-OlinuXino-Lime, with A10 CPU)
Post by: LubOlimex on July 12, 2024, 02:52:32 PM
Well, NAND and eMMC are different types of flash memory and NAND is not supported in mainline images. The script (olinuxino-sd-to-emmc) works only for boards with eMMC.

Not only the script won't work, you won't be able to browse the NAND either (using the Olimage).

This is mentioned in bold on page 12 of this document:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf

(!) NAND flash memories are NOT supported in Olimage nor any mainline releases! If you need NAND support, please use the Olimex "legacy" images. These are older 3.4.x sunxi based Linux images. Alternatively, switch to a board variant that uses eMMC flash memory instead of NAND flash memory – eMMC is well-supported within mainline.
Title: Re: How Boot from NAND FLASH memory (A20-OlinuXino-Lime, with A10 CPU)
Post by: kontaktasa on July 13, 2024, 12:39:32 PM
Thanks for the reply.