[meta-ti] [PATCH v2 2/4] machines: add ti-pdk class variables
Jacob Stiffler
j-stiffler at ti.com
Wed May 31 12:44:08 PDT 2017
NAK.
Got some new info. The dra7x LIMIT_SOC config will be required for other
LLD.
There is a method to disable building the EVE core. This is needed as
the EVE toolchain is not available externally. I will need to enhance
the ti-pdk.bblcass to support this. I will submit a v3 of the entire set.
- Jake
On 5/31/2017 10:35 AM, Jacob Stiffler wrote:
> * Set the ti-pdk class variables which sets the list of devices and
> boards supported.
>
> Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
> ---
> v2 changes:
> * Use common TI_PDK_LIMIT_SOCS for all omap-a15 SOCs
>
> conf/machine/am57xx-evm.conf | 3 +++
> conf/machine/beaglebone.conf | 3 +++
> conf/machine/dra7xx-evm.conf | 3 +++
> conf/machine/include/k2e.inc | 4 ++++
> conf/machine/include/k2g.inc | 4 ++++
> conf/machine/include/k2hk.inc | 4 ++++
> conf/machine/include/omap-a15.inc | 3 +++
> conf/machine/include/ti33x.inc | 4 ++++
> conf/machine/include/ti43x.inc | 4 ++++
> conf/machine/k2l-evm.conf | 4 ++++
> 10 files changed, 36 insertions(+)
>
> diff --git a/conf/machine/am57xx-evm.conf b/conf/machine/am57xx-evm.conf
> index 7ebf809..3bc2d13 100644
> --- a/conf/machine/am57xx-evm.conf
> +++ b/conf/machine/am57xx-evm.conf
> @@ -38,3 +38,6 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
> # UBI: sub-page size: 512
> # UBI: VID header offset: 2048 (aligned 2048)
> UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
> +
> +# Set the list of device targets for ti-pdk class recipes
> +TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x"
> diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
> index d1ed0e1..715d2f2 100644
> --- a/conf/machine/beaglebone.conf
> +++ b/conf/machine/beaglebone.conf
> @@ -19,3 +19,6 @@ SERIAL_CONSOLE = "115200 ttyS0"
> UBOOT_MACHINE = "am335x_boneblack_config"
>
> do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
> +
> +# Refine the list of device targets for ti-pdk class recipes
> +TI_PDK_LIMIT_BOARDS = "bbbAM335x"
> diff --git a/conf/machine/dra7xx-evm.conf b/conf/machine/dra7xx-evm.conf
> index ed37770..d37cd50 100644
> --- a/conf/machine/dra7xx-evm.conf
> +++ b/conf/machine/dra7xx-evm.conf
> @@ -37,3 +37,6 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
> # UBI: sub-page size: 512
> # UBI: VID header offset: 2048 (aligned 2048)
> UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
> +
> +# Set the list of device targets for ti-pdk class recipes
> +TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x"
> diff --git a/conf/machine/include/k2e.inc b/conf/machine/include/k2e.inc
> index ce3d9c8..6797fb2 100644
> --- a/conf/machine/include/k2e.inc
> +++ b/conf/machine/include/k2e.inc
> @@ -1,2 +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/conf/machine/include/k2g.inc b/conf/machine/include/k2g.inc
> index 3cd540d..7bcc412 100644
> --- a/conf/machine/include/k2g.inc
> +++ b/conf/machine/include/k2g.inc
> @@ -1,2 +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/conf/machine/include/k2hk.inc b/conf/machine/include/k2hk.inc
> index 4f30847..2d2dd6a 100644
> --- a/conf/machine/include/k2hk.inc
> +++ b/conf/machine/include/k2hk.inc
> @@ -1,2 +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/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
> index 0ea428f..0c49753 100644
> --- a/conf/machine/include/omap-a15.inc
> +++ b/conf/machine/include/omap-a15.inc
> @@ -34,3 +34,6 @@ 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"
> +
> +# Set the list of device targets for ti-pdk class recipes
> +TI_PDK_LIMIT_SOCS = "am571x am572x"
> diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc
> index 73d9aa4..e1f5bbd 100644
> --- a/conf/machine/include/ti33x.inc
> +++ b/conf/machine/include/ti33x.inc
> @@ -42,3 +42,7 @@ 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/conf/machine/include/ti43x.inc b/conf/machine/include/ti43x.inc
> index 2a2fd8d..8830800 100644
> --- a/conf/machine/include/ti43x.inc
> +++ b/conf/machine/include/ti43x.inc
> @@ -42,3 +42,7 @@ 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"
> diff --git a/conf/machine/k2l-evm.conf b/conf/machine/k2l-evm.conf
> index bddcd3c..3cf1dab 100644
> --- a/conf/machine/k2l-evm.conf
> +++ b/conf/machine/k2l-evm.conf
> @@ -30,3 +30,7 @@ MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
> # UBI: physical eraseblock size: 256 KiB
> # UBI: sub-page size: 4096
> UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
> +
> +# Set the list of device targets for ti-pdk class recipes
> +TI_PDK_LIMIT_SOCS = "k2l"
> +TI_PDK_LIMIT_BOARDS = "evmK2L"
More information about the meta-ti
mailing list