Update-initramfs refuses to see root partition on Khadas VIM2 (v1.2) Max

update-initramfs refuses to see root partition on Khadas VIM2 (v1.2) Max

                                      rkm@Khadas
          eeeeeeeeeeeeeeeee           OS: elementary OS 5.0 juno
       eeeeeeeeeeeeeeeeeeeeeee        Kernel: aarch64 Linux 4.9.179
     eeeee  eeeeeeeeeeee   eeeee      Uptime: 1m
   eeee   eeeee       eee     eeee    Packages: 2681
  eeee   eeee          eee     eeee   Shell: zsh 5.4.2
 eee    eee            eee       eee  Resolution: 1920x1080
 eee   eee            eee        eee  DE: XFCE
 ee    eee           eeee       eeee  WM: Xfwm4
 ee    eee         eeeee      eeeeee  WM Theme: Mint-Y-Dark
 ee    eee       eeeee      eeeee ee  GTK Theme: Mint-Y-Dark [GTK2]
 eee   eeee   eeeeee      eeeee  eee  Icon Theme: Mint-Y
 eee    eeeeeeeeee     eeeeee    eee  Font: Sans 10
  eeeeeeeeeeeeeeeeeeeeeeee    eeeee   CPU: Amlogic @ 8x 1.512GHz
   eeeeeeee eeeeeeeeeeee      eeee    GPU: llvmpipe (LLVM 8.0, 128 bits)
     eeeee                 eeeee      RAM: 496MiB / 2991MiB
       eeeeeee         eeeeeee       
          eeeeeeeeeeeeeeeee          
 
 ╭─rkm@Khadas ~  
 ╰─➤  sudo apt update && sudo apt upgrade
 [sudo] password for rkm:       
 Hit:1 http://ports.ubuntu.com bionic InRelease
 Hit:2 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease
 Hit:3 http://ports.ubuntu.com bionic-security InRelease                             
 Hit:4 http://ports.ubuntu.com bionic-updates InRelease                              
 Hit:5 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease  
 Hit:6 http://ports.ubuntu.com bionic-backports InRelease
 Reading package lists... Done                     
 Building dependency tree       
 Reading state information... Done
 All packages are up to date.
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 Calculating upgrade... Done
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 1 not fully installed or removed.
 After this operation, 0 B of additional disk space will be used.
 Do you want to continue? [Y/n] Y
 Setting up initramfs-tools (0.130ubuntu3.8) ...
 update-initramfs: deferring update (trigger activated)
 Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
 update-initramfs: Generating /boot/initrd.img-4.15.0-36-generic
 UUID 0cc7be2a-817b-4b11-8c1f-1ea45ce5b178 doesn't exist in /dev/disk/by-uuid
 Warning: root device /dev/disk/by-uuid/0cc7be2a-817b-4b11-8c1f-1ea45ce5b178 does not exist
 update-initramfs: Converting to u-boot format
 Unsupported platform.
 run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
 dpkg: error processing package initramfs-tools (--configure):
  installed initramfs-tools package post-installation script subprocess returned error exit status 1
 Errors were encountered while processing:
  initramfs-tools
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 ╭─rkm@Khadas ~  
 ╰─➤                                                                            100 ↵

lsblk :
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 58.2G 0 disk
mmcblk0boot0 179:32 0 4M 0 disk
mmcblk0boot1 179:64 0 4M 0 disk
mmcblk0rpmb 179:96 0 4M 0 disk
zram1 251:1 0 374M 0 disk [SWAP]
zram2 251:2 0 374M 0 disk [SWAP]
zram3 251:3 0 374M 0 disk [SWAP]
zram4 251:4 0 374M 0 disk [SWAP]

