- Subject: Re: Booting mx25 based device from SD and NOR
- From: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
- Date: Tue, 22 May 2012 20:42:40 +0200
- Cc: barebox@xxxxxxxxxxxxxxxxxxx
- In-reply-to: <CAONxwYOZtob20_ao-A-p2TXXLESsLLKadiARUX9drFK=nvJQcQ@mail.gmail.com>
- References: <CAONxwYOZtob20_ao-A-p2TXXLESsLLKadiARUX9drFK=nvJQcQ@mail.gmail.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
Hi Roberto,
On Tue, May 22, 2012 at 02:11:46PM +0200, Roberto Nibali wrote:
> Hi
>
> I have been trying to boot a customized mx25 based device using barebox and
> I seem to be missing a few basic pointers, I believe, since it does not
> work. I have attached my config and put my current patch-set online:
> http://pastebin.com/KUVAwWRk. It's based on git commit 'dadcf5bd8f715'.
>
> I don't know if the way of adding the boatloader to the SD card for later
> installing it onto NOR flash is the correct one. I currently issue a:
>
> sudo dd if=barebox.bin of=/dev/sdc bs=512 skip=2 seek=2 && sync
>
You have configured barebox for external boot mode. This is not suitable
for SD cards, you have to use internal bootmode instead. This requires
that you provide a dtd header, see for example the babbage board for how
to do this.
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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]