编译Hi3559A时生成不了uImage时的记录

在编译Hi3559A内核时遇到错误提示"Invalid CPU Type",由于mkimage不匹配导致无法生成uImage。解决方法是先编译uboot,获取匹配的mkimage工具,并将其复制到系统路径,然后重新编译内核,成功生成uImage。
摘要由CSDN通过智能技术生成

编译Hi3559时,我想先编译内核,就先单独编译内核。进入内核目录下使用命令 1、先配置config,
cp arch/arm64/configs/hi3559av100_arm64_big_little_defconfig .config 。 2、不修改config直接编译内核:make ARCH=arm64 CROSS_COMPILE=aarch64-himix100-linux- uImage -j4 。
编译到最后(没有error的情况下)出现如下情况
Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips, mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32
Usage: /usr/bin/mkimage -l image
-l ==> list image header information
/usr/bin/mkimage [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file…] image
-A ==> set architecture to ‘arch’
-O ==> set operating system to ‘os’
-T ==> set image type to ‘type’
-C ==> set compression type ‘comp’
-a ==> set load address to ‘addr’ (hex)
-e ==> set entry point to ‘ep’ (hex)
-n ==> set

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值