Sunday, 2021-07-25

*** tpb <[email protected]> has joined #litex00:00
*** Degi_ <[email protected]> has joined #litex01:30
*** Degi <[email protected]> has quit IRC (Ping timeout: 265 seconds)01:31
*** Degi_ is now known as Degi01:31
*** analognoise <[email protected]> has joined #litex05:42
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)11:02
*** TMM_ <[email protected]> has joined #litex11:02
tntgatecat: mmm ... there seem to be a lot of atomic ops before it even setups the kernel traps.14:42
gatecattnt: yeah, this was on top of antmicros heavily patched tree, I suspect those may have been patched out too14:56
gatecattbh emulating them in M-mode is a better option, but I don't have a good reference for that14:56
gatecatsomeone else here might14:57
tntSo the kernel by default runs in S-mode ?14:58
gatecatyeah15:03
*** michalsieron <[email protected]> has joined #litex15:08
* david-sawatzke[m < https://libera.ems.host/_matrix/media/r0/download/libera.chat/2687542de86aa4ca25f924562bd3d5fe11f1d8f7/message.txt >15:32
david-sawatzke[mIt's probably something to do with https://github.com/enjoy-digital/litex/pull/965, but I'm not sure15:32
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)16:32
*** TMM_ <[email protected]> has joined #litex16:32
*** novenary <[email protected]> has joined #litex16:59
*** michalsieron <[email protected]> has quit IRC (Ping timeout: 258 seconds)17:16
*** geertu <[email protected]> has quit IRC (Ping timeout: 252 seconds)18:35
*** geertu <[email protected]> has joined #litex19:06
tntmmm ... does the kernel except to be able to do misaligned loads ? I get a "load address misaligned" exception.19:50
gatecatI think it expects those to be emulated in M-mode too19:51
tntBut how does linux-on-litex handles that ?19:51
gatecatit used to have its own emulator, now it uses opensbi by the looks of things19:52
tntwas that done in the bios ?19:53
gatecatno, it goes bios->opensbi (which remains resident in m-mode)->linux19:53
gatecatthe emulator used to be in the place of opensbi19:54
tntright, I mean before it used opensbi.19:54
tntI'm trying to find related code in the litex git history19:56
gatecathttps://github.com/litex-hub/linux-on-litex-vexriscv/commit/382fe2ac67b2bb2fbc738d32b2054f95f142278019:56
gatecatwas the commit that removed it and switched to opensbi19:56
tntThanks19:59
*** Coldberg <[email protected]> has joined #litex22:44
*** C-Man <[email protected]> has quit IRC (Ping timeout: 252 seconds)22:48

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