July 05, 2020, 09:43:30 pm


Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/

Build latest uboot with NAND support [CLOSED]

Started by Sergey Kostyuk, June 18, 2015, 11:46:12 am

Previous topic - Next topic

Sergey Kostyuk

June 18, 2015, 11:46:12 am Last Edit: June 22, 2015, 10:52:31 am by Sergey Kostyuk
Good day, community! Advice needed

Intro. The only thing I need is to boot ArchLinux ARM from the NAND flash. This was possible, as I remember, by flashing cubie_nand_uboot_partition_image.bin image, which is walking around. Or building an image from the lichee-dev branch of u-boot-sunxi repo and then flashing it to NAND. But several days ago ArhcLinux ARM team updated their kernel (PKGBUILD) to 4.0.5 and the new kernel needs an updated U-Boot (maybe, because kernel image format was changed from uImage to zImage). But the updated U-Boot package (PKGBUILD) was compiled from the upstream uboot code and can be flashed only on SD-card. So, I'm stuck. On the one hand, I want to get latest updates of the kernel and U-Boot (even if building from the source is needed). On the other hand, corresponding pre-compiled uboot is only available for SD-card installs.

So, is there any way to merge lichee-dev and upstream branches of U-Boot? Is there any other ways to use only NAND for booting of ArchLinux ARM on Cubieboard A10?

Thank you and sorry for my English. I'm working on it :) . Any additional information about the system installed, explanations about what I want will be provided, if needed.

Sergey Kostyuk

June 22, 2015, 10:51:51 am #1 Last Edit: June 22, 2015, 10:54:19 am by Sergey Kostyuk
OK, question is CLOSED. NAND support is planned on v2015.07 release of the mainline U-Boot. So there is nothing to do except wait. See this page for details: https://linux-sunxi.org/Mainline_U-boot