Skip to contentSkip to conversation

arm: aspeed: Add ASRock Rack B650D4U BMC support

RFC PATCH In review Prasanth Kumar Padarthi 2 participants 4 messages Jul 19 – Jul 21 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover arm: aspeed: Add ASRock Rack B650D4U BMC support

Add initial U-Boot support for the ASRock Rack B650D4U BMC, which is based on the ASPEED AST2600.

The board description enables:

- 512 MiB BMC DRAM
- UART5 debug console
- AST2600 watchdog
- 64 MiB Winbond W25Q512JV SPI NOR
- MAC0 connected to a Realtek RTL8211F PHY using RGMII
- MAC2 using RMII/NCSI

The environment is kept non-persistent to avoid modifying the vendor firmware environment.

Runtime validation was performed by loading main U-Boot into RAM from the vendor U-Boot using YMODEM. The following were verified:

- UART console input and output
- board model detection
- 512 MiB DRAM capacity and 440 MiB usable memory
- SPI NOR detection
- MAC0 link at 100 Mbps full duplex
- bidirectional ARP and ICMP traffic

SPL execution from reset and cold DRAM initialization have not yet been validated. MAC2 is described and the NCSI support is built, but complete end-to-end NCSI traffic remains to be validated. Therefore this series is being submitted as an RFC.

The build completes with the existing AST2600 spi_bus_bridge node-name warning from ast2600.dtsi.

Prasanth Kumar Padarthi (1):
arm: aspeed: Add ASRock Rack B650D4U BMC support

 MAINTAINERS                      |   6 ++
 arch/arm/dts/ast2600-b650d4u.dts |  74 ++++++++++++++++++++
 configs/b650d4u_defconfig        | 115 +++++++++++++++++++++++++++++++
 3 files changed, 195 insertions(+)
 create mode 100644 arch/arm/dts/ast2600-b650d4u.dts
 create mode 100644 configs/b650d4u_defconfig
Signature · 1 line
2.47.3
#1 lore raw

RFC PATCH 1/1 arm: aspeed: Add ASRock Rack B650D4U BMC support

Add U-Boot support for the AST2600 BMC on the ASRock Rack B650D4U.

Describe the 512 MiB DRAM, UART5 console, watchdog, 64 MiB SPI NOR, RTL8211F-connected MAC0 and RMII/NCSI-connected MAC2.

Use the existing AST2600 EVB target infrastructure and a board-specific defconfig.

---
 MAINTAINERS                      |   6 ++
 arch/arm/dts/ast2600-b650d4u.dts |  74 ++++++++++++++++++++
 configs/b650d4u_defconfig        | 115 +++++++++++++++++++++++++++++++
 3 files changed, 195 insertions(+)
 create mode 100644 arch/arm/dts/ast2600-b650d4u.dts
 create mode 100644 configs/b650d4u_defconfig
MAINTAINERS +6 -0
index d4b527560aa..52aefd17217 100644
@@ -213,6 +213,12 @@ F:	drivers/reset/reset-ast2500.c
 F:	drivers/watchdog/ast_wdt.c
 N:	aspeed
 
+ASROCK RACK B650D4U BMC
+M:	Prasanth Kumar Padarthi <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/ast2600-b650d4u.dts
+F:	configs/b650d4u_defconfig
+
 ARM BROADCOM BCM283X / BCM27XX
 M:	Matthias Brugger <[email protected]>
 M:	Peter Robinson <[email protected]>
arch/arm/dts/ast2600-b650d4u.dts new file +74 -0

74 lines not on this page · raw message

configs/b650d4u_defconfig new file +115 -0

115 lines not on this page · raw message

Signature · 1 line
2.47.3
#2 lore raw
Quoted 22 lines · Prasanth Kumar Padarthi

Add U-Boot support for the AST2600 BMC on the ASRock Rack B650D4U.

Describe the 512 MiB DRAM, UART5 console, watchdog, 64 MiB SPI NOR, RTL8211F-connected MAC0 and RMII/NCSI-connected MAC2.

Use the existing AST2600 EVB target infrastructure and a board-specific defconfig.

---
 MAINTAINERS                      |   6 ++
 arch/arm/dts/ast2600-b650d4u.dts |  74 ++++++++++++++++++++
 configs/b650d4u_defconfig        | 115 +++++++++++++++++++++++++++++++
 3 files changed, 195 insertions(+)
 create mode 100644 arch/arm/dts/ast2600-b650d4u.dts
 create mode 100644 configs/b650d4u_defconfig
MAINTAINERS +0 -0
index d4b527560aa..52aefd17217 100644

MAINTAINERS F: drivers/reset/reset-ast2500.c · line 220

Quoted 8 lines
MAINTAINERS +5 -0
@@ -213,6 +213,12 @@ F:	drivers/reset/reset-ast2500.c
 F:	drivers/watchdog/ast_wdt.c
 N:	aspeed
 
+ASROCK RACK B650D4U BMC
+M:	Prasanth Kumar Padarthi <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/ast2600-b650d4u.dts
+F:	configs/b650d4u_defconfig

This should be in board/aspeed/evb_ast2600/MAINTAINERS since it's just a build variant. And is the device tree itself being submitted upstream to the linux kernel? Thanks!

Signature · 1 line
Tom
#3 lore raw

Hi Tom,

Thanks for the review.

Yes, the B650D4U currently uses the existing evb_ast2600 target as a build variant. I will move the B650D4U maintainer entry from the top-level MAINTAINERS file to board/aspeed/evb_ast2600/MAINTAINERS in the next revision.

The board device tree has also been submitted to the Linux kernel as:

[PATCH v3 2/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC

It has not been accepted yet. I am currently addressing review feedback concerning the RGMII delay configuration, SPI flash layout, and node ordering, together with hardware validation on the board.

I will keep the next U-Boot revision aligned with the corrected Linux device tree and retain only U-Boot-specific properties in the U-Boot-specific DTS include.

Thanks,
Prasanth

Quoted 40 lines · Tom Rini
Quoted 22 lines · Prasanth Kumar Padarthi

Add U-Boot support for the AST2600 BMC on the ASRock Rack B650D4U.

Describe the 512 MiB DRAM, UART5 console, watchdog, 64 MiB SPI NOR, RTL8211F-connected MAC0 and RMII/NCSI-connected MAC2.

Use the existing AST2600 EVB target infrastructure and a board-specific defconfig.

---
 MAINTAINERS                      |   6 ++
 arch/arm/dts/ast2600-b650d4u.dts |  74 ++++++++++++++++++++
 configs/b650d4u_defconfig        | 115 +++++++++++++++++++++++++++++++
 3 files changed, 195 insertions(+)
 create mode 100644 arch/arm/dts/ast2600-b650d4u.dts
 create mode 100644 configs/b650d4u_defconfig
MAINTAINERS +0 -0
index d4b527560aa..52aefd17217 100644

MAINTAINERS F: drivers/reset/reset-ast2500.c · line 220

Quoted 8 lines
MAINTAINERS +5 -0
@@ -213,6 +213,12 @@ F:       drivers/reset/reset-ast2500.c
 F:   drivers/watchdog/ast_wdt.c
 N:   aspeed
 
+ASROCK RACK B650D4U BMC
+M:   Prasanth Kumar Padarthi <[email protected]>
+S:   Maintained
+F:   arch/arm/dts/ast2600-b650d4u.dts
+F:   configs/b650d4u_defconfig

This should be in board/aspeed/evb_ast2600/MAINTAINERS since it's just a build variant. And is the device tree itself being submitted upstream to the linux kernel? Thanks!

--
Tom