New u-boot binary for TF card compatibility

Has any one encounter boot up issue(from TF card), like @darkgeek post: Can not boot. please update this binary to try it again. highly welcome to receive your feedback.

fw_payload_visionfive.bin.out (2.9 MB)

3 Likes

Is there any how-to describing the update process? :slight_smile:
Thank you.

Please follow the below wiki page to update u-boot
https://wiki.rvspace.org/en/Product/VisionFive/Technical_Documents/VisionFive_Single_Board_Computer_Quick_Start_Guide#appendix-b-updating-firmware-and-u-boot

1 Like

Thanks, found it myself a couple of minutes ago :slight_smile:

Before and after update my 64G sd card not working.(SmartBuy 64GB SN TB64GBNT8A1B2125AU1)

mmc csd read /sys/class/mmc_host/mmc0/mmc0\:b368/

type: 'SD'
card classes: 10 switch, 8 application specific, 5 erase, 4 block write, 2 block read, 0 basic, 
capacity: 58.24Gbyte (62534975488 bytes, 122138624 sectors, 512 bytes each)

dmesg | grep mmc

[10857.091737] mmc0: new ultra high speed SDR104 SDXC card at address b368
[10857.091976] mmcblk0: mmc0:b368 NCard 58.2 GiB 

Can you try another TF card?

Yes. Another card is working. I have problems only with the 64gb.

additional information:

U-Boot 2022.04-rc2-VisionFive (Mar 07 2022 - 21:12:22 +0800)StarFive

CPU:   rv64imafdc
Model: StarFive VisionFive V1
DRAM:  8 GiB
Core:  13 devices, 9 uclasses, devicetree: separate
MMC:   mmc@10000000: 0, mmc@10010000: 1
Loading Environment from SPIFlash... cadence_spi spi@11860000: Can't get reset: -524
SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

StarFive EEPROM format v1

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7100A1-2204-D008E000-00000115
data version: 0x1
PCB revision: 0x1
BOM revision: A
Ethernet MAC address: 6c:cf:39:00:01:14
--------EEPROM INFO--------

In:    serial@12440000
Out:   serial@12440000
Err:   serial@12440000
Net:   dwmac.10020000
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
switch to partitions #0, OK
mmc0 is current device
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
Failed to load 'uEnv.txt'
** Invalid partition 3 **
Couldn't find partition mmc 0:3
Can't set block device

mmc info

VisionFive #mmc info
MMC CD is 0x1, force to True.
Device: mmc@10000000
Manufacturer ID: 89
OEM: 303
Name: NCard 
Bus Speed: 10000000
Mode: MMC legacy
Rd Block Len: 512
SD version 2.0
High Capacity: No
Capacity: 1.9 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes