From: Matthew McClintock Date: Mon, 10 Sep 2012 21:19:25 +0000 (-0500) Subject: add new e6500 based machines (b4860qds and t4240qds) X-Git-Tag: 2.1~534^2~409 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=44b1e3160d968387d2e590e13d3958bcf7c8c685;p=meta-freescale.git 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 --- 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"