[U-Boot] Formatting bootable SD, freescale platform

Marek Vasut marek.vasut at gmail.com
Fri Feb 10 08:39:22 CET 2012


> 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?

Google for p1010rdb SD boot?

M

> 
> 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_P101
> 0/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.
> ----


More information about the U-Boot mailing list