Patchwork [meta-fsl-ppc,05/39] add machine configure file for new boards

login
register
mail settings
Submitter Ting Liu
Date July 2, 2014, 3:01 a.m.
Message ID <1404270108-3448-6-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74607/
State Superseded
Headers show

Comments

Ting Liu - July 2, 2014, 3:01 a.m.
From: Zongchun Yu <Zongchun.Yu@freescale.com>

Signed-off-by: Ting Liu <ting.liu@freescale.com>
---
 conf/machine/t1040rdb-64b.conf |   19 +++++++++++++++++++
 conf/machine/t1040rdb.conf     |   19 +++++++++++++++++++
 conf/machine/t1042rdb-64b.conf |   29 +++++++++++++++++++++++++++++
 conf/machine/t1042rdb.conf     |   28 ++++++++++++++++++++++++++++
 conf/machine/t2080rdb-64b.conf |   20 ++++++++++++++++++++
 conf/machine/t2080rdb.conf     |   20 ++++++++++++++++++++
 conf/machine/t4240rdb-64b.conf |   20 ++++++++++++++++++++
 conf/machine/t4240rdb.conf     |   20 ++++++++++++++++++++
 8 files changed, 175 insertions(+)
 create mode 100644 conf/machine/t1040rdb-64b.conf
 create mode 100644 conf/machine/t1040rdb.conf
 create mode 100644 conf/machine/t1042rdb-64b.conf
 create mode 100644 conf/machine/t1042rdb.conf
 create mode 100644 conf/machine/t2080rdb-64b.conf
 create mode 100644 conf/machine/t2080rdb.conf
 create mode 100644 conf/machine/t4240rdb-64b.conf
 create mode 100644 conf/machine/t4240rdb.conf

Patch

