我试图使用open-embedded使用bitbake编译内核。通常情况下,它之所以有效,是因为我之前曾经多次完成它,但从昨天开始,在使用make menuconfig修改了一些值之后,以及当我键入以编译时:
bitbake linux-boundary -c compile
我收到以下错误:
ERROR: Function failed: do_compile (log file is located at /home/user/\
setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/\
nitrogen6x-oe-linux-gnueabi/linux-boundary/3.0.35-r0/temp/\
log.do_compile.8182)
ERROR: Logfile of failure stored in: /home/user/\
setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/\
nitrogen6x-oe-linux-gnueabi/linux-boundary/3.0.35-r0/temp/\
log.do_compile.8182
当我打开日志文件时,它说:
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j9 uImage CC=arm-oe-linux-gnueabi-gcc -mno-thumb-interwork -marm LD=arm-oe-linux-gnueabi-ld.bfd LOADADDR=0x10008000
| scripts/kconfig/conf --silentoldconfig Kconfig
| *
| * Restart config...
| *
| *
| * Linux/arm 3.0.35 Kernel Configuration
| *
| Patch physical to virtual translations at runtime (EXPERIMENTAL) (ARM_PATCH_PHYS_VIRT) [N/y/?] (NEW) aborted!
|
| Console input/output is redirected. Run 'make oldconfig' to update configuration.
|
| make[2]: *** [silentoldconfig] Error 1
| make[1]: *** [silentoldconfig] Error 2
| make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/user/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/nitrogen6x-oe-linux-gnueabi/linux-boundary/3.0.35-r0/temp/log.do_compile.8182)
**ERROR: Task 4 (/home/user/setup-scripts/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-boundary_3.0.35.bb, do_compile) failed with exit code '1'**
我真的不知道会发生什么。我尝试通过使用 bitbake cth-base-image 生成新图像从头开始重新启动,但结果是相同的(这是上面的错误)。
答案 0 :(得分:0)
嗯,现在一切都已修复。我用bitbake&生成了另一个内核映像。 OpenEmbedded的。然后,我用bitbake virtual / kernel -c menuconfig激活内核中的rt5370。以下是我遵循的一些主题:https://groups.google.com/forum/#!topic/beagleboard/UlL4e0_O_UE