public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: E Shattow <e@freeshell.de>
Cc: u-boot@lists.denx.de, E Shattow <e@freeshell.de>
Subject: [PATCH v2 0/3] Add upstream boards Milk-V Mars CM and Mars CM Lite
Date: Tue, 21 Oct 2025 16:09:57 -0700	[thread overview]
Message-ID: <20251021231021.196336-1-e@freeshell.de> (raw)

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/20251015102253.48276-1-e@freeshell.de/

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

-- 
2.50.0


             reply	other threads:[~2025-10-21 23:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-21 23:09 E Shattow [this message]
2025-10-21 23:09 ` [PATCH v2 1/3] board: starfive: visionfive2: Add Milk-V Mars CM and Mars CM Lite selection by product_id E Shattow
2025-10-22  2:11   ` Hal Feng
2025-10-21 23:09 ` [PATCH v2 2/3] configs: starfive: Add Milk-V Mars CM and Mars CM Lite to visionfive2 E Shattow
2025-10-22  2:14   ` Hal Feng
2025-10-21 23:10 ` [PATCH v2 3/3] board: starfive: Add initial Milk-V Mars CM and Mars CM Lite user documentation E Shattow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251021231021.196336-1-e@freeshell.de \
    --to=e@freeshell.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox