查看编译过程的输出:
CAT spl/u-boot-spl-dtb.bin
COPY spl/u-boot-spl.bin
CFGCHK u-boot.cfg
egrep: warning: egrep is obsolescent; using grep -E
/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/u-boot/scripts/compress.sh: line 22: lzma: command not found
pack u-boot.itb okay! Input: /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/rkbin/RKTRUST/RV1106TOS.ini
FIT description: FIT Image with ATF/OP-TEE/U-Boot/MCU
Created: Thu Mar 13 11:06:56 2025
Image 0 (uboot)
Description: U-Boot
Created: Thu Mar 13 11:06:56 2025
Type: Standalone Program
Compression: lzma compressed
Data Size: 0 Bytes = 0.00 KiB = 0.00 MiB
Architecture: ARM
Load Address: 0x00200000
Entry Point: unavailable
Hash algo: sha256
Hash value: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Image 1 (fdt)
Description: U-Boot dtb
Created: Thu Mar 13 11:06:56 2025
Type: Flat Device Tree
Compression: uncompressed
Data Size: 9670 Bytes = 9.44 KiB = 0.01 MiB
Architecture: ARM
Hash algo: sha256
Hash value: 9f596c5683acf8a637b6e1a3cb1669bfc33f229b4cef5782c67070aaf0bc543e
Default Configuration: 'conf'
Configuration 0 (conf)
Description: rv1106-evb
Kernel: unavailable
FDT: fdt
Loadables: uboot
egrep: warning: egrep is obsolescent; using grep -E
********boot_merger ver 1.35********
Info:Pack loader ok.
creating new idblock from loader...
idblock binary saving at rv1106_idblock_v1.15.102.img
pack loader(SPL) okay! Input: /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/rkbin/RKBOOT/RV1106MINIALL.ini
/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/u-boot
pack loader with new: spl/u-boot-spl.bin
Image(no-signed, version=0): uboot.img (FIT with uboot, trust...) is ready
Image(no-signed): rv1106_idblock_v1.15.102.img (with spl, ddr...) is ready
pack uboot.img okay! Input: /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/rkbin/RKTRUST/RV1106TOS.ini
Platform RV1106 is build OK, with exist .config
arm-rockchip830-linux-uclibcgnueabihf-
Thu Mar 13 11:06:56 AWST 2025
~/Documents/Code/C/luckfox-pico/sysdrv
'/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/u-boot/uboot.img' -> '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/out/image_uclibc_rv1106/uboot.img'
'/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/u-boot/rv1106_idblock_v1.15.102.img' -> '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/out/image_uclibc_rv1106/idblock.img'
'/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/u-boot/rv1106_download_v1.15.108.bin' -> '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/out/image_uclibc_rv1106/download.bin'
~/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/u-boot ~/Documents/Code/C/luckfox-pico/sysdrv
~/Documents/Code/C/luckfox-pico/sysdrv
[INSTALL] /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/out/image_uclibc_rv1106/idblock.img /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/out/image_uclibc_rv1106/uboot.img /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/out/image_uclibc_rv1106/download.bin
TO /home/oct1158/Documents/Code/C/luckfox-pico/output/image
[INSTALL] /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/out/bin/board_uclibc_rv1106/uboot.debug.tar.bz2
TO /home/oct1158/Documents/Code/C/luckfox-pico/output/out/sysdrv_out/board_uclibc_rv1106
make: Leaving directory '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv'
[build.sh:info] Running build_uboot succeeded.
里面有这样一句话:
/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/uboot/u-boot/scripts/compress.sh: line 22: lzma: command not found
推测是因为linux虚拟机里面没有安装lzma命令,无法压缩uboot镜像,所以烧录到板子上后就提示解压失败。