Skip to content

Commit 78bb6fe

Browse files
Ayush1325igorpecovnik
authored andcommitted
config: boards: pocketbeagle2: Add current-rt branch
- Using RT kernel is a common thing on pocketbeagle 2. So add current-rt branch similar to what is being done for the base k3 family. Signed-off-by: Ayush Singh <[email protected]>
1 parent fecc8ae commit 78bb6fe

File tree

2 files changed

+966
-4
lines changed

2 files changed

+966
-4
lines changed

config/boards/pocketbeagle2.conf

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ SRC_CMDLINE="root=/dev/mmcblk1p2 rootwait console=ttyS2,115200n8 console=ttyGS0,
1717
BOOT_FDT_FILE="ti/k3-am6232-pocketbeagle2.dtb"
1818
OPTEE_PLATFORM="k3-am62x"
1919

20-
#Until PB2 goes upstream, use this branch
21-
function post_family_config_branch_current__pocketbeagle2_use_beagle_kernel_uboot() {
22-
display_alert "$BOARD" " beagleboard (current branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
23-
20+
function current_beagle_kernel_uboot() {
2421
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
2522
declare -g KERNEL_MAJOR_MINOR="6.12"
2623
declare -g KERNELBRANCH="branch:v6.12.24-ti-arm64-r43"
@@ -30,6 +27,17 @@ function post_family_config_branch_current__pocketbeagle2_use_beagle_kernel_uboo
3027
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
3128
}
3229

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+
}
40+
3341
#Until PB2 goes upstream, use this branch
3442
function post_family_config_branch_edge__pocketbeagle2_use_beagle_kernel_uboot() {
3543
display_alert "$BOARD" " beagleboard (next branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"

0 commit comments

Comments
 (0)