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. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> --- arch/arm/configs/imx_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v7_defconfig b/arch/arm/configs/imx_v7_defconfig index 5dcdff0638..c55df0357d 100644 --- a/arch/arm/configs/imx_v7_defconfig +++ b/arch/arm/configs/imx_v7_defconfig @@ -208,3 +208,4 @@ CONFIG_FS_FAT_LFN=y CONFIG_FS_UBIFS=y CONFIG_FS_UBIFS_COMPRESSION_LZO=y CONFIG_PNG=y +CONFIG_RELOCATABLE=y -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
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. Regards, Lucas > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > --- > arch/arm/configs/imx_v7_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/configs/imx_v7_defconfig b/arch/arm/configs/imx_v7_defconfig > index 5dcdff0638..c55df0357d 100644 > --- a/arch/arm/configs/imx_v7_defconfig > +++ b/arch/arm/configs/imx_v7_defconfig > @@ -208,3 +208,4 @@ CONFIG_FS_FAT_LFN=y > CONFIG_FS_UBIFS=y > CONFIG_FS_UBIFS_COMPRESSION_LZO=y > CONFIG_PNG=y > +CONFIG_RELOCATABLE=y _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
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. This option actually is selected by IMX_MULTI_BOARDS, see recently added ca3286135e ("arm: imx: Select RELOCATABLE on IMX_MULTI_BOARDS") Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox