U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/1] arm: aspeed: Add ASRock Rack B650D4U BMC support
@ 2026-07-19 12:17 Prasanth Kumar Padarthi
  2026-07-19 12:17 ` [RFC PATCH v1 1/1] " Prasanth Kumar Padarthi
  0 siblings, 1 reply; 4+ messages in thread
From: Prasanth Kumar Padarthi @ 2026-07-19 12:17 UTC (permalink / raw)
  To: u-boot
  Cc: trini, ryan_chen, chiawei_wang, BMC-SW, joel,
	Prasanth Kumar Padarthi

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

-- 
2.47.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [RFC PATCH v1 1/1] arm: aspeed: Add ASRock Rack B650D4U BMC support
  2026-07-19 12:17 [RFC PATCH v1 0/1] arm: aspeed: Add ASRock Rack B650D4U BMC support Prasanth Kumar Padarthi
@ 2026-07-19 12:17 ` Prasanth Kumar Padarthi
  2026-07-20 19:30   ` Tom Rini via U-Boot
  0 siblings, 1 reply; 4+ messages in thread
From: Prasanth Kumar Padarthi @ 2026-07-19 12:17 UTC (permalink / raw)
  To: u-boot
  Cc: trini, ryan_chen, chiawei_wang, BMC-SW, joel,
	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.

Signed-off-by: Prasanth Kumar Padarthi <prasanth.padarthi10@gmail.com>
---
 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

diff --git a/MAINTAINERS b/MAINTAINERS
index d4b527560aa..52aefd17217 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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 <prasanth.padarthi10@gmail.com>
+S:	Maintained
+F:	arch/arm/dts/ast2600-b650d4u.dts
+F:	configs/b650d4u_defconfig
+
 ARM BROADCOM BCM283X / BCM27XX
 M:	Matthias Brugger <mbrugger@suse.com>
 M:	Peter Robinson <pbrobinson@gmail.com>
diff --git a/arch/arm/dts/ast2600-b650d4u.dts b/arch/arm/dts/ast2600-b650d4u.dts
new file mode 100644
index 00000000000..97a9e17dc15
--- /dev/null
+++ b/arch/arm/dts/ast2600-b650d4u.dts
@@ -0,0 +1,74 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+#include "ast2600-u-boot.dtsi"
+
+/ {
+	model = "ASRock Rack B650D4U BMC";
+	compatible = "asrock,b650d4u-bmc", "aspeed,ast2600";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x20000000>;
+	};
+
+	chosen {
+		stdout-path = &uart5;
+	};
+};
+
+&uart5 {
+	bootph-all;
+	status = "okay";
+};
+
+&sdrammc {
+	clock-frequency = <400000000>;
+};
+
+&wdt1 {
+	status = "okay";
+};
+
+&fmc {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_fmcquad_default>;
+
+	flash@0 {
+		status = "okay";
+		spi-max-frequency = <50000000>;
+		spi-tx-bus-width = <1>;
+		spi-rx-bus-width = <4>;
+	};
+};
+
+&mdio0 {
+	status = "okay";
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	ethphy0: ethernet-phy@0 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0>;
+	};
+};
+
+&mac0 {
+	status = "okay";
+
+	/* The PCB provides TX delay; the PHY provides RX delay. */
+	phy-mode = "rgmii-rxid";
+	phy-handle = <&ethphy0>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rgmii1_default>;
+};
+
+&mac2 {
+	status = "okay";
+	phy-mode = "rmii";
+	use-ncsi;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rmii3_default>;
+};
diff --git a/configs/b650d4u_defconfig b/configs/b650d4u_defconfig
new file mode 100644
index 00000000000..3a548a9528f
--- /dev/null
+++ b/configs/b650d4u_defconfig
@@ -0,0 +1,115 @@
+CONFIG_ARM=y
+CONFIG_SYS_DCACHE_OFF=y
+CONFIG_POSITION_INDEPENDENT=y
+CONFIG_SPL_SYS_THUMB_BUILD=y
+CONFIG_ARCH_ASPEED=y
+CONFIG_TEXT_BASE=0x80000000
+CONFIG_SYS_MALLOC_LEN=0x2000000
+CONFIG_SYS_MALLOC_F_LEN=0x800
+CONFIG_ASPEED_AST2600=y
+CONFIG_TARGET_EVB_AST2600=y
+CONFIG_SPL_LIBCOMMON_SUPPORT=y
+CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_NR_DRAM_BANKS=1
+CONFIG_SPL_LDSCRIPT="arch/arm/mach-aspeed/ast2600/u-boot-spl.lds"
+CONFIG_DM_GPIO=y
+CONFIG_DEFAULT_DEVICE_TREE="ast2600-b650d4u"
+CONFIG_DM_RESET=y
+CONFIG_SPL_SERIAL=y
+CONFIG_SPL_STACK_R_ADDR=0x83000000
+CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
+CONFIG_SPL_BSS_START_ADDR=0x83000000
+CONFIG_SPL_BSS_MAX_SIZE=0x1000000
+CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000000
+CONFIG_SYS_LOAD_ADDR=0x83000000
+CONFIG_SPL_SIZE_LIMIT=0x10000
+CONFIG_SPL=y
+# CONFIG_ARMV7_NONSEC is not set
+CONFIG_SPL_PAYLOAD="u-boot.img"
+CONFIG_BUILD_TARGET="u-boot-with-spl.bin"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+# CONFIG_EFI_LOADER is not set
+CONFIG_FIT=y
+CONFIG_SPL_FIT_SIGNATURE=y
+CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x10000
+CONFIG_SYS_CBSIZE=256
+CONFIG_SYS_PBSIZE=276
+# CONFIG_DISPLAY_CPUINFO is not set
+CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD=y
+CONFIG_SPL_SIZE_LIMIT_SUBTRACT_MALLOC=y
+CONFIG_SPL_SYS_MALLOC_SIMPLE=y
+CONFIG_SPL_SEPARATE_BSS=y
+CONFIG_SPL_FIT_IMAGE_TINY=y
+CONFIG_SPL_DM_RESET=y
+CONFIG_SPL_RAM_DEVICE=y
+CONFIG_HUSH_PARSER=y
+CONFIG_CMD_BOOTZ=y
+# CONFIG_BOOTM_PLAN9 is not set
+# CONFIG_BOOTM_RTEMS is not set
+# CONFIG_BOOTM_VXWORKS is not set
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_XIMG is not set
+CONFIG_CMD_EEPROM=y
+CONFIG_CMD_GPIO=y
+CONFIG_CMD_I2C=y
+CONFIG_CMD_MMC=y
+CONFIG_BOOTP_BOOTFILESIZE=y
+CONFIG_CMD_NCSI=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_EXT4=y
+CONFIG_DOS_PARTITION=y
+# CONFIG_SPL_DOS_PARTITION is not set
+CONFIG_EFI_PARTITION=y
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_SPL_OF_CONTROL=y
+CONFIG_ENV_OVERWRITE=y
+CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SPL_DM=y
+CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_REGMAP=y
+CONFIG_SPL_OF_TRANSLATE=y
+CONFIG_CLK=y
+CONFIG_SPL_CLK=y
+CONFIG_ASPEED_GPIO=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_ASPEED=y
+CONFIG_I2C_EEPROM=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_ASPEED=y
+CONFIG_MTD=y
+CONFIG_DM_SPI_FLASH=y
+CONFIG_SPI_FLASH_SFDP_SUPPORT=y
+CONFIG_SPI_FLASH_GIGADEVICE=y
+CONFIG_SPI_FLASH_ISSI=y
+CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_SPI_FLASH_SST=y
+CONFIG_SPI_FLASH_WINBOND=y
+# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
+CONFIG_PHY_REALTEK=y
+CONFIG_PHY_NCSI=y
+CONFIG_DM_MDIO=y
+CONFIG_FTGMAC100=y
+CONFIG_ASPEED_MDIO=y
+CONFIG_PHY=y
+CONFIG_PINCTRL=y
+CONFIG_RAM=y
+CONFIG_SPL_RAM=y
+CONFIG_DM_SERIAL=y
+CONFIG_SYS_NS16550=y
+CONFIG_SPI=y
+CONFIG_DM_SPI=y
+CONFIG_SPI_DIRMAP=y
+CONFIG_SPI_ASPEED_SMC=y
+CONFIG_SYSRESET=y
+CONFIG_SPL_SYSRESET=y
+CONFIG_WDT=y
+CONFIG_SHA384=y
+CONFIG_SPL_CRC32=y
+CONFIG_HEXDUMP=y
+CONFIG_PHANDLE_CHECK_SEQ=y
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH v1 1/1] arm: aspeed: Add ASRock Rack B650D4U BMC support
  2026-07-19 12:17 ` [RFC PATCH v1 1/1] " Prasanth Kumar Padarthi
