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>,
Shiji Yang <yangshiji66@outlook.com>,
Shengyu Qu <wiagn233@outlook.com>,
Seung-Woo Kim <sw0312.kim@samsung.com>,
E Shattow <lucent@gmail.com>,
u-boot@lists.denx.de,
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Subject: [PATCH v3 0/6] riscv: add support for Milk-V Mars board
Date: Tue, 2 Apr 2024 10:49:06 +0200 [thread overview]
Message-ID: <20240402084912.43228-1-heinrich.schuchardt@canonical.com> (raw)
The Milk-V Mars board is technically very close to the StarFive
VisionFive 2 board.
With this patch series the VisionFive 2 U-Boot SPL will detect that it
is running on a Milk-V board and patch the device-tree accordingly.
This is the same approach that has been taken to handle the differences
between the Visionfive 2 1.2B and 1.3A revisions.
For the mmc card-detect a separate patch has been created:
https://lore.kernel.org/u-boot/20240328214615.21501-1-heinrich.schuchardt@canonical.com/
v3:
Rephrase last a sentence in doc/board/starfive/visionfive2.rst
v2:
do not set default fdt for VisionFive 2
do not overwrite /soc/i2c@12050000/eeprom@50/compatible
Heinrich Schuchardt (6):
riscv: do not set default fdt for VisionFive 2
eeprom: starfive: function get_product_id_from_eeprom()
riscv: set fdtfile on Milk-V Mars
board: starfive: support Milk-V Mars board
riscv: starfive: avoid including common.h
doc: describe Milk-V Mars board
arch/riscv/include/asm/arch-jh7110/eeprom.h | 9 ++
board/starfive/visionfive2/spl.c | 100 ++++++++++++++--
.../visionfive2/starfive_visionfive2.c | 48 +++++---
.../visionfive2/visionfive2-i2c-eeprom.c | 9 +-
configs/starfive_visionfive2_defconfig | 1 -
doc/board/starfive/index.rst | 1 +
doc/board/starfive/milk-v_mars.rst | 111 ++++++++++++++++++
doc/board/starfive/visionfive2.rst | 18 +++
8 files changed, 268 insertions(+), 29 deletions(-)
create mode 100644 doc/board/starfive/milk-v_mars.rst
--
2.43.0
next reply other threads:[~2024-04-02 8:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-02 8:49 Heinrich Schuchardt [this message]
2024-04-02 8:49 ` [PATCH v3 1/6] riscv: do not set default fdt for VisionFive 2 Heinrich Schuchardt
2024-04-08 10:10 ` Leo Liang
2024-04-02 8:49 ` [PATCH v3 2/6] eeprom: starfive: function get_product_id_from_eeprom() Heinrich Schuchardt
2024-04-02 8:49 ` [PATCH v3 3/6] riscv: set fdtfile on Milk-V Mars Heinrich Schuchardt
2024-04-02 8:49 ` [PATCH v3 4/6] board: starfive: support Milk-V Mars board Heinrich Schuchardt
2024-04-08 10:44 ` Leo Liang
2024-04-02 8:49 ` [PATCH v3 5/6] riscv: starfive: avoid including common.h Heinrich Schuchardt
2024-04-02 8:49 ` [PATCH v3 6/6] doc: describe Milk-V Mars board Heinrich Schuchardt
2024-04-08 10:34 ` Leo Liang
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=20240402084912.43228-1-heinrich.schuchardt@canonical.com \
--to=heinrich.schuchardt@canonical.com \
--cc=aurelien@aurel32.net \
--cc=hal.feng@starfivetech.com \
--cc=lucent@gmail.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 NNTP newsgroup(s).