From: Zongchun Yu Date: Mon, 25 Nov 2013 02:00:46 +0000 (+0800) Subject: add machine configure file for new boards X-Git-Tag: 2.1~534^2~157 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c825cb2866a37e6d7c6dfb13637a2cc1ab55938d;p=meta-freescale.git add machine configure file for new boards based on latest kernel/u-boot codes, add following boards: t1040rdb-64b t1040rdb t1042rdb-64b t1042rdb t2080rdb-64b t2080rdb t4240rdb-64b t4240rdb Signed-off-by: Ting Liu --- diff --git a/meta-fsl-ppc/conf/machine/t1040rdb-64b.conf b/meta-fsl-ppc/conf/machine/t1040rdb-64b.conf new file mode 100644 index 00000000..0f0a6859 --- /dev/null +++ b/meta-fsl-ppc/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 + +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/meta-fsl-ppc/conf/machine/t1040rdb.conf b/meta-fsl-ppc/conf/machine/t1040rdb.conf new file mode 100644 index 00000000..4532c49a --- /dev/null +++ b/meta-fsl-ppc/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 + +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/meta-fsl-ppc/conf/machine/t1042rdb-64b.conf b/meta-fsl-ppc/conf/machine/t1042rdb-64b.conf new file mode 100644 index 00000000..52be355b --- /dev/null +++ b/meta-fsl-ppc/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 + +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/meta-fsl-ppc/conf/machine/t1042rdb.conf b/meta-fsl-ppc/conf/machine/t1042rdb.conf new file mode 100644 index 00000000..ce877c70 --- /dev/null +++ b/meta-fsl-ppc/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 + +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/meta-fsl-ppc/conf/machine/t2080rdb-64b.conf b/meta-fsl-ppc/conf/machine/t2080rdb-64b.conf new file mode 100644 index 00000000..e5dfb33c --- /dev/null +++ b/meta-fsl-ppc/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 + +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/meta-fsl-ppc/conf/machine/t2080rdb.conf b/meta-fsl-ppc/conf/machine/t2080rdb.conf new file mode 100644 index 00000000..5030588a --- /dev/null +++ b/meta-fsl-ppc/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 + +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/meta-fsl-ppc/conf/machine/t4240rdb-64b.conf b/meta-fsl-ppc/conf/machine/t4240rdb-64b.conf new file mode 100644 index 00000000..ab7870bd --- /dev/null +++ b/meta-fsl-ppc/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 + +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/meta-fsl-ppc/conf/machine/t4240rdb.conf b/meta-fsl-ppc/conf/machine/t4240rdb.conf new file mode 100644 index 00000000..dc51e654 --- /dev/null +++ b/meta-fsl-ppc/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 + +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"