diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2024-12-13 18:31:56 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2024-12-16 08:47:11 -0600 |
commit | 1644eaefd21f79e6e7a455224970dce0b17b5f7b (patch) | |
tree | 585a80d24c58f4da56932e02eaf8dc341c51f224 | |
parent | 397a903c88c9936151ce703b628c27fa97e601d6 (diff) | |
download | meta-ti-1644eaefd21f79e6e7a455224970dce0b17b5f7b.tar.gz |
conf/machine: split beagleplay config between meta-ti-bsp and meta-beagle
Extract "bb_org" BSP specific settings from beagleplay-ti in meta-ti-bsp and
move them to own beagleplay machine config in meta-beagle.
The differences between 2 configs are minimal, hence beagleplay in meta-beagle
inherits beagleplay-ti from meta-ti-bsp as a base and only adjusts what's
needed.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
-rw-r--r-- | meta-beagle/conf/machine/beagleplay-k3r5.conf | 8 | ||||
-rw-r--r-- | meta-beagle/conf/machine/beagleplay.conf | 45 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf | 1 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/beagleplay-ti.conf | 51 |
4 files changed, 55 insertions, 50 deletions
diff --git a/meta-beagle/conf/machine/beagleplay-k3r5.conf b/meta-beagle/conf/machine/beagleplay-k3r5.conf new file mode 100644 index 00000000..1423aa10 --- /dev/null +++ b/meta-beagle/conf/machine/beagleplay-k3r5.conf | |||
@@ -0,0 +1,8 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeaglePlay (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core) | ||
4 | |||
5 | require conf/machine/beagleplay-ti-k3r5.conf | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_r5.config" | ||
diff --git a/meta-beagle/conf/machine/beagleplay.conf b/meta-beagle/conf/machine/beagleplay.conf new file mode 100644 index 00000000..1977b4c1 --- /dev/null +++ b/meta-beagle/conf/machine/beagleplay.conf | |||
@@ -0,0 +1,45 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeaglePlay (A53) | ||
3 | #@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core) | ||
4 | |||
5 | require conf/machine/beagleplay-ti.conf | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_a53.config" | ||
9 | |||
10 | KERNEL_DEVICETREE:append:bsp-bb_org = " \ | ||
11 | ti/k3-am625-beagleplay-csi2-ov5640.dtbo \ | ||
12 | ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \ | ||
13 | ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \ | ||
14 | ti/k3-am625-beaglemod.dtb \ | ||
15 | ti/k3-am625-beaglemod-audio.dtbo \ | ||
16 | ti/k3-am625-beaglemod-can0.dtbo \ | ||
17 | ti/k3-am625-beaglemod-can1.dtbo \ | ||
18 | ti/k3-am625-beaglemod-csi0-ov5640.dtbo \ | ||
19 | ti/k3-am625-beaglemod-eeprom.dtbo \ | ||
20 | ti/k3-am625-beaglemod-eth.dtbo \ | ||
21 | ti/k3-am625-beaglemod-hdmi.dtbo \ | ||
22 | ti/k3-am625-beaglemod-io-expand.dtbo \ | ||
23 | ti/k3-am625-beaglemod-lt-lcd185.dtbo \ | ||
24 | ti/k3-am625-beaglemod-ospi-flash.dtbo \ | ||
25 | ti/k3-am625-beaglemod-rs485-1.dtbo \ | ||
26 | ti/k3-am625-beaglemod-rs485-2.dtbo \ | ||
27 | ti/k3-am625-beaglemod-rtc.dtbo \ | ||
28 | ti/k3-am625-beaglemod-wl1835.dtbo \ | ||
29 | ti/k3-am625-sk-dmtimer-pwm.dtbo \ | ||
30 | ti/k3-am625-sk-ecap-capture.dtbo \ | ||
31 | ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \ | ||
32 | ti/k3-am625-sk-mcspi-loopback.dtbo \ | ||
33 | ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \ | ||
34 | ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \ | ||
35 | ti/k3-am625-sk-pwm.dtbo \ | ||
36 | ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \ | ||
37 | ti/k3-am62x-sk-csi2-imx219.dtbo \ | ||
38 | ti/k3-am62x-sk-csi2-ov5640.dtbo \ | ||
39 | ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \ | ||
40 | ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \ | ||
41 | ti/k3-am62x-sk-eqep.dtbo \ | ||
42 | ti/k3-am62x-sk-hdmi-disable-fastboot.dtbo \ | ||
43 | ti/k3-am62x-sk-lpm-wkup-sources.dtbo \ | ||
44 | ti/k3-am62x-sk-mcan.dtbo \ | ||
45 | " | ||
diff --git a/meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf b/meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf index 3844ccfa..c27e0abc 100644 --- a/meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf +++ b/meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf | |||
@@ -12,6 +12,5 @@ UBOOT_MACHINE = "am62x_evm_r5_defconfig" | |||
12 | UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_r5_defconfig" | 12 | UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_r5_defconfig" |
13 | UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_r5_defconfig" | 13 | UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_r5_defconfig" |
14 | 14 | ||
15 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_r5.config" | ||
16 | UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config" | 15 | UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config" |
17 | UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_r5.config" | 16 | UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_r5.config" |
diff --git a/meta-ti-bsp/conf/machine/beagleplay-ti.conf b/meta-ti-bsp/conf/machine/beagleplay-ti.conf index 3ae10171..68d6dced 100644 --- a/meta-ti-bsp/conf/machine/beagleplay-ti.conf +++ b/meta-ti-bsp/conf/machine/beagleplay-ti.conf | |||
@@ -24,14 +24,14 @@ UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_a53_defconfig" | |||
24 | UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_a53_defconfig" | 24 | UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_a53_defconfig" |
25 | 25 | ||
26 | UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_a53.config" | 26 | UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_a53.config" |
27 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_a53.config" | ||
28 | UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_a53.config" | 27 | UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_a53.config" |
29 | 28 | ||
30 | SPL_BINARY:bsp-ti-6_6 = "tispl.bin_unsigned" | 29 | SPL_BINARY:bsp-ti-6_6 = "tispl.bin_unsigned" |
31 | SPL_BINARYNAME:bsp-ti-6_6 = "tispl.bin" | 30 | SPL_BINARYNAME:bsp-ti-6_6 = "tispl.bin" |
32 | 31 | ||
33 | KERNEL_DEVICETREE_PREFIX = " \ | 32 | KERNEL_DEVICETREE_PREFIX = " \ |
34 | ti/k3-am625 \ | 33 | ti/k3-am625-beagle \ |
34 | ti/k3-am625-sk \ | ||
35 | ti/k3-am62x-sk \ | 35 | ti/k3-am62x-sk \ |
36 | " | 36 | " |
37 | 37 | ||
@@ -39,58 +39,11 @@ KERNEL_DEVICETREE = " \ | |||
39 | ti/k3-am625-beagleplay-csi2-ov5640.dtbo \ | 39 | ti/k3-am625-beagleplay-csi2-ov5640.dtbo \ |
40 | ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \ | 40 | ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \ |
41 | ti/k3-am625-beagleplay.dtb \ | 41 | ti/k3-am625-beagleplay.dtb \ |
42 | ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo \ | ||
43 | ti/k3-am625-phyboard-lyra-rdk.dtb \ | ||
44 | ti/k3-am625-sk.dtb \ | 42 | ti/k3-am625-sk.dtb \ |
45 | ti/k3-am625-verdin-nonwifi-dahlia.dtb \ | ||
46 | ti/k3-am625-verdin-nonwifi-dev.dtb \ | ||
47 | ti/k3-am625-verdin-nonwifi-mallow.dtb \ | ||
48 | ti/k3-am625-verdin-nonwifi-yavia.dtb \ | ||
49 | ti/k3-am625-verdin-wifi-dahlia.dtb \ | ||
50 | ti/k3-am625-verdin-wifi-dev.dtb \ | ||
51 | ti/k3-am625-verdin-wifi-mallow.dtb \ | ||
52 | ti/k3-am625-verdin-wifi-yavia.dtb \ | ||
53 | ti/k3-am62x-sk-csi2-imx219.dtbo \ | 43 | ti/k3-am62x-sk-csi2-imx219.dtbo \ |
54 | ti/k3-am62x-sk-csi2-ov5640.dtbo \ | 44 | ti/k3-am62x-sk-csi2-ov5640.dtbo \ |
55 | ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \ | 45 | ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \ |
56 | ti/k3-am62x-sk-hdmi-audio.dtbo \ | 46 | ti/k3-am62x-sk-hdmi-audio.dtbo \ |
57 | " | 47 | " |
58 | 48 | ||
59 | KERNEL_DEVICETREE:append:bsp-bb_org = " \ | ||
60 | ti/k3-am625-beagleplay-csi2-ov5640.dtbo \ | ||
61 | ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \ | ||
62 | ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \ | ||
63 | ti/k3-am625-beaglemod.dtb \ | ||
64 | ti/k3-am625-beaglemod-audio.dtbo \ | ||
65 | ti/k3-am625-beaglemod-can0.dtbo \ | ||
66 | ti/k3-am625-beaglemod-can1.dtbo \ | ||
67 | ti/k3-am625-beaglemod-csi0-ov5640.dtbo \ | ||
68 | ti/k3-am625-beaglemod-eeprom.dtbo \ | ||
69 | ti/k3-am625-beaglemod-eth.dtbo \ | ||
70 | ti/k3-am625-beaglemod-hdmi.dtbo \ | ||
71 | ti/k3-am625-beaglemod-io-expand.dtbo \ | ||
72 | ti/k3-am625-beaglemod-lt-lcd185.dtbo \ | ||
73 | ti/k3-am625-beaglemod-ospi-flash.dtbo \ | ||
74 | ti/k3-am625-beaglemod-rs485-1.dtbo \ | ||
75 | ti/k3-am625-beaglemod-rs485-2.dtbo \ | ||
76 | ti/k3-am625-beaglemod-rtc.dtbo \ | ||
77 | ti/k3-am625-beaglemod-wl1835.dtbo \ | ||
78 | ti/k3-am625-sk-dmtimer-pwm.dtbo \ | ||
79 | ti/k3-am625-sk-ecap-capture.dtbo \ | ||
80 | ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \ | ||
81 | ti/k3-am625-sk-mcspi-loopback.dtbo \ | ||
82 | ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \ | ||
83 | ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \ | ||
84 | ti/k3-am625-sk-pwm.dtbo \ | ||
85 | ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \ | ||
86 | ti/k3-am62x-sk-csi2-imx219.dtbo \ | ||
87 | ti/k3-am62x-sk-csi2-ov5640.dtbo \ | ||
88 | ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \ | ||
89 | ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \ | ||
90 | ti/k3-am62x-sk-eqep.dtbo \ | ||
91 | ti/k3-am62x-sk-hdmi-disable-fastboot.dtbo \ | ||
92 | ti/k3-am62x-sk-lpm-wkup-sources.dtbo \ | ||
93 | ti/k3-am62x-sk-mcan.dtbo \ | ||
94 | " | ||
95 | |||
96 | MACHINE_GUI_CLASS = "bigscreen" | 49 | MACHINE_GUI_CLASS = "bigscreen" |