Skip to contentSkip to conversation

rely on devtmpfs in kernel

PATCH Applied Andrea Adami 2 participants 5 messages Jan 16, 2012

lore
Share & tools
lore
#0 lore raw

cover rely on devtmpfs in kernel

* No need for static device tables when using devtmpfs.
* The /dev directory must exist, though: kexecboot provides it
* Bump to latest kexecboot to manage the empty /dev and
* increase PR of linux-kexecboot to keep in synch.

Andrea Adami (3):
kexecboot_git: move to 8f1d3cc3d9c650c6a6c88f83071185d6ee0ef9c7
linux-kexecboot: bump INC_PR to follow kexecboot upgrade zaurus.inc: don't install device nodes, rely on devtmpfs

 conf/machine/include/zaurus.inc              |    2 ++
 recipes-bsp/kexecboot/kexecboot-klibc_git.bb |    4 ++--
 recipes-bsp/kexecboot/kexecboot.inc          |    3 ++-
 recipes-bsp/kexecboot/kexecboot_git.bb       |    4 ++--
 recipes-kernel/linux/linux-kexecboot.inc     |    2 +-
 5 files changed, 9 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/3 kexecboot_git: move to 8f1d3cc3d9c650c6a6c88f83071185d6ee0ef9c7

* take advantage of last commits allowing to boot with empty /dev
* (the directory must be present, though)
* minor fixes
* bump PR

---
 recipes-bsp/kexecboot/kexecboot-klibc_git.bb |    4 ++--
 recipes-bsp/kexecboot/kexecboot.inc          |    3 ++-
 recipes-bsp/kexecboot/kexecboot_git.bb       |    4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)
recipes-bsp/kexecboot/kexecboot-klibc_git.bb +2 -2
index 22ef7de..0d6d00f 100644
@@ -1,9 +1,9 @@
 RDEPENDS_${PN} = "kexec-klibc"
 PV = "0.5.9"
-PR = "r7+gitr${SRCREV}"
+PR = "r8+gitr${SRCREV}"
 
 SRC_URI = "git://git.linuxtogo.org/home/groups/kexecboot/kexecboot.git;protocol=git "
-SRCREV = "14e6d1a3641a749e4408fda1eadffe4f396b0279"
+SRCREV = "8f1d3cc3d9c650c6a6c88f83071185d6ee0ef9c7"
 S = "${WORKDIR}/git"
 
 # the binary is statically linked against klibc
recipes-bsp/kexecboot/kexecboot.inc +2 -1
index b76abcc..3a7fd9f 100644
@@ -50,11 +50,12 @@ do_install () {
         install -m 0755 kexecboot ${D}${bindir}/
         install -d ${D}/proc
         install -d ${D}/mnt
+        install -d ${D}/dev
 }
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt"
+FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt /dev"
 
 pkg_postinst_${PN} () {
         ln -sf ${bindir}/kexecboot $D/init
recipes-bsp/kexecboot/kexecboot_git.bb +2 -2
index 264d8e2..1341461 100644
@@ -1,9 +1,9 @@
 RDEPENDS_${PN} = "kexec"
 PV = "0.5.9"
-PR = "r7+gitr${SRCREV}"
+PR = "r8+gitr${SRCREV}"
 
 SRC_URI = "git://git.linuxtogo.org/home/groups/kexecboot/kexecboot.git;protocol=git "
-SRCREV = "14e6d1a3641a749e4408fda1eadffe4f396b0279"
+SRCREV = "8f1d3cc3d9c650c6a6c88f83071185d6ee0ef9c7"
 S = "${WORKDIR}/git"
 
 require kexecboot.inc
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 2/3 linux-kexecboot: bump INC_PR to follow kexecboot upgrade

In reply to Andrea Adami
---
 recipes-kernel/linux/linux-kexecboot.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-kernel/linux/linux-kexecboot.inc +1 -1
index f6a061e..b2758a6 100644
@@ -3,7 +3,7 @@ SECTION = "kernel"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
-INC_PR = "r0"
+INC_PR = "r1"
 
 inherit kernel siteinfo
 
Signature · 1 line
1.7.3.4
#3 lore raw

PATCH 3/3 zaurus.inc: don't install device nodes, rely on devtmpfs

In reply to Andrea Adami
---
 conf/machine/include/zaurus.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
conf/machine/include/zaurus.inc +2 -0
index 7ff56fc..b42799f 100644
@@ -18,6 +18,8 @@ EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"
 
 EXTRA_IMAGEDEPENDS += "zaurus-installer"
 
+IMAGE_DEVICE_TABLES = ""
+
 #########
 # xserver
 #########
Signature · 1 line
1.7.3.4
#4 lore raw
In reply to Andrea Adami
Quoted 10 lines · On Monday 16 January 2012 01:12:08 Andrea Adami wrote:

* No need for static device tables when using devtmpfs.
* The /dev directory must exist, though: kexecboot provides it
* Bump to latest kexecboot to manage the empty /dev and
* increase PR of linux-kexecboot to keep in synch.

Andrea Adami (3):
kexecboot_git: move to 8f1d3cc3d9c650c6a6c88f83071185d6ee0ef9c7
linux-kexecboot: bump INC_PR to follow kexecboot upgrade zaurus.inc: don't install device nodes, rely on devtmpfs

Quoted 6 lines
 conf/machine/include/zaurus.inc              |    2 ++
 recipes-bsp/kexecboot/kexecboot-klibc_git.bb |    4 ++--
 recipes-bsp/kexecboot/kexecboot.inc          |    3 ++-
 recipes-bsp/kexecboot/kexecboot_git.bb       |    4 ++--
 recipes-kernel/linux/linux-kexecboot.inc     |    2 +-
 5 files changed, 9 insertions(+), 6 deletions(-)

Merged to meta-handheld master, thanks!

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre