They are the same…
Building is a 2 step process, run a specific config file and then build for your device… see here for hints omap-image-builder/Ubuntu_22.04.md at master · RobertCNelson/omap-image-builder · GitHub
Thank you. I saw that but judging from the name Ubuntu 22.04 I thought it was going to boot Ubuntu on the BBB. Ubuntu runs on Debian is that why it is called that or is the omap script meant to run on an Ubuntu host? Questions like that are why I need a tutorial or some such. I would love to attend a seminar or class by you guys.
Question 2: how do I change the version of Debian like to 11.8 and
3: how do I change the version of Linux
4: how would I add services, assuming I started with a minimal Debian
The ubuntu one is just a quick hint…
For Debian 11.x and 12.x options and more, look at al the example configs:
The images listed here:
Network
We migrated from connman to Debian Systemd-Networkd
debian@BeagleBone:~$ sudo networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth0 ether routable configured
3 usb0 gadget no-carrier configuring
4 usb1 gadget no-carrier configuring
5 can0 can off unmanaged
6 can1 can off unmanaged
6 links listed.
Configuration files
eth0 -> /etc/systemd/network/eth0.network
usb0 (Windows - 192.168.7.x) -> /etc/…
Minimal Snapshot → bb.org-debian-bullseye-minimal-v5.10-ti-armhf.conf
IOT Snapshot → bb.org-debian-bullseye-iot-v5.10-ti-armhf.conf
Xfce Desktop Snapshot → bb.org-debian-bullseye-xfce-v5.10-ti-armhf.conf
This generates a basic rootfs, for finalization for the BBB, i run:
sudo ./setup_sdcard.sh --img-${filesize} am335x-${export_filename} --dtb beaglebone --distro-bootloader --enable-cape-universal --enable-uboot-disable-pru --enable-bypass-bootup-scripts
kernel
So looking at: omap-image-builder/configs/bb.org-debian-bullseye-minimal-v5.10-ti-armhf.conf at master · RobertCNelson/omap-image-builder · GitHub
I’ve got this hard-wired for v5.10.x-ti:
bbb.io-kernel-5.10-ti \
If you want to change it… here are all my optional channel you could choose:
# This file is autogenerated. Do not edit!
Source: bbb.io-kernel
Section: misc
Priority: optional
Maintainer: Robert Nelson <robertcnelson@gmail.com>
Build-Depends:
debhelper-compat (= 13)
Standards-Version: 4.5.0
Rules-Requires-Root: no
Package: bbb.io-kernel-tasks
Architecture: armhf
Depends:
tasksel
, ${misc:Depends}
Description: BeagleBoard.org Kernel Branches
This package contains tasksel information for the BeagleBoard.org Kernel Branch.
Package: bbb.io-kernel-4.14-ti-xenomai
Section: metapackages
This file has been truncated. show original
along with almost any kernel you want…
https://repos.rcn-ee.net/debian/pool/main/l/linux-upstream/
if you want to provide your own kernel, you can use openbeagle.org ’s ci to generate a apt feed:
https://beagleboard.beagleboard.io/ti-linux-kernel-6.6.y-arm32/pool/
or anything else… Really just need a linux-image*.deb file for your target…
Servcies:
However you want, most unique services in Debian are easy to enable, i have my own perfered list of options for BeagleBoard.org default images:
systemd_tweaks () {
echo "Log: (chroot): systemd_tweaks"
#We have systemd, so lets use it..
if [ ! "x${rfs_use_systemdnetworkd}" = "x" ] ; then
if [ ! "x${rfs_use_systemdresolved}" = "x" ] ; then
apt-get install -y -q systemd-resolved || true
fi
fi
#systemd v215: systemd-timesyncd.service replaces ntpdate
#enabled by default in v216 (not in jessie)
if [ -f /lib/systemd/system/systemd-timesyncd.service ] || [ -f /usr/lib/systemd/system/systemd-timesyncd.service ] ; then
echo "Log: (chroot): enabling: systemd-timesyncd.service"
systemctl enable systemd-timesyncd.service || true
#systemd v232: (Debian Stretch): Legacy...
touch /var/lib/systemd/clock
#if systemd-timesync user exits, use that instead. (this user was removed in later systemd's)
This file has been truncated. show original
Regards,
1 Like