[Buildroot] Same 32-bit image for 64-bit and 32-bit platforms

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Dec 27 08:59:56 UTC 2021


Hello Juan,

On Mon, 27 Dec 2021 09:40:00 +0100
"Juan A. Rubio" <jarubio2001 at gmail.com> wrote:

> I'm looking for information on whether it's possible to produce and
> use the same Buildroot image and associated sdk for two different
> boards, one based on an imx6 and the other on imx8. Is this something
> that Buildroot supports at all? do I need two separate Buildroot
> environments/builds, one for the 32-bit imx6 and another for the
> 64-bit imx8?

You will need different Buildroot builds yes, but you can use a single
Buildroot source tree. Basically, your i.MX6 system will need one
Buildroot configuration (.config file / defconfig file) and your i.MX8
system will need another Buildroot configuration (another .config file
/ defconfig file).

You can build both configurations in parallel based on the same
Buildroot source tree using "out of tree" build, see
https://buildroot.org/downloads/manual/manual.html#_building_out_of_tree.

Hope this helps,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list