From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Formatting bootable SD, freescale platform
Date: Fri, 10 Feb 2012 08:39:22 +0100 [thread overview]
Message-ID: <201202100839.23033.marek.vasut@gmail.com> (raw)
In-Reply-To: <CAF3Fs+M57XemGVhWcoyhLQ_JhOnSf2HosURK8RK2a6qNmQghVA@mail.gmail.com>
> 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.
> ----
next prev parent reply other threads:[~2012-02-10 7:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-09 23:06 [U-Boot] Formatting bootable SD, freescale platform Joe Kulikauskas
2012-02-10 7:39 ` Marek Vasut [this message]
2012-02-10 16:58 ` McClintock Matthew-B29882
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=201202100839.23033.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox