sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv | Backup if libera.chat and freenode fall over: irc.oftc.net
FluffyMask has quit [Quit: WeeChat 2.9]
valentin has quit [Read error: Connection reset by peer]
valentin has joined #riscv
farcas has quit [Ping timeout: 272 seconds]
farcas has joined #riscv
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
Skyz has quit [Quit: Client closed]
valentin_ has joined #riscv
valentin has quit [Read error: Connection reset by peer]
Skyz has joined #riscv
<hendursaga> my book on RISC-V assembly finally arrived!
<solrize> riscv.org ?
Skyz has quit [Client Quit]
Skyz has joined #riscv
<hendursaga> No, the one by Reis
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
valentin_ has quit [Read error: Connection reset by peer]
valentin has joined #riscv
Skyz has quit [Quit: Client closed]
<jrtc27> arm/aarch64 include the addend, which is rather strange
<jrtc27> although, addend against undef weak for a branch is itself a weird thing to do
vagrantc has joined #riscv
ewdwasright has quit [Quit: Leaving]
davidlt has joined #riscv
valentin has quit [Read error: Connection reset by peer]
valentin has joined #riscv
mahmutov_ has quit [Ping timeout: 258 seconds]
solrize has quit [Ping timeout: 244 seconds]
radu242 has quit [Quit: The Lounge - https://thelounge.chat]
radu242 has joined #riscv
Skyz has joined #riscv
valentin_ has joined #riscv
valentin has quit [Read error: Connection reset by peer]
davidlt has quit [Ping timeout: 252 seconds]
cmuellner_ has joined #riscv
craigo_ has joined #riscv
ovh has joined #riscv
radu2428 has joined #riscv
TMM__ has joined #riscv
ovh is now known as riff-IRC
radu242 has quit [*.net *.split]
frost has quit [*.net *.split]
craigo has quit [*.net *.split]
TMM_ has quit [*.net *.split]
riff_IRC has quit [*.net *.split]
gordonDrogon has quit [*.net *.split]
cmuellner has quit [*.net *.split]
ssb has quit [*.net *.split]
radu2428 is now known as radu242
craigo_ has quit [Read error: Connection reset by peer]
pabs3 has quit [Remote host closed the connection]
ssb has joined #riscv
pabs3 has joined #riscv
gordonDrogon has joined #riscv
Skyz has quit [Quit: Client closed]
solrize has joined #riscv
valentin has joined #riscv
valentin_ has quit [Read error: Connection reset by peer]
davidlt has joined #riscv
jellydonut has quit [Read error: Connection reset by peer]
jellydonut has joined #riscv
TMM__ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
smartin has joined #riscv
valentin has quit [Read error: Connection reset by peer]
valentin_ has joined #riscv
vagrantc has quit [Quit: leaving]
cmuellner_ has quit [Remote host closed the connection]
cmuellner has joined #riscv
frost has joined #riscv
valentin_ has quit [Read error: Connection reset by peer]
valentin has joined #riscv
Sofia has quit [Remote host closed the connection]
Sofia has joined #riscv
<xentrac> happy st. columba day
Sos has joined #riscv
hendursa1 has joined #riscv
hendursaga has quit [Ping timeout: 252 seconds]
hendursa1 has quit [Remote host closed the connection]
hendursaga has joined #riscv
valentin has quit [Read error: Connection reset by peer]
valentin has joined #riscv
psydroid has quit [Write error: Connection reset by peer]
khem has quit [Remote host closed the connection]
llamp[m] has quit [Remote host closed the connection]
ahs3[m] has quit [Read error: Connection reset by peer]
demostanis[m] has quit [Read error: Connection reset by peer]
llamp[m] has joined #riscv
demostanis[m] has joined #riscv
psydroid has joined #riscv
ahs3[m] has joined #riscv
khem has joined #riscv
smaeul_ has joined #riscv
smaeul has quit [Ping timeout: 264 seconds]
wgrant has quit [Ping timeout: 252 seconds]
wgrant has joined #riscv
Sofia has quit [Remote host closed the connection]
Sofia has joined #riscv
craigo_ has joined #riscv
Andre_H has joined #riscv
Andre_H has quit [Quit: Leaving.]
hendursa1 has joined #riscv
hendursaga has quit [Ping timeout: 252 seconds]
TwoNotes has joined #riscv
<clandmeter> hi, what is the current status of nodejs on riscv64?
<sorear> clandmeter: last i looked it was quite a way away, there are a few forks where people have started on v8 support but there's no clear path to upstreaming, but this was a while ago
wgrant has quit [Ping timeout: 252 seconds]
wgrant has joined #riscv
<clandmeter> sorear: ah ok thx for the info, it was a bit hard to find.
<clandmeter> im adding riscv support to alpine as we speak
<clandmeter> few things are still missing which are obvious, like nodejs and luajit.
alexfanqi has quit [Quit: leaving]
alexfanqi has joined #riscv
alexfanqi has quit [Client Quit]
alexfanqi has joined #riscv
<sorear> adding? did ddevault's stuff a few years ago not get into the actual repo?
Sofia has quit [Ping timeout: 252 seconds]
<davidlt> clandmeter, sorear, v8 and nodejs support for riscv64 is merged
<sorear> oh nice
<sorear> 64 only? (not that building v8 in 2gb is that realistic)
<clandmeter> sorear: no it did not. he has his own repo i think.
<davidlt> I think configure stuff for nodejs landed in v16.0.0
<sorear> clandmeter: sigh.
<davidlt> 64-bit only
<clandmeter> davidlt: ah nice
<davidlt> I have not tried it myself yet, but I have seen demos of NodeJS running on riscv64
<clandmeter> sorear: the problem with ddevault work was, there was no decent hw, there still is non, but qemu has improved.
<clandmeter> so our riscv64 support will be build on qemu-user for now.
<sorear> i remember qemu-riscv64 in 2016 and i think most of the improving was already done by the time in question ;)
<clandmeter> qemu 6 has a lot of improvements.
<clandmeter> i could not properly build go related stuff on v5
<davidlt> clandmeter, we couldn't build it properly on Unleashed too ;)
<sorear> IIRC i used qemu 3.something for all build tests for the go runtime port
<davidlt> clandmeter, bootstrapping Go revealed errata for FU540, which was later fixed via OpenSBI patch
<davidlt> things work, things break, nothing constantly works properly (just my point of view)
<clandmeter> yes unleashed is what ddevault used iirc
Sofia has joined #riscv
<sorear> fedora and debian were also entirely built on qemu (system)
<davidlt> true :)
* sorear looks for something relevant in the qemu 6 release notes
<rjek> We did a lot of Freedesktop-SDK/GnomeOS with qemu on a 128-thread EPYC system
<rjek> qemu-user is so much faster than qemu-system (you're not emulating the kernel for a start), but the emulation is much... stickier. No ptrace, no debugging, etc.
<sorear> also no cgroups, which means no systemd, which means no half of fedora's %post_install scripts, which means no being able to actually use the normal package build system
<sorear> qemu-user was used for some testing but for the actual package repo we barely used it at all :/
hendursa1 has quit [Quit: hendursa1]
wgrant has quit [Ping timeout: 252 seconds]
wgrant has joined #riscv
hendursaga has joined #riscv
pabs3 has quit [Ping timeout: 252 seconds]
pabs3 has joined #riscv
<dlan> clandmeter: davidlt: for even that PR 37980 merged, it's still not built, the v8 bundled in nodejs is too old
<davidlt> dlan, shouldn't be the case, IIRC they waiting for a newer v8 to be merged for this
<jrtc27> rjek: qemu-user has a gdbserver in it you can user
<jrtc27> *use
<dlan> as I've tried nodejs myself few weeks ago, and fail
<jrtc27> you just have to manually qemu-riscv64-static -s 1234 foo bar baz or something
<jrtc27> you can also use -d trace:syscalls or something to get the untranslated system calls
<jrtc27> as a crappy version of strace
<rjek> jrtc27: I meant to dry that
<jrtc27> I've used both, though they can be a bit janky
* rjek nods
<jrtc27> that might just be because I was trying to do it with m68k qemu though :P
<dlan> sorear: davidlt: how does the compiling speed while comparing qemu vs unleashed? from my own experience, unleashed is much faster, but problem is that my x86 cpu for qemu is old/not fast
<dlan> davidlt: try to bootstrap go on unleashed recently, it works
aburgess_ has joined #riscv
peeps[zen] has joined #riscv
mahmutov_ has joined #riscv
mifr_ has joined #riscv
smaeul has joined #riscv
stefanct__ has joined #riscv
wigyori_ has joined #riscv
smaeul_ has quit [*.net *.split]
dh` has quit [*.net *.split]
wigyori has quit [*.net *.split]
stefanct has quit [*.net *.split]
aburgess has quit [*.net *.split]
mifr has quit [*.net *.split]
peepsalot has quit [*.net *.split]
stefanct__ is now known as stefanct
wgrant has quit [Ping timeout: 250 seconds]
wgrant has joined #riscv
cwebber has quit [Remote host closed the connection]
cwebber has joined #riscv
wgrant_ has joined #riscv
wgrant has quit [Ping timeout: 265 seconds]
vagrantc has joined #riscv
zjason` is now known as zjason
wgrant_ has quit [Ping timeout: 264 seconds]
wgrant has joined #riscv
frost has quit [Quit: Connection closed]
adjtm_ has joined #riscv
craigo_ has quit [Read error: Connection reset by peer]
craigo_ has joined #riscv
radu2422 has joined #riscv
s0ph0s|alt has joined #riscv
s0s has joined #riscv
craigo__ has joined #riscv
smartin1 has joined #riscv
Skyz has joined #riscv
edef_ has joined #riscv
craigo_ has quit [*.net *.split]
Sos has quit [*.net *.split]
smartin has quit [*.net *.split]
radu242 has quit [*.net *.split]
iorem has quit [*.net *.split]
edef has quit [*.net *.split]
s0ph0s has quit [*.net *.split]
adjtm has quit [*.net *.split]
smartin1 is now known as smartin
radu2422 is now known as radu242
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
adjtm has joined #riscv
adjtm_ has quit [Ping timeout: 265 seconds]
FluffyMask has joined #riscv
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
mahmutov_ has quit [Ping timeout: 252 seconds]
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
edef_ has quit [Changing host]
edef_ has joined #riscv
edef_ is now known as edef
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
ats has quit [Quit: entire new computer, in the interests of not dropping off IRC every day or so]
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
dh` has joined #riscv
valentin has quit [Read error: Connection reset by peer]
valentin_ has joined #riscv
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
ats has joined #riscv
mahmutov_ has joined #riscv
Andre_H has joined #riscv
Skyz has quit [Quit: Client closed]
valentin_ has quit [Read error: Connection reset by peer]
valentin has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
davidlt has quit [Ping timeout: 245 seconds]
valentin_ has joined #riscv
valentin has quit [Read error: Connection reset by peer]
valentin_ has quit [Quit: Leaving]
smartin has quit [Quit: smartin]
aburgess_ has quit [Remote host closed the connection]
aburgess_ has joined #riscv
Skyz has joined #riscv
<TwoNotes> At boot time, for the initial drop for M to S mode, is the procedure to preload the mstatus and mepc CSRs and do an 'mret', as though returning from an interrupt?
Skyz has quit [Quit: Client closed]
<geist> TwoNotes: i believe so yes. i actually can't think of another way to do it anyway
<geist> *ret to drop to a lower mode, exception to get to a higher
<jrtc27> yes, it is the same
<TwoNotes> great, thank you
TwoNotes has quit [Quit: Leaving]
Andre_H has quit [Ping timeout: 268 seconds]
<dh`> how is the gdbserver in qemu-system?
valentin has joined #riscv
<dh`> can it successfully debug interrupt handlers?
<jrtc27> yes it has one too
valentin has quit [Client Quit]
awordnot has quit [Read error: Connection reset by peer]
awordnot has joined #riscv
Skyz has joined #riscv
Skyz has quit [Quit: Client closed]
Skyz has joined #riscv
Skyz has quit [Client Quit]
iorem has joined #riscv
awordnot has quit [Ping timeout: 264 seconds]
awordnot has joined #riscv
Skyz has joined #riscv
craigo__ has quit [Read error: Connection reset by peer]
Skyz has quit [Quit: Client closed]
vagrantc has quit [Quit: leaving]
balrog has joined #riscv