poudriere image creation for ARM architecture

I want to use poudriere, in order to create a custom pkg repository for use with an embedded ARMv7 SBC I own (Olimex A20-OLinuXino-LIME2, Allwinner A20 dual core Cortex-A7 processor, 1GB DDR3 RAM and 16GB eMMC flash memory) and to also create a custom image for the above mentioned SBC.

In order to do so, I installed ports-mgmt/poudriere-devel and installed and enabled emulators/qemu-user-static on a FreeBSD 14.0-RELEASE system.
# uname -a
FreeBSD DeathStar 14.0-RELEASE-p2 FreeBSD 14.0-RELEASE-p2 #0 releng/14.0-n265396-06497fbd52e2: Tue Dec 12 01:06:08 EET 2023 root@DeathStar:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
.

I have successfully managed to build some ports for testing.

In brief, these are the steps I followed, after configuring the /usr/local/etc/poudriere.conf configuration file. All commands are issued as root.
# poudriere jail -c -x -j armv7 -m git+https -a arm.armv7 -v releng/14.0 -K GENERIC
# poudriere jail -l
JAILNAME VERSION ARCH METHOD TIMESTAMP PATH
armv7 14.0-RELEASE-p4 1400097 4edf3b807 arm.armv7 git+https 2024-01-10 14:09:19 /var/poudriere/jails/armv7

# poudriere ports -c -m git+https -B main -p HEAD
# poudriere ports -l
PORTSTREE METHOD TIMESTAMP PATH
HEAD git+https 2024-01-10 13:03:35 /var/poudriere/ports/HEAD

And finally, I successfully build some pkgs listed in /usr/local/etc/poudriere.d/pkglist, by issuing the command
# poudriere bulk -j armv7 -p HEAD -f /usr/local/etc/poudriere.d/pkglist

So far, so good!

poudriere, supports the creation of custom images, through the poudriere-image(8) command, supporting several option through the -t flag, regarding the type of image to be created.
In my case, the image to be created, needs to support the u-boot boot loader and more precisely the sysutils/u-boot-olinuxino-lime2 boot loader.

What type of image should I pass to the -t flag and how should I tell poudriere to use the sysutils/u-boot-olinuxino-lime2 boot loader?

Thank you in advance for your time.
 
Back
Top