How Boot from NAND FLASH memory (A20-OlinuXino-Lime, with A10 CPU)

Started by kontaktasa, July 11, 2024, 09:42:42 PM

Previous topic - Next topic

kontaktasa

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



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:~$


LubOlimex

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.
Technical support and documentation manager at Olimex