Giter Club home page Giter Club logo

labeled-risc-v's Introduction

labeled-risc-v's People

Contributors

aswaterman avatar ben-k avatar ccelio avatar colinschmidt avatar derekpappas avatar hcook avatar huytbvo avatar jackkoenig avatar jchang0 avatar mn416 avatar mwachs5 avatar njuallen avatar p12ngh avatar palmer-dabbelt avatar richardxia avatar rimasaviz avatar rmac-sifive avatar sashimi-yzh avatar sbeamer avatar scottj97 avatar sdtwigg avatar seldridge avatar shinezyy avatar solomatnikov avatar srivatsa611y avatar terpstra avatar ucbjrl avatar wonicon avatar yunsup avatar zhemao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

labeled-risc-v's Issues

zcu102 boot "SF: unrecognized JEDEC id bytes: 00, 00, 00"

Describe the bug

Hi, I want to boot the original labeled RISC-V on the zcu102 board, but after following the steps in the README, I get the following u-boot error:

SF: unrecognized JEDEC id bytes: 00, 00, 00
Failed to initialize SPI flash at 0:0 (error -2)
SCRIPT FAILED: continuing...
starting USB...
USB0: "Synchronous Abort" handler, esr 0x96000210

To Reproduce
By following all steps in fpga/README.md and fpga/boot/README.md. I already applied the zcu102 patch.

Expected behavior
I can successfully emulate with verilator. And I used another pre-build image to boot the zcu102 board, it works well. In the pre-built u-boot image, I can check the flash model info.

ZynqMP> sf probe
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB

So I think it is not a hardware problem.

Screenshots
The serial output log:

Xilinx Zynq MP First Stage Boot Loader
Release 2019.1 Sep 9 2022 - 17:08:10
NOTICE: ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v2.0(release):xilinx-v2019.1
NOTICE: BL31: Built : 09:35:16, Sep 8 2022
PMUFW: v1.1

U-Boot 2019.01 (Sep 08 2022 - 09:37:49 +0800)

Model: ZynqMP ZCU102 Rev1.0
Board: Xilinx ZynqMP
DRAM: 4 GiB
EL Level: EL2
Chip ID: zu9eg
MMC: mmc@ff170000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Bootmode: LVL_SHFT_SD_MODE1
Reset reason: EXTERNAL
Net: ZYNQ GEM: ff0e0000, phyaddr c, interface rgmii-id

Warning: ethernet@ff0e0000 (eth0) using random MAC address - 0a:64:48:dd:e8:1e
eth0: ethernet@ff0e0000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
MMC Device 1 not found
no mmc device at slot 1
SF: unrecognized JEDEC id bytes: 00, 00, 00
Failed to initialize SPI flash at 0:0 (error -2)
SCRIPT FAILED: continuing...
starting USB...
USB0: "Synchronous Abort" handler, esr 0x96000210
elr: 0000000008059418 lr : 0000000008059414 (reloc)
elr: 000000007ff36418 lr : 000000007ff36414
x0 : 00000000fe200000 x1 : 000000007decd050
x2 : 00000000fe200000 x3 : 000000007dec20e8
x4 : 0000000000000000 x5 : 0000000000000000
x6 : 000000007decb63c x7 : 0000000000000003
x8 : 000000007dec2e28 x9 : 0000000000000008
x10: 0000000000001ff4 x11: 000000007dec1fbc
x12: 0000000000001fad x13: 0000000000001fa4
x14: 000000007dec204c x15: 000000007dec2e28
x16: 0000000000008110 x17: 0000000000000000
x18: 000000007deccdc8 x19: 00000000fe200000
x20: 000000007decf970 x21: 000000007ff9bc50
x22: 0000000000000001 x23: 000000007decf950
x24: 000000007ff91d55 x25: 000000007ffade38
x26: 0000000000000000 x27: 0000000000000000
x28: 000000007deebab0 x29: 000000007dec2130

Resetting CPU ...

ERROR ### Please RESET the board

Environment (optional, if necessary):

  • Vivado 2019.1
  • zcu102 board
  • latest commit: f6895ab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.