Skip to content

Commit 412ffa5

Browse files
committed
k3-beagle: Add config for BeagleBoard.org Linux and U-Boot
Instead of using the TI k3.conf and overriding configuration, add a new config for BeagleBoard.org Linux and U-Boot and use it for the boards that use that Linux/U-Boot. Signed-off-by: Andrew Davis <[email protected]>
1 parent d605f78 commit 412ffa5

File tree

3 files changed

+31
-36
lines changed

3 files changed

+31
-36
lines changed

config/boards/beagley-ai.conf

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Texas Instruments AM67A quad core 4GB USB3 DDR4 4TOPS
22

33
BOARD_NAME="BeagleY-AI"
4-
BOARDFAMILY="k3"
4+
BOARDFAMILY="k3-beagle"
55
BOARD_MAINTAINER="Grippy98"
66
BOOTCONFIG="am67a_beagley_ai_a53_defconfig"
77
BOOTFS_TYPE="fat"
@@ -16,16 +16,3 @@ ATF_BOARD="lite"
1616
OPTEE_ARGS=""
1717
OPTEE_PLATFORM="k3-am62x"
1818
CC33XX_SUPPORT="yes"
19-
20-
# Use these branches until BeagleY-AI goes upstream
21-
function post_family_config_branch_current__beagley_ai_use_beagle_kernel_uboot() {
22-
display_alert "$BOARD" " Beagleboard U-Boot and kernel overrides for $BOARD / $BRANCH" "info"
23-
24-
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
25-
declare -g KERNEL_MAJOR_MINOR="6.12"
26-
declare -g KERNELBRANCH="branch:v6.12.49-ti-arm64-r56"
27-
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
28-
29-
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
30-
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
31-
}

config/boards/pocketbeagle2.conf

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Texas Instruments AM62 dual core 1GB USB2 DDR4
22

33
BOARD_NAME="PocketBeagle 2"
4-
BOARDFAMILY="k3"
4+
BOARDFAMILY="k3-beagle"
55
BOARD_MAINTAINER="Grippy98"
66
BOOTCONFIG="am6232_pocketbeagle2_a53_defconfig"
77
BOOTFS_TYPE="fat"
@@ -16,24 +16,3 @@ SRC_EXTLINUX="yes"
1616
SRC_CMDLINE="root=/dev/mmcblk1p2 rootwait console=ttyS2,115200n8 console=ttyGS0,115200n8 modules-load=dwc2,g_cdc"
1717
BOOT_FDT_FILE="ti/k3-am6232-pocketbeagle2.dtb"
1818
OPTEE_PLATFORM="k3-am62x"
19-
20-
function current_beagle_kernel_uboot() {
21-
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
22-
declare -g KERNEL_MAJOR_MINOR="6.12"
23-
declare -g KERNELBRANCH="branch:v6.12.49-ti-arm64-r56"
24-
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
25-
26-
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
27-
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
28-
}
29-
30-
#Until PB2 goes upstream, use this branch
31-
function post_family_config_branch_current__pocketbeagle2_use_beagle_kernel_uboot() {
32-
display_alert "$BOARD" " beagleboard (current branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
33-
current_beagle_kernel_uboot
34-
}
35-
36-
function post_family_config_branch_current-rt__pocketbeagle2_use_beagle_kernel_uboot() {
37-
display_alert "$BOARD" " beagleboard (current-rt branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
38-
current_beagle_kernel_uboot
39-
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# SPDX-License-Identifier: GPL-2.0
3+
#
4+
# Copyright (c) 2013-2023 Igor Pecovnik, [email protected]
5+
#
6+
# This file is a part of the Armbian Build Framework
7+
# https://github.com/armbian/build/
8+
#
9+
10+
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
11+
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
12+
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
13+
14+
case "${BRANCH}" in
15+
16+
current | current-rt)
17+
declare -g KERNEL_MAJOR_MINOR="6.12"
18+
declare -g KERNELBRANCH="branch:v6.12.49-ti-arm64-r56"
19+
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
20+
declare -g KERNEL_DESCRIPTION="BeagleBoard.org (vendor) kernel"
21+
declare -g ATFBRANCH="tag:11.00.09"
22+
declare -g OPTEE_BRANCH="tag:4.6.0"
23+
declare -g TI_LINUX_FIRMWARE_BRANCH="tag:11.00.09"
24+
EXTRAWIFI="no"
25+
;;
26+
27+
esac
28+
29+
source "${BASH_SOURCE%/*}/include/k3_common.inc"

0 commit comments

Comments
 (0)