[PATCH v4 00/13] Support OF_UPSTREAM for StarFive JH7110

Anand Moon linux.amoon at gmail.com
Thu Nov 14 05:42:12 CET 2024


Hi Hal,

On Mon, 11 Nov 2024 at 07:53, Hal Feng <hal.feng at starfivetech.com> wrote:
>
> This patchset add OF_UPSTREAM support for StarFive JH7110 based boards.
> All the JH7110 based boards can use the DT from upstreaming linux kernel.
> The v1.3b board device tree is set as the default device tree. Support
> CONFIG_MULTI_DTB_FIT and the SPL selects the correct U-Boot dtb using the
> EEPROM information.
>

I am encountering an issue with my Milk-V CM. I am unable to use the
SD card with the CM4 IO board.
The onboard SPI switch does not support a boot configuration switch,
so the default boot is set to eMMC.

Please suggest a method to flash an image onto the eMMC on the CM board.

I have tried the instructions to update the firmware using
[1] https://milkv.io/docs/mars/compute-module/boot

Thank you so much for your help.

Thanks
-Anand

--------EEPROM INFO--------
Vendor : MILK-V
Product full SN: MARC-V10-2340-D004E016-00000812
data version: 0x2
PCB revision: 0xc1
BOM revision: A
Ethernet MAC0 address: 6c:cf:39:00:85:6b
Ethernet MAC1 address: 6c:cf:39:00:85:6c
--------EEPROM INFO--------

starfive_7110_pcie pcie at 940000000: Starfive PCIe bus probed.
starfive_7110_pcie pcie at 9c0000000: Starfive PCIe bus probed.
In:    serial at 10000000
Out:   serial at 10000000
Err:   serial at 10000000
Net:   Could not fetch index
Could not fetch index
eqos_probe_resources() failed: -22
Could not fetch index
eqos_probe_resources() failed: -22
eth1: ethernet at 16040000
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... Resetting EP 0...
3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Working FDT set to ff725a10
Hit any key to stop autoboot:  0
StarFive # mmc info
Device: mmc at 16010000
Manufacturer ID: 15
OEM: 0
Name: AJTD4R
Bus Speed: 45333334
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 14.6 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 14.6 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected
StarFive # mmc rescan
StarFive # mmc rescan
StarFive #
StarFive # mmc part
## Unknown partition table type 0


More information about the U-Boot mailing list