genericx86 fixes
cover genericx86 fixes
Hi,
The headline here is using the improved kernel configuration I've been playing with, so this is all pending Bruce's kernel push.
Ross
The following changes since commit b2ff1add530b1fec2fb7f385227a03db47015c37:
poky.conf: Don't force the addition of extra DISTRO_FEATURES (2013-08-20 22:58:04 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ross/genericx86-next
for you to fetch changes up to eba8d2a94e36103fabecdd0c68142e2ea1d21b10:
linux-yocto: switch genericx86 to use common-pc (2013-08-22 16:52:47 +0100)
----------------------------------------------------------------
Ross Burton (4):
linux-yocto: remove genericx86 support from 3.4
genericx86: add v86d to machine recommends for uvesafb
genericx86: disable USB autosuspend
linux-yocto: switch genericx86 to use common-pc
meta-yocto-bsp/conf/machine/genericx86.conf | 4 +--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend | 2 -- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend | 4 +++- 3 files changed, 4 insertions(+), 6 deletions(-)
Ross Burton (4):
linux-yocto: remove genericx86 support from 3.4
genericx86: add v86d to machine recommends for uvesafb
genericx86: disable USB autosuspend
linux-yocto: switch genericx86 to use common-pc
meta-yocto-bsp/conf/machine/genericx86.conf | 4 +--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend | 2 -- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend | 4 +++- 3 files changed, 4 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.10.4
PATCH 1/4 linux-yocto: remove genericx86 support from 3.4
3.4 doesn't actually support genericx86, so remove any mention of it.
--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend | 2 -- 1 file changed, 2 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend +0 -2
@@ -1,5 +1,4 @@ KBRANCH_atom-pc = "standard/common-pc/atom-pc" -KBRANCH_genericx86 = "standard/common-pc/atom-pc" KBRANCH_routerstationpro = "standard/routerstationpro" KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KBRANCH_beagleboard = "standard/beagleboard"
@@ -14,7 +13,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" COMPATIBLE_MACHINE_routerstationpro = "routerstationpro" COMPATIBLE_MACHINE_beagleboard = "beagleboard" COMPATIBLE_MACHINE_atom-pc = "atom-pc" -COMPATIBLE_MACHINE_genericx86 = "genericx86" # routerstationpro has a flash size of 16mb KERNEL_IMAGE_MAXSIZE_append_routerstationpro = "16777216"
Signature · 1 line
1.7.10.4
PATCH 2/4 genericx86: add v86d to machine recommends for uvesafb
The uvesafb framebuffer driver needs a userspace helper.
--- meta-yocto-bsp/conf/machine/genericx86.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/genericx86.conf +1 -1
@@ -27,7 +27,7 @@ XSERVER ?= "xserver-xorg \ #MACHINE_EXTRA_RDEPENDS = "rt2860" -MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware" +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware v86d" IMAGE_FSTYPES ?= "ext3 cpio.gz live"
Signature · 1 line
1.7.10.4
PATCH 3/4 genericx86: disable USB autosuspend
In reply to Ross BurtonUSB autosuspend doesn't reliably work with arbitrary hardware, so don't enable it.
--- meta-yocto-bsp/conf/machine/genericx86.conf | 2 -- 1 file changed, 2 deletions(-)
meta-yocto-bsp/conf/machine/genericx86.conf +0 -2
@@ -31,8 +31,6 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware v86d IMAGE_FSTYPES ?= "ext3 cpio.gz live" -APPEND += "usbcore.autosuspend=1" - GLIBC_ADDONS = "nptl" EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
Signature · 1 line
1.7.10.4
PATCH 4/4 linux-yocto: switch genericx86 to use common-pc
In reply to Ross BurtonThe common-pc machine is now more featureful, so switch from atom-pc to common-pc.
--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend +3 -1
@@ -1,5 +1,5 @@ KBRANCH_atom-pc = "standard/common-pc/atom-pc" -KBRANCH_genericx86 = "standard/common-pc/atom-pc" +KBRANCH_genericx86 = "standard/common-pc/base" KBRANCH_routerstationpro = "standard/routerstationpro" KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KBRANCH_beagleboard = "standard/beagleboard"
@@ -18,3 +18,5 @@ COMPATIBLE_MACHINE_genericx86 = "genericx86" # routerstationpro has a flash size of 16mb KERNEL_IMAGE_MAXSIZE_routerstationpro = "16777216" + +KMACHINE_genericx86 = "common-pc"
Signature · 1 line
1.7.10.4
Re: [PATCH 1/4] linux-yocto: remove genericx86 support from 3.4
In reply to Ross BurtonQuoted 3 lines · Ross Burton
3.4 doesn't actually support genericx86, so remove any mention of it.
Signed-off-by Ross Burton <[email protected]>
Quoted 22 lines
--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend | 2 -- 1 file changed, 2 deletions(-)meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend +0
-2@@ -1,5 +1,4 @@ KBRANCH_atom-pc = "standard/common-pc/atom-pc" -KBRANCH_genericx86 = "standard/common-pc/atom-pc" KBRANCH_routerstationpro = "standard/routerstationpro" KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KBRANCH_beagleboard = "standard/beagleboard"@@ -14,7 +13,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" COMPATIBLE_MACHINE_routerstationpro = "routerstationpro" COMPATIBLE_MACHINE_beagleboard = "beagleboard" COMPATIBLE_MACHINE_atom-pc = "atom-pc" -COMPATIBLE_MACHINE_genericx86 = "genericx86" # routerstationpro has a flash size of 16mb KERNEL_IMAGE_MAXSIZE_append_routerstationpro = "16777216"
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 2/4] genericx86: add v86d to machine recommends for uvesafb
In reply to Ross BurtonQuoted 12 lines · Ross Burton
The uvesafb framebuffer driver needs a userspace helper.
Signed-off-by Ross Burton <[email protected]>--- meta-yocto-bsp/conf/machine/genericx86.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-yocto-bsp/conf/machine/genericx86.conf +0
-0
meta-yocto-bsp/conf/machine/genericx86.conf XSERVER ?= "xserver-xorg \ · line 30
Quoted 5 lines
meta-yocto-bsp/conf/machine/genericx86.conf +1
-1@@ -27,7 +27,7 @@ XSERVER ?= "xserver-xorg \ #MACHINE_EXTRA_RDEPENDS = "rt2860" -MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware" +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware v86d"
This is added to MACHINE_ESSENTIAL_EXTRA_RDEPENDS for qemux86.
MACHINE_EXTRA_RRECOMMENDS does not impact packagegroup-core-boot, and therefor not core-image-minimal. Perhaps that is the intention?
These 4 variables can be confusing, so I wanted to ask the question and make sure we are getting the intended behavior here.
meta-yocto-bsp/conf/machine/genericx86.conf XSERVER ?= "xserver-xorg \ · line 33
Quoted 3 lines
meta-yocto-bsp/conf/machine/genericx86.conf +0
-0IMAGE_FSTYPES ?= "ext3 cpio.gz live"
live.... do we halfta? I know... for now... sigh....
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 3/4] genericx86: disable USB autosuspend
In reply to Ross BurtonQuoted 4 lines · Ross Burton
USB autosuspend doesn't reliably work with arbitrary hardware, so don't enable it.
Signed-off-by Ross Burton <[email protected]>
Quoted 17 lines
--- meta-yocto-bsp/conf/machine/genericx86.conf | 2 -- 1 file changed, 2 deletions(-)meta-yocto-bsp/conf/machine/genericx86.conf +0
-2@@ -31,8 +31,6 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware v86d IMAGE_FSTYPES ?= "ext3 cpio.gz live" -APPEND += "usbcore.autosuspend=1" - GLIBC_ADDONS = "nptl" EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 4/4] linux-yocto: switch genericx86 to use common-pc
In reply to Ross BurtonQuoted 3 lines · Ross Burton
The common-pc machine is now more featureful, so switch from atom-pc to common-pc.
Signed-off-by Ross Burton <[email protected]>
Quoted 21 lines
--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend +3
-1@@ -1,5 +1,5 @@ KBRANCH_atom-pc = "standard/common-pc/atom-pc" -KBRANCH_genericx86 = "standard/common-pc/atom-pc" +KBRANCH_genericx86 = "standard/common-pc/base" KBRANCH_routerstationpro = "standard/routerstationpro" KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KBRANCH_beagleboard = "standard/beagleboard"@@ -18,3 +18,5 @@ COMPATIBLE_MACHINE_genericx86 = "genericx86" # routerstationpro has a flash size of 16mb KERNEL_IMAGE_MAXSIZE_routerstationpro = "16777216" + +KMACHINE_genericx86 = "common-pc"
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 2/4] genericx86: add v86d to machine recommends for uvesafb
In reply to Darren HartQuoted 4 lines · Darren Hart
This is added to
MACHINE_ESSENTIAL_EXTRA_RDEPENDSfor qemux86.
MACHINE_EXTRA_RRECOMMENDSdoes not impact packagegroup-core-boot, and therefor not core-image-minimal. Perhaps that is the intention?
It's not essential, no v86d means no uvesafb driver which isn't the end of the world, and possibly what you want for a minimal image.
Ross
Darren Hart
Acked-byRe: [PATCH 2/4] genericx86: add v86d to machine recommends for uvesafb
Quoted 10 lines · Ross
Quoted 4 lines · Darren Hart
This is added to
MACHINE_ESSENTIAL_EXTRA_RDEPENDSfor qemux86.
MACHINE_EXTRA_RRECOMMENDSdoes not impact packagegroup-core-boot, and therefor not core-image-minimal. Perhaps that is the intention?It's not essential, no v86d means no uvesafb driver which isn't the end of the world, and possibly what you want for a minimal image.
Ross
In that case:
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 1/4] linux-yocto: remove genericx86 support from 3.4
In reply to Ross BurtonHi RP,
This one is still pending merge.
Quoted 25 lines · Ross Burton
3.4 doesn't actually support genericx86, so remove any mention of it.
Signed-off-by Ross Burton <[email protected]>--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend | 2 -- 1 file changed, 2 deletions(-)meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend +0
-2@@ -1,5 +1,4 @@ KBRANCH_atom-pc = "standard/common-pc/atom-pc" -KBRANCH_genericx86 = "standard/common-pc/atom-pc" KBRANCH_routerstationpro = "standard/routerstationpro" KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KBRANCH_beagleboard = "standard/beagleboard"@@ -14,7 +13,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" COMPATIBLE_MACHINE_routerstationpro = "routerstationpro" COMPATIBLE_MACHINE_beagleboard = "beagleboard" COMPATIBLE_MACHINE_atom-pc = "atom-pc" -COMPATIBLE_MACHINE_genericx86 = "genericx86" # routerstationpro has a flash size of 16mb KERNEL_IMAGE_MAXSIZE_append_routerstationpro = "16777216"
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 4/4] linux-yocto: switch genericx86 to use common-pc
In reply to Ross BurtonHi RP,
This one is still pending merge as well.
Quoted 24 lines · Ross Burton
The common-pc machine is now more featureful, so switch from atom-pc to common-pc.
Signed-off-by Ross Burton <[email protected]>--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend +3
-1@@ -1,5 +1,5 @@ KBRANCH_atom-pc = "standard/common-pc/atom-pc" -KBRANCH_genericx86 = "standard/common-pc/atom-pc" +KBRANCH_genericx86 = "standard/common-pc/base" KBRANCH_routerstationpro = "standard/routerstationpro" KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KBRANCH_beagleboard = "standard/beagleboard"@@ -18,3 +18,5 @@ COMPATIBLE_MACHINE_genericx86 = "genericx86" # routerstationpro has a flash size of 16mb KERNEL_IMAGE_MAXSIZE_routerstationpro = "16777216" + +KMACHINE_genericx86 = "common-pc"
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 1/4] linux-yocto: remove genericx86 support from 3.4
In reply to Darren HartQuoted 3 lines · Darren Hart
Hi RP,
This one is still pending merge.
Thanks, those two are in.
Cheers,
Richard