So this is the tool we use to generate all the Production Images, due to design of my build farm, i do everything in 2 stages…
For example, looking at: Debian 11.x (Bullseye) - Monthly Snapshot - 2023-10-07 , specifically:
Media AM335x Minimal Snapshot
microSD Download am335x-debian-11.2-minimal-armhf-2022-01-01-2gb.img.xz 2
microSD sha256sum bea213675ed23bd551db55702dc3c1d34db23ed57493ebb8ff77953914a880ce
https://rcn-ee.net/rootfs/bb.org/testing/2022-01-01/bullseye-minimal/
Index of /rootfs/bb.org/testing/2022-01-01/bullseye-minimal
[ICO] Name Last modified Size Description
[PARENTDIR] Parent Directory -
[ ] am57xx-debian-11.2-minimal-armhf-2022-01-01-2gb.bmap 2022-01-01 15:33 4.0K
[ ] am57xx-debian-11.2-minimal-armhf-2022-01-01-2gb.img.xz 2022-01-01 14:03 207M
[ ] am57xx-debian-11.2-minimal-armhf-2022-01-01-2gb.img.xz.sha256sum 2022-01-01 15:34 121
[ ] am335x-debian-11.2-minimal-armhf-2022-01-01-2gb.bmap 2022-01-01 15:32 4.0K
[ ] am335x-debian-11.2-minimal-armhf-2022-01-01-2gb.img.xz 2022-01-01 14:03 207M
[ ] am335x-debian-11.2-minimal-armhf-2022-01-01-2gb.img.xz.sha256sum 2022-01-01 15:33 121
[ ] debian-11.2-minimal-armhf-2022-01-01.tar.xz 2022-01-01 14:28 199M
[ ] debian-11.2-minimal-armhf-2022-01-01.tar.xz.sha256sum 2022-01-01 14:28 110
1: Build generic image - (Currently a bank of BeagleBoard-x15’s, but you can use qemu…)
git clone https://github.com/RobertCNelson/omap-image-builder.git
cd ./omap-image-builder/
./RootStock-NG.sh -c configs/bb.org-debian-bullseye-minimal-v5.10-ti-armhf.conf
This will generate: debian-11.2-minimal-armhf-2022-01-01.tar.xz
2: Convert Generic to BeagleBone specific, (big x86 server…)
sudo ./setup_sdcard.sh --img-4gb am335x-debian-11.2-iot-armhf-2022-01-01 --dtb beaglebone --distro-bootloader --enable-cape-universal --enable-uboot-disable-pru --enable-bypass-bootup-scripts
Which gives us the final: am335x-debian-11.2-minimal-armhf-2022-01-01-2gb.img.xz
This is the config file that generates above:
Regards,