Maybe this is reopen an old post. But I need the help.
I just bought a NanoPi M1 Plus. I'm using armbian in a SD since I bought it. But now I need to install the OS in the eMMC. I read all this topic and tried everything what is posted here but I have no luck to boot from the eMMC. I read the post about Orange Pi Plus Also
(https://forum.armbian.com/index.php?/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/&do=findComment&comment=13163)
The ARMBIAN is ARMBIAN 5.31 stable Ubuntu 16.04.3 LTS 3.4.113-sun8i
Kernel: Linux nanopim1plus 3.4.113-sun8i
My first try was just with the command
root@nanopim1plus:~# nand-sata-install
- Boot from eMMC - system on eMMC
root@nanopim1plus:~# shutdown now
Then I removed the MicroSD and the NanoPi didn't powered on. Any led was turned on. So I put the SD again and works perfect. I checked the mount point and it was the SD.
adm720@nanopim1plus:~$ mount | grep "on / "
/dev/mmcblk0p1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600)
Then, after looking for more information I saw this post. So I checked the u-boot version, and put the ubootsunxi from this post https://forum.armbian.com/index.php?/topic/1070-install-to-emmc/&do=findComment&comment=8733
adm720@nanopim1plus:~$ apt-cache show linux-u-boot-nanopim1plus-default
Package: linux-u-boot-nanopim1plus-default
Priority: optional
Section: kernel
Installed-Size: 1
Maintainer: Igor Pecovnik <igor.pecovnik@****l.com>
Architecture: armhf
Version: 5.31
Replaces: armbian-u-boot
Provides: armbian-u-boot
Conflicts: armbian-u-boot, u-boot-sunxi
Filename: pool/main/l/linux-u-boot-nanopim1plus-default/linux-u-boot-nanopim1plus_5.31_armhf.deb
Size: 161282
MD5sum: 5bea2da104995d66ca4e0d961745aaf0
SHA1: 22e70eab4de210cb7fe299bfd9acbf91b7aaa536
SHA256: e81f5d63351073a0347103e5a2ecdc99964bba4987c94b75c31af6f31d4222a5
SHA512: 40cc20e1c243792615a1e74d3f298b0f5b95ac727ccd557ac28dfeccbf764ad8d1793085709789159400c92f6e8f0949a56ab628d227e7853b30a173818aedb2
Description: Uboot loader 2017.05
Description-md5: 5b485683dfb12e42771782964c9ccc2e
root@nanopim1plus:# sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk1 bs=1024 seek=8
root@nanopim1plus:# nand-sata-install
Boot from eMMC - system on eMMC
But another time the same. After shutting down, removed the SD and then powered up again, no led blinking and no link on eth.
Read more and found the post about the orange pi. So let's try.
root@nanopim1plus:# nand-sata-install
Boot from eMMC - system on eMMC
# Reboot with SD
root@nanopim1plus:# cp /boot/script.bin /boot/script.bak
root@nanopim1plus:# bin2fex /boot/script.bin /tmp/script.fex
root@nanopim1plus:# vi /tmp/script.fex
# Search scd_detmode = 3 and change to 1
root@nanopim1plus:# fex2bin /tmp/script.fex /boot/script.bin
root@nanopim1plus:# shutdown now
I removed the sd and then I powered up the nanopi again but what happend? Nothing again.
Is there any guide or are there any faulty package that it is disabling me to boot from the eMMC?
Thanks!