sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
pecastro has quit [Ping timeout: 264 seconds]
frost has joined #riscv
justyb11 has joined #riscv
jacklsw has joined #riscv
jimwilson has quit [Quit: Leaving]
wolfshappen_ has quit [Quit: later]
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
Guest99 has quit [Ping timeout: 256 seconds]
cengiz_io has quit [Ping timeout: 245 seconds]
panzeroceania has quit [Ping timeout: 264 seconds]
theruran has quit [Ping timeout: 264 seconds]
SanchayanMaity has quit [Ping timeout: 264 seconds]
jcm has quit [Ping timeout: 264 seconds]
adamse has quit [Ping timeout: 268 seconds]
khilman has quit [Ping timeout: 268 seconds]
gatecat has quit [Ping timeout: 268 seconds]
tucanae47_ has quit [Ping timeout: 268 seconds]
JSharp has quit [Ping timeout: 268 seconds]
rsalveti has quit [Ping timeout: 264 seconds]
adomas has quit [Ping timeout: 264 seconds]
khilman has joined #riscv
drewfustini has quit [Ping timeout: 268 seconds]
gatecat has joined #riscv
mithro has quit [Ping timeout: 264 seconds]
DynamiteDan has quit [Ping timeout: 264 seconds]
compnerd has quit [Ping timeout: 264 seconds]
rsalveti has joined #riscv
arnd has quit [Ping timeout: 268 seconds]
elms has quit [Ping timeout: 268 seconds]
wolfshappen has joined #riscv
drewfustini has joined #riscv
sorear has quit [Ping timeout: 268 seconds]
moto-timo has quit [Ping timeout: 268 seconds]
NishanthMenon has quit [Ping timeout: 268 seconds]
moto-timo has joined #riscv
DynamiteDan has joined #riscv
elms has joined #riscv
SanchayanMaity has joined #riscv
adomas has joined #riscv
NishanthMenon has joined #riscv
mithro has joined #riscv
compnerd has joined #riscv
JSharp has joined #riscv
cengiz_io has joined #riscv
panzeroceania has joined #riscv
theruran has joined #riscv
arnd has joined #riscv
sorear has joined #riscv
jcm has joined #riscv
olofj has quit [Read error: Connection reset by peer]
cengiz_io has quit [Read error: Connection reset by peer]
mithro has quit [Ping timeout: 260 seconds]
adamse has joined #riscv
tucanae47_ has joined #riscv
mithro has joined #riscv
olofj has joined #riscv
cengiz_io has joined #riscv
cengiz_io has quit [Ping timeout: 264 seconds]
olofj has quit [Ping timeout: 264 seconds]
mithro has quit [Ping timeout: 268 seconds]
mithro has joined #riscv
cengiz_io has joined #riscv
olofj has joined #riscv
shicz2 has quit [Ping timeout: 256 seconds]
indy has joined #riscv
shicz2 has joined #riscv
indy has quit [Ping timeout: 268 seconds]
theruran has quit [Ping timeout: 256 seconds]
adomas has quit [Ping timeout: 256 seconds]
JSharp has quit [Ping timeout: 260 seconds]
NishanthMenon has quit [Ping timeout: 260 seconds]
DynamiteDan has quit [Ping timeout: 260 seconds]
seds has quit [Ping timeout: 245 seconds]
kido_ has quit [Ping timeout: 260 seconds]
adamse has quit [Ping timeout: 256 seconds]
jcm has quit [Ping timeout: 256 seconds]
SanchayanMaity has quit [Ping timeout: 256 seconds]
arnd has quit [Ping timeout: 256 seconds]
kido_ has joined #riscv
cengiz_io has quit [Ping timeout: 268 seconds]
theruran has joined #riscv
tucanae47_ has quit [Ping timeout: 256 seconds]
drewfustini has quit [Ping timeout: 256 seconds]
englishm has quit [Ping timeout: 256 seconds]
adomas has joined #riscv
connojd has quit [Ping timeout: 245 seconds]
rsalveti has quit [Ping timeout: 244 seconds]
compnerd has quit [Ping timeout: 260 seconds]
elms has quit [Ping timeout: 260 seconds]
khilman has quit [Ping timeout: 260 seconds]
mobius has quit [Ping timeout: 245 seconds]
moto-timo has quit [Ping timeout: 256 seconds]
panzeroceania has quit [Ping timeout: 256 seconds]
olofj has quit [Ping timeout: 256 seconds]
rsalveti has joined #riscv
elms has joined #riscv
NishanthMenon has joined #riscv
JSharp has joined #riscv
DynamiteDan has joined #riscv
compnerd has joined #riscv
mobius has joined #riscv
panzeroceania has joined #riscv
SanchayanMaity has joined #riscv
olofj has joined #riscv
englishm has joined #riscv
seds has joined #riscv
connojd has joined #riscv
adamse has joined #riscv
cengiz_io has joined #riscv
tucanae47_ has joined #riscv
jcm has joined #riscv
arnd has joined #riscv
drewfustini has joined #riscv
moto-timo has joined #riscv
khilman has joined #riscv
PyroPeter has quit [Ping timeout: 260 seconds]
PyroPeter has joined #riscv
indy has joined #riscv
indy has quit [Ping timeout: 244 seconds]
riff-IRC has quit [Remote host closed the connection]
riff-IRC has joined #riscv
AEtherC0r3 has quit [*.net *.split]
kgz has quit [*.net *.split]
dh` has quit [*.net *.split]
wigyori has quit [*.net *.split]
smaeul has quit [*.net *.split]
reda_ has quit [*.net *.split]
dh` has joined #riscv
wigyori has joined #riscv
reda has joined #riscv
AEtherC0r3 has joined #riscv
smaeul has joined #riscv
kgz has joined #riscv
shicz2 has quit [Ping timeout: 244 seconds]
shicz2 has joined #riscv
jn has quit [*.net *.split]
CarlosEDP has quit [*.net *.split]
kaddkaka[m] has quit [*.net *.split]
pierce has quit [*.net *.split]
edf0 has quit [*.net *.split]
scruffyfurn has quit [*.net *.split]
mcfrdy has quit [*.net *.split]
edf0 has joined #riscv
jn has joined #riscv
jn has joined #riscv
jn has quit [Changing host]
mcfrdy has joined #riscv
scruffyfurn has joined #riscv
pierce has joined #riscv
CarlosEDP has joined #riscv
kaddkaka[m] has joined #riscv
BOKALDO has joined #riscv
indy has joined #riscv
Gravis has quit [Quit: No Ping reply in 180 seconds.]
Gravis has joined #riscv
shicz2 has quit [Ping timeout: 244 seconds]
shicz2 has joined #riscv
indy_ has joined #riscv
indy has quit [Ping timeout: 244 seconds]
winterflaw has joined #riscv
indy_ is now known as indy
crabbedhaloablut has quit [Remote host closed the connection]
frost has quit [Quit: Connection closed]
crabbedhaloablut has joined #riscv
dh` has joined #riscv
dh` has quit [Changing host]
jacklsw has quit [Quit: Back to the real world]
jacklsw has joined #riscv
jacklsw has quit [Quit: Back to the real world]
jonasbits has quit [Ping timeout: 264 seconds]
jacklsw has joined #riscv
jonasbits has joined #riscv
pecastro has joined #riscv
smartin has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
voltron has joined #riscv
voltron has quit [Remote host closed the connection]
voltron has joined #riscv
voltron has quit [Remote host closed the connection]
frost has joined #riscv
aurel32_ is now known as aurel32
tgamblin has joined #riscv
winterflaw has quit [Remote host closed the connection]
BOKALDO has quit [Quit: Leaving]
mjacob has joined #riscv
<mjacob> is the C char type signed or unsigned on risc-v?
<mjacob> and what is the canonical place to find this information?
<muurkha> happy Frege's birthday
<mjacob> jrtc27: ah, thanks! as it turns out, i was using the github search in a wrong way.
jacklsw has quit [Quit: Back to the real life]
frost has quit [Remote host closed the connection]
smartin has quit [Remote host closed the connection]
smartin has joined #riscv
BOKALDO has joined #riscv
shicz2 has quit [Ping timeout: 244 seconds]
shicz2 has joined #riscv
voltron has joined #riscv
voltron has quit [Remote host closed the connection]
shicz2 has quit [Ping timeout: 244 seconds]
shicz2 has joined #riscv
jacklsw has joined #riscv
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` has joined #riscv
X-Scale` is now known as X-Scale
abelvesa has quit [Ping timeout: 268 seconds]
abelvesa has joined #riscv
mahmutov has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
REZZ has joined #riscv
jacklsw has quit [Quit: Back to the real life]
pabs3 has quit [Ping timeout: 256 seconds]
abelvesa has quit [Ping timeout: 250 seconds]
abelvesa has joined #riscv
pabs3 has joined #riscv
Andre_H has joined #riscv
voltron has joined #riscv
voltron has quit [Read error: Connection reset by peer]
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
shicz2 has quit [Ping timeout: 250 seconds]
shicz2 has joined #riscv
hexteex has joined #riscv
hexteex has quit [Ping timeout: 276 seconds]
hexteex has joined #riscv
jimwilson has joined #riscv
jimwilson_ has joined #riscv
jimwilson has quit [Ping timeout: 268 seconds]
EchelonX has joined #riscv
voltron has joined #riscv
BOKALDO has quit [Quit: Leaving]
voltron has quit [Remote host closed the connection]
cwebber has quit [Ping timeout: 260 seconds]
___nick___ has quit [Ping timeout: 240 seconds]
foton has quit [Quit: %Bye, bye, ...%]
foton has joined #riscv
foton has quit [Remote host closed the connection]
foton has joined #riscv
cwebber has joined #riscv
foton has quit [Client Quit]
foton has joined #riscv
smartin has quit [Quit: smartin]
EchelonX has quit [Quit: Leaving]
Andre_H has quit [Quit: Leaving.]
nvmd has quit [Ping timeout: 256 seconds]
nvmd has joined #riscv
<somlo> anyone know how to set PLATFORM_ACLINT_MTIMER_FREQ in opensbi? I'm trying to adapt a set of platform files from `platform/template/platform.c` to a 64-bit rocket chip and LiteX, and having a bit of trouble figuring out where this value is supposed to come from
<somlo> I should say, "rocket chip and LiteX on an FPGA" (nexys4ddr, see https://github.com/litex-hub/linux-on-litex-rocket)
<somlo> cpu frequency for rocket is 50MHz, and timebase-frequency is 1/100 of that (to get the linux clock ticking at normal speed)
<somlo> but nothing in the chisel-generated dts mentions antyhing related to an "[a]clint [m]timer frequency"...
<jrtc27> it's only hard-coded in opensbi for platforms that don't properly support the generic platform (or haven't been converted to it)
<jrtc27> if you have a proper device tree for your rocket instantiation then it should just work
<jrtc27> (and you should absolutely try and make generic work, it's far simpler in general)
<jrtc27> https://github.com/litex-hub/linux-on-litex-rocket/blob/master/conf/nexys4ddr_fpu.dts#L14 so yeah the device tree says the clock is 500kHz, hence why you need to divide by 100
<jrtc27> you could change that though, nothing inherent about 100
nvmd has quit [Ping timeout: 244 seconds]
<jrtc27> you'll need to add a litex,liteuart driver to opensbi, but that's it from what I can see
nvmd has joined #riscv
Starfoxxes has quit [Ping timeout: 246 seconds]
Starfoxxes has joined #riscv
<somlo> jrtc27: thanks! I notice your link is for the linux kernel, and OK, linux will work if the .dtb contains all necessary values; And the fact it tells me that "ACLINT_MTIMER_FREQ" is synonymous to "timebase-frequency" is valuable knowledge I didn't have so far
<jrtc27> only linked there because that's currently the canonical location for documenting device tree bindings
<somlo> but I don't get the bit about "making generic work" -- I'm trying to compile opensbi itself for Litex/Rocket, and I don't see a "just refer to the .dtb" option to bypass writing a platform.c module for it :)
<jrtc27> platform/generic/platform.c exists
<jrtc27> build with PLATFORM=generic
<somlo> oh, *that* makes sense (assuming what's in there is stuff I can get away with, modulo the litex uart piece)
<jrtc27> the generic platform is the spiritual successor of bbl in terms of how it deals with multiple bits of hardware
<jrtc27> (and, if you need to, FW_FDT_PATH is how you embed a device tree if your bitstream doesn't put it in a ROM (BRAM..) somewhere)
<jrtc27> (but it really should)
<somlo> jrtc27: awesome, now I have a better idea how to go about bolting on 64-bit litex support (at least better than brute-force cloning a dedicated platform directory) :)
<somlo> thanks again
Starfoxxes has quit [Ping timeout: 240 seconds]
Starfoxxes has joined #riscv
freakazoid12345 has joined #riscv
freakazoid343 has quit [Ping timeout: 260 seconds]
peepsalot has quit [Quit: Connection reset by peep]