From: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
To: barebox@lists.infradead.org
Subject: Re: storing barebox to flash /dev/nand0
Date: Fri, 10 Sep 2010 11:19:02 +0200 [thread overview]
Message-ID: <4C89F806.9050002@embtoolkit.org> (raw)
In-Reply-To: <AANLkTi=M-LyNQqYmBmrMivx-Ymfw3PQJvXvZFLjJ_rz6@mail.gmail.com>
On 09/10/2010 11:01 AM, Belisko Marek wrote:
> Hi,
>
> I'm porting barebox to mini2440 board.
Good news, I have this board and use a fork of u-boot from
http://repo.or.cz/w/u-boot-openmoko/mini2440.git
which is not maintained any more and it is not in mainline u-boot.
> I can boot barebox from SDRAM
> by loading to TEXT_BASE address.
> I would like to test also booting from NAND flash but I can't find a
> way how to store barebox loaded in RAM
> to flash.
>
> I try tftp barebox.bin /dev/nand0 but if failed with:
>
> TFTP from server 10.146.1.21 ('barebox.bin' -> '/dev/nand0')
> offset 0x00000200 not page aligned
> write: Invalid argument
>
> tftp failed: error -22
>
> How can I properly store to flash?
>
>
I am not familiar with barebox (I discovered it recently), but you seem
to wrongly
create your nand image (think page size, eraze block size, etc...)
> Thank's in advance,
>
> Marek
>
>
Best regards,
AWG
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-09-10 9:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 9:01 storing barebox to flash /dev/nand0 Belisko Marek
2010-09-10 9:19 ` Abdoulaye Walsimou Gaye [this message]
2010-09-10 10:01 ` Belisko Marek
2010-09-10 12:31 ` Abdoulaye Walsimou Gaye
2010-09-10 16:01 ` Robert Schwebel
2010-09-11 11:02 ` Belisko Marek
2010-09-10 9:27 ` Juergen Beisert
2010-09-10 9:53 ` Belisko Marek
2010-09-10 10:30 ` Juergen Beisert
2010-09-10 10:46 ` Belisko Marek
2010-09-10 11:01 ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-10 11:07 ` Belisko Marek
2010-09-10 9:27 ` 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=4C89F806.9050002@embtoolkit.org \
--to=awg@embtoolkit.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.