Kernel sources for BBB?

Anyone happen to know the latest kernel that fully supports the BeagleBone Black - Rev. C?

I’m a bit confused between: 1) GitHub - beagleboard/linux: The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux · GitHub, and 2) the read-only sources at Linux-OMAP Kernel - BeagleBoard which seems to be the official, but awfully slow.

Github and “the official” beagleboard sources differ in tags and so make me wonder if they don’t have the same patches. I could try vanilla kernel sources but sure they don’t have the patches for beagles. I just built branch ‘v6.12.34-ti-arm32-r12’ from GitHub - beagleboard/linux: The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux · GitHub and I see no signs of life.

Would be much easier if I knew which repo was the one to work with.

For the BeagleBone Black Rev C, we are shipping v6.12.x (lts), v6.18.x (lts), and v6.19.x.

You can use this repo for any of the shipping tags: https://github.com/RobertCNelson/linux-stable-rcn-ee/tags

Otherwise you can use this build script: GitHub - RobertCNelson/bb-kernel · GitHub

Choosing between these branches:

am33x-v6.12
am33x-v6.18
am33x-v6.19

Device tree’s are synced, from GitHub - beagleboard/BeagleBoard-DeviceTrees · GitHub

v6.18.x is the current default branch till next lts..

Regards,

1 Like

Ah, yet another repo. I’m just looking for kernel source as I’m cross-compiling Gentoo onto it. So if I get what you’re saying, I can use the “shipping tags” link you gave? I definitely want a LTS release and 6.18.x is that, but it’s arm64. Will the 6.18.21-arm64-k3-r29 tag work for BBB Rev. C?

arm64-k3 nope, that’s for arm64 devices..

BBB Rev C is AM335x, an arm32 device.. you can use mainline “omap2plus_defconfig” … or just grab the 6.18.21-bone26 tag from GitHub - RobertCNelson/linux-stable-rcn-ee · GitHub

which matches this tag: 6.18.21-bone26 rcn-ee_defconfig · RobertCNelson/linux-stable-rcn-ee@9339c1e · GitHub

Great, that was my concern too. Will run w/ 6.18.21-bone26, thanks.

Yes, to my mind the BBB, and arm in general, is just mainline linux. There is basic support for most of the AM335x hardware. The one area that isn’t mainline is the graphics, TI did do some kind of realise of the graphics, but it was never mainlined. Looks like someone started doing a mainline driver - but that project has been stalled for several years. So if you need the graphics to work then you’ll be stuck with old kernel versions. Otherwise it’s as @RobertCNelson said, there have been various spinning of the default kernel spun for the BBB. So just grab whichever version you need is easiest. Compelling the kernel from scratch can be done on a BBB, if you’ve installed the development environment (so GCC and the like). It’s takes several days to compile, and if you want a compressed kernel you need to limit the memory usage, as the BBB has limited memory. My guess is most people that compile the kernel do it on more capable machines that support the armv7 compilation tools.