*** tpb has joined #litex | 00:00 | |
*** Degi has quit IRC | 02:10 | |
*** Degi has joined #litex | 02:12 | |
*** CarlFK has quit IRC | 02:17 | |
*** _whitelogger has quit IRC | 03:39 | |
*** _whitelogger has joined #litex | 03:41 | |
*** _whitelogger has quit IRC | 04:42 | |
*** _whitelogger has joined #litex | 04:44 | |
*** _whitelogger has quit IRC | 05:48 | |
*** _whitelogger has joined #litex | 05:50 | |
*** CarlFK has joined #litex | 06:39 | |
*** st-gourichon-fid has joined #litex | 06:44 | |
*** st-gourichon-fid has quit IRC | 07:03 | |
benh_ | somlo: allright, going to look at that .data section issue now | 07:34 |
---|---|---|
*** st-gourichon-fid has joined #litex | 07:37 | |
benh_ | somlo: so your "test" works in sim... I assume the "ROM" is really a RAM ? | 07:55 |
benh_ | ah no I see | 07:56 |
*** st-gourichon-fid has quit IRC | 08:15 | |
*** lambda has quit IRC | 08:25 | |
*** st-gourichon-fid has joined #litex | 08:29 | |
*** lambda has joined #litex | 08:35 | |
*** st-gourichon-fid has quit IRC | 09:48 | |
*** st-gourichon-fid has joined #litex | 10:11 | |
somlo | benh: don't know what sim used to do before 05d4756e, but on fpga .data really was read-only | 10:59 |
somlo | but after 05d4756e I added a printout of the initial global .data value (before attempting to change it) | 10:59 |
somlo | and instead of the actual value you got 0 (both on fpga and in sim), unless you successfully initialized .data by copying it from rom | 11:00 |
somlo | but I'm guessing you already figured that out, this is just in case anyone else is wondering :) | 11:01 |
zyp | it doesn't really matter whether it's read only or writable, if you want to be able to reset the cpu without reloading the entire fpga, you need to reload .data with initial values | 11:04 |
benh_ | somlo: nah I misread the test output | 11:22 |
benh_ | it was broken on sim ... I sent a PR for the fix | 11:22 |
benh_ | zyp: oh absolutely, I was wondering mostly why it worked without any fix... it's just that we don't seem to rely much on initialized data so far, we got lucky | 11:23 |
benh_ | we were also missing a .toc in the ld script | 11:24 |
zyp | yeah | 11:24 |
*** spacekookie has quit IRC | 13:21 | |
*** spacekookie has joined #litex | 13:22 | |
*** Skip has joined #litex | 13:38 | |
*** [Matt]_ is now known as [Matt] | 14:12 | |
*** Skip has quit IRC | 19:42 | |
*** st-gourichon-fid has quit IRC | 20:25 | |
*** somlo has quit IRC | 20:32 | |
*** somlo has joined #litex | 20:34 | |
*** somlo has quit IRC | 21:00 | |
*** somlo has joined #litex | 21:10 | |
*** Skip has joined #litex | 22:03 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!