mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: barebox@lists.infradead.org
Subject: barebox tftp to 2k pagesize NAND
Date: Tue, 25 May 2010 14:14:15 +0200	[thread overview]
Message-ID: <4BFBBF17.8010504@eukrea.com> (raw)

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 ?

Thanks,
Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2010-05-25 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25 12:14 Eric Bénard [this message]
2010-05-25 13:18 ` Sascha Hauer
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=4BFBBF17.8010504@eukrea.com \
    --to=eric@eukrea.com \
    --cc=barebox@lists.infradead.org \
    /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