Skip to content

Support building a second Barebox config (incl. BBB)

Peter Korsgaard buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest0 of 7 patches 0 repliesNew

Patches in v4 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 0/7] Support building a second Barebox config (incl. BBB)
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Quoted 15 lines
Quoted 6 lines

If I copy your images (MLO, barebox.bin) directly to the FAT partition, everything starts as expected. But I dd boot.vfat, the system doesn't boot and shows only CCCCC, though I have no problems mounting the first partition in Linux.

sudo dd if=/tmp/boot.vfat of=/dev/sdd1 bs=1M

So this means that the Barebox build is OK, and only the genimage part is causing problems. But this doesn't prevent from merging the barebox aspects of the series (patches 1 to 6), which are really the important part. The last patch is really more a defconfig proving that it works, I am not even sure that in practice we want to merge a defconfig for BeagleBone that is just different from beaglebone_defconfig in the fact that it uses Barebox instead of U-Boot. Peter?

Quoted 4 lines

Peter, I think you looked at using genimage on AM335x, what were your conclusion? On OMAP3, there were some very strict geometry restrictions in the romcode, but I don't remember if your conclusion is that they also apply to AM335x or not.

The rom code afaik checks that the partition size matches exactly with the size of the fat file system, so just dd'ing a fat fs image to an existing partition is unlikely to work:

https://groups.google.com/forum/#!topic/beagleboard/ro5k5r4Cuq4

Signature · 1 line
Bye, Peter Korsgaard