diff options
Diffstat (limited to 'meta-beagle')
26 files changed, 749 insertions, 0 deletions
diff --git a/meta-beagle/COPYING.MIT b/meta-beagle/COPYING.MIT new file mode 100644 index 00000000..89de3547 --- /dev/null +++ b/meta-beagle/COPYING.MIT | |||
@@ -0,0 +1,17 @@ | |||
1 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
2 | of this software and associated documentation files (the "Software"), to deal | ||
3 | in the Software without restriction, including without limitation the rights | ||
4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
5 | copies of the Software, and to permit persons to whom the Software is | ||
6 | furnished to do so, subject to the following conditions: | ||
7 | |||
8 | The above copyright notice and this permission notice shall be included in | ||
9 | all copies or substantial portions of the Software. | ||
10 | |||
11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
17 | THE SOFTWARE. | ||
diff --git a/meta-beagle/README b/meta-beagle/README new file mode 100644 index 00000000..a17e6433 --- /dev/null +++ b/meta-beagle/README | |||
@@ -0,0 +1,31 @@ | |||
1 | OpenEmbedded/Yocto layer that extends meta-ti-bsp with BeagleBoard.org platforms. | ||
2 | |||
3 | It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the | ||
4 | source repository at git://git.yoctoproject.org/meta-ti | ||
5 | |||
6 | |||
7 | This layer depends on: | ||
8 | |||
9 | URI: git://git.openembedded.org/openembedded-core | ||
10 | layers: meta | ||
11 | branch: master | ||
12 | |||
13 | URI: git://git.yoctoproject.org/meta-arm | ||
14 | layers: meta-arm | ||
15 | branch: master | ||
16 | |||
17 | URI: git://git.yoctoproject.org/meta-ti | ||
18 | branch: master | ||
19 | revision: HEAD | ||
20 | layers: meta-ti-bsp | ||
21 | |||
22 | |||
23 | Send pull requests, patches, comments or questions to: | ||
24 | meta-ti@lists.yoctoproject.org | ||
25 | |||
26 | Please note - meta-ti mailing list requires subscription for posting: | ||
27 | https://lists.yoctoproject.org/g/meta-ti | ||
28 | |||
29 | Maintainers: | ||
30 | Denys Dmytriyenko <denys@konsulko.com> | ||
31 | Ryan Eatmon <reatmon@ti.com> | ||
diff --git a/meta-beagle/SECURITY b/meta-beagle/SECURITY new file mode 100644 index 00000000..367adc34 --- /dev/null +++ b/meta-beagle/SECURITY | |||
@@ -0,0 +1,20 @@ | |||
1 | How to Report a Potential Vulnerability? | ||
2 | ======================================== | ||
3 | |||
4 | If you would like to report a public issue (for example, one with a released | ||
5 | CVE number), please report it to the mailing list: | ||
6 | |||
7 | https://lists.yoctoproject.org/g/meta-ti | ||
8 | |||
9 | If you are dealing with a not-yet released or urgent issue, please send a | ||
10 | message to one of the maintainers listed in the README. Include as many | ||
11 | details as possible: | ||
12 | - the layer or software module affected | ||
13 | - the recipe and its version | ||
14 | - any example code, if available | ||
15 | |||
16 | Branches maintained with security fixes | ||
17 | --------------------------------------- | ||
18 | |||
19 | See https://wiki.yoctoproject.org/wiki/Releases for the list of current | ||
20 | releases. We only accept patches for the LTS releases and the master branch. | ||
diff --git a/meta-beagle/conf/layer.conf b/meta-beagle/conf/layer.conf new file mode 100644 index 00000000..d036bb08 --- /dev/null +++ b/meta-beagle/conf/layer.conf | |||
@@ -0,0 +1,17 @@ | |||
1 | # We have a conf and classes directory, append to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have a recipes directory, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" | ||
6 | |||
7 | BBFILE_COLLECTIONS += "meta-beagle" | ||
8 | BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/" | ||
9 | BBFILE_PRIORITY_meta-beagle = "6" | ||
10 | |||
11 | LAYERSERIES_COMPAT_meta-beagle = "walnascar whinlatter" | ||
12 | |||
13 | LAYERDEPENDS_meta-beagle = " \ | ||
14 | meta-ti-bsp \ | ||
15 | " | ||
16 | |||
17 | HOSTTOOLS_NONFATAL += "lz4c" | ||
diff --git a/meta-beagle/conf/machine/beagle-x15.conf b/meta-beagle/conf/machine/beagle-x15.conf new file mode 100644 index 00000000..8ad028f4 --- /dev/null +++ b/meta-beagle/conf/machine/beagle-x15.conf | |||
@@ -0,0 +1,29 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeagleBoard X15 | ||
3 | #@DESCRIPTION: Machine configuration for the BeagleBoard X15 | ||
4 | |||
5 | require conf/machine/include/am57xx.inc | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | DT_VENDOR_PREFIX = "ti/omap/" | ||
9 | DT_VENDOR_PREFIX:bsp-ti-6_1 = "" | ||
10 | DT_VENDOR_PREFIX:bsp-bb_org-6_1 = "" | ||
11 | |||
12 | KERNEL_DEVICETREE_PREFIX = " \ | ||
13 | ${DT_VENDOR_PREFIX}am57xx-beagle-x15 \ | ||
14 | ${DT_VENDOR_PREFIX}am57xx-idk-lcd \ | ||
15 | " | ||
16 | |||
17 | KERNEL_DEVICETREE = " \ | ||
18 | ${DT_VENDOR_PREFIX}am57xx-beagle-x15.dtb \ | ||
19 | ${DT_VENDOR_PREFIX}am57xx-beagle-x15-revb1.dtb \ | ||
20 | ${DT_VENDOR_PREFIX}am57xx-beagle-x15-revc.dtb \ | ||
21 | ${DT_VENDOR_PREFIX}am57xx-idk-lcd-osd101t2045.dtbo \ | ||
22 | ${DT_VENDOR_PREFIX}am57xx-idk-lcd-osd101t2587.dtbo \ | ||
23 | " | ||
24 | |||
25 | MACHINE_GUI_CLASS = "bigscreen" | ||
26 | |||
27 | SERIAL_CONSOLES = "115200;ttyS2" | ||
28 | |||
29 | UBOOT_MACHINE = "am57xx_evm_config" | ||
diff --git a/meta-beagle/conf/machine/beaglebone-ai64-k3r5.conf b/meta-beagle/conf/machine/beaglebone-ai64-k3r5.conf new file mode 100644 index 00000000..4574f82b --- /dev/null +++ b/meta-beagle/conf/machine/beaglebone-ai64-k3r5.conf | |||
@@ -0,0 +1,24 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeagleBone AI-64 (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | SYSFW_SOC = "j721e" | ||
9 | SYSFW_CONFIG = "evm" | ||
10 | SYSFW_SUFFIX = "gp" | ||
11 | |||
12 | SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}" | ||
13 | SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}" | ||
14 | UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}" | ||
15 | UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | ||
16 | UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}" | ||
17 | |||
18 | UBOOT_MACHINE = "j721e_beagleboneai64_r5_defconfig" | ||
19 | |||
20 | UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_r5_defconfig" | ||
21 | UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_r5.config" | ||
22 | |||
23 | UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_r5_defconfig" | ||
24 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_r5.config" | ||
diff --git a/meta-beagle/conf/machine/beaglebone-ai64.conf b/meta-beagle/conf/machine/beaglebone-ai64.conf new file mode 100644 index 00000000..c7d72590 --- /dev/null +++ b/meta-beagle/conf/machine/beaglebone-ai64.conf | |||
@@ -0,0 +1,54 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeagleBone AI-64 (A72) | ||
3 | #@DESCRIPTION: Machine configuration for the BeagleBone AI-64 board (A72 core) | ||
4 | |||
5 | require conf/machine/include/j721e.inc | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | IMAGE_SR1_1_HS_FS_FILES = "" | ||
9 | IMAGE_SR1_1_HS_SE_FILES = "" | ||
10 | IMAGE_SR2_HS_FS_FILES = "" | ||
11 | IMAGE_SR2_HS_SE_FILES = "" | ||
12 | |||
13 | UBOOT_MACHINE = "j721e_beagleboneai64_a72_defconfig" | ||
14 | |||
15 | UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_a72_config" | ||
16 | UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_a72.config" | ||
17 | |||
18 | UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_a72_config" | ||
19 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_a72.config" | ||
20 | |||
21 | SPL_BINARY = "tispl.bin_unsigned" | ||
22 | |||
23 | KERNEL_DEVICETREE_PREFIX = " \ | ||
24 | ti/k3-j721e \ | ||
25 | " | ||
26 | |||
27 | KERNEL_DEVICETREE = " \ | ||
28 | ti/k3-j721e-beagleboneai64.dtb \ | ||
29 | ti/k3-j721e-common-proc-board.dtb \ | ||
30 | ti/k3-j721e-evm-gesi-exp-board.dtbo \ | ||
31 | ti/k3-j721e-evm-quad-port-eth-exp.dtbo \ | ||
32 | ti/k3-j721e-sk.dtb \ | ||
33 | " | ||
34 | |||
35 | KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \ | ||
36 | ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \ | ||
37 | ti/k3-j721e-common-proc-board-infotainment.dtbo \ | ||
38 | ti/k3-j721e-evm-csi2-ov5640.dtbo \ | ||
39 | ti/k3-j721e-evm-fusion.dtbo \ | ||
40 | ti/k3-j721e-evm-pcie0-ep.dtbo \ | ||
41 | ti/k3-j721e-evm-virt-mac-client.dtbo \ | ||
42 | ti/k3-j721e-sk-csi2-ov5640.dtbo \ | ||
43 | ti/k3-j721e-sk-csi2-rpi-imx219.dtbo \ | ||
44 | ti/k3-j721e-sk-fusion.dtbo \ | ||
45 | ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \ | ||
46 | " | ||
47 | |||
48 | MACHINE_GUI_CLASS = "bigscreen" | ||
49 | |||
50 | # TI has moved a driver out of its kernel tree and into an out of tree module. | ||
51 | # We need to not include that for older kernels since the module is still in | ||
52 | # the kernel. | ||
53 | TI_VXE_VXD_DRIVER:bsp-bb_org-6_6 = "" | ||
54 | TI_VXE_VXD_DRIVER:bsp-bb_org-6_1 = "" | ||
diff --git a/meta-beagle/conf/machine/beaglebone.conf b/meta-beagle/conf/machine/beaglebone.conf new file mode 100644 index 00000000..456da618 --- /dev/null +++ b/meta-beagle/conf/machine/beaglebone.conf | |||
@@ -0,0 +1,34 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeagleBone machine | ||
3 | #@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board | ||
4 | |||
5 | require conf/machine/include/ti33x.inc | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | DT_VENDOR_PREFIX = "ti/omap/" | ||
9 | DT_VENDOR_PREFIX:bsp-ti-6_1 = "" | ||
10 | DT_VENDOR_PREFIX:bsp-bb_org-6_1 = "" | ||
11 | |||
12 | KERNEL_DEVICETREE_PREFIX = " \ | ||
13 | ${DT_VENDOR_PREFIX}am335x-bone \ | ||
14 | ${DT_VENDOR_PREFIX}am335x-pocketbeagle \ | ||
15 | ${DT_VENDOR_PREFIX}am335x-sancloud-bbe \ | ||
16 | " | ||
17 | |||
18 | KERNEL_DEVICETREE = " \ | ||
19 | ${DT_VENDOR_PREFIX}am335x-bone.dtb \ | ||
20 | ${DT_VENDOR_PREFIX}am335x-boneblack.dtb \ | ||
21 | ${DT_VENDOR_PREFIX}am335x-boneblack-wireless.dtb \ | ||
22 | ${DT_VENDOR_PREFIX}am335x-boneblue.dtb \ | ||
23 | ${DT_VENDOR_PREFIX}am335x-bonegreen.dtb \ | ||
24 | ${DT_VENDOR_PREFIX}am335x-bonegreen-wireless.dtb \ | ||
25 | ${DT_VENDOR_PREFIX}am335x-pocketbeagle.dtb \ | ||
26 | ${DT_VENDOR_PREFIX}am335x-sancloud-bbe.dtb \ | ||
27 | ${DT_VENDOR_PREFIX}am335x-sancloud-bbe-extended-wifi.dtb \ | ||
28 | ${DT_VENDOR_PREFIX}am335x-sancloud-bbe-lite.dtb \ | ||
29 | " | ||
30 | |||
31 | MACHINE_GUI_CLASS = "bigscreen" | ||
32 | MACHINE_FEATURES += "screen" | ||
33 | |||
34 | SERIAL_CONSOLES = "115200;ttyS0" | ||
diff --git a/meta-beagle/conf/machine/beagleplay-k3r5.conf b/meta-beagle/conf/machine/beagleplay-k3r5.conf new file mode 100644 index 00000000..f053c11e --- /dev/null +++ b/meta-beagle/conf/machine/beagleplay-k3r5.conf | |||
@@ -0,0 +1,11 @@ | |||
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 | |||
7 | require conf/machine/include/beagle-bsp.inc | ||
8 | |||
9 | UBOOT_MACHINE:bsp-bb_org-6_1 = "am62x_evm_r5_defconfig" | ||
10 | |||
11 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "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..bc0de3f0 --- /dev/null +++ b/meta-beagle/conf/machine/beagleplay.conf | |||
@@ -0,0 +1,75 @@ | |||
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 | |||
7 | require conf/machine/include/beagle-bsp.inc | ||
8 | |||
9 | UBOOT_MACHINE:bsp-bb_org-6_1 = "am62x_evm_a53_defconfig" | ||
10 | |||
11 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am625_beagleplay_a53.config" | ||
12 | |||
13 | KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \ | ||
14 | ti/k3-am625-beagleplay-csi2-ov5640.dtbo \ | ||
15 | ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \ | ||
16 | ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \ | ||
17 | ti/k3-am625-beaglemod.dtb \ | ||
18 | ti/k3-am625-beaglemod-audio.dtbo \ | ||
19 | ti/k3-am625-beaglemod-can0.dtbo \ | ||
20 | ti/k3-am625-beaglemod-can1.dtbo \ | ||
21 | ti/k3-am625-beaglemod-csi0-ov5640.dtbo \ | ||
22 | ti/k3-am625-beaglemod-eeprom.dtbo \ | ||
23 | ti/k3-am625-beaglemod-eth.dtbo \ | ||
24 | ti/k3-am625-beaglemod-hdmi.dtbo \ | ||
25 | ti/k3-am625-beaglemod-io-expand.dtbo \ | ||
26 | ti/k3-am625-beaglemod-lt-lcd185.dtbo \ | ||
27 | ti/k3-am625-beaglemod-ospi-flash.dtbo \ | ||
28 | ti/k3-am625-beaglemod-rs485-1.dtbo \ | ||
29 | ti/k3-am625-beaglemod-rs485-2.dtbo \ | ||
30 | ti/k3-am625-beaglemod-rtc.dtbo \ | ||
31 | ti/k3-am625-beaglemod-wl1835.dtbo \ | ||
32 | ti/k3-am625-sk-dmtimer-pwm.dtbo \ | ||
33 | ti/k3-am625-sk-ecap-capture.dtbo \ | ||
34 | ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \ | ||
35 | ti/k3-am625-sk-mcspi-loopback.dtbo \ | ||
36 | ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \ | ||
37 | ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \ | ||
38 | ti/k3-am625-sk-pwm.dtbo \ | ||
39 | ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \ | ||
40 | ti/k3-am62x-sk-csi2-imx219.dtbo \ | ||
41 | ti/k3-am62x-sk-csi2-ov5640.dtbo \ | ||
42 | ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \ | ||
43 | ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \ | ||
44 | ti/k3-am62x-sk-eqep.dtbo \ | ||
45 | ti/k3-am62x-sk-hdmi-disable-fastboot.dtbo \ | ||
46 | ti/k3-am62x-sk-lpm-wkup-sources.dtbo \ | ||
47 | ti/k3-am62x-sk-mcan.dtbo \ | ||
48 | " | ||
49 | |||
50 | KERNEL_DEVICETREE:append:bsp-bb_org-6_6 = " \ | ||
51 | ti/k3-am625-beagleplay-csi2-ov5640.dtbo \ | ||
52 | ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \ | ||
53 | ti/k3-am625-beagleplay.dtb \ | ||
54 | ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \ | ||
55 | ti/k3-am625-minimal.dtb \ | ||
56 | ti/k3-am625-sk.dtb \ | ||
57 | ti/k3-am625-sk-ecap-capture.dtbo \ | ||
58 | ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \ | ||
59 | ti/k3-am625-sk-m2-cc3301.dtbo \ | ||
60 | ti/k3-am625-sk-mcspi-loopback.dtbo \ | ||
61 | ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \ | ||
62 | ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \ | ||
63 | ti/k3-am62x-sk-csi2-imx219.dtbo \ | ||
64 | ti/k3-am62x-sk-csi2-ov5640.dtbo \ | ||
65 | ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \ | ||
66 | ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \ | ||
67 | ti/k3-am62x-sk-dmtimer-pwm.dtbo \ | ||
68 | ti/k3-am62x-sk-eqep.dtbo \ | ||
69 | ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \ | ||
70 | ti/k3-am62x-sk-hdmi-audio.dtbo \ | ||
71 | ti/k3-am62x-sk-lpm-wkup-sources.dtbo \ | ||
72 | ti/k3-am62x-sk-mcan.dtbo \ | ||
73 | ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \ | ||
74 | ti/k3-am62x-sk-pwm.dtbo \ | ||
75 | " | ||
diff --git a/meta-beagle/conf/machine/beagley-ai-k3r5.conf b/meta-beagle/conf/machine/beagley-ai-k3r5.conf new file mode 100644 index 00000000..8d5111f0 --- /dev/null +++ b/meta-beagle/conf/machine/beagley-ai-k3r5.conf | |||
@@ -0,0 +1,15 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeagleY AI (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | SYSFW_SOC = "j722s" | ||
9 | SYSFW_CONFIG = "evm" | ||
10 | SYSFW_SUFFIX = "hs-fs" | ||
11 | |||
12 | UBOOT_MACHINE = "j722s_evm_r5_defconfig" | ||
13 | UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_r5_defconfig" | ||
14 | |||
15 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_r5.config" | ||
diff --git a/meta-beagle/conf/machine/beagley-ai.conf b/meta-beagle/conf/machine/beagley-ai.conf new file mode 100644 index 00000000..497001ee --- /dev/null +++ b/meta-beagle/conf/machine/beagley-ai.conf | |||
@@ -0,0 +1,29 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeagleY AI (A53) | ||
3 | #@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core) | ||
4 | |||
5 | require conf/machine/include/j722s.inc | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | UBOOT_MACHINE = "j722s_evm_a53_config" | ||
9 | UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_a53_defconfig" | ||
10 | |||
11 | UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_a53.config" | ||
12 | |||
13 | KERNEL_DEVICETREE_PREFIX = " \ | ||
14 | ti/k3-j722s \ | ||
15 | " | ||
16 | |||
17 | KERNEL_DEVICETREE = "" | ||
18 | |||
19 | KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \ | ||
20 | ti/k3-j722s-evm.dtb \ | ||
21 | ti/k3-am67a-beagley-ai.dtb \ | ||
22 | " | ||
23 | |||
24 | KERNEL_DEVICETREE:append:bsp-bb_org-6_12 = " \ | ||
25 | ti/k3-j722s-evm.dtb \ | ||
26 | ti/k3-am67a-beagley-ai.dtb \ | ||
27 | " | ||
28 | |||
29 | MACHINE_GUI_CLASS = "bigscreen" | ||
diff --git a/meta-beagle/conf/machine/include/beagle-bsp.inc b/meta-beagle/conf/machine/include/beagle-bsp.inc new file mode 100644 index 00000000..7dff583e --- /dev/null +++ b/meta-beagle/conf/machine/include/beagle-bsp.inc | |||
@@ -0,0 +1,71 @@ | |||
1 | # Use meta-ti-bsp "multi-BSP" facility to create a custom "bb_org" BSP profile | ||
2 | # with default preferences for Beagle platforms | ||
3 | |||
4 | # Default is bb_org-6_12, but can override with any of the existing options | ||
5 | TI_PREFERRED_BSP ?= "bb_org-6_12" | ||
6 | |||
7 | # ========== | ||
8 | # bb_org-6_12 | ||
9 | # BeagleBoard.org kernel 6.12, Upstream u-boot 2025.04 | ||
10 | # based on TI staging trees with extra Beagle-specific features | ||
11 | # but may not be up-to-date with TI version | ||
12 | # ========== | ||
13 | BSP_KERNEL_PROVIDER:bsp-bb_org-6_12 = "linux-bb.org" | ||
14 | BSP_KERNEL_VERSION:bsp-bb_org-6_12 = "6.12.%" | ||
15 | BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_12 = "u-boot-bb.org" | ||
16 | BSP_BOOTLOADER_VERSION:bsp-bb_org-6_12 = "2025.%" | ||
17 | |||
18 | BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-sgx-ddk-km" | ||
19 | BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_12 = "1.17%" | ||
20 | BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_12 = "1.17%" | ||
21 | BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-img-rogue-driver" | ||
22 | BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_12 = "24%" | ||
23 | BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_12 = "24%" | ||
24 | BSP_MESA_PVR_VERSION:bsp-bb_org-6_12 = "24%" | ||
25 | |||
26 | # GC320 support requires out-of-tree drivers not yet available in bb.org 6.6 | ||
27 | MACHINE_FEATURES:remove:bsp-bb_org-6_12 = "gc320" | ||
28 | |||
29 | # ========== | ||
30 | # bb_org-6_6 | ||
31 | # BeagleBoard.org kernel 6.6, Upstream u-boot 2024.07 | ||
32 | # based on TI staging trees with extra Beagle-specific features | ||
33 | # but may not be up-to-date with TI version | ||
34 | # ========== | ||
35 | BSP_KERNEL_PROVIDER:bsp-bb_org-6_6 = "linux-bb.org" | ||
36 | BSP_KERNEL_VERSION:bsp-bb_org-6_6 = "6.6.%" | ||
37 | BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_6 = "u-boot-bb.org" | ||
38 | BSP_BOOTLOADER_VERSION:bsp-bb_org-6_6 = "2024.%" | ||
39 | |||
40 | BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-sgx-ddk-km" | ||
41 | BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_6 = "1.17%" | ||
42 | BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_6 = "1.17%" | ||
43 | BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-img-rogue-driver" | ||
44 | BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_6 = "24%" | ||
45 | BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_6 = "24%" | ||
46 | BSP_MESA_PVR_VERSION:bsp-bb_org-6_6 = "24%" | ||
47 | |||
48 | # GC320 support requires out-of-tree drivers not yet available in bb.org 6.6 | ||
49 | MACHINE_FEATURES:remove:bsp-bb_org-6_6 = "gc320" | ||
50 | |||
51 | # ========== | ||
52 | # bb_org-6_1 | ||
53 | # BeagleBoard.org kernel 6.1, u-boot 2023.04 | ||
54 | # based on TI staging trees with extra Beagle-specific features | ||
55 | # but may not be up-to-date with TI version | ||
56 | # ========== | ||
57 | BSP_KERNEL_PROVIDER:bsp-bb_org-6_1 = "linux-bb.org" | ||
58 | BSP_KERNEL_VERSION:bsp-bb_org-6_1 = "6.1.%" | ||
59 | BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_1 = "u-boot-bb.org" | ||
60 | BSP_BOOTLOADER_VERSION:bsp-bb_org-6_1 = "2023.%" | ||
61 | |||
62 | BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_1 = "ti-sgx-ddk-km" | ||
63 | BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_1 = "1.17%" | ||
64 | BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_1 = "1.17%" | ||
65 | BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_1 = "ti-img-rogue-driver" | ||
66 | BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_1 = "23%" | ||
67 | BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_1 = "23%" | ||
68 | BSP_MESA_PVR_VERSION:bsp-bb_org-6_1 = "22%" | ||
69 | |||
70 | # GC320 support requires out-of-tree drivers not yet available in bb.org 6.1 | ||
71 | MACHINE_FEATURES:remove:bsp-bb_org-6_1 = "gc320" | ||
diff --git a/meta-beagle/conf/machine/pocketbeagle2-k3r5.conf b/meta-beagle/conf/machine/pocketbeagle2-k3r5.conf new file mode 100644 index 00000000..32e40312 --- /dev/null +++ b/meta-beagle/conf/machine/pocketbeagle2-k3r5.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: PocketBeagle2 (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the PocketBeagle2 (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | require conf/machine/include/beagle-bsp.inc | ||
7 | |||
8 | SYSFW_SOC = "am62x" | ||
9 | SYSFW_CONFIG = "evm" | ||
10 | SYSFW_SUFFIX = "hs-fs" | ||
11 | |||
12 | UBOOT_MACHINE = "am6232_pocketbeagle2_r5_defconfig" | ||
diff --git a/meta-beagle/conf/machine/pocketbeagle2.conf b/meta-beagle/conf/machine/pocketbeagle2.conf new file mode 100644 index 00000000..3d9651bd --- /dev/null +++ b/meta-beagle/conf/machine/pocketbeagle2.conf | |||
@@ -0,0 +1,28 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: PocketBeagle2 (A53) | ||
3 | #@DESCRIPTION: Machine configuration for the PocketBeagle2 board (A53 core) | ||
4 | |||
5 | require conf/machine/include/k3.inc | ||
6 | require conf/machine/include/mc_k3r5.inc | ||
7 | |||
8 | require conf/machine/include/beagle-bsp.inc | ||
9 | |||
10 | SOC_FAMILY:append = ":am62xx" | ||
11 | |||
12 | SERIAL_CONSOLES = "115200;ttyS2" | ||
13 | |||
14 | TFA_BOARD = "lite" | ||
15 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
16 | |||
17 | OPTEEMACHINE = "k3-am62x" | ||
18 | |||
19 | UBOOT_MACHINE = "am6232_pocketbeagle2_a53_defconfig" | ||
20 | |||
21 | KERNEL_DEVICETREE_PREFIX = " \ | ||
22 | ti/k3-am6232 \ | ||
23 | " | ||
24 | |||
25 | KERNEL_DEVICETREE = " \ | ||
26 | ti/k3-am6232-pocketbeagle2.dtb \ | ||
27 | ti/k3-am6232-pocketbeagle2-techlab-cape.dtbo \ | ||
28 | " | ||
diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.04+git/bootcmd-ti-mmc.cfg b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.04+git/bootcmd-ti-mmc.cfg new file mode 100644 index 00000000..362696b9 --- /dev/null +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.04+git/bootcmd-ti-mmc.cfg | |||
@@ -0,0 +1 @@ | |||
CONFIG_BOOTCOMMAND="run bootcmd_ti_mmc" | |||
diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2023.04.bb b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2023.04.bb new file mode 100644 index 00000000..fb7b0c18 --- /dev/null +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2023.04.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | require recipes-bsp/u-boot/u-boot-ti.inc | ||
2 | |||
3 | SUMMARY = "BeagleBoard.org U-Boot" | ||
4 | |||
5 | COMPATIBLE_MACHINE = "beagle.*" | ||
6 | |||
7 | PV = "2023.04" | ||
8 | |||
9 | SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" | ||
10 | |||
11 | UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git" | ||
12 | UBOOT_GIT_PROTOCOL = "https" | ||
13 | BRANCH = "v2023.04-ti-09.01.00.008" | ||
14 | SRCREV = "b0d717b732ee28e446baf94522b3491e590f7fbb" | ||
15 | |||
16 | BRANCH:beagleplay = "v2023.04-ti-09.01.00.008-BeaglePlay" | ||
17 | BRANCH:beagleplay-k3r5 = "v2023.04-ti-09.01.00.008-BeaglePlay" | ||
18 | SRCREV:beagleplay = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e" | ||
19 | SRCREV:beagleplay-k3r5 = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e" | ||
20 | |||
21 | BRANCH:beagley-ai = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production" | ||
22 | BRANCH:beagley-ai-k3r5 = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production" | ||
23 | SRCREV:beagley-ai = "93735daa6fe024304934d5a5e93ab05a06abf1a8" | ||
24 | SRCREV:beagley-ai-k3r5 = "93735daa6fe024304934d5a5e93ab05a06abf1a8" | ||
diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb new file mode 100644 index 00000000..389893b0 --- /dev/null +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | require recipes-bsp/u-boot/u-boot-ti.inc | ||
2 | |||
3 | SUMMARY = "BeagleBoard.org U-Boot" | ||
4 | |||
5 | COMPATIBLE_MACHINE = "beagle.*" | ||
6 | |||
7 | PV = "2024.10" | ||
8 | |||
9 | SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" | ||
10 | |||
11 | UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git" | ||
12 | UBOOT_GIT_PROTOCOL = "https" | ||
13 | BRANCH = "v2024.10-Beagle" | ||
14 | SRCREV = "bf0e9d0b7274d2b561bd24c858affec2038250f9" | ||
diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.04.bb b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.04.bb new file mode 100644 index 00000000..aa825d99 --- /dev/null +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.04.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | require recipes-bsp/u-boot/u-boot-ti.inc | ||
2 | |||
3 | SUMMARY = "BeagleBoard.org U-Boot" | ||
4 | |||
5 | COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*" | ||
6 | |||
7 | PV = "2025.04" | ||
8 | |||
9 | UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git" | ||
10 | UBOOT_GIT_PROTOCOL = "https" | ||
11 | BRANCH = "v2025.04-Beagle" | ||
12 | SRCREV = "ea2aeefcb2de36f8ca1b51d0580826d13c01f143" | ||
13 | |||
14 | BRANCH:beagley-ai = "v2025.04-rc3-BeagleY-AI" | ||
15 | BRANCH:beagley-ai-k3r5 = "v2025.04-rc3-BeagleY-AI" | ||
16 | SRCREV:beagley-ai = "cc376f9faef201670c7bb1734f42f5475c73f85d" | ||
17 | SRCREV:beagley-ai-k3r5 = "cc376f9faef201670c7bb1734f42f5475c73f85d" | ||
18 | |||
19 | SRC_URI:append:beagley-ai = " file://bootcmd-ti-mmc.cfg" | ||
20 | |||
21 | BRANCH:pocketbeagle2 = "v2025.04-pocketbeagle2" | ||
22 | BRANCH:pocketbeagle2-k3r5 = "v2025.04-pocketbeagle2" | ||
23 | SRCREV:pocketbeagle2 = "f7439516453b7728bda496ff6496ef6f1411aae3" | ||
24 | SRCREV:pocketbeagle2-k3r5 = "f7439516453b7728bda496ff6496ef6f1411aae3" | ||
25 | |||
26 | SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg" | ||
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org-6.1/defconfig b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.1/defconfig new file mode 100644 index 00000000..a5de2e24 --- /dev/null +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.1/defconfig | |||
@@ -0,0 +1 @@ | |||
use-kernel-config=bb.org_defconfig | |||
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org-6.12/defconfig b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.12/defconfig new file mode 100644 index 00000000..a5de2e24 --- /dev/null +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.12/defconfig | |||
@@ -0,0 +1 @@ | |||
use-kernel-config=bb.org_defconfig | |||
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/defconfig b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/defconfig new file mode 100644 index 00000000..a5de2e24 --- /dev/null +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/defconfig | |||
@@ -0,0 +1 @@ | |||
use-kernel-config=bb.org_defconfig | |||
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg new file mode 100644 index 00000000..808f9519 --- /dev/null +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg | |||
@@ -0,0 +1 @@ | |||
CONFIG_FORTIFY_SOURCE=n | |||
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb new file mode 100644 index 00000000..067c9ddf --- /dev/null +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb | |||
@@ -0,0 +1,70 @@ | |||
1 | # Look in the generic major.minor directory for files | ||
2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:" | ||
3 | |||
4 | SECTION = "kernel" | ||
5 | SUMMARY = "BeagleBoard.org Linux kernel" | ||
6 | LICENSE = "GPL-2.0-only" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "beagle.*" | ||
10 | |||
11 | inherit kernel_deprecated | ||
12 | |||
13 | require recipes-kernel/linux/setup-defconfig.inc | ||
14 | require recipes-kernel/linux/ti-kernel.inc | ||
15 | |||
16 | DEPENDS += "gmp-native libmpc-native" | ||
17 | |||
18 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}" | ||
19 | |||
20 | # Extra DT overlays/capes | ||
21 | KERNEL_DEVICETREE:append:armv7a = " \ | ||
22 | AM335X-PRU-UIO-00A0.dtbo \ | ||
23 | BB-ADC-00A0.dtbo \ | ||
24 | BB-BBBW-WL1835-00A0.dtbo \ | ||
25 | BB-BBGG-WL1835-00A0.dtbo \ | ||
26 | BB-BBGW-WL1835-00A0.dtbo \ | ||
27 | BB-BONE-4D5R-01-00A1.dtbo \ | ||
28 | BB-BONE-eMMC1-01-00A0.dtbo \ | ||
29 | BB-BONE-LCD4-01-00A1.dtbo \ | ||
30 | BB-BONE-NH7C-01-A0.dtbo \ | ||
31 | BB-CAPE-DISP-CT4-00A0.dtbo \ | ||
32 | BB-HDMI-TDA998x-00A0.dtbo \ | ||
33 | BB-I2C1-MCP7940X-00A0.dtbo \ | ||
34 | BB-I2C1-RTC-DS3231.dtbo \ | ||
35 | BB-I2C1-RTC-PCF8563.dtbo \ | ||
36 | BB-I2C2-BME680.dtbo \ | ||
37 | BB-I2C2-MPU6050.dtbo \ | ||
38 | BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \ | ||
39 | BB-NHDMI-TDA998x-00A0.dtbo \ | ||
40 | BBORG_COMMS-00A2.dtbo \ | ||
41 | BBORG_FAN-A000.dtbo \ | ||
42 | BBORG_RELAY-00A2.dtbo \ | ||
43 | BB-SPIDEV0-00A0.dtbo \ | ||
44 | BB-SPIDEV1-00A0.dtbo \ | ||
45 | BB-UART1-00A0.dtbo \ | ||
46 | BB-UART2-00A0.dtbo \ | ||
47 | BB-UART4-00A0.dtbo \ | ||
48 | BB-W1-P9.12-00A0.dtbo \ | ||
49 | BONE-ADC.dtbo \ | ||
50 | M-BB-BBG-00A0.dtbo \ | ||
51 | M-BB-BBGG-00A0.dtbo \ | ||
52 | PB-MIKROBUS-0.dtbo \ | ||
53 | PB-MIKROBUS-1.dtbo \ | ||
54 | " | ||
55 | |||
56 | S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}" | ||
57 | |||
58 | # 6.1.83 version for 32-bit | ||
59 | SRCREV:armv7a = "be9b910b08dfd674e47a2643f35080b005ac3792" | ||
60 | PV:armv7a = "6.1.83+git" | ||
61 | BRANCH:armv7a = "v6.1.83-ti-r35" | ||
62 | |||
63 | # 6.1.83 version for 64-bit | ||
64 | SRCREV:aarch64 = "135558243d5a98ed39812b797d2ba6295ef3b86a" | ||
65 | PV:aarch64 = "6.1.83+git" | ||
66 | BRANCH:aarch64 = "v6.1.83-ti-arm64-r64" | ||
67 | |||
68 | KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git" | ||
69 | |||
70 | INSANE_SKIP:kernel-modules += "debug-deps" | ||
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb new file mode 100644 index 00000000..6e221d1b --- /dev/null +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb | |||
@@ -0,0 +1,70 @@ | |||
1 | # Look in the generic major.minor directory for files | ||
2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:" | ||
3 | |||
4 | SECTION = "kernel" | ||
5 | SUMMARY = "BeagleBoard.org Linux kernel" | ||
6 | LICENSE = "GPL-2.0-only" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*" | ||
10 | |||
11 | inherit kernel_deprecated | ||
12 | |||
13 | require recipes-kernel/linux/setup-defconfig.inc | ||
14 | require recipes-kernel/linux/ti-kernel.inc | ||
15 | |||
16 | DEPENDS += "gmp-native libmpc-native" | ||
17 | |||
18 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}" | ||
19 | |||
20 | # Extra DT overlays/capes | ||
21 | KERNEL_DEVICETREE:append:armv7a = " \ | ||
22 | ${DT_VENDOR_PREFIX}AM335X-PRU-UIO-00A0.dtbo \ | ||
23 | ${DT_VENDOR_PREFIX}BB-ADC-00A0.dtbo \ | ||
24 | ${DT_VENDOR_PREFIX}BB-BBBW-WL1835-00A0.dtbo \ | ||
25 | ${DT_VENDOR_PREFIX}BB-BBGG-WL1835-00A0.dtbo \ | ||
26 | ${DT_VENDOR_PREFIX}BB-BBGW-WL1835-00A0.dtbo \ | ||
27 | ${DT_VENDOR_PREFIX}BB-BONE-4D5R-01-00A1.dtbo \ | ||
28 | ${DT_VENDOR_PREFIX}BB-BONE-eMMC1-01-00A0.dtbo \ | ||
29 | ${DT_VENDOR_PREFIX}BB-BONE-LCD4-01-00A1.dtbo \ | ||
30 | ${DT_VENDOR_PREFIX}BB-BONE-NH7C-01-A0.dtbo \ | ||
31 | ${DT_VENDOR_PREFIX}BB-CAPE-DISP-CT4-00A0.dtbo \ | ||
32 | ${DT_VENDOR_PREFIX}BB-HDMI-TDA998x-00A0.dtbo \ | ||
33 | ${DT_VENDOR_PREFIX}BB-I2C1-MCP7940X-00A0.dtbo \ | ||
34 | ${DT_VENDOR_PREFIX}BB-I2C1-RTC-DS3231.dtbo \ | ||
35 | ${DT_VENDOR_PREFIX}BB-I2C1-RTC-PCF8563.dtbo \ | ||
36 | ${DT_VENDOR_PREFIX}BB-I2C2-BME680.dtbo \ | ||
37 | ${DT_VENDOR_PREFIX}BB-I2C2-MPU6050.dtbo \ | ||
38 | ${DT_VENDOR_PREFIX}BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \ | ||
39 | ${DT_VENDOR_PREFIX}BB-NHDMI-TDA998x-00A0.dtbo \ | ||
40 | ${DT_VENDOR_PREFIX}BBORG_COMMS-00A2.dtbo \ | ||
41 | ${DT_VENDOR_PREFIX}BBORG_FAN-A000.dtbo \ | ||
42 | ${DT_VENDOR_PREFIX}BBORG_RELAY-00A2.dtbo \ | ||
43 | ${DT_VENDOR_PREFIX}BB-SPIDEV0-00A0.dtbo \ | ||
44 | ${DT_VENDOR_PREFIX}BB-SPIDEV1-00A0.dtbo \ | ||
45 | ${DT_VENDOR_PREFIX}BB-UART1-00A0.dtbo \ | ||
46 | ${DT_VENDOR_PREFIX}BB-UART2-00A0.dtbo \ | ||
47 | ${DT_VENDOR_PREFIX}BB-UART4-00A0.dtbo \ | ||
48 | ${DT_VENDOR_PREFIX}BB-W1-P9.12-00A0.dtbo \ | ||
49 | ${DT_VENDOR_PREFIX}BONE-ADC.dtbo \ | ||
50 | ${DT_VENDOR_PREFIX}M-BB-BBG-00A0.dtbo \ | ||
51 | ${DT_VENDOR_PREFIX}M-BB-BBGG-00A0.dtbo \ | ||
52 | ${DT_VENDOR_PREFIX}PB-MIKROBUS-0.dtbo \ | ||
53 | ${DT_VENDOR_PREFIX}PB-MIKROBUS-1.dtbo \ | ||
54 | " | ||
55 | |||
56 | S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}" | ||
57 | |||
58 | # 6.12.22 version for 32-bit | ||
59 | SRCREV:armv7a = "d7f560ef48a867b94959f040b4c3c57053f4e32d" | ||
60 | PV:armv7a = "6.12.22+git" | ||
61 | BRANCH:armv7a = "v6.12.22-ti-arm32-r10" | ||
62 | |||
63 | # 6.12.22 version for 64-bit | ||
64 | SRCREV:aarch64 = "9e43fd19ece3affb9406e87ec3df733b91b77a4f" | ||
65 | PV:aarch64 = "6.12.22+git" | ||
66 | BRANCH:aarch64 = "v6.12.22-ti-arm64-r35" | ||
67 | |||
68 | KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git" | ||
69 | |||
70 | INSANE_SKIP:kernel-modules += "debug-deps" | ||
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb new file mode 100644 index 00000000..cc7a56ac --- /dev/null +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb | |||
@@ -0,0 +1,73 @@ | |||
1 | # Look in the generic major.minor directory for files | ||
2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:" | ||
3 | |||
4 | SECTION = "kernel" | ||
5 | SUMMARY = "BeagleBoard.org Linux kernel" | ||
6 | LICENSE = "GPL-2.0-only" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "beagle.*" | ||
10 | |||
11 | inherit kernel_deprecated | ||
12 | |||
13 | require recipes-kernel/linux/setup-defconfig.inc | ||
14 | require recipes-kernel/linux/ti-kernel.inc | ||
15 | |||
16 | DEPENDS += "gmp-native libmpc-native" | ||
17 | |||
18 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}" | ||
19 | |||
20 | # Extra DT overlays/capes | ||
21 | KERNEL_DEVICETREE:append:armv7a = " \ | ||
22 | ${DT_VENDOR_PREFIX}AM335X-PRU-UIO-00A0.dtbo \ | ||
23 | ${DT_VENDOR_PREFIX}BB-ADC-00A0.dtbo \ | ||
24 | ${DT_VENDOR_PREFIX}BB-BBBW-WL1835-00A0.dtbo \ | ||
25 | ${DT_VENDOR_PREFIX}BB-BBGG-WL1835-00A0.dtbo \ | ||
26 | ${DT_VENDOR_PREFIX}BB-BBGW-WL1835-00A0.dtbo \ | ||
27 | ${DT_VENDOR_PREFIX}BB-BONE-4D5R-01-00A1.dtbo \ | ||
28 | ${DT_VENDOR_PREFIX}BB-BONE-eMMC1-01-00A0.dtbo \ | ||
29 | ${DT_VENDOR_PREFIX}BB-BONE-LCD4-01-00A1.dtbo \ | ||
30 | ${DT_VENDOR_PREFIX}BB-BONE-NH7C-01-A0.dtbo \ | ||
31 | ${DT_VENDOR_PREFIX}BB-CAPE-DISP-CT4-00A0.dtbo \ | ||
32 | ${DT_VENDOR_PREFIX}BB-HDMI-TDA998x-00A0.dtbo \ | ||
33 | ${DT_VENDOR_PREFIX}BB-I2C1-MCP7940X-00A0.dtbo \ | ||
34 | ${DT_VENDOR_PREFIX}BB-I2C1-RTC-DS3231.dtbo \ | ||
35 | ${DT_VENDOR_PREFIX}BB-I2C1-RTC-PCF8563.dtbo \ | ||
36 | ${DT_VENDOR_PREFIX}BB-I2C2-BME680.dtbo \ | ||
37 | ${DT_VENDOR_PREFIX}BB-I2C2-MPU6050.dtbo \ | ||
38 | ${DT_VENDOR_PREFIX}BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \ | ||
39 | ${DT_VENDOR_PREFIX}BB-NHDMI-TDA998x-00A0.dtbo \ | ||
40 | ${DT_VENDOR_PREFIX}BBORG_COMMS-00A2.dtbo \ | ||
41 | ${DT_VENDOR_PREFIX}BBORG_FAN-A000.dtbo \ | ||
42 | ${DT_VENDOR_PREFIX}BBORG_RELAY-00A2.dtbo \ | ||
43 | ${DT_VENDOR_PREFIX}BB-SPIDEV0-00A0.dtbo \ | ||
44 | ${DT_VENDOR_PREFIX}BB-SPIDEV1-00A0.dtbo \ | ||
45 | ${DT_VENDOR_PREFIX}BB-UART1-00A0.dtbo \ | ||
46 | ${DT_VENDOR_PREFIX}BB-UART2-00A0.dtbo \ | ||
47 | ${DT_VENDOR_PREFIX}BB-UART4-00A0.dtbo \ | ||
48 | ${DT_VENDOR_PREFIX}BB-W1-P9.12-00A0.dtbo \ | ||
49 | ${DT_VENDOR_PREFIX}BONE-ADC.dtbo \ | ||
50 | ${DT_VENDOR_PREFIX}M-BB-BBG-00A0.dtbo \ | ||
51 | ${DT_VENDOR_PREFIX}M-BB-BBGG-00A0.dtbo \ | ||
52 | ${DT_VENDOR_PREFIX}PB-MIKROBUS-0.dtbo \ | ||
53 | ${DT_VENDOR_PREFIX}PB-MIKROBUS-1.dtbo \ | ||
54 | " | ||
55 | |||
56 | S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}" | ||
57 | |||
58 | # 6.6.58 version for 32-bit | ||
59 | SRCREV:armv7a = "0d043a88f69f48789e43526d7a807ab744708071" | ||
60 | PV:armv7a = "6.6.58+git" | ||
61 | BRANCH:armv7a = "v6.6.58-ti-arm32-r10" | ||
62 | |||
63 | # 6.6.58 version for 64-bit | ||
64 | SRCREV:aarch64 = "0987ef737c9812374607475972f0868b8fecbbf7" | ||
65 | PV:aarch64 = "6.6.58+git" | ||
66 | BRANCH:aarch64 = "v6.6.58-ti-arm64-r23" | ||
67 | |||
68 | KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git" | ||
69 | |||
70 | SRC_URI += "file://no-fortify.cfg" | ||
71 | KERNEL_CONFIG_FRAGMENTS += "${UNPACKDIR}/no-fortify.cfg" | ||
72 | |||
73 | INSANE_SKIP:kernel-modules += "debug-deps" | ||