From: Koen Kooi Date: Thu, 16 Jun 2011 09:15:24 +0000 (+0200) Subject: add 814x and 816x machine configs X-Git-Tag: v2012.05-yocto1.2~472 X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fmeta-ti-glsdk.git;a=commitdiff_plain;h=f7b4a8fc9762e498a8e08b74001676cfdd9fc030 add 814x and 816x machine configs Signed-off-by: Koen Kooi --- diff --git a/conf/machine/am387x-evm.conf b/conf/machine/am387x-evm.conf new file mode 100644 index 0000000..ebf9889 --- /dev/null +++ b/conf/machine/am387x-evm.conf @@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: AM389x evm +#@DESCRIPTION: Machine configuration for the AM389x evm + +require conf/machine/include/ti814x.inc diff --git a/conf/machine/am389x-evm.conf b/conf/machine/am389x-evm.conf new file mode 100644 index 0000000..9bfe7a7 --- /dev/null +++ b/conf/machine/am389x-evm.conf @@ -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/c6a814x-evm.conf b/conf/machine/c6a814x-evm.conf new file mode 100644 index 0000000..b85c489 --- /dev/null +++ b/conf/machine/c6a814x-evm.conf @@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: c6a814x evm +#@DESCRIPTION: Machine configuration for the c6a814x evm + +require conf/machine/include/ti814x.inc diff --git a/conf/machine/c6a816x-evm.conf b/conf/machine/c6a816x-evm.conf new file mode 100644 index 0000000..a7ab9b0 --- /dev/null +++ b/conf/machine/c6a816x-evm.conf @@ -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/dm814x-evm.conf b/conf/machine/dm814x-evm.conf new file mode 100644 index 0000000..140dcc1 --- /dev/null +++ b/conf/machine/dm814x-evm.conf @@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: DM814x evm +#@DESCRIPTION: Machine configuration for the DM814x evm + +require conf/machine/include/ti814x.inc diff --git a/conf/machine/include/ti814x.inc b/conf/machine/include/ti814x.inc new file mode 100644 index 0000000..3e7ee76 --- /dev/null +++ b/conf/machine/include/ti814x.inc @@ -0,0 +1,26 @@ +TARGET_ARCH = "arm" +SOC_FAMILY = "ti814x" + +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-ti81xx-psp" +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 = "ti8148_evm_config_nand" +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 = "-lqn -e 128" +SERIAL_CONSOLE = "115200 ttyO0" +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet" diff --git a/conf/machine/include/ti816x.inc b/conf/machine/include/ti816x.inc new file mode 100644 index 0000000..4de567b --- /dev/null +++ b/conf/machine/include/ti816x.inc @@ -0,0 +1,26 @@ +TARGET_ARCH = "arm" +SOC_FAMILY = "ti816x" + +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-ti81xx-psp" +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 = "-lqn -e 128" +SERIAL_CONSOLE = "115200 ttyO2" +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet"