编译u-boot报错configuration written to .config

编译u-boot报错

1.报错显示

#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig

*** Error during update of the configuration.

scripts/kconfig/Makefile:42: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
Makefile:478: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'

问题解决;

chmod -R 777 /内核目录(此处我直接用/opt/) 赋予其工程内核目录权限,即可成功编译
configuration written to .config # make[2]: Leaving directory '/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot/u-boot-2022.07' pushd /home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot/u-boot-2022.07;make LLVM= CROSS_COMPILE=aarch64-v01c01-linux-gnu- 1>/dev/null;popd ~/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot/u-boot-2022.07 ~/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot ===================== WARNING ====================== This board does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update the board to use CONFIG_DM_ETH before the v2020.07 release. Failure to update by the deadline may result in board removal. See doc/develop/driver-model/migration.rst for more info. ==================================================== ===================== WARNING ====================== This board does not use CONFIG_TIMER (Driver Model for Timer drivers). Please update the board to use CONFIG_TIMER before the v2023.01 release. Failure to update by the deadline may result in board removal. See doc/develop/driver-model/migration.rst for more info. ==================================================== ===================== WARNING ====================== This board does not use CONFIG_DM_SERIAL (Driver Model for Serial drivers). Please update the board to use CONFIG_DM_SERIAL before the v2023.04 release. Failure to update by the deadline may result in board removal. See doc/develop/driver-model/migration.rst for more info. ==================================================== ~/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot echo "gzip" gzip make -C /home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot/../gzip/ make[2]: Entering directory '/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot' make[2]: *** /home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot/../gzip/: No such file or directory. Stop. make[2]: Leaving directory '/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot' make[1]: *** [Makefile:51: all] Error 2 make[1]: Leaving directory '/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/mini_sdk/boot/u-boot' make: *** [Makefile:287: boot] Error 2什么意思
06-09
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值