*** tpb <[email protected]> has joined #litex | 00:00 | |
*** Degi_ <[email protected]> has joined #litex | 01:30 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 265 seconds) | 01:31 | |
*** Degi_ is now known as Degi | 01:31 | |
*** analognoise <[email protected]> has joined #litex | 05:42 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 11:02 | |
*** TMM_ <[email protected]> has joined #litex | 11:02 | |
tnt | gatecat: mmm ... there seem to be a lot of atomic ops before it even setups the kernel traps. | 14:42 |
---|---|---|
gatecat | tnt: yeah, this was on top of antmicros heavily patched tree, I suspect those may have been patched out too | 14:56 |
gatecat | tbh emulating them in M-mode is a better option, but I don't have a good reference for that | 14:56 |
gatecat | someone else here might | 14:57 |
tnt | So the kernel by default runs in S-mode ? | 14:58 |
gatecat | yeah | 15:03 |
*** michalsieron <[email protected]> has joined #litex | 15:08 | |
* david-sawatzke[m < https://libera.ems.host/_matrix/media/r0/download/libera.chat/2687542de86aa4ca25f924562bd3d5fe11f1d8f7/message.txt > | 15:32 | |
david-sawatzke[m | It's probably something to do with https://github.com/enjoy-digital/litex/pull/965, but I'm not sure | 15:32 |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 16:32 | |
*** TMM_ <[email protected]> has joined #litex | 16:32 | |
*** novenary <[email protected]> has joined #litex | 16: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 #litex | 19:06 | |
tnt | mmm ... does the kernel except to be able to do misaligned loads ? I get a "load address misaligned" exception. | 19:50 |
gatecat | I think it expects those to be emulated in M-mode too | 19:51 |
tnt | But how does linux-on-litex handles that ? | 19:51 |
gatecat | it used to have its own emulator, now it uses opensbi by the looks of things | 19:52 |
tnt | was that done in the bios ? | 19:53 |
gatecat | no, it goes bios->opensbi (which remains resident in m-mode)->linux | 19:53 |
gatecat | the emulator used to be in the place of opensbi | 19:54 |
tnt | right, I mean before it used opensbi. | 19:54 |
tnt | I'm trying to find related code in the litex git history | 19:56 |
gatecat | https://github.com/litex-hub/linux-on-litex-vexriscv/commit/382fe2ac67b2bb2fbc738d32b2054f95f1422780 | 19:56 |
gatecat | was the commit that removed it and switched to opensbi | 19:56 |
tnt | Thanks | 19:59 |
*** Coldberg <[email protected]> has joined #litex | 22: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/!