Nice work Balbes, hello everybody
Yesterday I tried to update my
ALFAWISE S92 - CPU S912 2Gb RAM 16Gb eMMC WiFi Bluetooth IR
CPU - AMLOGIC 912 Octa Core
Ethernet chip - RTL8211F Gigabit Ethernet
RADIO chip - Aigale AW-CM273SM => AP6355 as of Feb 2019 NO Linux SUPPORT
eMMC chip - FERESEE NCEMBSF9-16G
IR chip - 56526 TI 65A
Board version - QII_V2.0_20160905
to the lastest build Armbian_5.76_Aml-s912_Debian_stretch_default_5.0.0-rc7-gb5aa11ceb-dirty_20190226 but I ran into some problems. Everiting is fine while booting from sdcard but when using armbian-config to write to emmc the system gets stuck in
Begin: Waiting for /scripts/local-bloc ... done
ALERT! LABEL=ROOTFS does not exist. Dropping to a shell!
Tried to follow your post above but:
Couldn't find any docs on how to activate the multi-boot using the new image.
Script “/boot/create-mbr-linux.sh” can't be found on system.
Also executed script “/root/install.sh” ... same behavior.
Files from /boot from sdcard
/armbianEnv.txt
verbosity=1
rootdev=UUID=e4f3cef1-6360-464a-a70d-21cfd96b763c
rootfstype=BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic
rootdev=LABEL=ROOTFS
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
/uEnv.ini
dtb_name=/dtb/meson-gxm-khadas-vim2.dtb
bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
/extlinux/extlinux.conf
LABEL Armbian
LINUX /zImage
INITRD /uInitrd
FDTDIR /dtb
# FDT /dtb/meson-gxm-khadas-vim2.dtb
APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
fdisk -l
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 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: 0xc4e7c27a
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 270335 262144 128M e W95 FAT16 (LBA)
/dev/mmcblk0p2 270336 30805119 30534784 14.6G 83 Linux
Disk /dev/mmcblk1: 14.5 GiB, 15518924800 bytes, 30310400 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: 0x2975c27a
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 1368064 1617919 249856 122M c W95 FAT32 (LBA)
/dev/mmcblk1p2 1619968 30310399 28690432 13.7G 83 Linux
Kindly please update the documentation for installing to emmc or guide me to get it to boot from emmc.
Thank you.
WORKAROUND
Change partition LABEL sudo e2label /dev/mmcblk1p2 ROOTFS
Maybe this should be run from install script to avoid such problems.
INSTALL TO eMMC as of Feb 2019
While booting from SDCARD run /root/install.sh
check with blkid so that has the wright label /dev/mmcblk1p2: LABEL="ROOTFS"
otherwise correct it with sudo e2label /dev/mmcblk1p2 ROOTFS