Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make : Running Dual-Core RISC-V Linux on Cheap FPGA Board #552

Open
hai4john opened this issue Dec 13, 2023 · 2 comments
Open

How to make : Running Dual-Core RISC-V Linux on Cheap FPGA Board #552

hai4john opened this issue Dec 13, 2023 · 2 comments
Labels

Comments

@hai4john
Copy link

Saw a blog: https://www.luffca.com/2022/10/linux-tang-primer
In order to make it to work, how to modify the cmd: python -m litex_boards.targets.sipeed_tang_primer --build --load
e.g. --cpu-type=vexriscv_smp
how to conf,let to see sdram in the soc (8M SDram), modiy rom size(64k ROM)

@hai4john
Copy link
Author

need to modiy litex_boards/platforms/sipeed_tang_primer.py and add "ddram" and "sdcard" ?

@enjoy-digital
Copy link
Member

@hai4john: You can add --help to your build-command.

  • DRAM should be enabled by default.
  • Adding 2 CPUs with VexRiscv-SMP: --cpu-type=vexriscv_smp --cpu-count=2
  • Adding SDCard: --with-sdcard
  • Etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants