mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: Ivo Clarysse <ivo.clarysse@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: barebox tftp to 2k pagesize NAND
Date: Wed, 26 May 2010 14:52:57 +0200	[thread overview]
Message-ID: <4BFD19A9.1090402@eukrea.com> (raw)
In-Reply-To: <AANLkTikN_n1Csdd-2VsLPestpdr0Z1ycSnI2Bpzke3_Z@mail.gmail.com>

Hi Ivo,

Le 26/05/2010 14:25, Ivo Clarysse a écrit :
> On Tue, May 25, 2010 at 2:14 PM, Eric Bénard<eric@eukrea.com>  wrote:
> [...]
>> 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).
> [...]
>
> Eric,
>
>    Are you able to boot from 2k pagesize NAND ?
>
yes but I'm using internal boot mode.

>    I only have 512byte pagesize NAND, but shouldn't
> nand_imx.c:imx_nand_load_image(..) have something
> like:
>
> #ifdef CONFIG_ARCH_IMX25
>          if (readl(IMX_CCM_BASE + CCM_RCSR)&  (1<<  8))
>                  host.pagesize_2k = 1;
>          else
>                  host.pagesize_2k = 0;
> #endif
>
yes something like this should be necessary for direct NAND boot.

Eric

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

      reply	other threads:[~2010-05-26 12:53 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
2010-05-25 13:27   ` Eric Bénard
2010-05-26 12:25 ` Ivo Clarysse
2010-05-26 12:52   ` Eric Bénard [this message]

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=4BFD19A9.1090402@eukrea.com \
    --to=eric@eukrea.com \
    --cc=barebox@lists.infradead.org \
    --cc=ivo.clarysse@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