Ake Posted May 3, 2017 Share Posted May 3, 2017 Hi. I would like to install Armbian on Cubieboard2 with eMMC as internal storage and have faced some problems. The first challenge was to make eMMC accessible, it was solved using .fex from cubieboard sdk for this revision (also tried cubieboard2dual.fex, but without any effect). The second problem was behavior of nand-sata-install included in desktop image - it overwrite wrong root partition (external SD instead of eMMC), but it was also solved using latest version of nand-sata-install. But after installation, system isn't booting from eMMC. Since root filesystem is successfully copied to eMMC, I think there is problem with bootloader. Is there any way to solve this problem? Link to comment Share on other sites More sharing options...
Igor Posted May 3, 2017 Share Posted May 3, 2017 https://docs.armbian.com/Hardware_Allwinner-A20/#bugs-or-limitation Link to comment Share on other sites More sharing options...
zador.blood.stained Posted May 3, 2017 Share Posted May 3, 2017 26 minutes ago, Ake said: I think there is problem with bootloader. Is there any way to solve this problem? Impossible to say without logs from the serial console. Most likely u-boot needs to be recompiled with CONFIG_MMC_SUNXI_SLOT_EXTRA=2 added to cubieboard2 defconfig Link to comment Share on other sites More sharing options...
Igor Posted May 3, 2017 Share Posted May 3, 2017 OMG, they made an eMMC version? I am almost sure we don't have support withing u-boot. Link to comment Share on other sites More sharing options...
Ake Posted May 3, 2017 Author Share Posted May 3, 2017 6 minutes ago, zador.blood.stained said: Most likely u-boot needs to be recompiled with CONFIG_MMC_SUNXI_SLOT_EXTRA=2 added to cubieboard2 defconfig Could you tell where can I find manual/instructions for this procedure and further actions? Link to comment Share on other sites More sharing options...
Igor Posted May 3, 2017 Share Posted May 3, 2017 That line has to be added here and you need to recompile u-boot. I'll add to our patch set and after you could just make an image and it should work out of the box. Edit: self built image should work now. Link to comment Share on other sites More sharing options...
Ake Posted May 4, 2017 Author Share Posted May 4, 2017 Thanks, it works. But after booting from eMMC root filesystem is mounted read only and fstab settings is probably ignored. There are no relevant messages in syslog/dmesg except mount fails with status 32. Link to comment Share on other sites More sharing options...
Recommended Posts