From: Gabriel Tisan <gabriel.tisan@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: debugging on board
Date: Thu, 5 Apr 2012 14:28:58 +0200 [thread overview]
Message-ID: <CAD9ZU8BmxwrSDB18DukqshH8C1mKq+=WzxVsrw232x2hsce+Ug@mail.gmail.com> (raw)
In-Reply-To: <20120405092738.GB3852@pengutronix.de>
So, the opcodes from the start of the file barebox.S until
__mmu_cache_flush(inclusive) including
reset & imx_nand_load_image make 1372 bytes, lower than 2K.
Regards,
Gabriel
On Thu, Apr 5, 2012 at 11:27 AM, Sascha Hauer <s.hauer@pengutronix.de> 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.
>
> 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-04-05 12:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 6:11 Gabriel Tisan
2012-04-05 6:33 ` Sascha Hauer
2012-04-05 6:43 ` Gabriel Tisan
2012-04-05 6:54 ` Sascha Hauer
2012-04-05 7:06 ` Gabriel Tisan
2012-04-05 9:27 ` Sascha Hauer
2012-04-05 12:28 ` Gabriel Tisan [this message]
2012-04-05 16:21 ` Sascha Hauer
2012-04-06 2:59 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-25 15:08 ` Gabriel Tisan
2012-04-30 15:25 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAD9ZU8BmxwrSDB18DukqshH8C1mKq+=WzxVsrw232x2hsce+Ug@mail.gmail.com' \
--to=gabriel.tisan@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox