编译h28k固件出错。

Spaiol】 在 https://github.com/istoreos/istoreos/issues/1743 发布:

1.关于你要提交的问题

为避免重复issue,请先搜索issue,确认没有类似issue再提交新issue;
注意搜索时包括已关闭的issue(删掉搜索框的的“is:open”条件);

Q:是否用关键词搜索了issue? (使用 “x” 选择)

  • 没有类似的issue

2. 详细叙述

(1) 具体问题

编译h28k固件出错,提示缺python2,bl31_0x*.bin,和 u-boot.its 中的语法错误

(2) 路由器型号和固件版本

h28k,22.03分支

(3) 详细日志和/或截图

start=(aarch64-openwrt-linux-musl-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=(aarch64-openwrt-linux-musl-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ’ '); tools/relocate-rela u-boot-nodtb.bin 0x00a00000 $start $end
COPY u-boot.dtb
./“arch/arm/mach-rockchip/make_fit_atf.sh”
arch/arm/dts/rk3568-easepi.dtb > u-boot.its
/usr/bin/env: ‘python2’: No such file or directory
ls: cannot access ‘bl31_0x*.bin’: No such file or directory
MKIMAGE u-boot.itb
Error: u-boot.its:46.29-30 syntax error
FATAL ERROR: Unable to parse input tree
./tools/mkimage: Can’t read u-boot.itb.tmp: Invalid argument
make[4]: *** [Makefile:1056: u-boot.itb] Error 255
make[4]: Leaving directory ‘/workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-easepi-rk3568/u-boot-2017.09-20230725’
make[3]: *** [Makefile:112: /workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-easepi-rk3568/u-boot-2017.09-20230725/.built] Error 2
make[3]: Leaving directory ‘/workdir/openwrt/package/boot/uboot-rk35xx’
time: package/boot/uboot-rk35xx/easepi-rk3568/compile#2.00#1.09#3.03
ERROR: package/boot/uboot-rk35xx failed to build (build variant: easepi-rk3568).
make[2]: *** [package/Makefile:120: package/boot/uboot-rk35xx/compile] Error 1
make[2]: Leaving directory ‘/workdir/openwrt’
make[1]: *** [package/Makefile:114: /workdir/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory ‘/workdir/openwrt’
make: *** [/workdir/openwrt/include/toplevel.mk:234: world] Error 2
Error: Process completed with exit code 2.