AS arch/arm/boot/compressed/piggy.gzip.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage
"mkimage" command not found - U-Boot images will not be built
make[1]: *** [arch/arm/boot/uImage] Error 1
make: *** [uImage] Error 2
ERROR: build kernel Failed
INFO: use a fake rootfs.ext4.
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00136172 s, 770 MB/s
mke2fs 1.42.9 (4-Feb-2014)
Filesystem too small for a journal
INFO: ----------------------------------------
INFO: build sun8iw7p1 linux lichee OK
INFO: ----------------------------------------
装好了Ubuntu,买好了开发板,开始逐个测试接口,发现这块板子的CAN是SPI转的,根据开发板手册要求,还需要自己编译Linux内核去启用。
好吧,反正都没玩过,一个个来呗,跟着手册step by step的配置好了编译内核的环境,然后开始调整菜单,最后执行:
#make uImage
好吧,开始漫长的等待,信息刷屏。
许久之后,居然提示我:
"mkimage" command not found - U-Boot images will not be built
make[1]: *** [arch/arm/boot/uImage] 错误 1
make: *** [uImage] 错误 2
什么情况!怎么还会缺少mkimage的?
简单说,解决方法就是:
#sudo apt-get install uboot-mkimage
嗯,对了,装的过程看了下信息,发现最终安装的是:
u-boot-tools
所以估计,直接执行:
#sudo apt-get install u-boot-tools
可能更直接一点?