Hi Konstantin, On 26-01-06, Konstantin Kletschke wrote: > Dear barebox people, > Happy New Year everybody :-)
Thanks, happy new year to you too :) > I used up until scarthgap https://github.com/menschel-d/meta-barebox > > In our meta layer we have config in distro conf like this: > > ABREBOX_CONFIG:beaglebone-yocto = "omap_defconfig" > BAREBOX_CONFIG:pn-barebox-pbl:beaglebone-yocto = "am335x_mlo_defconfig" > BAREBOX_IMAGE_SRC:beaglebone-yocto = "images/barebox-am33xx-beaglebone.img" > BAREBOX_IMAGE_SRC:pn-barebox-pbl:beaglebone-yocto = > "images/barebox-am33xx-beaglebone-mlo.img" > RDEPENDS:barebox:beaglebone-yocto += "barebox-pbl" > COMPATIBLE_MACHINE:pn-barebox:beaglebone-yocto = "beaglebone-yocto" > COMPATIBLE_MACHINE:pn-barebox-pbl:beaglebone-yocto = "beaglebone-yocto" > PREFERRED_PROVIDER_virtual/bootloader = "barebox" > > And a append recipe mainly with patches creating our custom > configuration. > > Now I learned, barebox went into openembedded-core, this is great news! > > I ditched the meta-barebox, tried my best, needed to remove alle configs > regarding "-pbl" and compiled: > ERROR: Nothing RPROVIDES 'barebox-pbl' > (but /home/konsti/Melitta/scarthgap/meta/recipes-bsp/barebox/barebox.bb > RDEPENDS on or otherwise requires it) Which barebox version do you use? > Now I get several ~580kB img files in the deployment images directory, > "ours" seems to be barebox-am33xx-beaglebone.img. File size is plausible > for the ex barebox.bin and strings suggest our insidem2m stuff to > boot/tftp/nfs landed up in it. > > Where is the MLO part? Is barebox-am33xx-beaglebone.img the 1:1 > barebox.bin equivalent? Ahmad added the support for a single barebox binary: - https://lore.barebox.org/barebox/[email protected]/ IIRC the purpose of the patchset was exactly to fulfill an easier Yocto integration since the beaglebone is one of the oe-core real test hw. > We are used to create a partition table, first partition is vfat type > 0x0c, MLO and barebox.bin are put there, works. Since the single image approach targets only the SD/MMC boot, the standalone MLO image should be still possible. Regards, Marco > > Kind Regards > Konstantin Kletschke > > > -- > 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 > > [email protected] > http://www.inside-m2m.de > > Geschäftsführung: Michael Emmert, Derek Uhlig > HRB: 111204, AG Hannover > > > -- #gernperDu #CallMeByMyFirstName Pengutronix e.K. | | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
