From 44b1e3160d968387d2e590e13d3958bcf7c8c685 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Mon, 10 Sep 2012 16:19:25 -0500 Subject: [PATCH] add new e6500 based machines (b4860qds and t4240qds) note: these machines build with a 64-bit kernel always, since optimal performance is with this kernel even if the rfs is still 32-bit Signed-off-by: Matthew McClintock --- meta-fsl-ppc/conf/machine/b4860qds-64b.conf | 17 +++++++++++++++++ meta-fsl-ppc/conf/machine/b4860qds.conf | 17 +++++++++++++++++ meta-fsl-ppc/conf/machine/e6500-64b.inc | 19 +++++++++++++++++++ meta-fsl-ppc/conf/machine/e6500.inc | 18 ++++++++++++++++++ meta-fsl-ppc/conf/machine/t4240qds-64b.conf | 17 +++++++++++++++++ meta-fsl-ppc/conf/machine/t4240qds.conf | 17 +++++++++++++++++ 6 files changed, 105 insertions(+) create mode 100644 meta-fsl-ppc/conf/machine/b4860qds-64b.conf create mode 100644 meta-fsl-ppc/conf/machine/b4860qds.conf create mode 100644 meta-fsl-ppc/conf/machine/e6500-64b.inc create mode 100644 meta-fsl-ppc/conf/machine/e6500.inc create mode 100644 meta-fsl-ppc/conf/machine/t4240qds-64b.conf create mode 100644 meta-fsl-ppc/conf/machine/t4240qds.conf diff --git a/meta-fsl-ppc/conf/machine/b4860qds-64b.conf b/meta-fsl-ppc/conf/machine/b4860qds-64b.conf new file mode 100644 index 00000000..5243c24b --- /dev/null +++ b/meta-fsl-ppc/conf/machine/b4860qds-64b.conf @@ -0,0 +1,17 @@ +#@TYPE: Machine +#@DESCRIPTION: Machine configuration for running B4860QDS in 64-bit mode + +require e6500-64b.inc + +# TODO: fix 32bit build of u-boot +UBOOT_MACHINES ?= "B4860QDS" +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts" +KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig" + +JFFS2_ERASEBLOCK = "0x10000" + +SYSVINIT_ENABLED_GETTYS = "" +USE_VT = "" +SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" +USE_VT = "0" diff --git a/meta-fsl-ppc/conf/machine/b4860qds.conf b/meta-fsl-ppc/conf/machine/b4860qds.conf new file mode 100644 index 00000000..6ba1e78f --- /dev/null +++ b/meta-fsl-ppc/conf/machine/b4860qds.conf @@ -0,0 +1,17 @@ +#@TYPE: Machine +#@DESCRIPTION: Machine configuration for running B4860QDS in 32-bit mode + +require e6500.inc + +UBOOT_MACHINES ?= "B4860QDS" +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts" +KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig" + +JFFS2_ERASEBLOCK = "0x10000" + +SYSVINIT_ENABLED_GETTYS = "" +USE_VT = "" +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/e6500-64b.inc b/meta-fsl-ppc/conf/machine/e6500-64b.inc new file mode 100644 index 00000000..32837b56 --- /dev/null +++ b/meta-fsl-ppc/conf/machine/e6500-64b.inc @@ -0,0 +1,19 @@ +TARGET_FPU = "hard" + +DEFAULTTUNE ?= "ppc64e6500" +require conf/machine/include/tune-ppce6500.inc + +MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" +MACHINE_FEATURES_RRECOMMENDS = "" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" +PREFERRED_VERSION_virtual/kernel ?= "3.0.34" +PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers" +PREFERRED_VERSION_qemu = "1.0+fsl" + +KERNEL_IMAGETYPE ?= "uImage" +# disable the images below for now +# ext2.bz2 ext2.lzma \ +# ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot" + +MACHINEOVERRIDES .= ":e6500-64b:fslmachine" diff --git a/meta-fsl-ppc/conf/machine/e6500.inc b/meta-fsl-ppc/conf/machine/e6500.inc new file mode 100644 index 00000000..46879726 --- /dev/null +++ b/meta-fsl-ppc/conf/machine/e6500.inc @@ -0,0 +1,18 @@ +TARGET_FPU = "hard" + +require conf/machine/include/tune-ppce6500.inc + +MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" +MACHINE_FEATURES_RRECOMMENDS = "" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" +PREFERRED_VERSION_virtual/kernel ?= "3.0.34" +PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers" +PREFERRED_VERSION_qemu = "1.0+fsl" + +KERNEL_IMAGETYPE ?= "uImage" +# disable the images below for now +# ext2.bz2 ext2.lzma \ +# ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot" + +MACHINEOVERRIDES .= ":e6500:fslmachine" diff --git a/meta-fsl-ppc/conf/machine/t4240qds-64b.conf b/meta-fsl-ppc/conf/machine/t4240qds-64b.conf new file mode 100644 index 00000000..48c58552 --- /dev/null +++ b/meta-fsl-ppc/conf/machine/t4240qds-64b.conf @@ -0,0 +1,17 @@ +#@TYPE: Machine +#@DESCRIPTION: Machine configuration for running T4240QDS in 64-bit mode + +require e6500-64b.inc + +# TODO: fix 32bit build of u-boot +UBOOT_MACHINES ?= "T4240QDS" +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts" +KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig" + +JFFS2_ERASEBLOCK = "0x10000" + +SYSVINIT_ENABLED_GETTYS = "" +USE_VT = "" +SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" +USE_VT = "0" diff --git a/meta-fsl-ppc/conf/machine/t4240qds.conf b/meta-fsl-ppc/conf/machine/t4240qds.conf new file mode 100644 index 00000000..3ad7ae20 --- /dev/null +++ b/meta-fsl-ppc/conf/machine/t4240qds.conf @@ -0,0 +1,17 @@ +#@TYPE: Machine +#@DESCRIPTION: Machine configuration for running T4240QDS in 32-bit mode + +require e6500.inc + +UBOOT_MACHINES ?= "T4240QDS" +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240.dts" +KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig" + +JFFS2_ERASEBLOCK = "0x10000" + +SYSVINIT_ENABLED_GETTYS = "" +USE_VT = "" +SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" +USE_VT = "0" +BUILD_64BIT_KERNEL = "1" -- 2.40.1