Friday, 2021-06-04

*** tpb <[email protected]> has joined #litex00:00
*** Wolf0 <Wolf0!~Wolf0@user/wolf0> has quit IRC (Ping timeout: 252 seconds)02:33
*** Wolf0 <[email protected]> has joined #litex02:45
*** Degi_ <[email protected]> has joined #litex03:14
*** Degi <[email protected]> has quit IRC (Ping timeout: 272 seconds)03:15
*** Degi_ is now known as Degi03:15
*** pftbest <[email protected]> has joined #litex05:44
*** pftbest_ <[email protected]> has joined #litex05:53
*** pftbest <[email protected]> has quit IRC (Read error: Connection reset by peer)05:54
*** pftbest_ <[email protected]> has quit IRC (Remote host closed the connection)05:54
*** pftbest <[email protected]> has joined #litex05:55
*** FabM <FabM!~FabM@2a03:d604:101:1200:e243:32c8:4aa5:dbdc> has joined #litex06:25
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)09:17
*** TMM_ <[email protected]> has joined #litex09:18
Melkhior@_florent_ For the issue I have (the 'stream' benchmark not validating), it seems I have found a 'deterministic' way of creating the problem (with my bitstream/binary combo anyway)09:44
Melkhiorit's not temperature, it's power-cycling09:44
_florent_ah ok09:44
Melkhiorif I power cycle (unplug/replug), during this first boot the bennchmark is fine09:44
Melkhiorif I then type 'halt' in Linux, wait for Linux to halt, then hit the 'reset' button on the board, this particular variant of the benchmark won't validate09:45
Melkhiormost of the system works fine (I have seen very occasional random crashes in the past that I cannot confirm have the same origin)09:46
Melkhiorthe benchmark relies on FP64 computations, so it could be the FPU, or the memory09:46
Melkhioror coherency (it uses OpenMP over 4 cores)09:47
Melkhiorweird, I could have thought that using the reset button and power-cycling would be similar/identical...09:47
Melkhiorpower-cycling is an OK workaround, but it seems something doesn't reset properly in my soc09:49
_florent_interesting, in the CRG of your SoC, do you have a self.rst Signal connected to the PLL?09:50
_florent_If yes, the whole SoC will be reseted when SoCController.reset is written09:51
_florent_If not, only the CPU will be reseted09:52
_florent_If you have it, that could be useful to remove it to see if it impacts the behavior09:52
MelkhiorI have:09:55
Melkhior        self.comb += pll.reset.eq(~plls_reset | self.rst)09:55
Melkhiorfor all 4 S7MMCM (system, idelay, video, usb)09:55
Melkhiorplls_reset = platform.request("cpu_reset")09:56
Melkhior"cpu_reset" is the reset button I think09:56
_florent_ok, cpu_reset is the reset button yes09:56
_florent_instead of halt, could you do a reboot in Linux?09:57
_florent_this should write the SoCControler's reset register to reboot the CPU09:57
_florent_it would be interesting to see if the behavior is similar than with a manual reset09:58
Melkhior'reboot' worked09:59
Melkhiorand it seems the benchmark is fine after 'reboot'09:59
Melkhior'halt+reset' -> broken again10:02
_florent_ok10:03
Melkhior'reboot' -> can't find the sdcard ...10:03
_florent_just after plugging the board10:03
_florent_can you interrupt the LiteX BIOS boot10:03
_florent_do a reboot command10:03
_florent_and then let it boot and see if the test is passing?10:03
Melkhior'reset' (from the missing sdcard) -> seems OK10:04
Melkhiorwill try10:04
Melkhiornot sure if it's related, but the 'plug, force reboot from BIOS sequence didn't do what we expected':10:06
Melkhior(root)buildroot:~# [   41.772794] Unable to handle kernel access to user memory without ua10:06
Melkhiorccess routines at virtual address 00000048                                                10:06
Melkhior[   41.779362] Oops [#1]                                                                  10:06
Melkhior[   41.780185] CPU: 0 PID: 159 Comm: stream_unrolled Not tainted 5.13.0-rc2-173551-g9ed90b10:06
Melkhiora50da0-dirty #14                                                                          10:06
Melkhior[   41.784120] epc : handle_mm_fault+0x228/0x990                                          10:06
Melkhior[   41.785990]  ra : do_page_fault+0xd4/0x2ce                                             10:06
Melkhior[   41.788170] epc : c00b3fa4 ra : c000586e sp : c2843ea0                                 10:06
Melkhior[   41.790646]  gp : c0660958 tp : c1433600 t0 : c000579a                                 10:07
Melkhior[   41.793199]  t1 : c04cc0f8 t2 : c04cc138 s0 : c2843f20                                 10:07
Melkhior[   41.795072]  s1 : 9bbd4000 a0 : c0b7e600 a1 : c161e000                                 10:07
Melkhior[   41.797699]  a2 : 00000cc0 a3 : 80000000 a4 : 42836000                                 10:07
Melkhior[   41.800291]  a5 : 00000000 a6 : 9d58f000 a7 : 000001a6                                 10:07
Melkhior[   41.802785]  s2 : 00000255 s3 : c2843f70 s4 : c0662000                                 10:07
Melkhior[   41.805377]  s5 : c068df68 s6 : 00000255 s7 : 00000000                                 10:07
Melkhior[   41.807981]  s8 : 0000000f s9 : 0000000d s10: c15b7c48                                 10:07
Melkhior[   41.810579]  s11: 0000000f t3 : 000993c9 t4 : 003d0900                                 10:07
Melkhior[   41.812647]  t5 : 00000000 t6 : 00000001                                               10:07
Melkhior[   41.814088] status: 00000120 badaddr: 00000048 cause: 0000000d                         10:07
Melkhior[   41.816980] Call Trace:                                                                10:07
Melkhior[   41.817819] [<c00b3fa4>] handle_mm_fault+0x228/0x990                                   10:07
Melkhior[   41.819586] [<c000586e>] do_page_fault+0xd4/0x2ce                                      10:07
Melkhior[   41.821179] [<c000208a>] ret_from_exception+0x0/0xc                                    10:07
Melkhior[   41.825777] ---[ end trace 1b357620da9de914 ]---    10:07
Melkhiorlet's try again10:07
Melkhior'plug, force reboot from BIOS' -> seems OK10:10
Melkhior'halt, reset' -> broken10:13
MelkhiorI'll try do do more tests over the week-end to confirm that 'reboot' is better than 'halt;hard-reset'10:17
Melkhior@_florent_ question: does 'reboot' in the BIOS also write to said "SoCControler's reset register" ?10:18
MelkhiorI suppose so...10:20
_florent_Yes it's rebooting by writing to reset register10:20
_florent_which should be very similar to a button reset since this is also reseting the PLL (since self.rst Signal is present)10:20
MelkhiorI will have do do more tests; if 'reboot' from linux succeeds (i.e. no issue with the sd-card) it seems the benchmark will work10:24
Melkhiorhowever I've seen it fails after a 'reboot' from BIOS I think10:24
Melkhioroff to lunch, thx for the explanations10:27
*** Degi <[email protected]> has quit IRC (Remote host closed the connection)11:11
*** Degi <[email protected]> has joined #litex11:16
*** pftbest <[email protected]> has quit IRC (Remote host closed the connection)11:20
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex11:20
*** FabM <FabM!~FabM@2a03:d604:101:1200:e243:32c8:4aa5:dbdc> has quit IRC (Ping timeout: 265 seconds)11:31
*** geertu <[email protected]> has quit IRC (Quit: Changing server)11:44
*** geertu <[email protected]> has joined #litex11:44
*** FabM <FabM!~FabM@2a03:d604:101:1200:6324:5b91:3628:4a98> has joined #litex11:48
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)12:30
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex12:43
*** futarisIRCcloud <[email protected]> has joined #litex12:45
*** FabM <FabM!~FabM@2a03:d604:101:1200:6324:5b91:3628:4a98> has quit IRC (Ping timeout: 272 seconds)13:03
*** FabM <FabM!~FabM@2a03:d604:101:1200:a631:3968:e7ac:5aae> has joined #litex13:11
*** C-Man <[email protected]> has joined #litex13:48
*** C-Man <[email protected]> has left #litex13:48
*** C-Man <[email protected]> has joined #litex13:49
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity)14:55
*** FabM <FabM!~FabM@2a03:d604:101:1200:a631:3968:e7ac:5aae> has quit IRC (Quit: Leaving)16:19
*** jryans <jryans!~jryansmat@2001:470:69fc:105::1d> has quit IRC (Quit: node-irc says goodbye)16:36
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Quit: node-irc says goodbye)16:36
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has quit IRC (Quit: node-irc says goodbye)16:36
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has quit IRC (Quit: node-irc says goodbye)16:36
*** Leon[m] <Leon[m]!~leons@2001:470:69fc:105::abc> has quit IRC (Quit: node-irc says goodbye)16:36
*** jryans <jryans!~jryansmat@2001:470:69fc:105::1d> has joined #litex16:37
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex16:39
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has joined #litex16:39
*** Leon[m] <Leon[m]!~leons@2001:470:69fc:105::abc> has joined #litex16:39
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex16:39
*** pftbest_ <[email protected]> has joined #litex16:53
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Ping timeout: 272 seconds)16:57
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)17:27
*** TMM_ <[email protected]> has joined #litex17:28
*** pftbest_ <[email protected]> has quit IRC (Remote host closed the connection)18:52
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex18:53
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)19:00
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex19:00
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)19:21
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex19:25
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)19:31
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex19:33
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)19:36
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex19:56
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Ping timeout: 268 seconds)20:02
*** tcal <[email protected]> has joined #litex20:07
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex20:38
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Ping timeout: 264 seconds)20:42
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex21:35
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Ping timeout: 268 seconds)21:40
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex22:09
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)23:09
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex23:29
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Ping timeout: 264 seconds)23:34

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!