Skip to content

Add upstream boards Milk-V Mars CM and Mars CM Lite

E Shattow u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v1 RFC4 patches 1 replySuperseded

Changes in v2 from the cover letter

- Drop patch 1/4 "riscv: dts: starfive: Add Milk-V Mars CM and Mars CM Lite from upstream Linux for-next"
- Drop patch 3/4 "riscv: dts: Add placeholder files for pending upstream Milk-V Mars CM and Mars CM Lite"
- Add patch for basic documentation stub. This should be expanded in future with a refresh of all the starfive boards' user docs.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3board: starfive: visionfive2: Add Milk-V Mars CM and Mars CM Lite selection by product_idboard/starfive/visionfive2/spl.c board/starfive/visionfive2/starfive_visionfive2.c+14 -01 reply
2/3configs: starfive: Add Milk-V Mars CM and Mars CM Lite to visionfive2configs/starfive_visionfive2_defconfig+1 -11 reply
3/3board: starfive: Add initial Milk-V Mars CM and Mars CM Lite user documentationdoc/board/starfive/index.rst doc/board/starfive/milkv_marscm_emmc.rst doc/board/starfive/milkv_marscm_lite.rst+50 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchHal Feng
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Add upstream boards Milk-V Mars CM and Mars CM Lite

Milk-V Mars CM and Mars CM Lite SoM's were formerly supported v2024.07 to v2025.01 and then absent since the OF_UPSTREAM transition of starfive visionfive2 multi-board support. Upstream patches are in for Linux v6.18-rc1 and available through devicetree-rebasing so let's re-introduce support for these boards.

Sorting of OF_LIST is kept consistent with LANG=C sort, and callbacks in SPL for dts selection are ordered the same. Logic for setting fdtfile env variable corresponds with the sorting of OF_LIST and not the representative EEPROM value comparisons.

This series depends on:
"dts: starfive: cherry-pick jh7110 updates from v6.18-rc1-dts"
https://lore.kernel.org/u-boot/[email protected]/

Changes since RFC v1:
- Drop patch 1/4 "riscv: dts: starfive: Add Milk-V Mars CM and Mars CM Lite from upstream Linux for-next"
- Drop patch 3/4 "riscv: dts: Add placeholder files for pending upstream Milk-V Mars CM and Mars CM Lite"
- Add patch for basic documentation stub. This should be expanded in future with a refresh of all the starfive boards' user docs.

E Shattow (3):
board: starfive: visionfive2: Add Milk-V Mars CM and Mars CM Lite
selection by product_id
configs: starfive: Add Milk-V Mars CM and Mars CM Lite to visionfive2
board: starfive: Add initial Milk-V Mars CM and Mars CM Lite user
documentation

 board/starfive/visionfive2/spl.c              |  8 +++++++
 .../visionfive2/starfive_visionfive2.c        |  6 +++++
 configs/starfive_visionfive2_defconfig        |  2 +-
 doc/board/starfive/index.rst                  |  2 ++
 doc/board/starfive/milkv_marscm_emmc.rst      | 24 +++++++++++++++++++
 doc/board/starfive/milkv_marscm_lite.rst      | 24 +++++++++++++++++++
 6 files changed, 65 insertions(+), 1 deletion(-)
 create mode 100644 doc/board/starfive/milkv_marscm_emmc.rst
 create mode 100644 doc/board/starfive/milkv_marscm_lite.rst
Signature · 1 line
2.50.0