Thursday, 2019-11-28

*** tpb has joined #litex00:00
somlodaveshah: bisect says it's yosys commit #ca99b1ee (which makes no sense to me, as it's just changes in how/when error logging happens)00:46
*** CarlFK has joined #litex01:21
*** CarlFK has quit IRC04:36
*** CarlFK has joined #litex04:55
*** nrossi has joined #litex05:18
*** key2 has quit IRC05:49
*** key2 has joined #litex05:55
daveshahsomlo: my guess then is it is some general instability in the DDR3 interface that depends on PnR seed08:01
_florent_somlo: can you post the logs of the DDR3 calibration for both non-working/working cases?08:13
somlodaveshah: although it's too correlated (older yosys ok, newer yosys not ok) which means I likely screwed up the bisect, so I'll try that again just to be sure :)10:32
somlo_florent_: stand by, it'll take me about 45 minutes to get to where my trellisboard is physically located, then I'll post some logs...10:34
somlo_florent_: the read leveling output is identical for both bitstreams (the one generated with the older yosys, which works, and the newer one, where the kernel crashes during early boot)11:08
_florent_somlo: ok thanks11:08
_florent_and the memtest is also passing?11:08
somlomemtest passes, tftp finishes downloading the BBL-wrapped kernel, BBL actually jumps into the kernel, which then hangs after printing out a few lines11:10
_florent_it could be interesting to increase MEMTEST_DATA_SIZE: https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/bios/sdram.c#L76211:10
tpbTitle: litex/sdram.c at master · enjoy-digital/litex · GitHub (at github.com)11:10
_florent_somlo: can you try to use crc command to do a crc of the kernel image for example in both case?11:12
_florent_just to see if you are able to read the same data from DDR3 in both cases11:12
somlonot sure how to interrupt it after tftp completes, before it starts BBL11:13
somloI mean, I can probably hack the bios, but is there a more straightforward way ? :)11:13
*** synaption[m] has quit IRC13:15
*** xobs has quit IRC13:16
*** john_k[m] has quit IRC13:16
*** CarlFK has quit IRC13:32
*** synaption[m] has joined #litex13:42
*** xobs has joined #litex13:42
*** john_k[m] has joined #litex13:42
*** john_k[m] has quit IRC13:46
*** synaption[m] has quit IRC13:46
*** xobs has quit IRC13:46
_florent_somlo: sorry for the delay, you'll probably need to hack the bios yes13:46
*** rohitksingh has quit IRC14:18
*** xobs has joined #litex14:21
*** synaption[m] has joined #litex14:21
*** john_k[m] has joined #litex14:21
*** Xark has quit IRC18:31
*** Xark has joined #litex18:37
somlo_florent_, daveshah: yosys 6464dc3 causes nextpnr to spend HOURS routing litex+rocket on the trellisboard19:39
somlostill at it, since earlier this morning -- figured I'd do the larger MEMTEST_DATA_SIZE before getting back to bisecting between earlier commit boundaries19:39
daveshahI don't think that commit touches anything related to ECP519:40
daveshahSounds more like a bad seed, tbh19:40
somloguess I need to go do family things now, so I'll let it route a bit longer before I kill it and get back to finding the earlier bit of trouble :)19:41
somlodaveshah: it's not the commit itself, but probably whatever else is inbetween it and the earlier one I tried successfully (well, successfully *completed*, with the kernel hanging after bbl)19:41
somloin maybe related news, those recent ecp5 commits appear to get utilization back below 98% on the versa (didn't test if it actually worked, but it looks like it fits now)19:46
daveshahYes, I did test that it at least got to memtest19:46
daveshahUtilisation with the packer changes will be around 95%19:46
somloanyway, gotta go do family stuff now lest I get yelled at, then I'll get back to that bisect I botched yesterday :)19:46
*** rohitksingh has joined #litex21:09
*** nrossi has quit IRC21:14
*** rohitksingh has quit IRC21:29
*** rohitksingh has joined #litex22:07
somlo_florent_, daveshah: yosys #6464dc3, trellis #6464dc3, and nextpnr #6464dc3 (latest as of 24 hours ago) -- memtest passes (with the larger MEMTEST_DATA_SIZE), linux kernel hangs after only a few garbled printk's22:15
somloback to bisect now :)22:15

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