machines: add ti-pdk class variables
PATCH v2 2/4 machines: add ti-pdk class variables
* Set the ti-pdk class variables which sets the list of devices and boards supported.
Signed-off-by Jacob Stiffler <[email protected]>
---
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(+)
conf/machine/am57xx-evm.conf +3 -0
@@ -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"
conf/machine/beaglebone.conf +3 -0
@@ -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"
conf/machine/dra7xx-evm.conf +3 -0
@@ -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"
conf/machine/include/k2e.inc +4 -0
@@ -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"
conf/machine/include/k2g.inc +4 -0
@@ -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"
conf/machine/include/k2hk.inc +4 -0
@@ -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"
conf/machine/include/omap-a15.inc +3 -0
@@ -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"
conf/machine/include/ti33x.inc +4 -0
@@ -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"
conf/machine/include/ti43x.inc +4 -0
@@ -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"
conf/machine/k2l-evm.conf +4 -0
@@ -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"
Signature · 1 line
2.7.4
Jacob Stiffler
NAKNAK.
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
Quoted 133 lines · Jacob Stiffler
* Set the ti-pdk class variables which sets the list of devices and boards supported.
Signed-off-by Jacob Stiffler <[email protected]>---
v2 changes:
* Use commonTI_PDK_LIMIT_SOCSfor all omap-a15 SOCsconf/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(+)conf/machine/am57xx-evm.conf +3
-0@@ -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"conf/machine/beaglebone.conf +3
-0@@ -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"conf/machine/dra7xx-evm.conf +3
-0@@ -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"conf/machine/include/k2e.inc +4
-0@@ -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"conf/machine/include/k2g.inc +4
-0@@ -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"conf/machine/include/k2hk.inc +4
-0@@ -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"conf/machine/include/omap-a15.inc +3
-0@@ -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"conf/machine/include/ti33x.inc +4
-0@@ -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"conf/machine/include/ti43x.inc +4
-0@@ -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"conf/machine/k2l-evm.conf +4
-0@@ -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"