Patchwork [meta-fsl-arm-extra] conf: Allow wandboards to boot a mainline kernel

login
register
mail settings
Submitter Fabio Estevam
Date Sept. 12, 2013, 1:11 p.m.
Message ID <1378991471-26790-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/57887/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Fabio Estevam - Sept. 12, 2013, 1:11 p.m.
Pass KERNEL_DEVICETREE, so that wandboard variants could boot a mainline kernel.

The solo variant uses the same dtb from the dual-lite, as they are the same
SoC with only the number of cores being different.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
The following U-boot patch is also needed for wandboard solo:
http://patchwork.ozlabs.org/patch/273712/

 conf/machine/wandboard-dual.conf | 2 ++
 conf/machine/wandboard-quad.conf | 2 ++
 conf/machine/wandboard-solo.conf | 2 ++
 3 files changed, 6 insertions(+)

Patch

diff --git a/conf/machine/wandboard-dual.conf b/conf/machine/wandboard-dual.conf
index bdf7c95..eaee17b 100644
--- a/conf/machine/wandboard-dual.conf
+++ b/conf/machine/wandboard-dual.conf
@@ -12,6 +12,8 @@  PREFERRED_PROVIDER_virtual/kernel = "linux-wandboard"
 
 UBOOT_MACHINE = "wandboard_dl_config"
 
+KERNEL_DEVICETREE = "imx6dl-wandboard.dtb"
+
 SERIAL_CONSOLE = "115200 ttymxc0"
 
 MACHINE_FEATURES += " pci wifi bluetooth"
diff --git a/conf/machine/wandboard-quad.conf b/conf/machine/wandboard-quad.conf
index b9216eb..4f32590 100644
--- a/conf/machine/wandboard-quad.conf
+++ b/conf/machine/wandboard-quad.conf
@@ -12,6 +12,8 @@  PREFERRED_PROVIDER_virtual/kernel = "linux-wandboard"
 
 UBOOT_MACHINE = "wandboard_quad_config"
 
+KERNEL_DEVICETREE = "imx6q-wandboard.dtb"
+
 SERIAL_CONSOLE = "115200 ttymxc0"
 
 MACHINE_FEATURES += " pci wifi bluetooth"
diff --git a/conf/machine/wandboard-solo.conf b/conf/machine/wandboard-solo.conf
index e8e736b..970e650 100644
--- a/conf/machine/wandboard-solo.conf
+++ b/conf/machine/wandboard-solo.conf
@@ -12,6 +12,8 @@  PREFERRED_PROVIDER_virtual/kernel = "linux-wandboard"
 
 UBOOT_MACHINE = "wandboard_solo_config"
 
+KERNEL_DEVICETREE = "imx6dl-wandboard.dtb"
+
 SERIAL_CONSOLE = "115200 ttymxc0"
 
 MACHINE_FEATURES += " pci wifi"