hit some problem when trying to install the latest image to eMMC. following is terminal output from armbian booted off SD card (with dtb file from hexdump)
root@rk3328:~# mount | grep mmcblk
/dev/mmcblk0p2 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/mmcblk0p2 on /var/log.hdd type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600)
root@rk3328:~# ls -la /dev/mmcblk*
brw-rw---- 1 root disk 179, 0 Apr 27 15:23 /dev/mmcblk0
brw-rw---- 1 k 179, 1 Apr 27 15:23 /dev/mmcblk0p1
brw-rw---- 1 root disk 179, 2 Apr 27 15:23 /dev/mmcblk0p2
brw-rw---- 1 root disk 179, 32 Apr 27 15:23 /dev/mmcblk2
brw-rw---- 1 root disk 179, 64 Apr 27 15:23 /dev/mmcblk2boot0
brw-rw---- 1 root disk 179, 96 Apr 27 15:23 /dev/mmcblk2boot1
brw-rw---- 1 root disk 179, 128 Apr 27 15:23 /dev/mmcblk2rpmb
install.sh sets the destination to mmcblk1pX because mmcblk0pX is mounted from SD card.
this is truncated output from install.sh (see mmcblk1p1 does not exist)
root@rk3328:~# ./install.sh
Start copy system for eMMC.
/dev/mmcblk0p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 0
Formatting BOOT partition...mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/mmcblk1p1: No such file or directory
done.
mount: special device /dev/mmcblk1p1 does not exist
Cppying BOOT...done.
Edit init config...done.
umount: /ddbr/install: not mounted
Formatting ROOT partition...
The file /dev/mmcblk1p2 does not exist and no size was specified.
e2fsck 1.43.4 (31-Jan-2017)
e2fsck: No such file or directory while trying to open /dev/mmcblk1p2
Possibly non-existent device?
done.
Copying ROOTFS.
mount: special device /dev/mmcblk1p2 does not exist
Copy BIN
Create DEV
Copy ETC
tar: etc/fstab: time stamp 2019-04-27 15:27:57 is 124.421815093 s in the future
Copy HOME
Copy LIB
tar: lib/firmware/cxgb3: time stamp 2019-04-27 15:25:54 is 1.11954926 s in the future
tar: lib/firmware/bnx2: time stamp 2019-04-27 15:25:54 is 0.988122802 s in the future
tar: lib/firmware/kaweth: time stamp 2019-04-27 15:25:54 is 0.708338343 s in the future
tar: lib/firmware/dpaa2/mc: time stamp 2019-04-27 15:25:54 is 0.420168176 s in the future
tar: lib/firmware/rkwifi/bcmdhd: time stamp 2019-04-27 15:25:54 is 0.20225176 s in the future
tar: lib/udev/rules.d: time stamp 2019-04-27 15:27:23 is 20.601957435 s in the future
Create MEDIA
Create MNT
Copy OPT
Create PROC
Copy ROOT
Create RUN
Copy SBIN
tar: sbin: time stamp 2019-04-27 15:27:27 is 23.46567281 s in the future
Copy SELINUX
Copy SRV
Create SYS
Create TMP
Copy USR
I am leaving it to finish but I don't expect to have some effect. looks like the eMMC is on /dev/mmcblk2 and it's not mountable
does anybody have an idea what is going on please?
ddbr performs fine, it can copy the mmcblk2 drive