n450 KMACHINE and SRCREV fixes [YOCTO #837]
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(-)
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
@@ -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
PATCH 2/2 n450: Default to atom-pc SRCREVs for linux-yocto-stable
In reply to Darren HartFrom: 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
@@ -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