debugging on board

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Apr 30 11:25:27 EDT 2012


On 17:08 Wed 25 Apr     , Gabriel Tisan wrote:
> On Fri, Apr 6, 2012 at 4:59 AM, Jean-Christophe PLAGNIOL-VILLARD
> <plagnioj at jcrosoft.com> wrote:
> > On 11:27 Thu 05 Apr     , Sascha Hauer wrote:
> >> On Thu, Apr 05, 2012 at 09:06:30AM +0200, Gabriel Tisan wrote:
> >> > I use external boot mode from NAND. I choosed
> >> > CONFIG_NAND_IMX_BOOT_512_2K although I have a flash with 2k page size.
> >>
> >> Try 'make barebox.S' and have a look at the resulting barebox.S file.
> >> Everything including
> >>
> >> reset
> >> __mmu_cache_flush
> >> imx_nand_load_image
> >>
> >> must fit into the first 2k of memory. We currently do not catch this
> >> (though we could using a seperate linker section for this). If your
> >> lowlevel init code is too big then you can easily exceed this
> >> limitation.
> > we can now I add an option for this
> >
> Which commit include this option ?
> 
> Actually which is the last stable barebox ? I've got the version from
> master with last commit 96a43ca "pxa27x_udc: Fix compilation warning"
> from 23 Mar 2012.
you need to check the commits that put the bare_init size and if you can not
use it do simthing similar for the pre_image

Best Regards,
J.



More information about the barebox mailing list