From: Sascha Hauer <s.hauer@pengutronix.de>
To: Gabriel Tisan <gabriel.tisan@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: debugging on board
Date: Thu, 5 Apr 2012 11:27:38 +0200 [thread overview]
Message-ID: <20120405092738.GB3852@pengutronix.de> (raw)
In-Reply-To: <CAD9ZU8Ce_s5pq8Y6wm5dXo_rv-fg2pYx1O+T9bh+7Kq088ySFA@mail.gmail.com>
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 9:27 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 [this message]
2012-04-05 12:28 ` Gabriel Tisan
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=20120405092738.GB3852@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=gabriel.tisan@gmail.com \
/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