Re: [RFC 2/5] riscv: set fdtfile on Milk-V Mars

2024-03-10 Thread E Shattow
On Fri, Mar 8, 2024 at 2:57 PM Heinrich Schuchardt < heinrich.schucha...@canonical.com> wrote: ... > > I do not like this practice of force setting fdtfile environment > > variable. If I set fdtfile from u-boot prompt and saveenv, I expect that > > my action as the user will persist over a reboot

Re: [RFC 2/5] riscv: set fdtfile on Milk-V Mars

2024-03-08 Thread Heinrich Schuchardt
On 3/8/24 23:37, E Shattow wrote: Sharing the info from Mars CM Lite 4GB: EEPROM INFO Vendor : MILK-V Product full SN: MARC-V10-2340-D004E016-06DF data version: 0x2 PCB revision: 0xc1 BOM revision: A Ethernet MAC0 address: 6c:cf:39:00:83:11 Ethernet MAC1 address: 6c:cf:39:00:8

Re: [RFC 2/5] riscv: set fdtfile on Milk-V Mars

2024-03-08 Thread E Shattow
Sharing the info from Mars CM Lite 4GB: EEPROM INFO Vendor : MILK-V Product full SN: MARC-V10-2340-D004E016-06DF data version: 0x2 PCB revision: 0xc1 BOM revision: A Ethernet MAC0 address: 6c:cf:39:00:83:11 Ethernet MAC1 address: 6c:cf:39:00:83:12 EEPROM INFO I

[RFC 2/5] riscv: set fdtfile on Milk-V Mars

2024-03-03 Thread Heinrich Schuchardt
Set environment variable fdtfile to the correct value for the Milk-V Mars board. Signed-off-by: Heinrich Schuchardt --- .../visionfive2/starfive_visionfive2.c| 43 +-- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/board/starfive/visionfive2/starfive_visi