Skip to contentSkip to conversation

arm: mvebu: Initial ESPRESSOBin-Ultra board support

PATCH Gérald Kerma 2 participants 3 messages Aug 14, 2021 – Aug 16, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Héllo,

Quoted 11 lines

Message: 2
Date: Fri, 13 Aug 2021 12:03:57 +0200
From: Luka Kovacic<[email protected]>
To: Pali Roh?r<[email protected]> Cc:[email protected], Robert Marko<[email protected]>,
Luka Perkov<[email protected]>, Marek Behun <[email protected]>,[email protected],[email protected], [email protected],[email protected]
Subject: Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra
board support
Message-ID:

Quoted 42 lines
	<CADZsf3buKpgUJq_2yP1zakQbf0Hoq_4oPLdi69_d+qoR+Hbn0w@mail.gmail.com>

Content-Type: text/plain; charset="UTF-8"

Hello Pali,

Quoted 36 lines · Pali Roh?r
Quoted 34 lines · On Friday 13 August 2021 01:39:38 Luka Kovacic wrote:

Add initial support for the ESPRESSOBin-Ultra board from Globalscale Technologies, Inc.

The board is based on the 64-bit dual-core Marvell Armada 3720 SoC. Peripherals:
- 5 Gigabit Ethernet ports (WAN has PoE, up to 30W, Topaz 6341 switch)
- RTC clock (PCF8563)
- USB 3.0 port
- USB 2.0 port
- 4x LED
- UART over Micro-USB
- M.2 slot (2280)
- Mini PCI-E slot

Additionally, automatic import of the Marvell hw_info parameters is enabled via the recently added mac command for A37XX platforms. The parameters stored in Marvell hw_info are usually the board serial number and MAC addresses.

Cc Luka Perkov<[email protected]>
Cc Robert Marko<[email protected]>
---
  arch/arm/dts/Makefile                         |   1 +
  .../arm/dts/armada-3720-espressobin-ultra.dts | 114 ++++++++++
  arch/arm/dts/armada-3720-espressobin.dts      | 199 +----------------
  arch/arm/dts/armada-3720-espressobin.dtsi     | 210 ++++++++++++++++++
  board/Marvell/mvebu_armada-37xx/MAINTAINERS   |   8 +
  board/Marvell/mvebu_armada-37xx/board.c       |  92 +++++++-
  .../mvebu_espressobin-ultra-88f3720_defconfig |  93 ++++++++
  7 files changed, 514 insertions(+), 203 deletions(-)

create mode 100644 arch/arm/dts/armada-3720-espressobin-ultra.dts create mode 100644 arch/arm/dts/armada-3720-espressobin.dtsi create mode 100644 configs/mvebu_espressobin-ultra-88f3720_defconfig

...

Thanks, all, for this job.

I am available for testing (if needed) on EspressoBin V7, with eMMC, and EspressoBin Ultra.

I have issue on EspressoBin Ultra, with the v2 patch for EspressoBin-Ultra, on OpenWrt 21.02-RC, fw_printenv do not works... (CRC Error) I have the same issue with the Marvell (GlobalScale) u-Boot, factory and upgraded version.

Environments variables are correctly managed from the u-Boot itself.

Regards,
Gérald Kerma

PS : I am only registered to the digest, so I hope my mail will not be disturbing...

#2 lore raw

Hello Gerald,

Quoted 54 lines · Gérald Kerma

Héllo,

Quoted 52 lines

Message: 2
Date: Fri, 13 Aug 2021 12:03:57 +0200
From: Luka Kovacic<[email protected]>
To: Pali Roh?r<[email protected]> Cc:[email protected], Robert Marko<[email protected]>,
Luka Perkov<[email protected]>, Marek Behun <[email protected]>,[email protected],[email protected], [email protected],[email protected]
Subject: Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra
board support
Message-ID:

      <CADZsf3buKpgUJq_2yP1zakQbf0Hoq_4oPLdi69_d+qoR+Hbn0w@mail.gmail.com>

Content-Type: text/plain; charset="UTF-8"

Hello Pali,

Quoted 35 lines · Pali Roh?r
Quoted 34 lines · On Friday 13 August 2021 01:39:38 Luka Kovacic wrote:

Add initial support for the ESPRESSOBin-Ultra board from Globalscale Technologies, Inc.

The board is based on the 64-bit dual-core Marvell Armada 3720 SoC. Peripherals:
- 5 Gigabit Ethernet ports (WAN has PoE, up to 30W, Topaz 6341 switch)
- RTC clock (PCF8563)
- USB 3.0 port
- USB 2.0 port
- 4x LED
- UART over Micro-USB
- M.2 slot (2280)
- Mini PCI-E slot

Additionally, automatic import of the Marvell hw_info parameters is enabled via the recently added mac command for A37XX platforms. The parameters stored in Marvell hw_info are usually the board serial number and MAC addresses.

Cc Luka Perkov<[email protected]>
Cc Robert Marko<[email protected]>
---
  arch/arm/dts/Makefile                         |   1 +
  .../arm/dts/armada-3720-espressobin-ultra.dts | 114 ++++++++++
  arch/arm/dts/armada-3720-espressobin.dts      | 199 +----------------
  arch/arm/dts/armada-3720-espressobin.dtsi     | 210 ++++++++++++++++++
  board/Marvell/mvebu_armada-37xx/MAINTAINERS   |   8 +
  board/Marvell/mvebu_armada-37xx/board.c       |  92 +++++++-
  .../mvebu_espressobin-ultra-88f3720_defconfig |  93 ++++++++
  7 files changed, 514 insertions(+), 203 deletions(-)