diff --git a/conf/machine/t1040rdb-64b.conf b/conf/machine/t1040rdb-64b.conf
new file mode 100644
index 0000000..0f0a685
--- /dev/null
+++ b/conf/machine/t1040rdb-64b.conf
@@ -0,0 +1,19 @@ 
+#@TYPE: Machine
+#@NAME: Freescale T1040RDB
+#@SOC: t1040
+#@DESCRIPTION: Machine configuration for running T1040RDB in 64-bit mode
+#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
+
+require e5500-64b.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "t1040"
+UBOOT_MACHINES ?= "T1040RDB"
+KERNEL_DEVICETREE ?= "t1040rdb.dtb t1040rdb-usdpaa.dtb"
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/t1040_64bit_smp_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
diff --git a/conf/machine/t1040rdb.conf b/conf/machine/t1040rdb.conf
new file mode 100644
index 0000000..4532c49
--- /dev/null
+++ b/conf/machine/t1040rdb.conf
@@ -0,0 +1,19 @@ 
+#@TYPE: Machine
+#@NAME: Freescale T1040RDB
+#@SOC: t1040
+#@DESCRIPTION: Machine configuration for running T1040RDB in 32-bit mode
+#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
+
+require e5500.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "t1040"
+UBOOT_MACHINES ?= "T1040RDB"
+KERNEL_DEVICETREE ?= "t1040rdb.dtb t1040rdb-usdpaa.dtb"
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/t1040_32bit_smp_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
diff --git a/conf/machine/t1042rdb-64b.conf b/conf/machine/t1042rdb-64b.conf
new file mode 100644
index 0000000..52be355
--- /dev/null
+++ b/conf/machine/t1042rdb-64b.conf
@@ -0,0 +1,29 @@ 
+#@TYPE: Machine
+#@NAME: Freescale T1042RDB
+#@SOC: t1042
+#@DESCRIPTION: Machine configuration for running T1042RDB in 64-bit mode
+#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
+
+require e5500-64b.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "t1042"
+UBOOT_MACHINES ?= "T1042RDB_PI"
+KERNEL_DEVICETREE ?= "t1042rdb_pi.dtb"
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/t1040_64bit_smp_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
+
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+XSERVER = " \
+    xserver-xorg \
+    xf86-input-evdev \
+    xf86-input-mouse \
+    xf86-input-keyboard \
+    xf86-video-fbdev \
+"
+
diff --git a/conf/machine/t1042rdb.conf b/conf/machine/t1042rdb.conf
new file mode 100644
index 0000000..ce877c7
--- /dev/null
+++ b/conf/machine/t1042rdb.conf
@@ -0,0 +1,28 @@ 
+#@TYPE: Machine
+#@NAME: Freescale T1042RDB
+#@SOC: t1042
+#@DESCRIPTION: Machine configuration for running T1042RDB in 32-bit mode
+#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
+
+require e5500.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "t1042"
+UBOOT_MACHINES ?= "T1042RDB_PI"
+KERNEL_DEVICETREE ?= "t1042rdb_pi.dtb"
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/t1040_32bit_smp_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
+
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+XSERVER = " \
+    xserver-xorg \
+    xf86-input-evdev \
+    xf86-input-mouse \
+    xf86-input-keyboard \
+    xf86-video-fbdev \
+"
diff --git a/conf/machine/t2080rdb-64b.conf b/conf/machine/t2080rdb-64b.conf
new file mode 100644
index 0000000..e5dfb33
--- /dev/null
+++ b/conf/machine/t2080rdb-64b.conf
@@ -0,0 +1,20 @@ 
+#@TYPE: Machine
+#@NAME: Freescale T2080RDB
+#@SOC: t2080
+#@DESCRIPTION: Machine configuration for running T2080RDB in 64-bit mode
+#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
+
+require e6500-64b.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "t2080"
+# TODO: fix 32bit build of u-boot
+UBOOT_MACHINES ?= "T2080RDB T2080RDB_SDCARD T2080RDB_SPIFLASH T2080RDB_NAND T2080RDB_SRIO_PCIE_BOOT"
+KERNEL_DEVICETREE ?= "t2080rdb.dtb t2080rdb-usdpaa.dtb"
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
diff --git a/conf/machine/t2080rdb.conf b/conf/machine/t2080rdb.conf
new file mode 100644
index 0000000..5030588
--- /dev/null
+++ b/conf/machine/t2080rdb.conf
@@ -0,0 +1,20 @@ 
+#@TYPE: Machine
+#@NAME: Freescale T2080RDB
+#@SOC: t2080
+#@DESCRIPTION: Machine configuration for running T2080RDB in 32-bit mode
+#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
+
+require e6500.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "t2080"
+UBOOT_MACHINES ?= "T2080RDB T2080RDB_SDCARD T2080RDB_SPIFLASH T2080RDB_NAND T2080RDB_SRIO_PCIE_BOOT"
+KERNEL_DEVICETREE ?= "t2080rdb.dtb t2080rdb-usdpaa.dtb"
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
+BUILD_64BIT_KERNEL = "1"
diff --git a/conf/machine/t4240rdb-64b.conf b/conf/machine/t4240rdb-64b.conf
new file mode 100644
index 0000000..ab7870b
--- /dev/null
+++ b/conf/machine/t4240rdb-64b.conf
@@ -0,0 +1,20 @@ 
+#@TYPE: Machine
+#@NAME: Freescale T4240RDB
+#@SOC: t4240
+#@DESCRIPTION: Machine configuration for running T4240RDB in 64-bit mode
+#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
+
+require e6500-64b.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "t4240"
+# TODO: fix 32bit build of u-boot
+UBOOT_MACHINES ?= "T4240RDB"
+KERNEL_DEVICETREE ?= "t4240rdb.dtb t4240rdb-usdpaa.dtb t4240rdb-usdpaa-shared-interfaces.dtb"
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
diff --git a/conf/machine/t4240rdb.conf b/conf/machine/t4240rdb.conf
new file mode 100644
index 0000000..dc51e65
--- /dev/null
+++ b/conf/machine/t4240rdb.conf
@@ -0,0 +1,20 @@ 
+#@TYPE: Machine
+#@NAME: Freescale T4240RDB
+#@SOC: t4240
+#@DESCRIPTION: Machine configuration for running T4240RDB in 32-bit mode
+#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
+
+require e6500.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "t4240"
+UBOOT_MACHINES ?= "T4240RDB"
+KERNEL_DEVICETREE ?= "t4240rdb.dtb t4240rdb-usdpaa.dtb t4240rdb-usdpaa-shared-interfaces.dtb"
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
+BUILD_64BIT_KERNEL = "1"