lowRISC / lowrisc-chip

The root repo for lowRISC project and FPGA demos.
http://www.lowrisc.org/
Other
593 stars 149 forks source link

Drivers/specifications for baremetal programming #179

Closed AnoudAlshnakat closed 3 years ago

AnoudAlshnakat commented 3 years ago

Hey.

My colleague and I are working with the Genesys II Kintex-7 board, with the lowRISC ariane v0.7 SoC.

We are porting a minimal separation kernel and we are writing baremetal code for lowRISC. Our code must control the following devices: UART, clock/timer, and Ethernet.​

We cannot find the specifications (programming interfaces) of the UART, timer/clock and the Ethernet devices. Can you please point us to the device specifications or to the Linux drivers controlling these devices?​ Can you please point us to the device specifications or to the Linux drivers controlling these devices?

jrrk commented 3 years ago

It’s true there isn’t much documentation of devices outside of the Verilog RTL code, however you should find a comprehensive set of drivers inside Linux-5.3.18.patch at the toplevel of the repo.