-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add initial support for BeagleBoard PocketBeagle2 #7897
base: main
Are you sure you want to change the base?
Conversation
#Texas Instruments AM62 dual core 1GB USB2 DDR4 | ||
|
||
BOARD_NAME="PocketBeagle 2" | ||
BOARDFAMILY="k3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k3
family...
TIBOOT3_BOOTCONFIG="am6232_pocketbeagle2_r5_defconfig" | ||
TIBOOT3_FILE="tiboot3-am62x-hs-fs-evm.bin" | ||
DEFAULT_CONSOLE="serial" | ||
KERNEL_TARGET="edge" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
edge
branch....
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel | ||
declare -g KERNEL_MAJOR_MINOR="6.12" | ||
declare -g KERNELBRANCH="branch:v6.12.9-ti-arm64-r21" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... changing the k3
edge
family, for a specific board.
This can't be; it will cause multiple versions of the same kernel package to be produced.
This is "fine" for image builds, but once deployed to an apt repo it will cause mayhem.
Either:
- take only the exact patches needed for this board and patch the k3 family, making sure they don't impact the other boards
- create a specific branch (eg not
edge
orcurrent
) just for this board - set a different
LINUXFAMILY
-- egk3-pb2
-- in the hook. which will cause a completely separate kernel package. (I would do this for now).
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel | ||
declare -g KERNEL_MAJOR_MINOR="6.12" | ||
declare -g KERNELBRANCH="branch:v6.12.9-ti-arm64-r21" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel | |
declare -g KERNEL_MAJOR_MINOR="6.12" | |
declare -g KERNELBRANCH="branch:v6.12.9-ti-arm64-r21" | |
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel | |
declare -g KERNEL_MAJOR_MINOR="6.12" | |
declare -g KERNELBRANCH="branch:v6.12.9-ti-arm64-r21" | |
declare -g LINUXFAMILY="k3-pb2" # Separate kernel package from the regular `k3` family |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! For my own understanding, what's the benefit of declaring a kernel family branch like this? Is it for the CI caching when building for multiple boards?
Hey All,
Let's try this again. Apologies for the last force push, I cleaned it up now so it's a CSC file only.
This PR adds support for the BeagleBoard PocketBeagle 2.
Features, schematics, and purchase links can be found on the board page[0].
Notable features:
Thanks! and especially many thanks to @glneo for his patience.
[0] https://www.beagleboard.org/boards/pocketbeagle-2
How Has This Been Tested?
Build/Boot tested Bookworm CLI/Minimal on Edge(v6.12) kernel
Build/Boot tested Noble CLI/Minimal on Edge(v6.12) kernel
UART works
Checklist:
My code follows the style guidelines of this project
I have performed a self-review of my own code
My changes generate no new warnings
Any dependent changes have been merged and published in downstream modules