From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: mx6: Enable MMC FS boot support
Date: Thu, 28 Apr 2016 01:28:52 +0200 [thread overview]
Message-ID: <57214B34.6040005@denx.de> (raw)
In-Reply-To: <20160427231647.GF19598@bill-the-cat>
On 04/28/2016 01:16 AM, Tom Rini wrote:
> On Thu, Apr 28, 2016 at 01:06:07AM +0200, Marek Vasut wrote:
>
>> Enable support for booting U-Boot image from filesystem instead of some
>> random offset on the SD card. This makes the board usable by putting the
>> u-boot.img to first partition of the SD card and writing the SPL this way:
>> $ dd if=u-boot-with-spl.imx of=/dev/sdX seek=2 bs=512
>
> Wait, you're still writing u-boot + SPL to the device and not just SPL,
> but it's still preferring the filesystem one over the appended one?
>
Ha, good point. I should've written the 'SPL' file instead, which is
just the SPL without U-Boot. I don't want to install U-Boot to random
offset on the SD card as it has the potential to corrupt data if the
u-boot binary changes in size.
If I install u-boot image to random offset 138 blocks from the start of
SD card, it will boot that, otherwise it will load from FS.
I will update the commit message with the correct info, sorry.
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2016-04-27 23:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-27 23:06 [U-Boot] [PATCH] ARM: mx6: Enable MMC FS boot support Marek Vasut
2016-04-27 23:16 ` Tom Rini
2016-04-27 23:28 ` Marek Vasut [this message]
2016-04-27 23:32 ` Robert Nelson
2016-04-27 23:41 ` Marek Vasut
2016-04-27 23:49 ` Robert Nelson
2016-04-28 0:02 ` Marek Vasut
2016-04-28 0:54 ` Tom Rini
2016-04-28 1:06 ` Robert Nelson
2016-04-28 12:02 ` Tom Rini
2016-04-28 2:24 ` Peng Fan
2016-04-28 5:59 ` Stefano Babic
2016-04-28 11:03 ` Marek Vasut
2016-04-28 13:36 ` Stefano Babic
2016-04-28 13:40 ` Marek Vasut
2016-04-28 18:06 ` Tom Rini
2016-04-28 18:29 ` Marek Vasut
2016-04-28 19:02 ` Tom Rini
2016-04-28 22:37 ` Marek Vasut
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=57214B34.6040005@denx.de \
--to=marex@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.