Skip to contentSkip to conversation

n450 KMACHINE and SRCREV fixes [YOCTO #837]

PATCH New Darren Hart 1 participant 3 messages Mar 11, 2011

lore
Share & tools
lore
#0 lore raw

cover n450 KMACHINE and SRCREV fixes [YOCTO #837]

From: Darren Hart <[email protected]>

The following patches address bug #837, a boot failure on the n450.

Darren Hart (2):
n450: use KMACHINE instead of WRMACHINE (fix boot failure)
n450: Default to atom-pc SRCREVs for linux-yocto-stable

 .../linux/linux-yocto-stable_git.bbappend          |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
#1 lore raw

PATCH 1/2 n450: use KMACHINE instead of WRMACHINE (fix boot failure)

From: Darren Hart <[email protected]>

Fixes [YOCTO #837]

The n450 linux-yocto-stable bbappend was using WRMACHINE instead of KMACHINE. This resulted in KMACHINE being set to UNDEFINED by the linux-yocto.inc which resulted in bulding the common_pc-standard branch instead of the atom-pc-standard branch. This build a kernel without vfat, blk loop, and the requisite codepages.

---
 .../linux/linux-yocto-stable_git.bbappend          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-n450/recipes-kernel/linux/linux-yocto-stable_git.bbappend +1 -1
index 3a893f6..6a0cfd2 100644
@@ -1,5 +1,5 @@
 FILESEXTRAPATHS := "${THISDIR}/${PN}"
-WRMACHINE_n450 = "atom-pc"
+KMACHINE_n450 = "atom-pc"
 COMPATIBLE_MACHINE_n450 = "n450"
 
 SRCREV="${AUTOREV}"
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 n450: Default to atom-pc SRCREVs for linux-yocto-stable

In reply to Darren Hart

From: Darren Hart <[email protected]>

AUTOREV should only be used for local development and that can be set using the meta-extras/meta-kernel-dev layer. Comment the subtle aspect of defaulting to the atom-pc SRCREVs due to the shared KMACHINE.

---
 .../linux/linux-yocto-stable_git.bbappend          |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta-n450/recipes-kernel/linux/linux-yocto-stable_git.bbappend +3 -3
index 6a0cfd2..e7c2df8 100644
@@ -2,6 +2,6 @@ FILESEXTRAPATHS := "${THISDIR}/${PN}"
 KMACHINE_n450 = "atom-pc"
 COMPATIBLE_MACHINE_n450 = "n450"
 
-SRCREV="${AUTOREV}"
-# Functionality flags
-#KERNEL_REVISION_CHECKING ?= "t"
+# We use the atom-pc machine SRCREV and the default meta SRCREV
+#SRCREV_machine_pn-linux-yocto-stable_n450 = ""
+#SRCREV_meta_pn-linux-yocto-stable_n450 ?= ""
Signature · 1 line
1.7.1