openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
From: Jacob Kroon <jacob.kroon@gmail.com>
To: openembedded-core@lists.openembedded.org, bruce.ashfield@gmail.com
Cc: Saul.Wold@windriver.com
Subject: Re: [OE-core] linux-yocto: Set CONFIG_ATA_PIIX=y by default
Date: Sun, 17 Oct 2021 10:26:46 +0200	[thread overview]
Message-ID: <086e00e6-0cd0-0304-8021-f25dcfeb7287@gmail.com> (raw)
In-Reply-To: <16AE71B3ADB3BD09.11150@lists.openembedded.org>

Hi Bruce and Saul,

On 10/16/21 09:18, Jacob Kroon via lists.openembedded.org wrote:
> Hi Bruce,
> 
> My Yocto images (which uses the linux-yocto kernel) stopped booting in 
> QEMU some time ago, and after some debugging it turns out this was 
> because the upstream Linux kernel removed the legacy IDE driver. Instead 
> one should use the libata driver. However, I don't think the linux-yocto 
> kernel has builtin support for the HW that is emulated by QEMU by 
> default (PIIX), instead it is built as a module, CONFIG_ATA_PIIX=m. If I 
> set CONFIG_ATA_PIIX=y, my images boot again.
> 
> I did a "make ARCH=i386 defconfig" in Torvalds master linux tree, and 
> the .config has CONFIG_ATA_PIIX=y.
> 
> Do you think it would make sense to have the support builtin in 
> linux-yocto aswell ?
> 

I'm using KMACHINE = "common-pc". CC:ing Saul Wold, since I see that 
commit 0d4f5ed5dca41a48423ce738131e52f7863d8ca6 in yocto-kernel-cache did:

> diff --git a/bsp/common-pc/common-pc-drivers.cfg b/bsp/common-pc/common-pc-drivers.cfg
> index 71608433..0b821903 100644
> --- a/bsp/common-pc/common-pc-drivers.cfg
> +++ b/bsp/common-pc/common-pc-drivers.cfg
> @@ -5,7 +5,8 @@ CONFIG_PCI_MSI=y
>  CONFIG_ATA=y
>  CONFIG_ATA_ACPI=y
>  CONFIG_ATA_SFF=y
> -CONFIG_ATA_PIIX=y
> +CONFIG_ATA_BMDMA=y
> +CONFIG_ATA_PIIX=m
>  
>  CONFIG_INPUT=y
>  CONFIG_INPUT_MOUSEDEV=y

which changed ATA_PIIX from a builtin to a module. Maybe this wasn't 
intentional ?

Regards Jacob


       reply	other threads:[~2021-10-17  8:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <16AE71B3ADB3BD09.11150@lists.openembedded.org>
2021-10-17  8:26 ` Jacob Kroon [this message]
2021-10-17 13:32   ` [OE-core] linux-yocto: Set CONFIG_ATA_PIIX=y by default Bruce Ashfield
2021-10-18  6:39     ` Jacob Kroon
2021-10-19  2:40       ` Bruce Ashfield
2021-10-19  5:31         ` Jacob Kroon
2021-10-19 13:01           ` Bruce Ashfield

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=086e00e6-0cd0-0304-8021-f25dcfeb7287@gmail.com \
    --to=jacob.kroon@gmail.com \
    --cc=Saul.Wold@windriver.com \
    --cc=bruce.ashfield@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;
as well as URLs for NNTP newsgroup(s).