sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
littlebobeep has quit [Ping timeout: 240 seconds]
eigenform has quit [Ping timeout: 276 seconds]
littlebobeep has joined #riscv
eigenform has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
Esmil has quit [Ping timeout: 252 seconds]
littlebo1eep has joined #riscv
gruetzkopf has quit [Ping timeout: 252 seconds]
merry has quit [Ping timeout: 252 seconds]
littlebobeep has quit [Ping timeout: 240 seconds]
merry has joined #riscv
Esmil has joined #riscv
gruetzkopf has joined #riscv
davidlt has joined #riscv
indy has quit [Ping timeout: 260 seconds]
indy has joined #riscv
littlebo1eep has quit [Remote host closed the connection]
littlebobeep has joined #riscv
davidlt has quit [Ping timeout: 246 seconds]
littlebobeep has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
jmd_ has quit [Ping timeout: 244 seconds]
littlebobeep has joined #riscv
frkazoid333 has quit [Read error: Connection reset by peer]
frkazoid333 has joined #riscv
bauruine has joined #riscv
davidlt has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
pecastro has joined #riscv
BootLayer has joined #riscv
lagash has quit [Ping timeout: 255 seconds]
prabhakarlad has joined #riscv
littlebobeep has quit [Remote host closed the connection]
littlebobeep has joined #riscv
eroux has quit [Ping timeout: 248 seconds]
eroux has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
aerkiaga has joined #riscv
bauruine has quit [Ping timeout: 255 seconds]
bauruine has joined #riscv
jobol has joined #riscv
<jobol> hello, I am looking for running an image with QEMU my requirements are: RISC-V 32 bits and gcc and gdb. I have not found any obvious download.
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
<drmpeg> jobol: You can get the tools here. https://github.com/riscv-collab/riscv-gnu-toolchain
<jobol> drmpeg, thank you I suppose this are the tools I can get using on fedora "dnf install gcc-riscv64-linux-gnu"
elastic_dog has quit [Ping timeout: 248 seconds]
<jobol> then what is the option for compiling 32bits. My target is rv32imafds
<drmpeg> That RPM is just gcc.
<jobol> get it, I need a libc
elastic_dog has joined #riscv
<drmpeg> I'm probably not the best resource here. Can't say I've used QEMU or RV32.
<drmpeg> But that link I posted has all the stuff. QEMU, gcc and gdb.
<drmpeg> It's what I use to cross compile the Linux kernel for RV64.
<drmpeg> But then run it on hardware.
<drmpeg> That tools link can be built for RV32.
<drmpeg> ./configure --prefix=/opt/riscv --with-arch=rv32gc --with-abi=ilp32d
<drmpeg> make linux
<jobol> drmpeg, nice THX
prabhakarlad has quit [Quit: Client closed]
<mps> Esmil: are you behind this kernel https://github.com/starfive-tech/linux/commits/visionfive
<Esmil> mps: yes
solrize has quit [Ping timeout: 258 seconds]
BootLayer has quit [Read error: Connection reset by peer]
<mps> Esmil: is there option to report bugs except on github? I don't have account on it (and don't want to create one on it)
<Esmil> mps: they have a forum https://forum.rvspace.org/c/visionfive/6
<Esmil> mps: ..and you want to do some development particular to the board they also have a slack channel with some english speaking engineers
<Esmil> that's where i got all the info that's not in the docs
<mps> Esmil: yes, I've seen forum but looks like is not for bug reports
<mps> and never used slack
<mps> Esmil: btw, everything works except sound driver and WDT
<Esmil> yeah, i've only got the pwmdac driver to work, but it's hardcoded to only accept 16kHz samplerate :/
<Esmil> How is the watchdog broken?
<mps> starfive-si5-wdt 12480000.watchdog: no irq resource specified
<mps> Esmil: fail log is here https://tpaste.us/zQ9w
<mps> pwmdac and wdt
<Esmil> mps: huh, you're right. it's right there in my logs too
<mps> btw, is this pwmdac useful for sound? I have doubts
<mps> or it is more beeper
<Esmil> i have a 16kHz wav file with music and that plays ok with aplay. pulseaudio will automatically resample, but paplay still plays with some glitches
<mps> hmm, this sounds as good for pwm and dac combo
<Esmil> it would be cool if someone would give the i2s driver some love so we could have hdmi audio
<mps> I will use board for testing and adding some thingies on GPIO header so for me audio is not important
littlebo1eep has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
raym has quit [Ping timeout: 256 seconds]
littlebo1eep has quit [Ping timeout: 240 seconds]
BootLayer has joined #riscv
<mps> it is really strange they didn't added RTC to visionfive, I'm trying to add DS1302 module but it is 3-Wire SPI
littlebobeep has joined #riscv
aerkiaga has quit [Ping timeout: 240 seconds]
aerkiaga has joined #riscv
EchelonX has joined #riscv
lagash has joined #riscv
littlebo1eep has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
jacklsw has joined #riscv
compscipunk has joined #riscv
dilfridge has quit [Quit: No Ping reply in 180 seconds.]
mthall has quit [Quit: No Ping reply in 180 seconds.]
mcfrd has joined #riscv
mcfrdy has quit [Quit: quit]
mthall has joined #riscv
dilfridge has joined #riscv
mcfrd is now known as mcfrdy
bauruine has quit [Remote host closed the connection]
jobol has quit [Quit: Leaving]
littlebo1eep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
leafellis has joined #riscv
raym has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
raym has quit [Ping timeout: 246 seconds]
littlebo1eep has joined #riscv
raym has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
sobkas has joined #riscv
jacklsw has quit [Read error: Connection reset by peer]
EchelonX has quit [Quit: Leaving]
sobkas has quit [Quit: sobkas]
sobkas has joined #riscv
littlebo1eep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
sobkas has quit [Quit: sobkas]
sobkas has joined #riscv
littlebobeep has joined #riscv
leafellis has quit [Quit: WeeChat 3.5]
skyfall4 has joined #riscv
indy_ has joined #riscv
jrjsmrtn_ has joined #riscv
aerkiaga has quit [*.net *.split]
indy has quit [*.net *.split]
gordonDrogon has quit [*.net *.split]
davidlt has quit [*.net *.split]
clandmeter has quit [*.net *.split]
dh` has quit [*.net *.split]
jrjsmrtn has quit [*.net *.split]
jljusten has quit [*.net *.split]
skyfall has quit [*.net *.split]
muurkha has quit [*.net *.split]
skyfall4 is now known as skyfall
muurkha has joined #riscv
davidlt has joined #riscv
aerkiaga has joined #riscv
clandmeter has joined #riscv
muurkha has quit [Ping timeout: 246 seconds]
jljusten has joined #riscv
muurkha has joined #riscv
gordonDrogon has joined #riscv
mahmutov_ has joined #riscv
sobkas has quit [Quit: sobkas]
prabhakarlad has joined #riscv
sobkas has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
sobkas has quit [Quit: sobkas]
sobkas has joined #riscv
littlebobeep has joined #riscv
peeps[zen] has joined #riscv
CYKS2 has joined #riscv
jljusten1 has joined #riscv
jrtc27_ has joined #riscv
tmiw_ has joined #riscv
tux3_ has joined #riscv
geertu_ has joined #riscv
mlaga97_ has joined #riscv
JTL1 has joined #riscv
abelvesa_ has quit [Quit: leaving]
abelvesa has joined #riscv
pecastro_ has joined #riscv
dlan_ has joined #riscv
jljusten has quit [*.net *.split]
pecastro has quit [*.net *.split]
peepsalot has quit [*.net *.split]
JTL has quit [*.net *.split]
mlaga97 has quit [*.net *.split]
kgz has quit [*.net *.split]
palmer has quit [*.net *.split]
geertu has quit [*.net *.split]
CYKS has quit [*.net *.split]
dlan has quit [*.net *.split]
tux3 has quit [*.net *.split]
jrtc27 has quit [*.net *.split]
tmiw has quit [*.net *.split]
jrtc27_ is now known as jrtc27
CYKS2 is now known as CYKS
palmer has joined #riscv
kgz has joined #riscv
sobkas has quit [Quit: sobkas]
jmdaemon has joined #riscv
mahmutov_ is now known as mahmutov
sobkas has joined #riscv
BootLayer has quit [Quit: Leaving]
<Esmil> mps: this at least makes the watchdog probe for me: http://sprunge.us/JCRMiK
<Esmil> do you have a good way to test that the driver actually works?
geertu_ is now known as geertu
<mps> Esmil: thanks, I will try to build first. iirc it is possible to 'stop' wdt manually. will check and report
<Esmil> mps: cool, thanks
<mps> have to build kernel again, hope it will finish this night
<Esmil> mps: are you not cross-compiling it?
<mps> Esmil: no, in lxc with qemu-user on x86_64 host
<Esmil> oh, the kernel is super easy to cross compile actually. i wrote a very short guide in the README.md: https://github.com/starfive-tech/linux#cross-compiling
<mps> Esmil: on distro based on musl libc?
<Esmil> mps: i don't see why musl should change it, but if the distro doesn't package a cross-compiler then yeah, you're out of luck
<mps> Esmil: yes, alpine doesn't have cross compilers
<mps> that is the reason we didn't released riscv64 officially yet
<Esmil> ..but if you're renning lxc already then you should almost be able to bootstrap a small arch/debian/fedora and cross compile the kernel faster :P
sobkas has quit [Quit: sobkas]
<mps> Esmil: I know, but I want to use alpine to fix what is possible and what I can
davidlt has quit [Ping timeout: 246 seconds]
<mps> I used debian in lxc long time for arm build and development, but that was before I become official alpine developer
littlebobeep has quit [Remote host closed the connection]
dh` has joined #riscv
sobkas has joined #riscv
balrog has quit [Quit: Bye]
JTL1 is now known as JTL
littlebobeep has joined #riscv
balrog has joined #riscv
<mps> Esmil: it works, tested with `cat >> /dev/watchdog`, press enter twice and wait about 50-60 seconds
<Esmil> mps: nice, thanks
<mps> Esmil: thank you for fix
sobkas has quit [Quit: sobkas]
sobkas has joined #riscv
mahmutov has quit [Ping timeout: 240 seconds]
sobkas has quit [Quit: sobkas]
sobkas has joined #riscv
Jovan has quit [Remote host closed the connection]
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]
Jovan has joined #riscv
sobkas has quit [Quit: sobkas]
sobkas has joined #riscv
sobkas has quit [Quit: sobkas]
sobkas has joined #riscv
sobkas has quit [Quit: sobkas]
solrize has joined #riscv
solrize has quit [Changing host]
solrize has joined #riscv
pecastro_ has quit [Ping timeout: 248 seconds]
eroux has quit [Ping timeout: 260 seconds]
littlebobeep has quit [Ping timeout: 240 seconds]
eroux has joined #riscv
aerkiaga has quit [Remote host closed the connection]
littlebobeep has joined #riscv