public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Formatting bootable SD, freescale platform
@ 2012-02-09 23:06 Joe Kulikauskas
  2012-02-10  7:39 ` Marek Vasut
  2012-02-10 16:58 ` McClintock Matthew-B29882
  0 siblings, 2 replies; 3+ messages in thread
From: Joe Kulikauskas @ 2012-02-09 23:06 UTC (permalink / raw)
  To: u-boot

Hello,

Does anybody happen to know a reference with _details_ of how to format and
mkfs an SD card to be bootable for freescale platform?

Background:  I'm using a freescale utility (
https://github.com/kergoth/boot-format), but it fails at runtime, unhappy
with my SD MBR.  Console output is shown below.

I've run fdisk/mkfs with various tweaks, getting FAT16+ext2 partitions per
the references I've found (
http://www.freescalewiki.com/index.php?title=Getting_started_Guide_for_P1010/P1014,
http://cache.freescale.com/files/32bit/doc/app_note/AN3659.pdf).  But
boot_format still bails out.

Thanks in advance, Joe K.
----
> sudo ./boot_format config_ddr3_1gb_p1010rdb_800M.dat uboot.bin -sd
/dev/sdb1
...
Read MBR from SDCard:

0x0000: eb 00 90 20 20 20 20 20 20 20 20 00 02 40 01 00
0x0010: 02 00 02 00 00 f8 eb 00 3f 00 40 00 89 00 00 00
0x0020: 77 9f 3a 00 80 00 29 a5 7b f7 7b 00 00 00 00 00
0x0030: 00 00 00 00 00 00 46 41 54 31 36 20 20 20 00 00
0x0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
...
================== MBR ==================
boot_ind        = 0x0
start_head    = 0x0
start_cylesec    = 0x0
part_type    = 0x0
end_head        = 0x0
end_cylsec    = 0x0
rel_sectors    = 0x0
total_sectors    = 0x0
=========================================
It is not a valid MBR.
----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-10 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09 23:06 [U-Boot] Formatting bootable SD, freescale platform Joe Kulikauskas
2012-02-10  7:39 ` Marek Vasut
2012-02-10 16:58 ` McClintock Matthew-B29882

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox