# uname -a
Linux H6 4.18.13-sunxi64 #3 SMP Fri Oct 12 17:43:44 CST 2018 aarch64 GNU/Linux
1, burn the image to SD card
2, use nand-sata-install command, burn emmc
3, remove the SD card
4, reboot the board, can't boot, the error message:
U-Boot SPL 2018.09-rc1-armbian (Oct 12 2018 - 17:39:13 +0800)
DRAM: 1024 MiB
Trying to boot from MMC2
MMC Device 1 not found
spl: could not find mmc device. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
root@H6:/mnt/emmc# fdisk -l
Disk /dev/mmcblk0: 30 GiB, 32218546176 bytes, 62926848 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x36326db0
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 62297567 62289376 29.7G 83 Linux
Disk /dev/mmcblk2: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7b2f8591
Device Boot Start End Sectors Size Id Type
/dev/mmcblk2p1 8192 15117183 15108992 7.2G 83 Linux
mkdir /mnt/emmc
mount /dev/mmcblk2p1 /mnt/emmc
and then I try modify the /mnt/emmc/boot/boot.cmd and /mnt/emmc/boot/boot.scr files,
setenv rootdev "/dev/mmcblk0p1" change mmcblk0p1 to mmcblk2p1
if test "${devtype}" = "mmc"; then part uuid mmc 0:1 partuuid; fi change "mmc 0:1" to "mmc 2:1"
and I check the emmc device UUID, is correct.
root@H6:/mnt/emmc/boot# cat armbianEnv.txt
verbosity=1
console=both
overlay_prefix=sun50iw6p1-
rootdev=UUID=178e84b7-40bc-4ebc-922d-9850051c8c00
rootfstype=ext4
user_overlays=network
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
root@H6:/mnt/emmc/boot# blkid
/dev/mmcblk0p1: UUID="9766d929-82b6-4c2f-90e0-6f422af64df5" TYPE="ext4" PARTUUID="36326db0-01"
/dev/mmcblk2p1: UUID="178e84b7-40bc-4ebc-922d-9850051c8c00" TYPE="ext4" PARTUUID="7b2f8591-01"
/dev/zram0: LABEL="log2ram" UUID="00102ace-f4c5-4d78-af23-3a8b22b9f360" TYPE="ext4"
/dev/zram1: UUID="a4a7b532-e8d5-481b-a5ed-5616bf0ad9fa" TYPE="swap"
/dev/zram2: UUID="62a328b0-3e44-41ff-a9dd-79a49d74d9c7" TYPE="swap"
/dev/zram3: UUID="3b5ed341-f05b-4907-b965-8840f2541c82" TYPE="swap"
/dev/zram4: UUID="14517095-4a69-4210-bbd8-d53c1a34d3d7" TYPE="swap"
/dev/mmcblk0: PTUUID="36326db0" PTTYPE="dos"
/dev/mmcblk2: PTUUID="7b2f8591" PTTYPE="dos"
follow this document, can't find script.bin in system.
https://forum.armbian.com/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/?tab=comments#comment-13163
where is the problem, any help ?
thinks.