U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] board: sophgo: Add support for Milk-V Duo S
@ 2026-10-25 14:30 João Paulo Gonçalves
  2026-10-25 14:30 ` [PATCH v2 1/2] clk: sophgo: cv1800b: Add SG2000 compatible string João Paulo Gonçalves
  2026-10-25 14:30 ` [PATCH v2 2/2] board: sophgo: Add support for Milk-V Duo S João Paulo Gonçalves
  0 siblings, 2 replies; 6+ messages in thread
From: João Paulo Gonçalves @ 2026-10-25 14:30 UTC (permalink / raw)
  To: u-boot, Yao Zi
  Cc: Tom Rini, Sumit Garg, Gui-Dong Han, Joshua Milas, Chen Wang,
	Inochi Amaoto, Lukasz Majewski, Peng Fan, Tim Ouyang, Leo Liang,
	Hiago De Franco, Raymond Mao, Michal Simek, Yixun Lan,
	Andrei Lalaev, E Shattow, Zhuxu Ran,
	João Paulo Gonçalves

This series adds support for the Milk-V Duo S, a development board based
on the Sophgo SG2000 SoC with 512 MiB of RAM. The board uses the
upstream Linux devicetree via OF_UPSTREAM.

The Duo S gets its own board directory, based on the Milk-V Duo 256M
one. Apart from the devicetree, the two boards share almost all of their
configuration. However, they use different SoCs (SG2000 vs. SG2002), so
the Duo S is not treated as a variant of the Duo 256M.

Hiago and Andrei reviewed these patches internally before submission,
hence their Acked-by tags. Since they already work with these boards,
they have agreed to maintain the Duo S support.

For now, the documentation improvements (boot flow, FSBL, fip.bin,
OpenSBI requirements) are in the Milk-V Duo S board doc. Since most of
this information is common to all CV18xx/SG200x boards, a follow-up
series will, following Yao Zi's suggestion, move the common parts into a
generic SoC document, referenced by the Milk-V Duo, Duo 256M and Duo S
board docs.

Tested on a Milk-V Duo S.

---
Changes in v2:
- Drop the two devicetree cherry-picks: dts/upstream is now synced to
  v7.3, which already includes the SG2000 dtsi and the Milk-V Duo S
  devicetree
- board: doc: Clarify the OpenSBI version requirement (v1.5 or later)
- board: doc: Describe the boot flow (FSBL, coprocessor firmware,
  OpenSBI, U-Boot) and the fip.bin contents
- board: doc: Fix the fiptool command: pass --text-base to match
  CONFIG_TEXT_BASE and add the required --rtos path
- clk: Drop E Shattow's Reviewed-by as requested
- Link to v1: https://patch.msgid.link/20261016-upstream-v1-milk-duo-s-v1-0-e4bf386eea2d@gmail.com

---
João Paulo Gonçalves (2):
      clk: sophgo: cv1800b: Add SG2000 compatible string
      board: sophgo: Add support for Milk-V Duo S

 arch/riscv/Kconfig                       |   4 +
 board/sophgo/milkv_duo_s/Kconfig         |  30 +++++++
 board/sophgo/milkv_duo_s/MAINTAINERS     |   8 ++
 board/sophgo/milkv_duo_s/Makefile        |   6 ++
 board/sophgo/milkv_duo_s/milkv_duo_s.env |   8 ++
 configs/milkv_duo_s_defconfig            |  43 ++++++++++
 doc/board/sophgo/index.rst               |   1 +
 doc/board/sophgo/milkv_duo_s.rst         | 131 +++++++++++++++++++++++++++++++
 drivers/clk/sophgo/clk-cv1800b.c         |   1 +
 include/configs/milkv_duo_s.h            |  12 +++
 10 files changed, 244 insertions(+)
---
base-commit: f97bb5c1ad78e95856917b92c7270c82d4b11e21
change-id: 20261014-upstream-v1-milk-duo-s-c4d2935c4298

Best regards,
-- 
João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>


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

end of thread, other threads:[~2026-11-07 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25 14:30 [PATCH v2 0/2] board: sophgo: Add support for Milk-V Duo S João Paulo Gonçalves
2026-10-25 14:30 ` [PATCH v2 1/2] clk: sophgo: cv1800b: Add SG2000 compatible string João Paulo Gonçalves
2026-10-25 14:30 ` [PATCH v2 2/2] board: sophgo: Add support for Milk-V Duo S João Paulo Gonçalves
2026-11-04  4:31   ` Yao Zi
2026-11-07 17:52     ` João Paulo Gonçalves
2026-11-07 18:32       ` Yao Zi

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