Closed 1715173329 closed 2 months ago
使用uboot202206源码编译的京东云百里uboot,也遇到问题。可以启动主线的initramfs-recovery.itb,无法启动hanwckf大佬仓库编译出来的initramfs-kernel.bin。 切换回hanwckf大佬releases20240123的百里uboot直接load image不行,换全年我编译的uboot202206的uboot直接load image也不行,看来可能是hanwckf大佬仓库编译的initramfs-kernel.bin有问题吧
## Loading kernel from FIT Image at 460000e0 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.4.255
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x46000210
Data Size: 39845938 Bytes = 38 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x48080000
Entry Point: 0x48080000
Hash algo: crc32
Hash value: 3abf71b9
Hash algo: sha1
Hash value: 88e46d48587652c60977d69397e1bfa81059fd27
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 460000e0 ...
Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt jdcloud_re-cp-03 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x48600384
Data Size: 23071 Bytes = 22.5 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: d1d3ba37
Hash algo: sha1
Hash value: 26d7c27c88094a83a995a14af0f781c473afd278
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x48600384
Uncompressing Kernel Image
lzma compressed: uncompress error 1
Must RESET board to recover
resetting ...
@1715173329 大佬,偶然看到,在uboot-202307中的fw_to_part_name函数,是否少了一个initramfs项?这个fw_to_part_name函数只用于failsafe_validate_image函数,应该也要用到吧
case FW_TYPE_INITRD: return "initramfs";
initramfs 不走 mtk 的 validate,简单的 fdt check 过了就直接 bootm。
initramfs 不走 mtk 的 validate,简单的 fdt check 过了就直接 bootm。
明白,感谢大佬解答
sort uri handlers while at it.
When testing on U-Boot 2023.07, I found a strange issue on CMCC RAX3000M eMMC board which failed to boot into its initramfs, while other images are fine. This issue only appeared in this version, I have no idea why.