[OE-core] [oe-core] QEMU with ARM Cortex A9 with hard float configuration - Kernel panic

Bruce Ashfield bruce.ashfield at windriver.com
Wed Aug 28 22:43:58 UTC 2013


On 13-08-28 11:16 AM, Elvis Dowson wrote:
> Hi,
>         I get the following error while running the bitbake linux-yocto
> command for a qemu machine conf that I'm building. The build system is
> unable to find the dtc binary:
>
> | make: Leaving directory
> `/tool/yocto/poky/build/tmp/work/qemuarma9-poky-linux-gnueabi/linux-yocto/3.4.52+gitAUTOINC+7250de4d4a_4122d6cf3f-r4.5/image/usr/src/kernel'
> | NOTE: make -j 6 vexpress-v2p-ca9.dtb
> |   DTC     arch/arm/boot/vexpress-v2p-ca9.dtb
> | /bin/sh:
> /tool/yocto/poky/build/tmp/work/qemuarma9-poky-linux-gnueabi/linux-yocto/3.4.52+gitAUTOINC+7250de4d4a_4122d6cf3f-r4.5/linux-qemuarma9-standard-build/scripts/dtc/dtc:
> No such file or directory
> | make[3]: *** [arch/arm/boot/vexpress-v2p-ca9.dtb] Error 1
> | make[2]: *** [vexpress-v2p-ca9.dtb] Error 2
> | make[1]: *** [sub-make] Error 2
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING:
> /tool/yocto/poky/build/tmp/work/qemuarma9-poky-linux-gnueabi/linux-yocto/3.4.52+gitAUTOINC+7250de4d4a_4122d6cf3f-r4.5/temp/run.do_install.10606:1
> exit 1 from
> |   exit 1
> | ERROR: Function failed: do_install (log file is located at
> /tool/yocto/poky/build/tmp/work/qemuarma9-poky-linux-gnueabi/linux-yocto/3.4.52+gitAUTOINC+7250de4d4a_4122d6cf3f-r4.5/temp/log.do_install.10606)
> ERROR: Task 4
> (/tool/yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.4.bb,
> do_install) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 598 tasks of which 597 didn't need to be
> rerun and 1 failed.

Did you ever get past this ? It looks like the recent device tree
changes where we use the kernel dtc versus an external dtc are causing
you a problem.

Bruce

>
> *_
> _*
> *_File : qemuarmhf.conf_*
>
> #@TYPE: Machine
> #@NAME: qemuarma9
> #@DESCRIPTION: Machine configuration for QEMU ARM Cortex A9.
>
> # Specify the default tune.
> DEFAULTTUNE = "armv7a-neon"
>
> require conf/machine/include/qemu.inc
> require conf/machine/include/tune-cortexa9.inc
>
> # Specify the kernel devicetree.
> KERNEL_DEVICETREE = "vexpress-v2p-ca9.dtb"
>
> # Specify the machine name used by the kernel.
> KMACHINE_qemuarma9 = "vexpress"
>
> # Specify the kernel image type.
> KERNEL_IMAGETYPE = "uImage"
>
> # Set default load address.
> # Override with KERNEL_EXTRA_ARGS_<board> += "..." in machine file if
> required
> #KERNEL_EXTRA_ARGS_qemuarma9 += "UIMAGE_LOADADDR=0x8000"
>
> # Specify the serial console parameters.
> SERIAL_CONSOLE = "115200 ttyAMA0"
>
>
> Best regards,
>
> Elvis Dowson




More information about the Openembedded-core mailing list