enjoy-digital / litex

Build your hardware, easily!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json2dts issue

Renemiess opened this issue · comments

Hi, I wanna know how to convert json to dts, thanks

when I run make.py or use this command("litex_json2dts_linux csr.json > rv32.dts"), I got this error below
Snipaste_2023-11-10_02-09-02

Which cpu did you build your target with?

What do you get if you use make.py to automate the linux-on-litex-vexriscv build?

Which cpu did you build your target with?

What do you get if you use make.py to automate the linux-on-litex-vexriscv build?

cpu: kianv, and board is sipeed_tang_primer_20k, and I don't know how to boot linux on this board

Follow the instructions here:
https://github.com/litex-hub/linux-on-litex-vexriscv. This is a supported board:

$ ./make.py --board=sipeed_tang_primer_20k --build

There are a few other steps, but once you have the default, supported, setup working you can then start to explore other cpus, etc.

The published CPU only supports uLinux, and LiteX is not yet configured for uLinux. Otherwise, go to the original repo to run uLinux. But with LiteX, many bare-metal aspects are supported, and one can benefit from the memory, caches.

check tangNano20k branch

https://github.com/splinedrive/kianRiscV/tree/tangnano20k_ulinux_soc