blkid :
/dev/rootfs: LABEL=“ROOTFS” UUID=“0cc7be2a-817b-4b11-8c1f-1ea45ce5b178” TYPE=“ext4”
/dev/zram1: UUID=“b36ed7f2-a7ca-421e-a8fd-5d621d0e2694” TYPE=“swap”
/dev/zram2: UUID=“61091018-5d1c-4d06-87f3-fa8fce6933fc” TYPE=“swap”
/dev/zram3: UUID=“99f2f8b2-c50f-42d4-a034-6cfa63322970” TYPE=“swap”
/dev/zram4: UUID=“5ad81478-9bc0-4eb0-b40f-68bea241edf8” TYPE=“swap”

/etc/fstab :

#
UUID=0cc7be2a-817b-4b11-8c1f-1ea45ce5b178 / ext4 defaults 0 1

/etc/crypttab :
#
UUID=0cc7be2a-817b-4b11-8c1f-1ea45ce5b178 / ext4 defaults 0 1

I’ve also tried Kernel naming and Labels in fstab; same results.
This causes update to be held back with: 1 not fully installed or removed
Also, after the process above, my frame buffer becomes out of sync and the monitor splits and is all garbled and makes it difficult to navigate to simply reboot the device.
Video fine at boot and after; messed up after attempting to update until next reboot.

UPDATE: I may have narrowed this down to: udev isn’t populating /dev correctly

http://dpaste.com/2S2HJG1

http://dpaste.com/2Z60V05

I don’t know if this information is relevant, but here it is:

inxi -Fxxxrzc0 [ https://termbin.com/4six ]
System:
Host: Khadas Kernel: 4.9.179 aarch64 bits: 64 compiler: gcc v: 7.3.1
Desktop: Xfce 4.12.3 tk: Gtk 2.24.31 info: xfce4-panel, plank wm: xfwm4
dm: LightDM 1.26.0 Distro: elementary OS 5.0 Juno base: Ubuntu 18.04 bionic
Machine:
Type: ARM Device System: Khadas VIM2 details: Amlogic serial:
CPU:
Topology: 8-Core (2-Die) model: N/A variant: cortex-a53 bits: 64 type: MCP MCM
arch: ARMv8 rev: 4
features: Use -f option to see features bogomips: 0
Speed: 1512 MHz min/max: 100/1512:1000 MHz Core speeds (MHz): 1: 1512 2: 1512
3: 1512 4: 1512 5: 1000 6: 1000 7: 1000 8: 1000
Graphics:
Device-1: amhdmitx driver: amhdmitx v: N/A bus ID: N/A
chip ID: amlogic:amhdmitx
Device-2: meson-gxm driver: meson_fb v: N/A bus ID: N/A
chip ID: amlogic:meson-fb
Display: x11 server: X.Org 1.19.6 driver: fbdev unloaded: modesetting
resolution: 1920x1080~N/A
OpenGL: renderer: llvmpipe (LLVM 8.0 128 bits) v: 3.3 Mesa 19.0.2 compat-v: 3.1
direct render: Yes
Audio:
Device-1: amhdmitx driver: amhdmitx bus ID: N/A chip ID: amlogic:amhdmitx
Device-2: meson-snd-card driver: aml_meson_snd_card bus ID: N/A
chip ID: aml:aml_sound_meson
Device-3: audio_data driver: audio_data_debug bus ID: N/A
chip ID: amlogic:audio_data
Device-4: aml_snd_dmic driver: snd_dmic bus ID: N/A chip ID: aml:d0042000
Device-5: vdac-gxm driver: aml_vdac bus ID: N/A chip ID: amlogic:vdac
Sound Server: ALSA v: k4.9.179
Network:
Device-1: gxbb-eth-dwmac driver: meson6_dwmac v: N/A port: N/A bus ID: N/A
chip ID: amlogic:c9410000
IF: eth0 state: up speed: 1000 Mbps duplex: full mac:
Device-2: aml_wifi driver: aml_wifi v: N/A bus ID: N/A chip ID: amlogic:wifi
IF-ID-1: dummy0 state: down mac:
IF-ID-2: ip6_vti0 state: down mac:
IF-ID-3: ip6tnl0 state: down mac:
IF-ID-4: ip_vti0 state: down mac:
IF-ID-5: sit0 state: down mac:
IF-ID-6: tunl0 state: down mac:
IF-ID-7: wlan0 state: up mac:
Drives:
Local Storage: total: 58.24 GiB used: 10.07 GiB (17.3%)
ID-1: /dev/mmcblk0 model: CWBD3R size: 58.24 GiB serial: rev: 0x7
Partition:
ID-1: / size: 57.10 GiB used: 10.07 GiB (17.6%) fs: ext4 dev: /dev/rootfs
Sensors:
Message: No sensors data was found. Is sensors configured?
Repos:
Active apt repos in: /etc/apt/sources.list
1: deb http://ports.ubuntu.com/ bionic main restricted universe multiverse
2: deb http://ports.ubuntu.com/ bionic-security main restricted universe multiverse
3: deb http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse
4: deb http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/elementary-os-ubuntu-os-patches-bionic.list
1: deb http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic main
Active apt repos in: /etc/apt/sources.list.d/elementary-os-ubuntu-stable-bionic.list
1: deb http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main
Info:
Processes: 270 Uptime: 2h 53m Memory: 2.92 GiB used: 1.01 GiB (34.7%)
Init: systemd v: 237 runlevel: 5 Compilers: gcc: 7.4.0 alt: 7 Shell: zsh
v: 5.4.2 running in: xfce4-terminal inxi: 3.0.34

dmesg [ https://termbin.com/ayrk ]
rkm@Khadas
eeeeeeeeeeeeeeeee OS: elementary OS 5.0 juno
eeeeeeeeeeeeeeeeeeeeeee Kernel: aarch64 Linux 4.9.179
eeeee eeeeeeeeeeee eeeee Uptime: 2h 49m
eeee eeeee eee eeee Packages: 2681
eeee eeee eee eeee Shell: zsh 5.4.2
eee eee eee eee Resolution: 1920x1080
eee eee eee eee DE: XFCE
ee eee eeee eeee WM: Xfwm4
ee eee eeeee eeeeee WM Theme: Mint-Y-Dark
ee eee eeeee eeeee ee GTK Theme: Mint-Y-Dark [GTK2]
eee eeee eeeeee eeeee eee Icon Theme: Mint-Y
eee eeeeeeeeee eeeeee eee Font: Sans 10
eeeeeeeeeeeeeeeeeeeeeeee eeeee CPU: Amlogic @ 8x 1.512GHz
eeeeeeee eeeeeeeeeeee eeee GPU: llvmpipe (LLVM 8.0, 128 bits)
eeeee eeeee RAM: 516MiB / 2991MiB
eeeeeee eeeeeee
eeeeeeeeeeeeeeeee

 ╭─rkm@Khadas ~  
 ╰─➤  sudo dmesg | grep -i udev         
 [sudo] password for rkm:       
 ╭─rkm@Khadas ~  
 ╰─➤  sudo dmesg | grep -i error                                                  1 ↵
 [    0.468970] cvbs_out: error: failed to get vdac_config
 [    2.728803] device-mapper: verity-avb: AVB error handler initialized with vbmeta device: 
 [    6.301315] picdec: probe of picdec failed with error -22
 [    6.593594] cectx c810023c.aocec: get sleep state error!
 [    7.450874] meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac
 [   43.589239] meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac
 [   43.732948] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
 [   43.738683] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
 [   45.992798] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
 [   47.723717] meson-mmc: Tuning transfer error: nmatch=6 tuning_err:0xffffffac
 [   48.054008] CONFIG-ERROR) dhd_conf_set_intiovar: txbf setting failed -23
 [   56.153472] CFG80211-ERROR) wl_cfg80211_scan_abort : scan abort  failed 
 ╭─rkm@Khadas ~  
 ╰─➤