Saturday, 2019-12-07

*** tpb has joined #litex00:00
somlomithro: in litex00:21
mithrolm32 has been used more for bare metal00:21
mithromor1kx has been used more for Linux00:21
somlomithro: 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
mithrosomlo: Well, we have toolchains for both in litex-buildenv / conda / etc00:33
somlomithro: cool, thanks! so it is down to flipping a coin, then :)00:39
*** rohitksingh has quit IRC01:21
*** _whitelogger has quit IRC04:15
*** _whitelogger has joined #litex04:18
*** nrossi has joined #litex04:40
*** _whitelogger has quit IRC04:54
*** _whitelogger has joined #litex04:57
*** _whitelogger has quit IRC06:33
*** _whitelogger has joined #litex06:36
*** _whitelogger has quit IRC06:57
*** _whitelogger has joined #litex07:00
scanakcihttps://usercontent.irccloud-cdn.com/file/9ER4SuPZ/BIOS_help.png07:56
scanakcifinally realized the issue. help command works fine. crcbios() causes trap in BP, which requires some debugging07: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 IRC08:15
*** _whitelogger has joined #litex08:18
mithroscanakci: somlo might be able to help -- he was working on Rocket support in LiteX which is also a 64bit RISC-V08: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 bios08:54
_florent_so you can test that to verify that LiteDRAM is working correctly with your SoC08: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-ethernet08:56
_florent_this will try to get a boot.bin file on 192.168.1.50 and then run it08:56
_florent_you can find a simple firmware example here: https://github.com/enjoy-digital/chubby75/tree/master/firmware08:57
tpbTitle: chubby75/firmware at master · enjoy-digital/chubby75 · GitHub (at github.com)08:57
*** _whitelogger has quit IRC09:03
*** _whitelogger has joined #litex09:06
*** synaption[m] has quit IRC12:23
*** bunnie[m] has quit IRC12:24
*** john_k[m] has quit IRC12:24
*** xobs has quit IRC12:24
*** john_k[m] has joined #litex12:51
*** synaption[m] has joined #litex12:51
*** xobs has joined #litex12:51
*** bunnie[m] has joined #litex12:51
*** freemint has joined #litex15:10
*** freemint has quit IRC16:49
*** CarlFK has joined #litex19:06
*** nrossi has quit IRC21:37
scanakci_florent_: thank you23:41

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!