关于执行make uImage 时候报错 “command not found - U-Boot images”的处理方法

部署运行你感兴趣的模型镜像

博主在编译 kernel 生成时u-boot可以引导的uImage 时报错:如下


经过多方查看,“mkimage” 在u-boot的工具,主要用来编译内核,生成u-boot可引导启动的内核文件,博主的解决方法如下:


咋一看,这似乎不行啊:

后来直接   sudo apt-get install u-boot-tools:


这下可以了,输入mki直接 “tab”键出来了,

再来执行  

make uImage -j 4,  ok 了



您可能感兴趣的与本文相关的镜像

Wan2.2-T2V-A5B

Wan2.2-T2V-A5B

文生视频
Wan2.2

Wan2.2是由通义万相开源高效文本到视频生成模型,是有​50亿参数的轻量级视频生成模型,专为快速内容创作优化。支持480P视频生成,具备优秀的时序连贯性和运动推理能力

"mkimage" command not found - U-Boot images will not be built arch/arm64/boot/Makefile:67: recipe for target 'arch/arm64/boot/uImage.lzma' failed make-4.1[2]: *** [arch/arm64/boot/uImage.lzma] Error 1 arch/arm64/Makefile:169: recipe for target 'uImage.lzma' failed make[1]: Leaving directory '/home/fuyu1/code/nvt9853x/BSP/linux-kernel' make[1]: *** [uImage.lzma] Error 2 linux: Build finish Makefile:648: include/config/auto.conf: No such file or directory Makefile:701: include/config/auto.conf.cmd: No such file or directory In file included from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/module.h:12, from net/core/skbuff.c:37: net/core/skbuff.c: In function ‘skb_segment’: ./include/linux/minmax.h:20:28: warning: comparison of distinct pointer types lacks a cast 20 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) | ^~ ./include/linux/minmax.h:26:4: note: in expansion of macro ‘__typecheck’ 26 | (__typecheck(x, y) && __no_side_effects(x, y)) | ^~~~~~~~~~~ ./include/linux/minmax.h:36:24: note: in expansion of macro ‘__safe_cmp’ 36 | __builtin_choose_expr(__safe_cmp(x, y), \ | ^~~~~~~~~~ ./include/linux/minmax.h:45:19: note: in expansion of macro ‘__careful_cmp’ 45 | #define min(x, y) __careful_cmp(x, y, <) | ^~~~~~~~~~~~~ net/core/skbuff.c:3879:18: note: in expansion of macro ‘min’ 3879 | partial_segs = min(len, GSO_BY_FRAGS - 1) / mss; | ^~~ "mkimage" command not found - U-Boot images will not be built make-4.1[2]: *** [arch/arm64/boot/uImage.lzma] Error 1 make[1]: *** [uImage.lzma] Error 2 Makefile:291: recipe for target 'linux' failed make: *** [linux] Error 2
最新发布
12-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值