[U-Boot] [PATCH] omap3: overo: Select fdtfile for expansion board

Ash Charles ashcharles at gmail.com
Sat Jun 7 22:11:25 CEST 2014


On Sat, Jun 7, 2014 at 10:48 AM, Tom Rini <trini at ti.com> wrote:
> In this case it might be harder to do this in a shell cmd.  But we
> _must_ check for fdtfile being unset and only setenv if not already set.
> And then drop fdtfile from the config file.

Stefan and Tom,

Thanks both for your comments and suggestions.  I agree that fdtfile
should only be set if it is currently unset---I'll send an updated
patch.
There is actually already a mechanism for environment variables to be
set by the board eeprom [1][2] so an expansion board could certainly
set the desired fdtfile name.  The challenge (and my biggest
motivation for writing the patch) is making sure we select a dtb for
either 37xx (Overo Storm) or 35xx (non-storm) as otherwise Linux
doesn't boot.

--Ash
[1] http://elinux.org/BeagleBoardPinMux#Expansion_boards
[2] https://github.com/gumstix/meta-gumstix-extras/blob/dylan/recipes-core/i2c-tools/omap3-writeprom/writeprom.sh


More information about the U-Boot mailing list