NXP MCU 技术论坛
直播中

李春梅

7年用户 1729经验值
私信 关注
[问答]

如何在新机器中设置默认的defconifg?

我正与i.MX93评估委员会合作。为了对机器设备树进行修改,必须建立一个新的定制机器,这就是我所做的。 然而,在机器设为`IMx93-Custom-evk'的建筑期间,*bittbake* 开始抱怨缺少“defconfig”文件,例如:

| ***| *** Can't find default configuration "arch/../configs/imx93_11x11_custom_evk_defconfig"!| ***| make[2]: *** [/build-ixm/tmp/work/imx93_custom_evk-poky-linux/u-boot-imx/2023.04-r0/git/scripts/kconfig/Makefile:96: imx93_11x11_custom_evk_defconfig] Error 1| ERROR: oe_runmake failed| make[1]: Leaving directory 'build-ixm/tmp/work/imx93_custom_evk-poky-linux/u-boot-imx/2023.04-r0/build/imx93_11x11_custom_evk_defconfig'| make: Leaving directory '/build-ixm/tmp/work/imx93_custom_evk-poky-linux/u-boot-imx/2023.04-r0/git'| WARNING: exit code 1 from a shell command.| make[1]: *** [/build-ixm/tmp/work/imx93_custom_evk-poky-linux/u-boot-imx/2023.04-r0/git/Makefile:575: imx93_11x11_custom_evk_defconfig] Error 2| make: *** [Makefile:177: sub-make] Error 2

我忽略了这段话的方式是让我的新机器使用旧的“UBOOT_CONFIG_BASEMAME ” = “IMx93_11x11_evk ”而不是“UBOT_CONFIG_BASEMA ” = “IMx93_Constal_evk ” 。 我想这被认为是一个丑陋的黑客, 但我找不到任何地方的原始拆卸, 有没有更好的方法可以做到这一点?

u-boot defconfig与常规的 Linux 内核配置文件`. config' 有何不同?



更多回帖

发帖
×
20
完善资料,
赚取积分