create mode 100644 arch/arm/dts/armada-3720-espressobin-ultra.dts create mode 100644 arch/arm/dts/armada-3720-espressobin.dtsi create mode 100644 configs/mvebu_espressobin-ultra-88f3720_defconfig

Quoted 6 lines
Quoted 1 line
Quoted 1 line

...

Thanks, all, for this job.

I am available for testing (if needed) on EspressoBin V7, with eMMC, and EspressoBin Ultra.

Thanks for offering your help. Can you test the following patchset (v4), when it's out,
as some implementation issues still have to be resolved here?

Quoted 6 lines

I have issue on EspressoBin Ultra, with the v2 patch for EspressoBin-Ultra, on OpenWrt 21.02-RC, fw_printenv do not works... (CRC Error)
I have the same issue with the Marvell (GlobalScale) u-Boot, factory and upgraded version.

Did you specify the U-Boot environment location correctly in the fw_printenv config?

Quoted 7 lines

Environments variables are correctly managed from the u-Boot itself.

Regards,
Gérald Kerma

PS : I am only registered to the digest, so I hope my mail will not be disturbing...

Kind regards,
Luka

#3 lore raw

Héllo Luka,

Le 16/08/2021 à 10:50, Luka Kovacic a écrit :

Quoted 56 lines

Hello Gerald,

Quoted 53 lines · Gérald Kerma

Héllo,

Quoted 52 lines

Message: 2
Date: Fri, 13 Aug 2021 12:03:57 +0200
From: Luka Kovacic<[email protected]>
To: Pali Roh?r<[email protected]> Cc:[email protected], Robert Marko<[email protected]>,
Luka Perkov<[email protected]>, Marek Behun <[email protected]>,[email protected],[email protected], [email protected],[email protected]
Subject: Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra
board support
Message-ID:

       <CADZsf3buKpgUJq_2yP1zakQbf0Hoq_4oPLdi69_d+qoR+Hbn0w@mail.gmail.com>

Content-Type: text/plain; charset="UTF-8"

Hello Pali,

Quoted 35 lines · Pali Roh?r
Quoted 34 lines · On Friday 13 August 2021 01:39:38 Luka Kovacic wrote:

Add initial support for the ESPRESSOBin-Ultra board from Globalscale Technologies, Inc.

The board is based on the 64-bit dual-core Marvell Armada 3720 SoC. Peripherals:
- 5 Gigabit Ethernet ports (WAN has PoE, up to 30W, Topaz 6341 switch)
- RTC clock (PCF8563)
- USB 3.0 port
- USB 2.0 port
- 4x LED
- UART over Micro-USB
- M.2 slot (2280)
- Mini PCI-E slot

Additionally, automatic import of the Marvell hw_info parameters is enabled via the recently added mac command for A37XX platforms. The parameters stored in Marvell hw_info are usually the board serial number and MAC addresses.

Cc Luka Perkov<[email protected]>
Cc Robert Marko<[email protected]>
---
   arch/arm/dts/Makefile                         |   1 +
   .../arm/dts/armada-3720-espressobin-ultra.dts | 114 ++++++++++
   arch/arm/dts/armada-3720-espressobin.dts      | 199 +----------------
   arch/arm/dts/armada-3720-espressobin.dtsi     | 210 ++++++++++++++++++
   board/Marvell/mvebu_armada-37xx/MAINTAINERS   |   8 +
   board/Marvell/mvebu_armada-37xx/board.c       |  92 +++++++-
   .../mvebu_espressobin-ultra-88f3720_defconfig |  93 ++++++++
   7 files changed, 514 insertions(+), 203 deletions(-)

create mode 100644 arch/arm/dts/armada-3720-espressobin-ultra.dts create mode 100644 arch/arm/dts/armada-3720-espressobin.dtsi create mode 100644 configs/mvebu_espressobin-ultra-88f3720_defconfig

Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

...

Thanks, all, for this job.

I am available for testing (if needed) on EspressoBin V7, with eMMC, and EspressoBin Ultra.

Thanks for offering your help. Can you test the following patchset (v4), when it's out,
as some implementation issues still have to be resolved here?

Sure...

Quoted 7 lines
Quoted 5 lines

I have issue on EspressoBin Ultra, with the v2 patch for EspressoBin-Ultra, on OpenWrt 21.02-RC, fw_printenv do not works... (CRC Error)
I have the same issue with the Marvell (GlobalScale) u-Boot, factory and upgraded version.

Did you specify the U-Boot environment location correctly in the fw_printenv config?

I think so : but It do not works...

root@ULTRA-5G:~# cat /etc/fw_env.config
#/dev/mtd0 0x3f0000 0x10000 0x10000 1
/dev/mtd2 0x0 0x10000 0x10000 1
root@ULTRA-5G:~# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
Quoted 9 lines
Quoted 7 lines

Environments variables are correctly managed from the u-Boot itself.

Regards,
Gérald Kerma

PS : I am only registered to the digest, so I hope my mail will not be disturbing...

Kind regards,
Luka

Best regards,
Gérald