Closed jjyy-Huang closed 4 years ago
The instructions are here:
https://www.cl.cam.ac.uk/~jrrk2/docs/docs/
It looks like the build is failing because libxml2-dev is not installed.
Thank you for your reply ! I have found my mistake, maybe i miss apt something. Now it run again. Thanks again !
And now i have a new issue. When i make nexys4_ddr_rocket
, it seems something wrong in Makefile.
root@ubuntu:/opt/lowrisc-chip-0.7# make nexys4_ddr_rocket make fpga/work-fpga/nexys4_ddr_rocket/rocket_xilinx.mcs BOARD="nexys4_ddr" CPU="rocket" BITSIZE=0x400000 XILINX_PART="xc7a100tcsg324-1" XILINX_BOARD="digilentinc.com:nexys4_ddr:part0:1.1" VENDOR="sifive" MEMSIZE="0x8000000" BBL=/opt/lowrisc-chip-0.7/lowrisc-quickstart/rescue.bin |& tee nexys4_ddr_rocket.log /bin/sh: 1: Syntax error: "&" unexpected Makefile:62: recipe for target 'nexys4_ddr_rocket' failed make: *** [nexys4_ddr_rocket] Error 2
What should i do ? Looking forward to your reply.
/bin/sh should be a link to /bin/bash rather than /bin/dash
Hello, doctor @jrrk . Thank you for your reply. Now I can program my neyxs4ddr and use debian by SDcard. But when i try to use gpio to light a LED (it's necessary for a freshman), but /sys/class/gpio is empty. What should I do next. I am grateful for your patient guidance.
That entry appears when a suitable GPIO device driver is loaded. Perhaps your professor was expecting you to write that driver (which seems a bit mean for a freshman exercise) or adapt it from an earlier version of LowRISC. Either way you’ve got some learning to do and it would not be in your best interests for me to just give you the solution. If I were you I might start with a simulator such as spike or QEMU before trying it on the FPGA board. I might be able to comment further if I knew what University and course you were on and what the syllabus is.
Sent from my iPhone
On 4 Apr 2020, at 07:20, jjyy-Huang notifications@github.com wrote:
Hello, doctor @jrrk . Thank you for your reply. Now I can program my neyxs4ddr and use debian by SDcard. But when i try to use gpio to light a LED (it's necessary for a freshman), but /sys/class/gpio is empty. What should I do next. I am grateful for your patient guidance.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Thank you for your reply, doctor @jrrk . I came into contact with this board and this open source project by chance. I have learned the basics of stm32 before, so now I want to further study the development and study of Linux system. This is just my interest. I will take your advice that write my own driver. Thanks again.
Hello, I am trying to create in version 0.7, but it failed. It stopped in building host-qemu 3.1.1.1.
How can i make it. And where i can find the guidance documents.
Thanks !