linux-yocto: Set CONFIG_ATA_PIIX=y by default
From: Jacob Kroon <hidden>
Date: 2021-10-16 07:18:51
From: Jacob Kroon <hidden>
Date: 2021-10-16 07:18:51
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