sifive / freedom

Source files for SiFive's Freedom platforms
Apache License 2.0
1.11k stars 286 forks source link

This project is incompatible with the latest Arty A7 35T #171

Open lindemer opened 3 years ago

lindemer commented 3 years ago

The Getting Started Guide does not state that this project won't build for Arty A7 35T Rev. E, which uses a s25fl128sxxxxxx0 memory model. Freedom targets an earlier revision of the same board (Rev. C, I think) which uses the mt25ql128 memory model. It may be helpful to either clarify this or add support for Rev. E. (I know I'm not the first person to have purchased the wrong board.)

AntonHermann commented 3 years ago

Just came here to open an issue, without knowing what exactly the exact problem was. Are there any workarounds?

AntonHermann commented 3 years ago

Where do you find the revision? I can't find any markings on the packaging or the board itself. There is a small sticker with "QC.OK", a line and below it the number 2, but I'm not sure what this means and whether it could be related to the board revision.

lindemer commented 3 years ago

On mine, it's written just below a bar code sticker on the underside. If you're following the guide, you'll know you have the wrong board when you try to flash the .mcs file in Vivado.

erikdanie commented 3 years ago

You should still be able to use the .bit file, which does not touch the flash. However, the fix would be relatively easy, I imagine just this line would need to change https://github.com/sifive/fpga-shells/blob/14297af2878dc648ffd5751010fa72094ff444b0/xilinx/arty/tcl/board.tcl#L3