diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2025-05-16 20:54:50 -0400 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-05-28 10:18:07 -0500 |
commit | ffa83503ebf27ff185ff406d9fcd06cc0eec7be0 (patch) | |
tree | 5ed1bb6ef932d101f2608c0b14448dbda6abeb5d | |
parent | 4175b94d3dbf27bdf0fe1c9ee9205a431350be48 (diff) | |
download | meta-ti-ffa83503ebf27ff185ff406d9fcd06cc0eec7be0.tar.gz |
pocketbeagle2: add configs for new PocketBeagle2 platform
Add configuration files for the new PocketBeagle2 platform.
U-boot support for this platform is still in its own branch.
Adjust U-boot bootcmd, since EFI boot doesn't seem to work.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
4 files changed, 49 insertions, 2 deletions
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.bb b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.04.bb index 9fc4015e..aa825d99 100644 --- 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 | |||
@@ -2,7 +2,7 @@ require recipes-bsp/u-boot/u-boot-ti.inc | |||
2 | 2 | ||
3 | SUMMARY = "BeagleBoard.org U-Boot" | 3 | SUMMARY = "BeagleBoard.org U-Boot" |
4 | 4 | ||
5 | COMPATIBLE_MACHINE = "beagle.*" | 5 | COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*" |
6 | 6 | ||
7 | PV = "2025.04" | 7 | PV = "2025.04" |
8 | 8 | ||
@@ -17,3 +17,10 @@ SRCREV:beagley-ai = "cc376f9faef201670c7bb1734f42f5475c73f85d" | |||
17 | SRCREV:beagley-ai-k3r5 = "cc376f9faef201670c7bb1734f42f5475c73f85d" | 17 | SRCREV:beagley-ai-k3r5 = "cc376f9faef201670c7bb1734f42f5475c73f85d" |
18 | 18 | ||
19 | SRC_URI:append:beagley-ai = " file://bootcmd-ti-mmc.cfg" | 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.12.bb b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb index 2ef82e0c..bdfd4646 100644 --- a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb | |||
@@ -6,7 +6,7 @@ SUMMARY = "BeagleBoard.org Linux kernel" | |||
6 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
8 | 8 | ||
9 | COMPATIBLE_MACHINE = "beagle.*" | 9 | COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*" |
10 | 10 | ||
11 | inherit kernel | 11 | inherit kernel |
12 | 12 | ||