* [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86
@ 2012-10-05 23:31 Darren Hart
2012-10-05 23:31 ` [PATCH 1/2] linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel Darren Hart
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Darren Hart @ 2012-10-05 23:31 UTC (permalink / raw)
To: Poky, openembedded-core
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
--
1.7.5.4
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/2] linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel
2012-10-05 23:31 [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86 Darren Hart
@ 2012-10-05 23:31 ` Darren Hart
2012-10-05 23:31 ` [PATCH 2/2] poky-tiny: Update the default kernel to linux-yocto-tiny_3.4 Darren Hart
2012-10-08 3:35 ` [poky] [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86 Darren Hart
2 siblings, 0 replies; 4+ messages in thread
From: Darren Hart @ 2012-10-05 23:31 UTC (permalink / raw)
To: Poky, openembedded-core
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
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
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
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb
new file mode 100644
index 0000000..ce9a12f
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb
@@ -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 = ""
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] poky-tiny: Update the default kernel to linux-yocto-tiny_3.4
2012-10-05 23:31 [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86 Darren Hart
2012-10-05 23:31 ` [PATCH 1/2] linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel Darren Hart
@ 2012-10-05 23:31 ` Darren Hart
2012-10-08 3:35 ` [poky] [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86 Darren Hart
2 siblings, 0 replies; 4+ messages in thread
From: Darren Hart @ 2012-10-05 23:31 UTC (permalink / raw)
To: Poky, openembedded-core
The 3.4 linux-yocto-tiny kernel successfully boots to a prompt for
qemux86.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
meta-yocto/conf/distro/poky-tiny.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta-yocto/conf/distro/poky-tiny.conf b/meta-yocto/conf/distro/poky-tiny.conf
index 3196fa0..d40748e 100644
--- a/meta-yocto/conf/distro/poky-tiny.conf
+++ b/meta-yocto/conf/distro/poky-tiny.conf
@@ -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"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [poky] [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86
2012-10-05 23:31 [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86 Darren Hart
2012-10-05 23:31 ` [PATCH 1/2] linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel Darren Hart
2012-10-05 23:31 ` [PATCH 2/2] poky-tiny: Update the default kernel to linux-yocto-tiny_3.4 Darren Hart
@ 2012-10-08 3:35 ` Darren Hart
2 siblings, 0 replies; 4+ messages in thread
From: Darren Hart @ 2012-10-08 3:35 UTC (permalink / raw)
To: Poky, openembedded-core
On 10/05/2012 04:31 PM, Darren Hart wrote:
> 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 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.
> 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
Thanks,
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-08 3:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-05 23:31 [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86 Darren Hart
2012-10-05 23:31 ` [PATCH 1/2] linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel Darren Hart
2012-10-05 23:31 ` [PATCH 2/2] poky-tiny: Update the default kernel to linux-yocto-tiny_3.4 Darren Hart
2012-10-08 3:35 ` [poky] [PATCH 0/2] Update poky-tiny to linux-yocto-tiny_3.4 for qemux86 Darren Hart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox