From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
To: Minda Chen <minda.chen@starfivetech.com>,
Hal Feng <hal.feng@starfivetech.com>,
Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>,
Lukasz Tekieli <tekieli.lukasz@gmail.com>,
Lukas Funke <lukas.funke@weidmueller.com>,
Shiji Yang <yangshiji66@outlook.com>,
Shengyu Qu <wiagn233@outlook.com>,
Michal Simek <michal.simek@amd.com>,
Seung-Woo Kim <sw0312.kim@samsung.com>,
Mason Huo <mason.huo@starfivetech.com>,
E Shattow <lucent@gmail.com>,
u-boot@lists.denx.de,
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Subject: [PATCH v2 0/4] board: starfive: add Milk-V Mars CM support
Date: Fri, 3 May 2024 10:59:59 +0200 [thread overview]
Message-ID: <20240503090011.37849-1-heinrich.schuchardt@canonical.com> (raw)
With this series the Milk-V Mars CM board can be booted.
NVMe, SD-card, Ethernet, UART are working but not USB.
The first series Milk-V Mars CM Lite board (the version without eMMC)
uses incorrect series numbers indicating eMMC presence. For these
CONFIG_STARFIVE_NO_EMMC=y must be set to indicate that eMMC is not
present.
Thanks to E. Shattow for all the helpful discussions.
He figured out what needed to be patched in the device-tree.
v2:
fix typos in get_mmc_size_from_eeprom() description
rename spl_fdt_fixup_marc() to spl_fdt_fixup_mars_cm()
rename device-trees for Mars CM and Mars CM Lite
change model and compatible properties
refer to tio as tool for booting via UART
describe how to update serial number
Heinrich Schuchardt (4):
board: starfive: function to read eMMC size
board: add support for Milk-V Mars CM
doc: Milk-V Mars CM and Milk-V Mars CM Lite
configs: visionfive2: enable SPL_YMODEM_SUPPORT
arch/riscv/include/asm/arch-jh7110/eeprom.h | 7 +
board/starfive/visionfive2/Kconfig | 9 +
board/starfive/visionfive2/spl.c | 28 ++-
.../visionfive2/starfive_visionfive2.c | 11 +-
.../visionfive2/visionfive2-i2c-eeprom.c | 18 ++
configs/starfive_visionfive2_defconfig | 1 +
doc/board/starfive/index.rst | 1 +
doc/board/starfive/milk-v_mars_cm.rst | 183 ++++++++++++++++++
8 files changed, 256 insertions(+), 2 deletions(-)
create mode 100644 doc/board/starfive/milk-v_mars_cm.rst
--
2.43.0
next reply other threads:[~2024-05-03 9:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 8:59 Heinrich Schuchardt [this message]
2024-05-03 9:00 ` [PATCH v2 1/4] board: starfive: function to read eMMC size Heinrich Schuchardt
2024-05-03 21:41 ` E Shattow
2024-05-03 9:00 ` [PATCH v2 2/4] board: add support for Milk-V Mars CM Heinrich Schuchardt
2024-05-03 21:50 ` E Shattow
2024-05-03 9:00 ` [PATCH v2 3/4] doc: Milk-V Mars CM and Milk-V Mars CM Lite Heinrich Schuchardt
2024-05-03 21:46 ` E Shattow
2024-05-03 9:00 ` [PATCH v2 4/4] configs: visionfive2: enable SPL_YMODEM_SUPPORT Heinrich Schuchardt
2024-05-03 21:52 ` 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=20240503090011.37849-1-heinrich.schuchardt@canonical.com \
--to=heinrich.schuchardt@canonical.com \
--cc=aurelien@aurel32.net \
--cc=hal.feng@starfivetech.com \
--cc=lucent@gmail.com \
--cc=lukas.funke@weidmueller.com \
--cc=mason.huo@starfivetech.com \
--cc=michal.simek@amd.com \
--cc=minda.chen@starfivetech.com \
--cc=rick@andestech.com \
--cc=sw0312.kim@samsung.com \
--cc=tekieli.lukasz@gmail.com \
--cc=u-boot@lists.denx.de \
--cc=wiagn233@outlook.com \
--cc=yangshiji66@outlook.com \
--cc=ycliang@andestech.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).