From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?B?Um9ow6Fy?= Date: Mon, 11 Jan 2021 11:51:08 +0100 Subject: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime In-Reply-To: <20201223112130.31389-1-pali@kernel.org> References: <20201223112130.31389-1-pali@kernel.org> Message-ID: <20210111105108.wchxfpm7f56ddsdo@pali> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Stefan and Andre! Could you please look at this patch series and tell me what do you think about it? If it is fine or needs to take different approach? On Wednesday 23 December 2020 12:21:27 Pali Roh?r wrote: > 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(-) > > -- > 2.20.1 >