tpb has joined #litex
<somlo> mithro: in litex
<mithro> lm32 has been used more for bare metal
<mithro> mor1kx has been used more for Linux
<somlo> mithro: I just need to test some register read/write functions on both little and big endian, so I think for a proof of concept bare metal is enough... I'll go with the first one for which I find an easy to download and install toolchain... :)
<mithro> somlo: Well, we have toolchains for both in litex-buildenv / conda / etc
<somlo> mithro: cool, thanks! so it is down to flipping a coin, then :)
rohitksingh has quit [Ping timeout: 276 seconds]
_whitelogger has joined #litex
nrossi has joined #litex
_whitelogger has joined #litex
_whitelogger has joined #litex
_whitelogger has joined #litex
<scanakci> finally realized the issue. help command works fine. crcbios() causes trap in BP, which requires some debugging
<scanakci> _florent: I would like to run a program that I load into main memory (to show that we can use LITEDRAM). In simulation, how can I load the program?. You mentioned that --with-sdram should be my next step after BIOS. What exactly does it do?
<scanakci> _florent_:
_whitelogger has joined #litex
<mithro> scanakci: somlo might be able to help -- he was working on Rocket support in LiteX which is also a 64bit RISC-V
<_florent_> scanakci: --with-sdram add LiteDRAM + a SDRAM to the SOC (using a DFI SDRAM model)
<_florent_> scanakci: this will also enable the memtest in the bios
<_florent_> so you can test that to verify that LiteDRAM is working correctly with your SoC
<_florent_> you can then use mr/mw command to do some tests on the SDRAM (should be at 0x4000000 if you still have the same mem_map)
<_florent_> afterthat, if you want to load and run software from the SDRAM, you can use the TFTP: --with-sdram --with-ethernet
<_florent_> this will try to get a boot.bin file on and then run it
<_florent_> you can find a simple firmware example here:
<tpb> Title: chubby75/firmware at master · enjoy-digital/chubby75 · GitHub (at
_whitelogger has joined #litex
synaption[m] has quit [Quit: killed]
bunnie[m] has quit [Quit: killed]
john_k[m] has quit [Quit: killed]
xobs has quit [Quit: killed]
synaption[m] has joined #litex
john_k[m] has joined #litex
xobs has joined #litex
bunnie[m] has joined #litex
freemint has joined #litex
freemint has quit [Ping timeout: 240 seconds]
CarlFK has joined #litex
nrossi has quit [Quit: Connection closed for inactivity]
<scanakci> _florent_: thank you
tpb has quit [Remote host closed the connection]
tpb has joined #litex