Skip to contentSkip to conversation

linux-yocto: Set CONFIG_ATA_PIIX=y by default

DISCUSSION Jacob Kroon 1 participant 1 message Oct 16, 2021

lore
Share & tools
lore
#0 lore raw

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 ?

Regards Jacob