From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Eric Bénard" <eric@eukrea.com>
Cc: barebox@lists.infradead.org
Subject: Re: barebox tftp to 2k pagesize NAND
Date: Tue, 25 May 2010 15:18:16 +0200 [thread overview]
Message-ID: <20100525131816.GN17272@pengutronix.de> (raw)
In-Reply-To: <4BFBBF17.8010504@eukrea.com>
On Tue, May 25, 2010 at 02:14:15PM +0200, Eric Bénard wrote:
> Hi,
>
> while running barebox on a i.MX25 which has 2k pagesize nand, I noticed
> it's not possible to do a tftp directly to NAND (tftp barebox.bin
> /dev/nand0.barebox for example).
>
> tftp try to write 512bytes packets to the NAND thus we get :
> offset 0x00000200 not page aligned
> when it tries to write the second packet.
>
> The workaround is :
> tftp to ram
> cp ram => nand
>
> Do you have any idea on how tof ix this problem ?
Use /dev/nand0.barebox.bb instead. You are not supposed to use the non
bad block aware devices directly.
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:[~2010-05-25 13:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-25 12:14 Eric Bénard
2010-05-25 13:18 ` Sascha Hauer [this message]
2010-05-25 13:27 ` Eric Bénard
2010-05-26 12:25 ` Ivo Clarysse
2010-05-26 12:52 ` Eric Bénard
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=20100525131816.GN17272@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=eric@eukrea.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