vmdk images need harddisk drivers built-in 47/6147/5
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Tue, 19 Jul 2016 09:07:23 +0000 (11:07 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 19 Jul 2016 13:44:30 +0000 (13:44 +0000)
This patch adds the disk drivers as to the kernel to be able to boot
the vmdk images w/o initrd (only qemux86 and qemux86_64).

v2: use _append as it is a parsed expression

Change-Id: I3ebfe09079754fa29a008d14e1d0bcd3c7e98f84
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
(cherry picked from commit baa986abe444dbbfd59b63f6111a058b80891474)

meta-agl-bsp/recipes-kernel/linux/linux-yocto/vbox-vmware-sata.cfg [new file with mode: 0644]
meta-agl-bsp/recipes-kernel/linux/linux-yocto_%.bbappend

diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-yocto/vbox-vmware-sata.cfg b/meta-agl-bsp/recipes-kernel/linux/linux-yocto/vbox-vmware-sata.cfg
new file mode 100644 (file)
index 0000000..360a5a4
--- /dev/null
@@ -0,0 +1,7 @@
+# enable harddrive driver for vmware/virtualbox
+CONFIG_ATA_PIIX=y
+CONFIG_SATA_AHCI=y
+CONFIG_ATA_SFF=y
+CONFIG_ATA_BMDMA=y
+CONFIG_ATA_GENERIC=y
+CONFIG_ATA_ACPI=y
index 6f1ed9b..7f7fdf5 100644 (file)
@@ -5,3 +5,7 @@ SRC_URI += "file://fanotify.cfg \
             file://uinput.cfg \
             file://hid.cfg \
             "
+
+# disk drivers for vmdk
+SRC_URI_append_qemux86 = " file://vbox-vmware-sata.cfg "
+SRC_URI_append_qemux86_64 = " file://vbox-vmware-sata.cfg "