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

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 ?

  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

(For mainline inclusion, I'd propose to rework that part, to group
i.MX25 with i.MX35, and i.MX21 with i.MX27)

Best regards,

Ivo.

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

  parent reply	other threads:[~2010-05-26 12:25 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 [this message]
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=AANLkTikN_n1Csdd-2VsLPestpdr0Z1ycSnI2Bpzke3_Z@mail.gmail.com \
    --to=ivo.clarysse@gmail.com \
    --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