debugging on board

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Apr 5 22:59:13 EDT 2012


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

Best Regards,
J.



More information about the barebox mailing list