Yocto migration meta-barebox -> walnascar
Konstantin Kletschke
konstantin.kletschke at inside-m2m.de
Tue Jan 6 05:10:08 PST 2026
Hello Ahmad!
On Tue, Jan 06, 2026 at 12:33:21PM +0100, Ahmad Fatoum wrote:
> When enabled, the same barebox build generates two images:
> barebox-am33xx-beaglebone-mlo.mmc.img -> MLO
> barebox-am33xx-beaglebone.img -> barebox.bin
>
> Both are placed in the VFAT.
I do not necessaryly need two images, if booting is now done with a
combined one, which is new, if I understood this correct.
In my images deploy dir the following images showed up after my
migration to walnascar away from the meta-barebox layer which is not
used anymore.
barebox-am33xx-afi-gf.img
barebox-am33xx-baltos.img
barebox-am33xx-beaglebone.img
barebox-am33xx-myirtech.img
barebox-am33xx-phytec-phycard.img
barebox-am33xx-phytec-phycore-emmc.img
barebox-am33xx-phytec-phycore-no-eeprom.img
barebox-am33xx-phytec-phycore-no-spi-no-eeprom.img
barebox-am33xx-phytec-phycore-no-spi.img
barebox-am33xx-phytec-phycore.img
barebox-am33xx-phytec-phyflex-no-eeprom.img
barebox-am33xx-phytec-phyflex-no-spi-no-eeprom.img
barebox-am33xx-phytec-phyflex-no-spi.img
barebox-am33xx-phytec-phyflex.img
barebox-am35xx-pfc-750-820x.img
barebox-beagleboard.img
barebox-dt-2nd.img
And that is, when I wondered myself, if - in our case - barebox-am33xx-beaglebone.img
is going to be named MLO and put into the vfat boot partition or if I
have something missing or done wrong, which is absolutely possible, of
course!
So, no *mlo* file.
> For your old setup, you will need two recipes. Just define your own
> barebox.bb and barebox-pbl.bb recipes and inherit barebox in each and
> use different configs. All the core logic is in a barebox.bbclass to
> allow you to easily create your own recipes.
So only using this approach with two barebox.bb and barebox-pbl.bb I
would get an additional *mlo* file, right?
As said, if I can omit this approach this is fine by me.
Regards
Konsti
--
INSIDE M2M GmbH
Konstantin Kletschke
Berenbosteler Straße 76 B
30823 Garbsen
Telefon: +49 (0) 5137 90950136
Mobil: +49 (0) 151 15256238
Fax: +49 (0) 5137 9095010
konstantin.kletschke at inside-m2m.de
http://www.inside-m2m.de
Geschäftsführung: Michael Emmert, Derek Uhlig
HRB: 111204, AG Hannover
More information about the barebox
mailing list