Skip to content

arm: mvebu: Espressobin: Set default env values at runtime

Pali Rohár u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3env: Allow to set default_environment[] from board code via compile option DEFAULT_ENV_IS_RWinclude/env_default.h include/env_internal.h+6 -00 replies
2/3arm: mvebu: Espressobin: Set default value for $fdtfile env variableboard/Marvell/mvebu_armada-37xx/board.c include/configs/mvebu_armada-37xx.h+27 -80 replies
3/3arm: mvebu: Espressobin: Set default value for $ethNaddr env variableboard/Marvell/mvebu_armada-37xx/board.c include/configs/mvebu_armada-37xx.h+23 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndre Heider
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

This patch series set default env values of $fdtfile and $ethNaddr for Espressobin board at runtime.

It fixes two main issues on Espressobin board that 'env default -a' completely erases permanent board MAC addresses and also erase $fdtfile variable which is needed for booting Linux kernel via distro boot.

Lot of people were complaining about erasing permanent MAC addresses by U-boot on this board and due to this issue some linux distributions started using static hardcoded MAC addresses for all Espressobin boards to workaround this issue. Apparently erase of MAC addresses or usage of static hardcoded value caused more issues on network (e.g. inability to connect two of these boards to the same network).

Pali Roh?r (3):
env: Allow to set default_environment[] from board code via compile
option DEFAULT_ENV_IS_RW
arm: mvebu: Espressobin: Set default value for $fdtfile env variable
arm: mvebu: Espressobin: Set default value for $ethNaddr env variable

 board/Marvell/mvebu_armada-37xx/board.c | 41 ++++++++++++++++++++-----
 include/configs/mvebu_armada-37xx.h     | 17 +++++++++-
 include/env_default.h                   |  2 ++
 include/env_internal.h                  |  4 +++
 4 files changed, 56 insertions(+), 8 deletions(-)
Signature · 1 line
2.20.1