mirror of https://github.com/armbian/build.git
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 <afd@ti.com>
This commit is contained in:
parent
e6e746d3a4
commit
f5c4849475
|
|
@ -1,7 +1,7 @@
|
|||
# Texas Instruments AM67A quad core 4GB USB3 DDR4 4TOPS
|
||||
|
||||
BOARD_NAME="BeagleY-AI"
|
||||
BOARDFAMILY="k3"
|
||||
BOARDFAMILY="k3-beagle"
|
||||
BOARD_MAINTAINER="Grippy98"
|
||||
BOOTCONFIG="am67a_beagley_ai_a53_defconfig"
|
||||
BOOTFS_TYPE="fat"
|
||||
|
|
@ -16,16 +16,3 @@ ATF_BOARD="lite"
|
|||
OPTEE_ARGS=""
|
||||
OPTEE_PLATFORM="k3-am62x"
|
||||
CC33XX_SUPPORT="yes"
|
||||
|
||||
# Use these branches until BeagleY-AI goes upstream
|
||||
function post_family_config_branch_current__beagley_ai_use_beagle_kernel_uboot() {
|
||||
display_alert "$BOARD" " Beagleboard U-Boot and kernel overrides for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
|
||||
declare -g KERNEL_MAJOR_MINOR="6.12"
|
||||
declare -g KERNELBRANCH="branch:v6.12.49-ti-arm64-r56"
|
||||
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
|
||||
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#Texas Instruments AM62 dual core 1GB USB2 DDR4
|
||||
|
||||
BOARD_NAME="PocketBeagle 2"
|
||||
BOARDFAMILY="k3"
|
||||
BOARDFAMILY="k3-beagle"
|
||||
BOARD_MAINTAINER="Grippy98"
|
||||
BOOTCONFIG="am6232_pocketbeagle2_a53_defconfig"
|
||||
BOOTFS_TYPE="fat"
|
||||
|
|
@ -16,24 +16,3 @@ SRC_EXTLINUX="yes"
|
|||
SRC_CMDLINE="root=/dev/mmcblk1p2 rootwait console=ttyS2,115200n8 console=ttyGS0,115200n8 modules-load=dwc2,g_cdc"
|
||||
BOOT_FDT_FILE="ti/k3-am6232-pocketbeagle2.dtb"
|
||||
OPTEE_PLATFORM="k3-am62x"
|
||||
|
||||
function current_beagle_kernel_uboot() {
|
||||
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
|
||||
declare -g KERNEL_MAJOR_MINOR="6.12"
|
||||
declare -g KERNELBRANCH="branch:v6.12.49-ti-arm64-r56"
|
||||
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
|
||||
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
|
||||
}
|
||||
|
||||
#Until PB2 goes upstream, use this branch
|
||||
function post_family_config_branch_current__pocketbeagle2_use_beagle_kernel_uboot() {
|
||||
display_alert "$BOARD" " beagleboard (current branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
|
||||
current_beagle_kernel_uboot
|
||||
}
|
||||
|
||||
function post_family_config_branch_current-rt__pocketbeagle2_use_beagle_kernel_uboot() {
|
||||
display_alert "$BOARD" " beagleboard (current-rt branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
|
||||
current_beagle_kernel_uboot
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com
|
||||
#
|
||||
# This file is a part of the Armbian Build Framework
|
||||
# https://github.com/armbian/build/
|
||||
#
|
||||
|
||||
source "${BASH_SOURCE%/*}/include/k3_common.inc"
|
||||
|
||||
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
|
||||
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
|
||||
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
|
||||
|
||||
case "${BRANCH}" in
|
||||
|
||||
current | current-rt)
|
||||
declare -g KERNEL_MAJOR_MINOR="6.12"
|
||||
declare -g KERNELBRANCH="branch:v6.12.49-ti-arm64-r56"
|
||||
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
|
||||
declare -g KERNEL_DESCRIPTION="BeagleBoard.org (vendor) kernel"
|
||||
declare -g ATFBRANCH="tag:11.00.09"
|
||||
declare -g OPTEE_BRANCH="tag:4.6.0"
|
||||
declare -g TI_LINUX_FIRMWARE_BRANCH="tag:11.00.09"
|
||||
EXTRAWIFI="no"
|
||||
;;
|
||||
|
||||
esac
|
||||
Loading…
Reference in New Issue