[U-Boot] [PATCH v2 0/3] am335x_evm: Switch to DT boot, add another platform

Tom Rini trini at ti.com
Wed Mar 13 15:20:15 CET 2013


The following is an update to Koen Kooi's original series that updates
support for the next beaglebone platform and switches to DT booting as
the default.

I want to spell out that part of the changes I've done here are adding
two variables to make it easier to control where we load our
kernel/dtb from.  For example, some distributions may place these on an
ext* partition while others may lump them into the FAT partition up
front for "easy" updating.  The first variable (bootpart) lets us
control that as well as which MMC device (SD card or eMMC) they are
grabbed from at all.  The second variable, bootdir lets us control where
we load the files from, within the device.  This is needed because
findfdt will tell us 'am335x-bone.dtb' but that might be /boot or it
might be top level.  We assume /boot but can easily override this with
uEnv.txt

Changes since v1:
- Add CONFIG_CMD_FS_GENERIC, use in parts 2 and 3
- As part of this, kill loaduimagefat since loaduimage uses the generic
  load command.
- Add loadfdt command rather than a direct call to load the fdt.

-- 
Tom



More information about the U-Boot mailing list