I am using this device for PiKVM. It appears during the PiKVM install it somehow breaks u-boot transfer when you move the image from mSDC to eMMC. I was on one of the PiKVM discord channels, #unofficial_ports and @jacobb suggested I try to dd u-boot from the mSDC to the eMMC. I did that and it worked. FYI the DD command I used:
dd if=/dev//mmcblk0 of=/dev/mmcblk2 bs=1024 skip=8 seek=8 count=4087
mmcblk0 is the mSDC and mmcblk2 is the eMMC.
Knowing this does work without the PiKVM customizations I am not going to troubleshoot this now. I may work on it in the future.
I'll mark this as solved. Thanks for responding.
BTW here is the nand-sata-install.log for the last failed attempt. Nothing interesting to me.
Tue May 2 04:02:46 PM EDT 2023: Start armbian-install.
Old UUID: UUID=20a438e5-56ab-4920-86aa-a4212c646ce2
SD UUID: b81ecd25-f6d2-49f1-b92b-9a59e458ca3f
SATA UUID: UUID=f406a396-9dcc-4f76-aba4-e24005863895
eMMC UUID: UUID=f406a396-9dcc-4f76-aba4-e24005863895 ext4
Boot: $1 /dev/mmcblk2p1 ext4
Root: $2 /dev/mmcblk2p1
Usage: 3163
Dest: 6765
/etc/fstab:
UUID=20a438e5-56ab-4920-86aa-a4212c646ce2 / ext4 defaults,noatime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0
/etc/mtab:
/dev/mmcblk0p1 / ext4 rw,noatime,errors=remount-ro,commit=600 0 0
/dev/mmcblk0p1 /var/log.hdd ext4 rw,noatime,errors=remount-ro,commit=600 0 0
/dev/mmcblk2p1 /mnt/armbian-install.L5Opkq/bootfs ext4 rw,relatime 0 0
/dev/mmcblk2p1 /mnt/armbian-install.L5Opkq/rootfs ext4 rw,relatime 0 0
/dev/zram1 /var/log ext4 rw,relatime,discard 0 0
Files currently open for writing:
vnstatd 1077 vnstat 3u REG 179,1 147456 47252 /var/lib/vnstat/vnstat.db
tailscale 1489 root 2u REG 179,1 0 132724 /var/lib/tailscale/tailscaled.log1.txt
tailscale 1489 root 7u REG 179,1 0 132724 /var/lib/tailscale/tailscaled.log1.txt
tailscale 1489 root 8u REG 179,1 0 132725 /var/lib/tailscale/tailscaled.log2.txt
master 2631 root 10uW REG 179,1 17 132636 /var/spool/postfix/pid/master.pid
master 2631 root 11uW REG 179,1 17 132637 /var/lib/postfix/master.lock
Trying to stop running services to minimize open files:
Stopping cron.service
Stopping postfix@-.service
Stopping kvmd-nginx.service
Checking again for open files:
vnstatd 1077 vnstat 3u REG 179,1 147456 47252 /var/lib/vnstat/vnstat.db
tailscale 1489 root 2u REG 179,1 0 132725 /var/lib/tailscale/tailscaled.log2.txt
tailscale 1489 root 7u REG 179,1 0 132724 /var/lib/tailscale/tailscaled.log1.txt
tailscale 1489 root 8u REG 179,1 0 132725 /var/lib/tailscale/tailscaled.log2.txt
Copying 82307 files to /dev/mmcblk2p1.
apt list |grep u-boot
...
u-boot-exynos/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed,automatic]
u-boot-imx/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed,automatic]
u-boot-menu/jammy 4.0.4ubuntu1 all
u-boot-nezha/jammy-updates 2022.04+git20220405.7446a472-0ubuntu0.2 all
u-boot-omap/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed,automatic]
u-boot-qemu/jammy-security,jammy-updates 2022.01+dfsg-2ubuntu2.3 all
u-boot-rockchip/jammy-security,jammy-updates 2022.01+dfsg-2ubuntu2.3 armhf
u-boot-rpi/jammy-security,jammy-updates 2022.01+dfsg-2ubuntu2.3 armhf
u-boot-sunxi/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed,automatic]
u-boot-tegra/jammy-security,jammy-updates 2022.01+dfsg-2ubuntu2.3 armhf
u-boot-tools/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed]
u-boot/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed]