* [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes
@ 2013-09-10 22:36 lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 1/4] Refactor kernel recipes to reduce code duplication lists
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: lists @ 2013-09-10 22:36 UTC (permalink / raw)
To: yocto; +Cc: Philipp Wagner
From: Philipp Wagner <mail@philipp-wagner.com>
Hi,
as follow-up to the discussion in
[yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Add version 3.8.13
I've refactored the kernel recipes a bit and included all discussed
kernel versions. The default is now 3.6.
I've left linux.inc as-is, as this seems to be copied from meta-oe. Should
we include this directly instead of copying it here?
Philipp
Philipp Wagner (4):
Refactor kernel recipes to reduce code duplication
Remove tabs from recipe
Make Linux 3.6 the default for Raspberry Pi
Add kernel 3.8 and 3.11 for Raspberry Pi
conf/machine/include/rpi-default-providers.inc | 3 +
recipes-kernel/linux/linux-raspberrypi.inc | 34 +++++
recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 6 +
recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 33 +----
recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 33 +----
recipes-kernel/linux/linux-raspberrypi_3.8.13.bb | 6 +
recipes-kernel/linux/linux.inc | 174 +++++++++++------------
7 files changed, 140 insertions(+), 149 deletions(-)
create mode 100644 recipes-kernel/linux/linux-raspberrypi.inc
create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
--
1.8.1.4
^ permalink raw reply [flat|nested] 9+ messages in thread
* [meta-raspberrypi][PATCH 1/4] Refactor kernel recipes to reduce code duplication
2013-09-10 22:36 [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes lists
@ 2013-09-10 22:36 ` lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 2/4] Remove tabs from recipe lists
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: lists @ 2013-09-10 22:36 UTC (permalink / raw)
To: yocto; +Cc: Philipp Wagner
From: Philipp Wagner <mail@philipp-wagner.com>
Signed-off-by: Philipp Wagner <mail@philipp-wagner.com>
---
recipes-kernel/linux/linux-raspberrypi.inc | 34 ++++++++++++++++++++++++
recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 33 ++---------------------
recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 33 ++---------------------
3 files changed, 38 insertions(+), 62 deletions(-)
create mode 100644 recipes-kernel/linux/linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
new file mode 100644
index 0000000..e756b57
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -0,0 +1,34 @@
+require linux.inc
+
+DESCRIPTION = "Linux Kernel for Raspberry Pi"
+SECTION = "kernel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+PV_append = "+git${SRCREV}"
+
+S = "${WORKDIR}/git"
+
+# NOTE: For now we pull in the default config from the RPi kernel GIT tree.
+KERNEL_DEFCONFIG = "bcmrpi_defconfig"
+
+# CMDLINE for raspberrypi
+CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
+
+UDEV_GE_141 ?= "1"
+
+do_configure_prepend() {
+ install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
+}
+
+do_install_prepend() {
+ install -d ${D}/lib/firmware
+}
+
+do_deploy_append() {
+ # Deploy cmdline.txt
+ install -d ${DEPLOYDIR}/bcm2835-bootfiles
+ echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt
+}
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
index 263e0ce..cc4ee38 100644
--- a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
@@ -1,35 +1,6 @@
-require linux.inc
-
-DESCRIPTION = "Linux kernel for the RaspberryPi board"
-COMPATIBLE_MACHINE = "raspberrypi"
-
-PR = "r7"
-PV_append = "+git${SRCREV}"
-
SRCREV = "ada8b4415ff44d535d63e4291a0eca733bc2ad0f"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \
- file://sl030raspberrypii2ckernel.patch \
+ file://sl030raspberrypii2ckernel.patch \
"
-S = "${WORKDIR}/git"
-
-# NOTE: For now we pull in the default config from the RPi kernel GIT tree.
-KERNEL_DEFCONFIG = "bcmrpi_defconfig"
-
-# CMDLINE for raspberrypi
-CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
-
-UDEV_GE_141 ?= "1"
-
-do_configure_prepend() {
- install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
-}
-
-do_install_prepend() {
- install -d ${D}/lib/firmware
-}
-do_deploy_append() {
- # Deploy cmdline.txt
- install -d ${DEPLOYDIR}/bcm2835-bootfiles
- echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt
-}
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
index 48c99fd..5314f5d 100644
--- a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
@@ -1,35 +1,6 @@
-require linux.inc
-
-DESCRIPTION = "Linux kernel for the RaspberryPi board"
-COMPATIBLE_MACHINE = "raspberrypi"
-
-PR = "r7"
-PV_append = "+git${SRCREV}"
-
-SRCREV = "63b69a8806ce1890711ff55280c90673ea415933"
+SRCREV = "cbd6672e7e1b2dc5026f5dc7929a13a9a68f2a62"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
file://sl030raspberrypii2ckernel.patch \
"
-S = "${WORKDIR}/git"
-
-# NOTE: For now we pull in the default config from the RPi kernel GIT tree.
-KERNEL_DEFCONFIG = "bcmrpi_defconfig"
-
-# CMDLINE for raspberrypi
-CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
-
-UDEV_GE_141 ?= "1"
-
-do_configure_prepend() {
- install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
-}
-
-do_install_prepend() {
- install -d ${D}/lib/firmware
-}
-do_deploy_append() {
- # Deploy cmdline.txt
- install -d ${DEPLOYDIR}/bcm2835-bootfiles
- echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt
-}
+require linux-raspberrypi.inc
--
1.8.1.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-raspberrypi][PATCH 2/4] Remove tabs from recipe
2013-09-10 22:36 [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 1/4] Refactor kernel recipes to reduce code duplication lists
@ 2013-09-10 22:36 ` lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 3/4] Make Linux 3.6 the default for Raspberry Pi lists
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: lists @ 2013-09-10 22:36 UTC (permalink / raw)
To: yocto; +Cc: Philipp Wagner
From: Philipp Wagner <mail@philipp-wagner.com>
Signed-off-by: Philipp Wagner <mail@philipp-wagner.com>
---
recipes-kernel/linux/linux.inc | 174 ++++++++++++++++++++---------------------
1 file changed, 87 insertions(+), 87 deletions(-)
diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc
index 493616c..7a8f984 100644
--- a/recipes-kernel/linux/linux.inc
+++ b/recipes-kernel/linux/linux.inc
@@ -21,96 +21,96 @@ CMDLINE_append = " ${CMDLINE_DEBUG}"
# $1 - Configure variable to be set
# $2 - value [n/y/value]
kernel_configure_variable() {
- # Remove the config
- CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;"
- if test "$2" = "n"
- then
- echo "# CONFIG_$1 is not set" >> ${S}/.config
- else
- echo "CONFIG_$1=$2" >> ${S}/.config
- fi
+ # Remove the config
+ CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;"
+ if test "$2" = "n"
+ then
+ echo "# CONFIG_$1 is not set" >> ${S}/.config
+ else
+ echo "CONFIG_$1=$2" >> ${S}/.config
+ fi
}
do_configure_prepend() {
- # Clean .config
- echo "" > ${S}/.config
- CONF_SED_SCRIPT=""
-
- # oabi / eabi support
- if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
- kernel_configure_variable AEABI y
- if [ "${ARM_KEEP_OABI}" = "1" ] ; then
- kernel_configure_variable OABI_COMPAT y
- else
- kernel_configure_variable OABI_COMPAT n
- fi
- else
- kernel_configure_variable AEABI n
- kernel_configure_variable OABI_COMPAT n
- fi
-
- # Set cmdline
- kernel_configure_variable CMDLINE "\"${CMDLINE}\""
-
- # Localversion
- kernel_configure_variable LOCALVERSION "\"\""
- kernel_configure_variable LOCALVERSION_AUTO n
-
- # Udev quirks
- # Newer versions of udev mandate that sysfs doesn't have deprecated entries
- if [ "${UDEV_GE_141}" = "1" ] ; then
- kernel_configure_variable SYSFS_DEPRECATED n
- kernel_configure_variable SYSFS_DEPRECATED_V2 n
- kernel_configure_variable HOTPLUG y
- kernel_configure_variable UEVENT_HELPER_PATH "\"\""
- kernel_configure_variable UNIX y
- kernel_configure_variable SYSFS y
- kernel_configure_variable PROC_FS y
- kernel_configure_variable TMPFS y
- kernel_configure_variable INOTIFY_USER y
- kernel_configure_variable SIGNALFD y
- kernel_configure_variable TMPFS_POSIX_ACL y
- kernel_configure_variable BLK_DEV_BSG y
- kernel_configure_variable DEVTMPFS y
- kernel_configure_variable DEVTMPFS_MOUNT y
- fi
-
- # Newer inits like systemd need cgroup support
- if [ "${KERNEL_ENABLE_CGROUPS}" = "1" ] ; then
- kernel_configure_variable CGROUP_SCHED y
- kernel_configure_variable CGROUPS y
- kernel_configure_variable CGROUP_NS y
- kernel_configure_variable CGROUP_FREEZER y
- kernel_configure_variable CGROUP_DEVICE y
- kernel_configure_variable CPUSETS y
- kernel_configure_variable PROC_PID_CPUSET y
- kernel_configure_variable CGROUP_CPUACCT y
- kernel_configure_variable RESOURCE_COUNTERS y
- fi
-
- # root-over-nfs-over-usb-eth support. Limited, but should cover some cases
- # Enable this by setting a proper CMDLINE_NFSROOT_USB.
- if [ ! -z "${CMDLINE_NFSROOT_USB}" ]; then
- oenote "Configuring the kernel for root-over-nfs-over-usb-eth with CMDLINE ${CMDLINE_NFSROOT_USB}"
- kernel_configure_variable INET y
- kernel_configure_variable IP_PNP y
- kernel_configure_variable USB_GADGET y
- kernel_configure_variable USB_GADGET_SELECTED y
- kernel_configure_variable USB_ETH y
- kernel_configure_variable NFS_FS y
- kernel_configure_variable ROOT_NFS y
- kernel_configure_variable ROOT_NFS y
- kernel_configure_variable CMDLINE "\"${CMDLINE_NFSROOT_USB}\""
- fi
-
- # Activate CONFIG_LEGACY_PTYS
- kernel_configure_variable LEGACY_PTYS y
-
- # Keep this the last line
- # Remove all modified configs and add the rest to .config
- sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${S}/.config'
-
- yes '' | oe_runmake oldconfig
+ # Clean .config
+ echo "" > ${S}/.config
+ CONF_SED_SCRIPT=""
+
+ # oabi / eabi support
+ if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
+ kernel_configure_variable AEABI y
+ if [ "${ARM_KEEP_OABI}" = "1" ] ; then
+ kernel_configure_variable OABI_COMPAT y
+ else
+ kernel_configure_variable OABI_COMPAT n
+ fi
+ else
+ kernel_configure_variable AEABI n
+ kernel_configure_variable OABI_COMPAT n
+ fi
+
+ # Set cmdline
+ kernel_configure_variable CMDLINE "\"${CMDLINE}\""
+
+ # Localversion
+ kernel_configure_variable LOCALVERSION "\"\""
+ kernel_configure_variable LOCALVERSION_AUTO n
+
+ # Udev quirks
+ # Newer versions of udev mandate that sysfs doesn't have deprecated entries
+ if [ "${UDEV_GE_141}" = "1" ] ; then
+ kernel_configure_variable SYSFS_DEPRECATED n
+ kernel_configure_variable SYSFS_DEPRECATED_V2 n
+ kernel_configure_variable HOTPLUG y
+ kernel_configure_variable UEVENT_HELPER_PATH "\"\""
+ kernel_configure_variable UNIX y
+ kernel_configure_variable SYSFS y
+ kernel_configure_variable PROC_FS y
+ kernel_configure_variable TMPFS y
+ kernel_configure_variable INOTIFY_USER y
+ kernel_configure_variable SIGNALFD y
+ kernel_configure_variable TMPFS_POSIX_ACL y
+ kernel_configure_variable BLK_DEV_BSG y
+ kernel_configure_variable DEVTMPFS y
+ kernel_configure_variable DEVTMPFS_MOUNT y
+ fi
+
+ # Newer inits like systemd need cgroup support
+ if [ "${KERNEL_ENABLE_CGROUPS}" = "1" ] ; then
+ kernel_configure_variable CGROUP_SCHED y
+ kernel_configure_variable CGROUPS y
+ kernel_configure_variable CGROUP_NS y
+ kernel_configure_variable CGROUP_FREEZER y
+ kernel_configure_variable CGROUP_DEVICE y
+ kernel_configure_variable CPUSETS y
+ kernel_configure_variable PROC_PID_CPUSET y
+ kernel_configure_variable CGROUP_CPUACCT y
+ kernel_configure_variable RESOURCE_COUNTERS y
+ fi
+
+ # root-over-nfs-over-usb-eth support. Limited, but should cover some cases
+ # Enable this by setting a proper CMDLINE_NFSROOT_USB.
+ if [ ! -z "${CMDLINE_NFSROOT_USB}" ]; then
+ oenote "Configuring the kernel for root-over-nfs-over-usb-eth with CMDLINE ${CMDLINE_NFSROOT_USB}"
+ kernel_configure_variable INET y
+ kernel_configure_variable IP_PNP y
+ kernel_configure_variable USB_GADGET y
+ kernel_configure_variable USB_GADGET_SELECTED y
+ kernel_configure_variable USB_ETH y
+ kernel_configure_variable NFS_FS y
+ kernel_configure_variable ROOT_NFS y
+ kernel_configure_variable ROOT_NFS y
+ kernel_configure_variable CMDLINE "\"${CMDLINE_NFSROOT_USB}\""
+ fi
+
+ # Activate CONFIG_LEGACY_PTYS
+ kernel_configure_variable LEGACY_PTYS y
+
+ # Keep this the last line
+ # Remove all modified configs and add the rest to .config
+ sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${S}/.config'
+
+ yes '' | oe_runmake oldconfig
}
# Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
--
1.8.1.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-raspberrypi][PATCH 3/4] Make Linux 3.6 the default for Raspberry Pi
2013-09-10 22:36 [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 1/4] Refactor kernel recipes to reduce code duplication lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 2/4] Remove tabs from recipe lists
@ 2013-09-10 22:36 ` lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 4/4] Add kernel 3.8 and 3.11 " lists
2013-09-11 7:29 ` [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes Paul Barker
4 siblings, 0 replies; 9+ messages in thread
From: lists @ 2013-09-10 22:36 UTC (permalink / raw)
To: yocto; +Cc: Philipp Wagner
From: Philipp Wagner <mail@philipp-wagner.com>
Kernel 3.6 is also the default for Raspbian and thus should be the
most tested version right now.
Signed-off-by: Philipp Wagner <mail@philipp-wagner.com>
---
conf/machine/include/rpi-default-providers.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/conf/machine/include/rpi-default-providers.inc b/conf/machine/include/rpi-default-providers.inc
index 665c6e0..1a647c9 100644
--- a/conf/machine/include/rpi-default-providers.inc
+++ b/conf/machine/include/rpi-default-providers.inc
@@ -1,6 +1,9 @@
# RaspberryPi BSP default providers
PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi"
+# The default kernel version is the same as used by Raspbian
+PREFERRED_VERSION_linux-raspberrypi ?= "3.6.%"
+
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
PREFERRED_PROVIDER_virtual/egl ?= "userland"
PREFERRED_PROVIDER_virtual/libgles2 ?= "userland"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-raspberrypi][PATCH 4/4] Add kernel 3.8 and 3.11 for Raspberry Pi
2013-09-10 22:36 [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes lists
` (2 preceding siblings ...)
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 3/4] Make Linux 3.6 the default for Raspberry Pi lists
@ 2013-09-10 22:36 ` lists
2013-09-11 7:29 ` [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes Paul Barker
4 siblings, 0 replies; 9+ messages in thread
From: lists @ 2013-09-10 22:36 UTC (permalink / raw)
To: yocto; +Cc: Philipp Wagner
From: Philipp Wagner <mail@philipp-wagner.com>
Signed-off-by: Philipp Wagner <mail@philipp-wagner.com>
---
recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 6 ++++++
recipes-kernel/linux/linux-raspberrypi_3.8.13.bb | 6 ++++++
2 files changed, 12 insertions(+)
create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.11.0.bb b/recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
new file mode 100644
index 0000000..1ae39b2
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
@@ -0,0 +1,6 @@
+SRCREV = "d7474694bdc9836af17f4b4d839509f9aad7ffa7"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.11.y \
+ file://sl030raspberrypii2ckernel.patch \
+ "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb b/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
new file mode 100644
index 0000000..dc8cf0a
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
@@ -0,0 +1,6 @@
+SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y \
+ file://sl030raspberrypii2ckernel.patch \
+ "
+
+require linux-raspberrypi.inc
--
1.8.1.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes
2013-09-10 22:36 [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes lists
` (3 preceding siblings ...)
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 4/4] Add kernel 3.8 and 3.11 " lists
@ 2013-09-11 7:29 ` Paul Barker
2013-09-13 17:06 ` Paul Barker
4 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2013-09-11 7:29 UTC (permalink / raw)
To: Philipp Wagner, Yocto discussion list
On 10 September 2013 23:36, <lists@philipp-wagner.com> wrote:
> From: Philipp Wagner <mail@philipp-wagner.com>
>
> Hi,
>
> as follow-up to the discussion in
> [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Add version 3.8.13
> I've refactored the kernel recipes a bit and included all discussed
> kernel versions. The default is now 3.6.
>
> I've left linux.inc as-is, as this seems to be copied from meta-oe. Should
> we include this directly instead of copying it here?
>
> Philipp
>
> Philipp Wagner (4):
> Refactor kernel recipes to reduce code duplication
> Remove tabs from recipe
> Make Linux 3.6 the default for Raspberry Pi
> Add kernel 3.8 and 3.11 for Raspberry Pi
>
> conf/machine/include/rpi-default-providers.inc | 3 +
> recipes-kernel/linux/linux-raspberrypi.inc | 34 +++++
> recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 6 +
> recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 33 +----
> recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 33 +----
> recipes-kernel/linux/linux-raspberrypi_3.8.13.bb | 6 +
> recipes-kernel/linux/linux.inc | 174 +++++++++++------------
> 7 files changed, 140 insertions(+), 149 deletions(-)
> create mode 100644 recipes-kernel/linux/linux-raspberrypi.inc
> create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
> create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
>
> --
> 1.8.1.4
Testing this now with PREFERRED_VERSION_linux-raspberrypi = "3.8%".
--
Paul Barker
Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes
2013-09-11 7:29 ` [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes Paul Barker
@ 2013-09-13 17:06 ` Paul Barker
2013-10-11 15:50 ` Paul Barker
0 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2013-09-13 17:06 UTC (permalink / raw)
To: Philipp Wagner, Yocto discussion list
On 11 September 2013 08:29, Paul Barker <paul@paulbarker.me.uk> wrote:
> On 10 September 2013 23:36, <lists@philipp-wagner.com> wrote:
>> From: Philipp Wagner <mail@philipp-wagner.com>
>>
>> Hi,
>>
>> as follow-up to the discussion in
>> [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Add version 3.8.13
>> I've refactored the kernel recipes a bit and included all discussed
>> kernel versions. The default is now 3.6.
>>
>> I've left linux.inc as-is, as this seems to be copied from meta-oe. Should
>> we include this directly instead of copying it here?
>>
>> Philipp
>>
>> Philipp Wagner (4):
>> Refactor kernel recipes to reduce code duplication
>> Remove tabs from recipe
>> Make Linux 3.6 the default for Raspberry Pi
>> Add kernel 3.8 and 3.11 for Raspberry Pi
>>
>> conf/machine/include/rpi-default-providers.inc | 3 +
>> recipes-kernel/linux/linux-raspberrypi.inc | 34 +++++
>> recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 6 +
>> recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 33 +----
>> recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 33 +----
>> recipes-kernel/linux/linux-raspberrypi_3.8.13.bb | 6 +
>> recipes-kernel/linux/linux.inc | 174 +++++++++++------------
>> 7 files changed, 140 insertions(+), 149 deletions(-)
>> create mode 100644 recipes-kernel/linux/linux-raspberrypi.inc
>> create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
>> create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
>>
>> --
>> 1.8.1.4
>
> Testing this now with PREFERRED_VERSION_linux-raspberrypi = "3.8%".
>
Builds and boots happily.
Tested-by: Paul Barker <paul@paulbarker.me.uk>
--
Paul Barker
Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes
2013-09-13 17:06 ` Paul Barker
@ 2013-10-11 15:50 ` Paul Barker
2013-11-12 16:06 ` Andrei Gherzan
0 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2013-10-11 15:50 UTC (permalink / raw)
To: Philipp Wagner, Yocto discussion list
On 13 September 2013 18:06, Paul Barker <paul@paulbarker.me.uk> wrote:
> On 11 September 2013 08:29, Paul Barker <paul@paulbarker.me.uk> wrote:
>> On 10 September 2013 23:36, <lists@philipp-wagner.com> wrote:
>>> From: Philipp Wagner <mail@philipp-wagner.com>
>>>
>>> Hi,
>>>
>>> as follow-up to the discussion in
>>> [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Add version 3.8.13
>>> I've refactored the kernel recipes a bit and included all discussed
>>> kernel versions. The default is now 3.6.
>>>
>>> I've left linux.inc as-is, as this seems to be copied from meta-oe. Should
>>> we include this directly instead of copying it here?
>>>
>>> Philipp
>>>
>>> Philipp Wagner (4):
>>> Refactor kernel recipes to reduce code duplication
>>> Remove tabs from recipe
>>> Make Linux 3.6 the default for Raspberry Pi
>>> Add kernel 3.8 and 3.11 for Raspberry Pi
>>>
>>> conf/machine/include/rpi-default-providers.inc | 3 +
>>> recipes-kernel/linux/linux-raspberrypi.inc | 34 +++++
>>> recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 6 +
>>> recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 33 +----
>>> recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 33 +----
>>> recipes-kernel/linux/linux-raspberrypi_3.8.13.bb | 6 +
>>> recipes-kernel/linux/linux.inc | 174 +++++++++++------------
>>> 7 files changed, 140 insertions(+), 149 deletions(-)
>>> create mode 100644 recipes-kernel/linux/linux-raspberrypi.inc
>>> create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
>>> create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
>>>
>>> --
>>> 1.8.1.4
>>
>> Testing this now with PREFERRED_VERSION_linux-raspberrypi = "3.8%".
>>
>
> Builds and boots happily.
>
> Tested-by: Paul Barker <paul@paulbarker.me.uk>
>
Ping on this series as well. Think it'd be really good to get the
newer kernel recipes into the repository.
--
Paul Barker
Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes
2013-10-11 15:50 ` Paul Barker
@ 2013-11-12 16:06 ` Andrei Gherzan
0 siblings, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2013-11-12 16:06 UTC (permalink / raw)
To: Paul Barker; +Cc: Yocto discussion list, Philipp Wagner
[-- Attachment #1: Type: text/plain, Size: 2169 bytes --]
On Fri, Oct 11, 2013 at 6:50 PM, Paul Barker <paul@paulbarker.me.uk> wrote:
> On 13 September 2013 18:06, Paul Barker <paul@paulbarker.me.uk> wrote:
> > On 11 September 2013 08:29, Paul Barker <paul@paulbarker.me.uk> wrote:
> >> On 10 September 2013 23:36, <lists@philipp-wagner.com> wrote:
> >>> From: Philipp Wagner <mail@philipp-wagner.com>
> >>>
> >>> Hi,
> >>>
> >>> as follow-up to the discussion in
> >>> [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Add version 3.8.13
> >>> I've refactored the kernel recipes a bit and included all discussed
> >>> kernel versions. The default is now 3.6.
> >>>
> >>> I've left linux.inc as-is, as this seems to be copied from meta-oe.
> Should
> >>> we include this directly instead of copying it here?
> >>>
> >>> Philipp
> >>>
> >>> Philipp Wagner (4):
> >>> Refactor kernel recipes to reduce code duplication
> >>> Remove tabs from recipe
> >>> Make Linux 3.6 the default for Raspberry Pi
> >>> Add kernel 3.8 and 3.11 for Raspberry Pi
> >>>
> >>> conf/machine/include/rpi-default-providers.inc | 3 +
> >>> recipes-kernel/linux/linux-raspberrypi.inc | 34 +++++
> >>> recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 6 +
> >>> recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 33 +----
> >>> recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 33 +----
> >>> recipes-kernel/linux/linux-raspberrypi_3.8.13.bb | 6 +
> >>> recipes-kernel/linux/linux.inc | 174
> +++++++++++------------
> >>> 7 files changed, 140 insertions(+), 149 deletions(-)
> >>> create mode 100644 recipes-kernel/linux/linux-raspberrypi.inc
> >>> create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
> >>> create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> >>>
> >>> --
> >>> 1.8.1.4
> >>
> >> Testing this now with PREFERRED_VERSION_linux-raspberrypi = "3.8%".
> >>
> >
> > Builds and boots happily.
> >
> > Tested-by: Paul Barker <paul@paulbarker.me.uk>
> >
>
> Ping on this series as well. Think it'd be really good to get the
> newer kernel recipes into the repository.
>
>
Merged.
Thanks,
ag
[-- Attachment #2: Type: text/html, Size: 3730 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-11-12 16:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-10 22:36 [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 1/4] Refactor kernel recipes to reduce code duplication lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 2/4] Remove tabs from recipe lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 3/4] Make Linux 3.6 the default for Raspberry Pi lists
2013-09-10 22:36 ` [meta-raspberrypi][PATCH 4/4] Add kernel 3.8 and 3.11 " lists
2013-09-11 7:29 ` [meta-raspberrypi][PATCH 0/4] Refactor kernel recipes Paul Barker
2013-09-13 17:06 ` Paul Barker
2013-10-11 15:50 ` Paul Barker
2013-11-12 16:06 ` Andrei Gherzan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.