diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-ti/conf/machine/include | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-ti/conf/machine/include')
19 files changed, 368 insertions, 0 deletions
diff --git a/bsp/meta-ti/conf/machine/include/am65xx.inc b/bsp/meta-ti/conf/machine/include/am65xx.inc new file mode 100644 index 00000000..d433ed10 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/am65xx.inc @@ -0,0 +1,7 @@ +require conf/machine/include/k3.inc +SOC_FAMILY_append = ":am65xx" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "am65xx" +TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk" +TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0" diff --git a/bsp/meta-ti/conf/machine/include/c66x.inc b/bsp/meta-ti/conf/machine/include/c66x.inc new file mode 100644 index 00000000..e35f2eda --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/c66x.inc @@ -0,0 +1,9 @@ +require conf/machine/include/keystone.inc +SOC_FAMILY_append = ":c66x" + +# HACK: The c66x family is composed of devices with only DSP cores, and no ARM +# cores. The Linux kernel is not supported on these machines. +PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy" +EXTRA_IMAGEDEPENDS = "" + +IMAGE_FSTYPES = "tar.xz" diff --git a/bsp/meta-ti/conf/machine/include/davinci.inc b/bsp/meta-ti/conf/machine/include/davinci.inc new file mode 100644 index 00000000..6de64839 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/davinci.inc @@ -0,0 +1,22 @@ +require conf/machine/include/tune-arm926ejs.inc + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r54" + +KERNEL_IMAGETYPE = "zImage" + +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +UBOOT_MACHINE = "davinci_dvevm_config" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +EXTRA_IMAGEDEPENDS += "u-boot" + +SERIAL_CONSOLES ?= "115200;ttyS0" +EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" + +MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa" diff --git a/bsp/meta-ti/conf/machine/include/dra7xx.inc b/bsp/meta-ti/conf/machine/include/dra7xx.inc new file mode 100644 index 00000000..857e1b35 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/dra7xx.inc @@ -0,0 +1,4 @@ +require conf/machine/include/omap-a15.inc +SOC_FAMILY_append = ":dra7xx" + +MACHINE_FEATURES += "pci" diff --git a/bsp/meta-ti/conf/machine/include/k2e.inc b/bsp/meta-ti/conf/machine/include/k2e.inc new file mode 100644 index 00000000..6797fb29 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/k2e.inc @@ -0,0 +1,6 @@ +require conf/machine/include/keystone.inc +SOC_FAMILY_append = ":k2e" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "k2e" +TI_PDK_LIMIT_BOARDS = "evmK2E" diff --git a/bsp/meta-ti/conf/machine/include/k2g.inc b/bsp/meta-ti/conf/machine/include/k2g.inc new file mode 100644 index 00000000..7bcc412b --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/k2g.inc @@ -0,0 +1,6 @@ +require conf/machine/include/keystone.inc +SOC_FAMILY_append = ":k2g" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "k2g" +TI_PDK_LIMIT_BOARDS = "evmK2G iceK2G" diff --git a/bsp/meta-ti/conf/machine/include/k2hk.inc b/bsp/meta-ti/conf/machine/include/k2hk.inc new file mode 100644 index 00000000..2d2dd6a0 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/k2hk.inc @@ -0,0 +1,6 @@ +require conf/machine/include/keystone.inc +SOC_FAMILY_append = ":k2hk" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "k2h k2k" +TI_PDK_LIMIT_BOARDS = "evmK2H evmK2K" diff --git a/bsp/meta-ti/conf/machine/include/k2l.inc b/bsp/meta-ti/conf/machine/include/k2l.inc new file mode 100644 index 00000000..997bcbe2 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/k2l.inc @@ -0,0 +1,6 @@ +require conf/machine/include/keystone.inc +SOC_FAMILY_append = ":k2l" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "k2l" +TI_PDK_LIMIT_BOARDS = "evmK2L" diff --git a/bsp/meta-ti/conf/machine/include/k3.inc b/bsp/meta-ti/conf/machine/include/k3.inc new file mode 100644 index 00000000..22fdeb9c --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/k3.inc @@ -0,0 +1,33 @@ +require conf/machine/include/ti-soc.inc +SOC_FAMILY_append = ":k3" + +require conf/machine/include/arm/arch-arm64.inc + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r0" + +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +KERNEL_IMAGETYPE = "Image" +KERNEL_IMAGETYPES = "Image vmlinux.gz" + +UBOOT_ARCH = "arm" +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +SPL_BINARY = "tispl.bin" +UBOOT_SUFFIX = "img" + +EXTRA_IMAGEDEPENDS += "virtual/bootloader" + +MACHINE_GUI_CLASS = "smallscreen" + +# Use the expected value of the ubifs filesystem's volume name in the kernel +# and u-boot. +UBI_VOLNAME = "rootfs" + +# List common SoC features, may need to add touchscreen for specific machines +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci sgx" +# Not ready yet - dsp mmip diff --git a/bsp/meta-ti/conf/machine/include/keystone.inc b/bsp/meta-ti/conf/machine/include/keystone.inc new file mode 100644 index 00000000..ef33975f --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/keystone.inc @@ -0,0 +1,30 @@ +require conf/machine/include/ti-soc.inc +SOC_FAMILY_append = ":keystone" + +DEFAULTTUNE ?= "armv7athf-neon" +require conf/machine/include/tune-cortexa15.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r10" + +KERNEL_IMAGETYPE = "zImage" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +SPL_BINARY = "MLO" +UBOOT_SUFFIX = "bin" + +# Use the expected value of the ubifs filesystem's volume name in the kernel +# and u-boot. +UBI_VOLNAME = "rootfs" + +EXTRA_IMAGEDEPENDS += "u-boot" +EXTRA_IMAGEDEPENDS += "boot-monitor" + +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci dsp" +MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc" diff --git a/bsp/meta-ti/conf/machine/include/omap-a15.inc b/bsp/meta-ti/conf/machine/include/omap-a15.inc new file mode 100644 index 00000000..233b45f4 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/omap-a15.inc @@ -0,0 +1,39 @@ +require conf/machine/include/ti-soc.inc +SOC_FAMILY_append = ":omap-a15" + +DEFAULTTUNE ?= "armv7athf-neon" +require conf/machine/include/tune-cortexa15.inc + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r7" + +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +KERNEL_IMAGETYPE = "zImage" +KERNEL_IMAGETYPES = "zImage uImage" +KERNEL_CLASSES += "kernel-uimage" + +UBOOT_ARCH = "arm" +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +SPL_BINARY = "MLO" +UBOOT_SUFFIX = "img" + +EXTRA_IMAGEDEPENDS += "virtual/bootloader" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" +XSERVER = "xserver-xorg \ + xf86-input-evdev \ + xf86-video-fbdev" + +MACHINE_GUI_CLASS = "smallscreen" + +# Use the expected value of the ubifs filesystem's volume name in the kernel +# and u-boot. +UBI_VOLNAME = "rootfs" + +# List common SoC features, may need to add touchscreen for specific machines +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp" diff --git a/bsp/meta-ti/conf/machine/include/omap3.inc b/bsp/meta-ti/conf/machine/include/omap3.inc new file mode 100644 index 00000000..9270cbb1 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/omap3.inc @@ -0,0 +1,42 @@ +require conf/machine/include/ti-soc.inc +SOC_FAMILY_append = ":omap3" + +DEFAULTTUNE ?= "armv7athf-neon" +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" + +# For built-in LCD, add xf86-input-tslib +XSERVER = "xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-fbdev \ + xf86-input-keyboard" + +# Default to external video, change to smallscreen for built-in LCD +MACHINE_GUI_CLASS = "bigscreen" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r127" + +KERNEL_IMAGETYPE = "zImage" + +# Default providers, may need to override for specific machines +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb" + +UBOOT_ARCH = "arm" +UBOOT_MACHINE = "omap3_evm_config" +XLOAD_MACHINE = "omap3evm_config" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +# If SPL is not used, may need to add x-load +EXTRA_IMAGEDEPENDS += "u-boot" + +# List common SoC features, may need to add touchscreen/ethernet for specific machines +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa sgx" diff --git a/bsp/meta-ti/conf/machine/include/omap4.inc b/bsp/meta-ti/conf/machine/include/omap4.inc new file mode 100644 index 00000000..d9706066 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/omap4.inc @@ -0,0 +1,26 @@ +require conf/machine/include/ti-soc.inc +SOC_FAMILY_append = ":omap4" + +DEFAULTTUNE ?= "armv7athf-neon" +require conf/machine/include/tune-cortexa9.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" +XSERVER = "xserver-xorg \ + xf86-input-evdev \ + xf86-video-fbdev" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r4" + +KERNEL_IMAGETYPE = "zImage" + +UBOOT_MACHINE = "omap4_panda_config" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +EXTRA_IMAGEDEPENDS += "u-boot" diff --git a/bsp/meta-ti/conf/machine/include/omapl1.inc b/bsp/meta-ti/conf/machine/include/omapl1.inc new file mode 100644 index 00000000..9942c944 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/omapl1.inc @@ -0,0 +1,2 @@ +require conf/machine/include/ti-soc.inc +SOC_FAMILY_append = ":omapl1" diff --git a/bsp/meta-ti/conf/machine/include/omapl137.inc b/bsp/meta-ti/conf/machine/include/omapl137.inc new file mode 100644 index 00000000..5d8a6dd8 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/omapl137.inc @@ -0,0 +1,5 @@ +require conf/machine/include/omapl1.inc +SOC_FAMILY_append = ":omapl137" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "omapl137" diff --git a/bsp/meta-ti/conf/machine/include/omapl138.inc b/bsp/meta-ti/conf/machine/include/omapl138.inc new file mode 100644 index 00000000..999cbc3a --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/omapl138.inc @@ -0,0 +1,5 @@ +require conf/machine/include/omapl1.inc +SOC_FAMILY_append = ":omapl138" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "omapl138" diff --git a/bsp/meta-ti/conf/machine/include/ti-soc.inc b/bsp/meta-ti/conf/machine/include/ti-soc.inc new file mode 100644 index 00000000..227d8972 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/ti-soc.inc @@ -0,0 +1,4 @@ +# This is a generic TI SOC family. It is a superset of all other SOCs +# and platforms defined in meta-ti to allow BSP-level overrides. +SOC_FAMILY = "ti-soc" +require conf/machine/include/soc-family.inc diff --git a/bsp/meta-ti/conf/machine/include/ti33x.inc b/bsp/meta-ti/conf/machine/include/ti33x.inc new file mode 100644 index 00000000..5a0ad541 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/ti33x.inc @@ -0,0 +1,59 @@ +require conf/machine/include/ti-soc.inc +SOC_FAMILY_append = ":ti33x" + +DEFAULTTUNE ?= "armv7athf-neon" +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" + +# For built-in LCD, add xf86-input-tslib +XSERVER = "xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-fbdev \ + xf86-input-keyboard" + +# Default to external video, change to smallscreen for built-in LCD +MACHINE_GUI_CLASS = "bigscreen" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r22" + +# Default providers, may need to override for specific machines +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +KERNEL_IMAGETYPE = "zImage" + +KERNEL_DEVICETREE = " \ + am335x-evm.dtb am335x-evmsk.dtb \ + am335x-icev2.dtb am335x-icev2-prueth.dtb \ + am335x-pocketbeagle.dtb am335x-bone.dtb am335x-boneblue.dtb \ + am335x-boneblack.dtb am335x-boneblack-wireless.dtb \ + am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb \ +" + +KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}" + +UBOOT_ARCH = "arm" +UBOOT_MACHINE = "am335x_evm_config" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +SPL_BINARY = "MLO" +UBOOT_SUFFIX = "img" + +# Use the expected value of the ubifs filesystem's volume name in the kernel +# and u-boot. +UBI_VOLNAME = "rootfs" + +EXTRA_IMAGEDEPENDS += "u-boot" + +# List common SoC features, may need to add touchscreen for specific machines +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "am335x" +TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x" diff --git a/bsp/meta-ti/conf/machine/include/ti43x.inc b/bsp/meta-ti/conf/machine/include/ti43x.inc new file mode 100644 index 00000000..d966eaf2 --- /dev/null +++ b/bsp/meta-ti/conf/machine/include/ti43x.inc @@ -0,0 +1,57 @@ +require conf/machine/include/ti-soc.inc +SOC_FAMILY_append = ":ti43x" + +DEFAULTTUNE ?= "armv7athf-neon" +require conf/machine/include/tune-cortexa9.inc + +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" + +# For built-in LCD, add xf86-input-tslib +XSERVER = "xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-fbdev \ + xf86-input-keyboard" + +# Default to external video, change to smallscreen for built-in LCD +MACHINE_GUI_CLASS = "bigscreen" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r3" + +# Default providers, may need to override for specific machines +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +KERNEL_IMAGETYPE = "zImage" + +KERNEL_DEVICETREE = " \ + am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb \ + am437x-sk-evm.dtb am437x-idk-evm.dtb \ + am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb \ +" + +KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}" + +UBOOT_ARCH = "arm" +UBOOT_MACHINE = "am43xx_evm_config" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +SPL_BINARY = "MLO" +UBOOT_SUFFIX = "img" + +# Use the expected value of the ubifs filesystem's volume name in the kernel +# and u-boot. +UBI_VOLNAME = "rootfs" + +EXTRA_IMAGEDEPENDS += "u-boot" + +# List common SoC features, may need to add touchscreen for specific machines +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "am437x" +TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x" |