am389x-evm, c6a816x-evm: add first set of ti816x based machines
authorRoger Monk <r-monk@ti.com>
Fri, 1 Oct 2010 10:11:47 +0000 (11:11 +0100)
committerKoen Kooi <koen@openembedded.org>
Fri, 1 Oct 2010 10:36:26 +0000 (12:36 +0200)
Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
conf/machine/am389x-evm.conf [new file with mode: 0644]
conf/machine/c6a816x-evm.conf [new file with mode: 0644]
conf/machine/include/ti816x.inc [new file with mode: 0644]

diff --git a/conf/machine/am389x-evm.conf b/conf/machine/am389x-evm.conf
new file mode 100644 (file)
index 0000000..9bfe7a7
--- /dev/null
@@ -0,0 +1,5 @@
+#@TYPE: Machine
+#@NAME: am389x evm
+#@DESCRIPTION: Machine configuration for the am389x evm
+
+require conf/machine/include/ti816x.inc
diff --git a/conf/machine/c6a816x-evm.conf b/conf/machine/c6a816x-evm.conf
new file mode 100644 (file)
index 0000000..a7ab9b0
--- /dev/null
@@ -0,0 +1,5 @@
+#@TYPE: Machine
+#@NAME: c6a816x evm
+#@DESCRIPTION: Machine configuration for the c6a816x evm
+
+require conf/machine/include/ti816x.inc
diff --git a/conf/machine/include/ti816x.inc b/conf/machine/include/ti816x.inc
new file mode 100644 (file)
index 0000000..ebf5166
--- /dev/null
@@ -0,0 +1,26 @@
+TARGET_ARCH = "arm"
+SOC_FAMILY = "ti816x"
+
+require conf/machine/include/tune-cortexa8.inc
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-omap3"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
+
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r1"
+
+KERNEL_IMAGETYPE = "uImage"
+
+UBOOT_ARCH = "arm"
+UBOOT_MACHINE = "ti816x_evm_config"
+UBOOT_ENTRYPOINT = "0x80008000"
+UBOOT_LOADADDRESS = "0x80008000"
+
+# Only build u-boot
+EXTRA_IMAGEDEPENDS += "u-boot"
+
+# Ship all kernel modules
+IMAGE_FSTYPES += "jffs2 tar.bz2"
+EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
+SERIAL_CONSOLE = "115200 ttyS2"
+MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet"