_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 265 seconds]
Degi_ is now known as Degi
analognoise has joined #litex
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
<tnt> gatecat: mmm ... there seem to be a lot of atomic ops before it even setups the kernel traps.
<gatecat> tnt: yeah, this was on top of antmicros heavily patched tree, I suspect those may have been patched out too
<gatecat> tbh emulating them in M-mode is a better option, but I don't have a good reference for that
<gatecat> someone else here might
<tnt> So the kernel by default runs in S-mode ?
<gatecat> yeah
michalsieron has joined #litex
<david-sawatzke[m> It's probably something to do with https://github.com/enjoy-digital/litex/pull/965, but I'm not sure
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
novenary has joined #litex
michalsieron has quit [Ping timeout: 258 seconds]
geertu has quit [Ping timeout: 252 seconds]
geertu has joined #litex
<tnt> mmm ... does the kernel except to be able to do misaligned loads ? I get a "load address misaligned" exception.
<gatecat> I think it expects those to be emulated in M-mode too
<tnt> But how does linux-on-litex handles that ?
<gatecat> it used to have its own emulator, now it uses opensbi by the looks of things
<tnt> was that done in the bios ?
<gatecat> no, it goes bios->opensbi (which remains resident in m-mode)->linux
<gatecat> the emulator used to be in the place of opensbi
<tnt> right, I mean before it used opensbi.
<tnt> I'm trying to find related code in the litex git history
<gatecat> was the commit that removed it and switched to opensbi
<tnt> Thanks
Coldberg has joined #litex
C-Man has quit [Ping timeout: 252 seconds]