[U-Boot] [RFC PATCH 1/3] add file with a default boot environment based heavily on Stephen Warrens recent tegra work.

Tom Rini
2014-02-24T20:07:49Z

On Mon, Feb 24, 2014 at 11:40:02AM -0700, Stephen Warren wrote:
> On 02/22/2014 01:20 AM, Dennis Gilmore wrote:
[snip]
> > I fully agree, we should be able to work it out later. I also renamed
> > it to bootpart since it is where we will boot from, which may or may
> > not be the root filesystem
>
> Just as some history, when I first wrote these boot scripts for Tegra, I
> was actually using that variable both inside the environment scripts to
> find/load boot.scr, and within boot.scr to set the kernel root=
> command-line option. More recently, I've moved to using root=PARTUUID=
> or root=UUID= on the kernel command-line, so rootpart has become less
> relevant, and indeed renaming it bootpart does make a lot more sense, as
> you say.

For distro, this, oh my yes, this, is pretty nearly a must. This
dislodged something in my brain which reminded me of a pain point we
have on some TI parts, which is which MMC device will the kernel have as
mmc0 vs mmc1 as because of regulartors, deferred probing and all of
that, it's board design dependent. But passing in root=UUID= like
commodity distros have done for ages makes this irrelevant. We need to
do this such that either can be used, probably as root= being something
that's given to us, rather than assumed by us. But I would be sad if
everyone stopped using root=UUID= and started using /dev/mmcblk* names
in the commodity distro area.

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140224/a255a03f/attachment.pgp>