On 15:49 Sun 15 Apr , Sascha Hauer wrote: > On Sun, Apr 15, 2012 at 01:47:10PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > On 11:53 Sun 15 Apr , Sascha Hauer wrote: > > > On Sun, Apr 15, 2012 at 03:31:42AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > On 22:13 Sat 14 Apr , Sascha Hauer wrote: > > > > > On Sat, Apr 14, 2012 at 06:11:23PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > > On 15:54 Fri 13 Apr , Sascha Hauer wrote: > > > > > > > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > > > > > > > --- > > > > > > > arch/arm/mach-imx/Kconfig | 7 +- > > > > > > > arch/arm/mach-imx/Makefile | 1 + > > > > > > > arch/arm/mach-imx/imx6.c | 71 + > > > > > > > arch/arm/mach-imx/include/mach/clock-imx6.h | 530 +++ > > > > > > > arch/arm/mach-imx/include/mach/devices-imx6.h | 46 + > > > > > > > arch/arm/mach-imx/include/mach/generic.h | 6 + > > > > > > > arch/arm/mach-imx/include/mach/imx-regs.h | 2 + > > > > > > > arch/arm/mach-imx/include/mach/imx6-anadig.h | 721 ++++ > > > > > > > arch/arm/mach-imx/include/mach/imx6-regs.h | 132 + > > > > > > > arch/arm/mach-imx/include/mach/imx6.h | 6 + > > > > > > > arch/arm/mach-imx/include/mach/iomux-mx6.h | 5630 +++++++++++++++++++++++++ > > > > > > > arch/arm/mach-imx/speed-imx6.c | 393 ++ > > > > > > > drivers/mci/Kconfig | 2 +- > > > > > > > include/asm-generic/barebox.lds.h | 7 +- > > > > > > > 14 files changed, 7551 insertions(+), 3 deletions(-) > > > > > > > create mode 100644 arch/arm/mach-imx/imx6.c > > > > > > > create mode 100644 arch/arm/mach-imx/include/mach/clock-imx6.h > > > > > > > create mode 100644 arch/arm/mach-imx/include/mach/devices-imx6.h > > > > > > > create mode 100644 arch/arm/mach-imx/include/mach/imx6-anadig.h > > > > > > > create mode 100644 arch/arm/mach-imx/include/mach/imx6-regs.h > > > > > > > create mode 100644 arch/arm/mach-imx/include/mach/imx6.h > > > > > > > create mode 100644 arch/arm/mach-imx/include/mach/iomux-mx6.h > > > > > > > create mode 100644 arch/arm/mach-imx/speed-imx6.c > > > > > > > > > > > > > > diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig > > > > > > > index 2f317c2..8a0979a 100644 > > > > > > > --- a/arch/arm/mach-imx/Kconfig > > > > > > > +++ b/arch/arm/mach-imx/Kconfig > > > > > > on IMX you could set the ARCH_BAREBOX_MAX_BARE_INIT_SIZE so you can check at > > > > > > the compilation that the code fit in sram > > > > > > > > > > No, there is no such limitation here. > > > > > > > > > > Please trim your answers. > > > > when you boot from internal boot from nand we have no limit? > > > > > > > > IIRC we have > > > > > > No, there is no limit, at least not when we use the real barebox size > > > instead of 0x40000 like you suggested. > > I mean to the BARE_INIT not barebox itself > > There is no bare_init section with internal boot. yes you are wight BARE_INIT_SIZE does not contain PRE_IMAGE maybe we need to allow such mechanism for it too Best Regards, J. > > Sascha > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox