Skip to content

SPL "FV corrupted" error when loading EDK2 firmware from MMC partition for visionfive 2 #61

Description

Configuration

  • Using: starfive_visionfive2_defconfig

Problem

SPL reports "FindFfsFileAndSection: FV corrupted" at address 0x40840000 and "dwmci_s: Response Timeout"

Environment

  • Hardware: StarFive VisionFive2 (JH7110 RISC-V)
  • Bootloader: U-Boot SPL 2021.10
  • Firmware: EDK2 JH7110.fd (9MB)

What I've Verified

  1. FV header exists at offset 0x840000 in firmware file
  2. Firmware padded to exactly 9MB
  3. Flashed to partition 2 (starts at sector 8192)
  4. hexdump shows valid _FVH signature and FDT marker

Question

What could cause SPL to report "FV corrupted" when the FV structure appears valid? Is this a memory alignment issue, MMC read problem, or firmware structure mismatch?

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions