Booting mx25 based device from SD and NOR
Sascha Hauer
s.hauer at pengutronix.de
Tue May 22 14:42:40 EDT 2012
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 |
More information about the barebox
mailing list