Update poky-tiny to linux-yocto-tiny_3.4 for qemux86
cover Update poky-tiny to linux-yocto-tiny_3.4 for qemux86
As these patches are dependent on eachother, sending to both poky and oe-core lists. Flame away.
The refresh to 3.4 for tiny is coming in rather late as I was focused on other BSPs. However, qemux86 has been at 3.4 for poky and linux-yocto for a while now. This update effectively uses a subset of that tested config for the images built with poky-tiny. This only impacts qemux86 on poky-tiny. That configuration builds and boots to the serial console.
NOTE: This kernel recipe is pending a minor meta-data change to the linux-yocto_3.4 git repository which will require a SRCREV_meta update. That update can be made to only the linux-yocto-tiny_3.4 recipe in order to minimize risk to the rest of the system. However, please do not commit this until the meta-data patch goes in. At that point I will update the branch with the new SRCREV and notify the list in response to this email.
The following changes since commit 415be864abdbd6f86e554aba684f5d7a9499e2e7:
sstate: Add extra entries to the sstate duplicate files whitelist (2012-10-05 16:18:26 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib dvhart/1.3/tiny
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/1.3/tiny
Darren Hart (2):
linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel
poky-tiny: Update the default kernel to linux-yocto-tiny_3.4
meta-yocto/conf/distro/poky-tiny.conf | 2 +- meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb | 26 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb
Signature · 1 line
1.7.5.4
PATCH 1/2 linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel
This recipe builds the "tiny" kernel type defined by the linux-yocto meta-data. Support is defined for the qemux86 machine via common-pc-tiny.scc in the linux-yocto meta branch. The resulting kernel is 1.8 MB and boots to a serial console with with qemux86 and core-image-minimal using the following command:
qemu -kernel tmp/deploy/images/bzImage-qemux86.bin -initrd tmp/deploy/images/core-image-minimal-qemux86.cpio.gz -append "root=/dev/ram0 console=ttyS0" -nographic
--- meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb | 26 +++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb
meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb new file +26 -0
@@ -0,0 +1,26 @@ +require recipes-kernel/linux/linux-yocto.inc + +# We need lzma (as CONFIG_KERNEL_LZMA=y) +DEPENDS += "xz-native" + +KBRANCH_DEFAULT = "standard/tiny/base" +KBRANCH = "${KBRANCH_DEFAULT}" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +LINUX_VERSION ?= "3.4.11" + +KMETA = "meta" + +SRCREV_machine ?= "3fa06aa29078fdb2af431de2d3fdae7d281ba85f" +SRCREV_meta ?= "5bdc655034a58a7147176a8a882d81e2fd51e4b9" + +PR = "${INC_PR}.2" +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta" + +COMPATIBLE_MACHINE = "(qemux86)" + +# Functionality flags +KERNEL_FEATURES = ""
Signature · 1 line
1.7.5.4
PATCH 2/2 poky-tiny: Update the default kernel to linux-yocto-tiny_3.4
In reply to Darren HartThe 3.4 linux-yocto-tiny kernel successfully boots to a prompt for qemux86.
--- meta-yocto/conf/distro/poky-tiny.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta-yocto/conf/distro/poky-tiny.conf +1 -1
@@ -37,7 +37,7 @@ DISTRO = "poky-tiny" # Distro config is evaluated after the machine config, so we have to explicitly # set the kernel provider to override a machine config. PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny" -PREFERRED_VERSION_linux-yocto-tiny = "3.2%" +PREFERRED_VERSION_linux-yocto-tiny = "3.4%" # We can use packagegroup-core-boot, but in the future we may need a new packagegroup-core-tiny #POKY_DEFAULT_EXTRA_RDEPENDS += "packagegroup-core-boot"
Signature · 1 line
1.7.5.4
Quoted 9 lines · Darren Hart
As these patches are dependent on eachother, sending to both poky and oe-core lists. Flame away.
The refresh to 3.4 for tiny is coming in rather late as I was focused on other BSPs. However, qemux86 has been at 3.4 for poky and linux-yocto for a while now. This update effectively uses a subset of that tested config for the images built with poky-tiny. This only impacts qemux86 on poky-tiny. That configuration builds and boots to the serial console.
Quoted 6 lines
NOTE: This kernel recipe is pending a minor meta-data change to the linux-yocto_3.4 git repository which will require a
SRCREV_metaupdate. That update can be made to only the linux-yocto-tiny_3.4 recipe in order to minimize risk to the rest of the system. However, please do not commit this until the meta-data patch goes in. At that point I will update the branch with the new SRCREV and notify the list in response to this email.
The necessary changes have been committed to linux-yocto-3.4.git. I have updated the branch with the appropriate SRCREV_meta for linux-yocto-tiny_3.4.bb. These patches are ready to pull.
Quoted 8 lines
The following changes since commit
415be864abdbd6f86e554aba684f5d7a9499e2e7:sstate: Add extra entries to the sstate duplicate files whitelist (2012-10-05 16:18:26 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contribdvhart/1.3/tiny
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/1.3/tiny
Quoted 8 lines
Darren Hart (2):
linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel
poky-tiny: Update the default kernel to linux-yocto-tiny_3.4meta-yocto/conf/distro/poky-tiny.conf | 2 +- meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb | 26 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb
Thanks,
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Technical Lead - Linux Kernel