@ 2026-07-20 19:30   ` Tom Rini via U-Boot
  2026-07-21  2:16     ` Prasanth via U-Boot
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini via U-Boot @ 2026-07-20 19:30 UTC (permalink / raw)
  To: Prasanth Kumar Padarthi; +Cc: u-boot, ryan_chen, chiawei_wang, BMC-SW, joel

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

On Sun, Jul 19, 2026 at 05:47:52PM +0530, Prasanth Kumar Padarthi wrote:

> 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.
> 
> Signed-off-by: Prasanth Kumar Padarthi <prasanth.padarthi10@gmail.com>
> ---
>  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
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index d4b527560aa..52aefd17217 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -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 <prasanth.padarthi10@gmail.com>
> +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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH v1 1/1] arm: aspeed: Add ASRock Rack B650D4U BMC support
  2026-07-20 19:30   ` Tom Rini via U-Boot
@ 2026-07-21  2:16     ` Prasanth via U-Boot
  0 siblings, 0 replies; 4+ messages in thread
From: Prasanth via U-Boot @ 2026-07-21  2:16 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot, ryan_chen, chiawei_wang, BMC-SW, joel

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

On Tue, Jul 21, 2026 at 1:00 AM Tom Rini <trini@konsulko.com> wrote:
>
> On Sun, Jul 19, 2026 at 05:47:52PM +0530, Prasanth Kumar Padarthi wrote:
>
> > 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.
> >
> > Signed-off-by: Prasanth Kumar Padarthi <prasanth.padarthi10@gmail.com>
> > ---
> >  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
> >
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index d4b527560aa..52aefd17217 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -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 <prasanth.padarthi10@gmail.com>
> > +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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-21  3:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-19 12:17 [RFC PATCH v1 0/1] arm: aspeed: Add ASRock Rack B650D4U BMC support Prasanth Kumar Padarthi
2026-07-19 12:17 ` [RFC PATCH v1 1/1] " Prasanth Kumar Padarthi
2026-07-20 19:30   ` Tom Rini via U-Boot
2026-07-21  2:16     ` Prasanth via U-Boot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox