*** tpb has joined #litex | 00:00 | |
somlo | mithro: in litex | 00:21 |
---|---|---|
mithro | lm32 has been used more for bare metal | 00:21 |
mithro | mor1kx has been used more for Linux | 00:21 |
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... :) | 00:26 |
mithro | somlo: Well, we have toolchains for both in litex-buildenv / conda / etc | 00:33 |
somlo | mithro: cool, thanks! so it is down to flipping a coin, then :) | 00:39 |
*** rohitksingh has quit IRC | 01:21 | |
*** _whitelogger has quit IRC | 04:15 | |
*** _whitelogger has joined #litex | 04:18 | |
*** nrossi has joined #litex | 04:40 | |
*** _whitelogger has quit IRC | 04:54 | |
*** _whitelogger has joined #litex | 04:57 | |
*** _whitelogger has quit IRC | 06:33 | |
*** _whitelogger has joined #litex | 06:36 | |
*** _whitelogger has quit IRC | 06:57 | |
*** _whitelogger has joined #litex | 07:00 | |
scanakci | https://usercontent.irccloud-cdn.com/file/9ER4SuPZ/BIOS_help.png | 07:56 |
scanakci | finally realized the issue. help command works fine. crcbios() causes trap in BP, which requires some debugging | 07:58 |
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? | 08:02 |
scanakci | _florent_: | 08:02 |
*** _whitelogger has quit IRC | 08:15 | |
*** _whitelogger has joined #litex | 08:18 | |
mithro | scanakci: somlo might be able to help -- he was working on Rocket support in LiteX which is also a 64bit RISC-V | 08:47 |
_florent_ | scanakci: --with-sdram add LiteDRAM + a SDRAM to the SOC (using a DFI SDRAM model) | 08:53 |
_florent_ | scanakci: this will also enable the memtest in the bios | 08:54 |
_florent_ | so you can test that to verify that LiteDRAM is working correctly with your SoC | 08:54 |
_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) | 08:55 |
_florent_ | afterthat, if you want to load and run software from the SDRAM, you can use the TFTP: --with-sdram --with-ethernet | 08:56 |
_florent_ | this will try to get a boot.bin file on 192.168.1.50 and then run it | 08:56 |
_florent_ | you can find a simple firmware example here: https://github.com/enjoy-digital/chubby75/tree/master/firmware | 08:57 |
tpb | Title: chubby75/firmware at master · enjoy-digital/chubby75 · GitHub (at github.com) | 08:57 |
*** _whitelogger has quit IRC | 09:03 | |
*** _whitelogger has joined #litex | 09:06 | |
*** synaption[m] has quit IRC | 12:23 | |
*** bunnie[m] has quit IRC | 12:24 | |
*** john_k[m] has quit IRC | 12:24 | |
*** xobs has quit IRC | 12:24 | |
*** john_k[m] has joined #litex | 12:51 | |
*** synaption[m] has joined #litex | 12:51 | |
*** xobs has joined #litex | 12:51 | |
*** bunnie[m] has joined #litex | 12:51 | |
*** freemint has joined #litex | 15:10 | |
*** freemint has quit IRC | 16:49 | |
*** CarlFK has joined #litex | 19:06 | |
*** nrossi has quit IRC | 21:37 | |
scanakci | _florent_: thank you | 23:41 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!