[PATCH v4 0/5] board: starfive: add Milk-V Mars CM support

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Fri May 10 07:52:16 CEST 2024


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.

v4:
	Documentation fixes
v3:
	Add mac vendor sub-command
	Documentation fixes
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 (5):
  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
  starfive: add mac vendor sub-command

 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      |  43 +++-
 configs/starfive_visionfive2_defconfig        |   1 +
 doc/board/starfive/index.rst                  |   1 +
 doc/board/starfive/milk-v_mars_cm.rst         | 193 ++++++++++++++++++
 8 files changed, 290 insertions(+), 3 deletions(-)
 create mode 100644 doc/board/starfive/milk-v_mars_cm.rst

-- 
2.43.0



More information about the U-Boot mailing list