[yocto] Trying to build: DEFAULTTUNE = "armcortexa5hf-neon"

Peter Spierenburg peter.spierenburg at nautel.com
Wed Feb 22 12:46:04 PST 2017


I am trying to build yocto for the ADSP-SC589 chip which includes an ARM. I believe that the correct directive is:


DEFAULTTUNE = "armcortexa5hf-neon"


I started by trying to add the directive to the local.conf file, but I got this result:


    Tuning 'armcortexa5hf-neon' has no defined features, and cannot be used.


Then I tried defining my own version of conf/machine/qemuarm.conf


---

#@TYPE: Machine
#@NAME: arm_cortexa5_hf_neon
#@DESCRIPTION: arm_cortexa5_hf_neon

DEFAULTTUNE = "cortexa5hf-neon"

require conf/machine/include/qemu.inc
require conf/machine/include/tune-cortexa5.inc
#require conf/machine/include/tune-arm1136jf-s.inc

KERNEL_IMAGETYPE = "zImage"

SERIAL_CONSOLES = "115200;ttyAMA0 115200;ttyAMA1"
---

This built great, and the opening:

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm-nautel"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.2"
TUNE_FEATURES     = "arm armv7a vfp  neon        callconvention-hard        cortexa5"
TARGET_FPU        = "hard"
meta
meta-poky
meta-yocto-bsp    = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
meta-local        = "master:ed515d2261eace09dc0ac7c9cfb659692ae07aeb"

looked really hopeful.

However, when I boot the result with 'runqemu qemuarm' I get a kernel panic.

What should my next step be?

Peter.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170222/9835011d/attachment.html>


More information about the yocto mailing list