All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Cc: u-boot@lists.denx.de,  E Shattow <lucent@gmail.com>,
	 Minda Chen <minda.chen@starfivetech.com>
Subject: Re: 2025.01-rc2 fails to boot on VisionFive2
Date: Thu, 21 Nov 2024 17:22:47 +0100	[thread overview]
Message-ID: <mvmfrnko8tk.fsf@suse.de> (raw)
In-Reply-To: <8d4e3685-8082-4b74-828f-05ccee5ac8e0@canonical.com> (Heinrich Schuchardt's message of "Thu, 21 Nov 2024 17:00:40 +0100")

On Nov 21 2024, Heinrich Schuchardt wrote:

> On 13.11.24 11:31, Andreas Schwab wrote:
>> "Error reading cluster" is the new error.
>> U-Boot SPL 2025.01-rc2 (Nov 08 2024 - 07:13:26 +0000)
>> DDR version: dc2e84f0.
>> Trying to boot from MMC2
>> U-Boot 2025.01-rc2 (Nov 08 2024 - 07:13:26 +0000)
>> CPU:   sifive,u74-mc
>> Model: StarFive VisionFive 2 v1.2A
>> DRAM:  4 GiB
>> Core:  136 devices, 26 uclasses, devicetree: board
>> WDT:   Not starting watchdog@13070000
>> MMC:   mmc@16010000: 0, mmc@16020000: 1
>> Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
>> *** Warning - bad CRC, using default environment
>> StarFive EEPROM format v2
>> --------EEPROM INFO--------
>> Vendor : StarFive Technology Co., Ltd.
>> Product full SN: VF7110A1-2249-D004E000-00000408
>> data version: 0x2
>> PCB revision: 0xa1
>> BOM revision: A
>> Ethernet MAC0 address: 6c:cf:39:00:16:8d
>> Ethernet MAC1 address: 6c:cf:39:00:16:8e
>> --------EEPROM INFO--------
>> starfive_7110_pcie pcie@2b000000: Starfive PCIe bus probed.
>> starfive_7110_pcie pcie@2c000000: Starfive PCIe bus probed.
>> In:    serial@10000000
>> Out:   serial@10000000
>> Err:   serial@10000000
>> Net:   eth0: ethernet@16030000, eth1: ethernet@16040000
>> starting USB...
>> Bus xhci_pci: Register 5000420 NbrPorts 5
>> Starting the controller
>> USB XHCI 1.00
>> scanning bus xhci_pci for devices... 2 USB Device(s) found
>>         scanning usb for storage devices... 0 Storage Device(s) found
>> Working FDT set to ff72ca10
>> Hit any key to stop autoboot:  0
>> Card did not respond to voltage select! : -110
>> ** Booting bootflow '<NULL>' with efi_mgr
>> Error reading cluster
>
> This is a message from the FAT file system driver.

The file system is ok when read after interrupting the boot.

StarFive # mmc dev 1
switch to partitions #0, OK
mmc1 is current device
StarFive # ls mmc 1:1
            EFI/
      304   ubootefi.var

1 file(s), 1 dir(s)

StarFive # ls mmc 1:1 EFI 
            ./
            ../
            BOOT/

0 file(s), 3 dir(s)

StarFive # ls mmc 1:1 EFI/BOOT
            ./
            ../
   167936   BOOTRISCV64.EFI
      164   grub.cfg

2 file(s), 2 dir(s)

But running boot will end with the above error, and mmc 1 no longer
works.

> Which image reproduces the problem?

I've built U-Boot here
<https://build.opensuse.org/project/show/home:Andreas_Schwab:riscv:u-boot>.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

  reply	other threads:[~2024-11-21 16:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13 10:31 2025.01-rc2 fails to boot on VisionFive2 Andreas Schwab
2024-11-21 16:00 ` Heinrich Schuchardt
2024-11-21 16:22   ` Andreas Schwab [this message]
2024-11-21 17:21     ` Heinrich Schuchardt
2024-11-21 21:42       ` E Shattow
2024-12-02 10:33       ` Andreas Schwab
2024-12-02 11:06         ` 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=mvmfrnko8tk.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=lucent@gmail.com \
    --cc=minda.chen@starfivetech.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.