[PATCH] ARM: configs: imx_v7_defconfig: add missing RELOCATABLE

Marco Felsch m.felsch at pengutronix.de
Fri Oct 2 09:06:10 EDT 2020


On 20-10-02 14:07, Sascha Hauer wrote:
> On Fri, Oct 02, 2020 at 01:23:19PM +0200, Lucas Stach wrote:
> > On Fr, 2020-10-02 at 13:14 +0200, Marco Felsch wrote:
> > > All barebox images should be relocatable per default. The user needs to
> > > turn of this option on purpose rather than turning it on. Currently this
> > > option was selected by selecting MACH_CCMX51. Deselecting this board
> > > support ended in deselecting CONFIG_RELOCATABLE.
> > 
> > Shouldn't this rather be selected by IMX_MULTI_BOARDS or soemthing
> > similar? Otherwise one would need to find a ARCH_TEXT_BASE compatible
> > with all the enabled boards, which is probably a bit too much config
> > hell to dump onto the users.

Thought about the this solution too and seems to be better.

> This option actually is selected by IMX_MULTI_BOARDS, see recently added
> ca3286135e ("arm: imx: Select RELOCATABLE on IMX_MULTI_BOARDS")

I see, unfortunately it didn't made it into v2020.09.0. Pls, ignore this
patch.

Regards,
  Marco



More information about the barebox mailing list