]> code.ossystems Code Review - meta-freescale.git/commitdiff
add new e6500 based machines (b4860qds and t4240qds)
authorMatthew McClintock <msm@freescale.com>
Mon, 10 Sep 2012 21:19:25 +0000 (16:19 -0500)
committerMatthew McClintock <msm@freescale.com>
Wed, 12 Sep 2012 21:45:13 +0000 (16:45 -0500)
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 <msm@freescale.com>
meta-fsl-ppc/conf/machine/b4860qds-64b.conf [new file with mode: 0644]
meta-fsl-ppc/conf/machine/b4860qds.conf [new file with mode: 0644]
meta-fsl-ppc/conf/machine/e6500-64b.inc [new file with mode: 0644]
meta-fsl-ppc/conf/machine/e6500.inc [new file with mode: 0644]
meta-fsl-ppc/conf/machine/t4240qds-64b.conf [new file with mode: 0644]
meta-fsl-ppc/conf/machine/t4240qds.conf [new file with mode: 0644]

diff --git a/meta-fsl-ppc/conf/machine/b4860qds-64b.conf b/meta-fsl-ppc/conf/machine/b4860qds-64b.conf
new file mode 100644 (file)
index 0000000..5243c24
--- /dev/null
@@ -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 (file)
index 0000000..6ba1e78
--- /dev/null
@@ -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 (file)
index 0000000..32837b5
--- /dev/null
@@ -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 (file)
index 0000000..4687972
--- /dev/null
@@ -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 (file)
index 0000000..48c5855
--- /dev/null
@@ -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 (file)
index 0000000..3ad7ae2
--- /dev/null
@@ -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"