Hello,
I’m using VIM3 on eMMC
BOARD=VIM3
VENDOR=Amlogic
VERSION=1.6.9
ARCH=arm64
INITRD_ARCH=arm64
INSTALL_TYPE=EMMC_MBR
IMAGE_VERSION=1.6.9-240618
################ GIT VERSION ################
UBOOT_GIT_VERSION=khadas-vims-u-boot-2015.01-5.15-v1.6.9-release
LINUX_GIT_VERSION=khadas-vims-linux-5.15-v1.6.9-release
FENIX_GIT_VERSION=v1.6.9
#############################################
my OS image (vim3-ubuntu-24.04-server-linux-5.15-fenix-1.6.9-240618-emmc.img.xz):
https://dl.khadas.com/products/vim3/firmware/ubuntu/emmc/ubuntu-24.04/vim3-ubuntu-24.04-server-linux-5.15-fenix-1.6.9-240618-emmc.img.xz
Vim3 does not boot to OS after normal manual reboot.
In console LOG I see the error:
Retrieving file: /initrd.img
emmckey_is_access_range_legal, keys 73760, keye 74785, start 48896, blkcnt 53964
Emmckey: Access range is illegal!
** ext4fs_devread read error - block
Skipping Default for failure retrieving initrd
SCRIPT FAILED: continuing...
I try to boot the system manually from u-boot and try to load initrd:
kvim3#ext4load mmc 1:1 10000000 initrd.img
emmckey_is_access_range_legal, keys 73760, keye 74785, start 48896, blkcnt 53964
Emmckey: Access range is illegal!
** ext4fs_devread read error - block
the same error.
Also I have try to load dtb.img - it has loaded OK!:
kvim3#ext4load mmc 1:1 20000000 dtb.img
108261 bytes read in 19 ms (5.4 MiB/s)
In kresque system I have checked my emmc partitions by fsck - ALL OK.
Root and boot partition mounted successfully, and I can copy files to SD card, for example.
Is this the hardware problem (emmc is damaged) or software (u-boot for example)?
Also I have attached SD card with initrd.img and successfully load the file:
kvim3#ext4load mmc 0:1 10000000 initrd.img
27629946 bytes read in 1525 ms (17.3 MiB/s)
and kernel from emmc:
kvim3#ext4load mmc 1:1 1080000 Image
34941440 bytes read in 972 ms (34.3 MiB/s)
and try to boot:
kvim3#booti 1080000 10000000 20000000
Wrong Ramdisk Image Format
Is it possible my initrd.img was corrypted (before I have “apt upgrade” the system
without ‘sync’)?
ps:
my full boot log is:
https://termbin.com/pp9x
pss.
My first question was about booting vim3 after upgrade system at:
And I want to decompose this issue.