Skip to content

am335x_evm: Switch to DT boot, add another platform

Tom Rini u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Don't add extra line in am335x_evm.h, note why we keep CONFIG_CMD_EXT2 (Peter)
- Update the dtb name for the new device (Matt, Nishanth, Koen)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3am335x_evm: add support for BeagleBone Black DT nameinclude/configs/am335x_evm.h+2 -03 replies
1/3am335x_evm: add support for BeagleBone Black DT name+0 -00 replies
2/3am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to envinclude/configs/am335x_evm.h+6 -41 reply
3/3am335x_evm: Add more variables and switch to DT booting.include/configs/am335x_evm.h+7 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMatt PorterPeter KorsgaardNishanth Menon
1/3A-b A-b A-b
1/3A-b A-b A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

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

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 v2:
- Don't add extra line in am335x_evm.h, note why we keep CONFIG_CMD_EXT2 (Peter)
- Update the dtb name for the new device (Matt, Nishanth, Koen)

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.

Signature · 1 line
Tom