Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Elvis Dowson <elvis.dowson@gmail.com>
Cc: OpenEmbedded Core Mailing List
	<openembedded-core@lists.openembedded.org>
Subject: Re: QEMU with ARM Cortex A9 with hard float configuration - Kernel panic
Date: Sun, 25 Aug 2013 21:11:16 -0400	[thread overview]
Message-ID: <521AAB34.3010203@windriver.com> (raw)
In-Reply-To: <835D4942-DCEA-4634-9822-24ADDCAD8DF7@gmail.com>

On 13-08-25 2:02 PM, Elvis Dowson wrote:
> Hi,
>
> On Aug 25, 2013, at 9:43 PM, rewitt@declaratino.com wrote:
>
>>>
>>> Thanks! Any idea why the qemu with hard float configuration has a kernel panic with linux-yocto?
>>
>> init is going away so the kernel panics. Usually this means it couldn't
>> run the init on the rootfilesystem. Try adding keep_bootcon to your
>> kernel command line and see if that gives anymore debug.
>
> I ran bitbake linux-yocto -c menuconfig
>
> and noticed that the wrong ARM architecture was selected (it was using the same one set using tune-arm926ejs.inc)
>
> The thing is I don't see a defconfig anywhere, and I was wondering how the linux-yocto kernel picks up the defconfig from the standard/base branch.
>

qemuarma9 would be building and booting from the 
standard/arm-versatile-926ejs
branch, and re-use the base policies of the kernel.

It adds only the following board options, found in:

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.10/tree/meta/cfg/kernel-cache/bsp/qemuarma9/qemuarma9.cfg?h=meta

Bruce

-----

CONFIG_ARCH_VEXPRESS=y

#
# Versatile Express platform type
#
CONFIG_ARCH_VEXPRESS_CA9X4=y
CONFIG_PLAT_VERSATILE=y
CONFIG_ARM_TIMER_SP804=y

#
# Bus support
#
CONFIG_ARM_AMBA=y

#
# Kernel Features
#
CONFIG_SMP=y
CONFIG_NR_CPUS=4

#
# Floating point emulation
#
CONFIG_VFP=y
CONFIG_VFPv3=y
CONFIG_NEON=y

CONFIG_SMSC911X=y

#
# Non-8250 serial port support
#
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y

#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set

CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y

#
# User Modules And Translation Layers
#
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=y
CONFIG_MTD_CFI_INTELEXT=y

CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"

#
# on-CPU RTC drivers
#
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_PL031=y

#
# Watchdog Device Drivers
#
CONFIG_ARM_SP805_WATCHDOG=y
CONFIG_WATCHDOG_NOWAYOUT=y

CONFIG_HAVE_ARM_TWD=y
CONFIG_LOCAL_TIMERS=y

CONFIG_HIGHMEM=y

CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y

CONFIG_USB=y
CONFIG_USB_ISP1760_HCD=y
CONFIG_USB_STORAGE=y

CONFIG_HOTPLUG=y
CONFIG_HOTPLUG_CPU=y

CONFIG_I2C=y
CONFIG_I2C_VERSATILE=y

# This is for the keyboard / mouse
CONFIG_SERIO_AMBAKMI=y

------

> A TI OMAP 4430 Pandaboard or i.MX6 quad-core SABRE development kit platform would do, but not sure how the linux-yocto kernel works, in terms of pre-selecting the correct defconfig file.
>
> Best regards,
>
> Elvis Dowson
>



  parent reply	other threads:[~2013-08-26  1:11 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-25 17:43 QEMU with ARM Cortex A9 with hard float configuration - Kernel panic rewitt
2013-08-25 18:02 ` Elvis Dowson
2013-08-25 18:31   ` Elvis Dowson
2013-08-25 19:09     ` Elvis Dowson
2013-08-26  1:03       ` Bruce Ashfield
2013-08-26  3:58         ` Elvis Dowson
2013-08-26  4:24           ` Bruce Ashfield
2013-08-26 15:49             ` Elvis Dowson
2013-08-26 19:08               ` Bruce Ashfield
2013-08-26 19:35                 ` Elvis Dowson
2013-08-27 20:03                   ` Bruce Ashfield
2013-08-28 15:16                     ` Elvis Dowson
2013-08-28 22:43                       ` Bruce Ashfield
2013-08-29  4:36                         ` Elvis Dowson
2013-08-29  5:48                           ` Khem Raj
2013-08-29  8:50                             ` Elvis Dowson
2013-08-29 16:17                               ` Khem Raj
2013-08-29 16:18                                 ` Bruce Ashfield
2013-08-29 16:22                                 ` Elvis Dowson
2013-08-29 12:35                           ` Bruce Ashfield
2013-08-29 14:02                             ` Elvis Dowson
2013-08-29 16:23                               ` Bruce Ashfield
2013-08-29 16:28                                 ` Elvis Dowson
2013-08-26  1:11   ` Bruce Ashfield [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-29 19:32 rewitt
2013-08-29 19:40 ` Bruce Ashfield
2013-08-30 10:17 ` Elvis Dowson
2013-08-29 18:53 rewitt
2013-08-29 18:58 ` Bruce Ashfield
2013-08-29 19:01 ` Elvis Dowson
2013-08-29 19:16   ` Bruce Ashfield
2013-08-29 19:25     ` Elvis Dowson
2013-08-29 19:30       ` Bruce Ashfield
2013-08-25 14:37 Elvis Dowson
2013-08-25 14:44 ` Martin Jansa
2013-08-25 15:09   ` Elvis Dowson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=521AAB34.3010203@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=elvis.dowson@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox