sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #riscv
dionysos has quit [Remote host closed the connection]
helium-3 has joined #riscv
epony has quit [Ping timeout: 268 seconds]
epony has joined #riscv
<rneese_> anyone know how to completely reset the fw and env for the vf1 ? I need to fix a issue I am having
<rneese_> it sees the card but its failting to load the pny
<rneese_> phy
peepsalot has quit [Ping timeout: 246 seconds]
aerkiaga has quit [Remote host closed the connection]
jacklsw has joined #riscv
<rneese_> Loading Environment from SPIFlash... cadence_spi spi@11860000: Can't get reset: -524
<rneese_> SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
<rneese_> *** Warning - bad CRC, using default environment
<rneese_> but where is it getting the bad crc
wingsorc__ has quit [Remote host closed the connection]
wingsorc has joined #riscv
jacklsw has quit [Quit: Back to the real world]
<rneese_> [ 7.912378] stmmaceth 10020000.ethernet: error -ENODEV: stmmac_dvr_probe: MDIO bus (id: 0) registration failed
handsome_feng has joined #riscv
<rneese_> if any starfive guys might have a fix or idea how to fix please let me know
<rneese_> I want the eth port back
peepsalot has joined #riscv
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #riscv
jacklsw has joined #riscv
haritz has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in]
haritz has joined #riscv
haritz has quit [Changing host]
haritz has joined #riscv
sirn has quit [Quit: ZNC 1.8.2 - https://znc.in]
<rneese_> [ 7.878360] stmmaceth 10020000.ethernet: No PHY found
<rneese_> [ 7.883919] stmmaceth 10020000.ethernet: error -ENODEV: stmmac_dvr_probe: MDIO bus (id: 0) registration failed
zjason` is now known as zjason
kilobyte_ch has quit [Ping timeout: 246 seconds]
octav1a has quit [Quit: ~Called off to Sentinal the Sand Temple~]
sevan has quit [Ping timeout: 246 seconds]
sevan has joined #riscv
rneese_ has quit []
sirn has joined #riscv
kilobyte_ch has joined #riscv
Trifton has joined #riscv
vagrantc has quit [Quit: leaving]
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
BootLayer has joined #riscv
octav1a has joined #riscv
byte33 has joined #riscv
drewj has joined #riscv
<byte33> Hi friends, I am part of a university group implementing a RISC-V core in HDL and our end goal is to boot to a minimum viable Linux kernel. Part of my discovery is finding what extensions (specifically the bare minimum instructions) we need to implement in order to boot Linux. My current plan is to build a barebones Linux kernel, objdump it and grep for the instructions to see which ones I need
<byte33> Would this be a good approach? also apologies if this kind of post is not allowed, I'm new :D
<byte33> oh also, the current plan is implementing an RV64IMA core
<jrtc27> rv64ima is the rv64 baseline
<jrtc27> (assuming your i includes zicsr and zifencei)
<byte33> jrtc27: thanks for the reply! yeah our i would include zicsr and zifencei. does the rv64 baseline mean that indeed, rv64ima would be the minimum needed?
<byte33> I plan on doing a deeper dive into the disassembly and checking exactly which instructions are needed as we want to boot linux as quickly as possible with the most simple hardware
drewj has quit [Quit: Client closed]
drewj has joined #riscv
davidlt has joined #riscv
<conchuod> rv64gc is the "standard" at this point and rv64ima is the minimum
<conchuod> If you do a defconfig build, depending on compiler, you'll get more though
<conchuod> I probably wouldn't rely on what you reverse engineer from objdump as being consistent, unless it's all of ima
byte33 has quit [Ping timeout: 248 seconds]
byte33 has joined #riscv
BootLayer has quit [Quit: Leaving]
davidlt has quit [Ping timeout: 248 seconds]
Leopold has quit [Remote host closed the connection]
bauruine has joined #riscv
kilobyte_ch has quit [Ping timeout: 248 seconds]
crossdev has joined #riscv
kilobyte_ch has joined #riscv
bjoto has joined #riscv
<conchuod> Heh, that qemu sig thing is at 0300, lolnope
ldevulder has quit [Quit: Leaving]
sakman has quit [Remote host closed the connection]
sakman has joined #riscv
Stat_headcrabed has joined #riscv
ldevulder has joined #riscv
Andre_H has joined #riscv
Andre_H has quit [Client Quit]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<drmpeg> VisionFive 2 came in the mail today.
foton has quit [Quit: %Bye, bye, ...%]
foton has joined #riscv
BootLayer has joined #riscv
jacklsw has quit [Ping timeout: 248 seconds]
<conchuod> Nice :)
<drmpeg> Need a power supply though. I don't have any USB-C in the house.
foton has quit [Read error: Connection reset by peer]
<mps> drmpeg: I use 5V power adapter attached to gpio header pins on visionfive v1 without problems
foton has joined #riscv
<mps> iirc I've got usb-c adapter with VF v1
BootLayer has quit [Quit: Leaving]
<drmpeg> I think I'll go USB-C.
<geertu> drmpeg: If it's anything like Starlight, you can use a USB A-C cable with an old USB-A charger for a phone.
<drmpeg> I only have those little 5W blocks that come with the iPhone.
<drmpeg> Not much of a phone user here. Still on an iPhone 7.
JanC has quit [Read error: Connection reset by peer]
JanC has joined #riscv
davidlt has joined #riscv
craigo has quit [Ping timeout: 246 seconds]
panzeroceania__ has quit [Quit: Connection closed for inactivity]
prabhakarlad has quit [Quit: Client closed]
davidlt has quit [Ping timeout: 248 seconds]
BootLayer has joined #riscv
brazuca has quit [Quit: Client closed]
drewj has quit [Quit: Client closed]
rneese has joined #riscv
brazuca has joined #riscv
crossdev has quit [Ping timeout: 248 seconds]
aerkiaga has joined #riscv
prabhakarlad has joined #riscv
brazuca has quit [Quit: Client closed]
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #riscv
BootLayer has quit [Quit: Leaving]
craigo has joined #riscv
craigo has quit [Quit: Leaving]
<rneese> well I have the visinfive images up and they work . so thats it for them for now
<rneese> next it to get a cli in=mg for v2 working
jmd_ has quit [Ping timeout: 256 seconds]
crossdev has joined #riscv
Andre_H has joined #riscv
Andre_H has quit [Quit: Leaving.]
jacklsw has joined #riscv
handsome_feng has quit [Quit: Connection closed for inactivity]
jacklsw has quit [Ping timeout: 248 seconds]
brazuca has joined #riscv
brazuca has quit [Client Quit]
<rneese> hey esmil you around
<geertu> Esmil: ^
brazuca has joined #riscv
BootLayer has joined #riscv
aerkiaga has quit [Remote host closed the connection]
rneese_ has joined #riscv
rneese has quit [Ping timeout: 248 seconds]
cousteau has joined #riscv
<cousteau> Hi
<cousteau> Does RV64E exist, or planned to exist?
<muurkha> I haven't heard anyone talk about it, but it seems like if you want to have only 1024 bits of general-purpose registers, you'd be better off with RV32I than RV64E
vagrantc has joined #riscv
<conchuod> rneese: if you said what you need from him, perhaps other people could help & you'd not need to wait from him to say he is here, before typing your request ;)
<rneese_> wanted to see abot getting the starfive visionfive2 devel kernel src updated to 5.15.59
<rneese_> it seems to be at 5.15.0
<rneese_> I need to learn next to make patches against src and make patch files when needed
<conchuod> Why .59 and not .92?
<rneese_> might be 92
<rneese_> sorry i miss read the ver
<rneese_> but yes
<conchuod> At this rate you need a direct line to starfive of your own!
<conchuod> Creating patches would be a good skill to learn if you're running a distro!
<rneese_> is there a good base how to for reading
<conchuod> Kernel newbies perhaps?
<cousteau> muurkha: the thing is, for heterogeneous architectures (think one big RV and many small ones), mixing 32 and 64 archs seems to be hard
<jedix> use git and make it generate the patch
<cousteau> Like, "I want the smallest possible RISC-V that is 64 bits"
* cousteau is unsure how much of an advantage RVE is, regarding resource usage... nor how important are the extra 16 registers regarding performance, like, are they really that useful?
jljusten has quit [Read error: Connection reset by peer]
enoq has joined #riscv
<conchuod> rneese I just read the git docs for format-patch
<conchuod> It's not very difficult
crossdev has quit [Ping timeout: 248 seconds]
<rneese_> ok
Trifton has quit [Ping timeout: 248 seconds]
<muurkha> cousteau: interesting points
<cousteau> I guess the smallest RV64 one can get nowadays is RV64I, although I think rocket-chip supports enabling E in 64-bit archs (but then again, there's the issue of software support; I don't know if compiler toolchains support rv64e already)
jljusten has joined #riscv
<cousteau> I was also toying with the idea of a processor that could work as either an RV32I or an RV64E, with a 1024-bit register bank that would work on two different modes
<cousteau> ...well, 992-bit, actually
<cousteau> No idea how useful this would be in practice
<muurkha> heh, I was also thinking about the missing x0
DynamiteDan has quit [Excess Flood]
DynamiteDan has joined #riscv
DynamiteDan has quit [Excess Flood]
DynamiteDan has joined #riscv
<cousteau> Imagine having x0 actually implemented as a read-only register, and then somehow accidentally overwriting it
<muurkha> haha
<muurkha> I don't think that's likely to happen in hardware :)
helium-3 is now known as dionysos
<cousteau> (1) single-event upsets, (2) poorly designed hardware
<cousteau> I bet I would somehow manage to make (2)
<cousteau> (this is why everybody is crazy about formal verification these days)
<muurkha> well, in software you might have an incentive to actually implement it as a read-only register, because it means you don't have to do a conditional run-time check
<muurkha> but in hardware a conditional is a mux, and that's what you use to figure out which register to read from anyway
davidlt has joined #riscv
prabhakarlad has quit [Quit: Client closed]
cousteau has quit [Ping timeout: 248 seconds]
Stat_headcrabed has joined #riscv
Andre_H has joined #riscv
prabhakarlad has joined #riscv
junaid_ has joined #riscv
junaid_ has quit [Ping timeout: 268 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
jmdaemon has joined #riscv
friedy10- is now known as friedy
jmdaemon has quit [Ping timeout: 268 seconds]
jmdaemon has joined #riscv
brazuca has quit [Quit: Client closed]
crossdev has joined #riscv
JanC_ has joined #riscv
JanC is now known as Guest2803
Guest2803 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
JanC_ is now known as JanC
junaid_ has joined #riscv
davidlt has quit [Ping timeout: 268 seconds]
jmdaemon has quit [Ping timeout: 268 seconds]
EchelonX has joined #riscv
EchelonX has quit [Client Quit]
EchelonX has joined #riscv
<jrtc27> re writable x0, we had that as a bug a long time ago in our MIPS soft-cor
<jrtc27> *e
<jrtc27> something about reads also being short-circuited so you wouldn't actually notice, except in corner cases?
<jrtc27> was before my time here
jmdaemon has joined #riscv
epony has quit [Remote host closed the connection]
epony has joined #riscv
prabhakarlad has quit [Quit: Client closed]
<muurkha> jrtc27: heh, thanks for proving me wrong!
prabhakarlad has joined #riscv
vagrantc has quit [Quit: leaving]
gurki has joined #riscv
enoq has quit [Quit: enoq]
davidlt has joined #riscv
<valerius> ooooh yeah, should have my VisionFive 2 shortly :)
<geist> oooh exciting! i'm hoping mine ships soon too
<rneese_> well if I can fix out bug we will have a simple debian builder easie then what they do on starfive
<rneese_> man the do it so convaluted
<rneese_> but we found where its not linking 2 files
<rneese_> bbiab fixing
BootLayer has quit [Quit: Leaving]
vagrantc has joined #riscv
brazuca has joined #riscv
davidlt has quit [Ping timeout: 248 seconds]
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
sevan has quit [Changing host]
sevan has joined #riscv
jmdaemon has quit [Ping timeout: 268 seconds]
stephano has joined #riscv
peeps[zen] has joined #riscv
peepsalot has quit [Ping timeout: 265 seconds]
EchelonX has quit [Quit: Leaving]
jmdaemon has joined #riscv
junaid_ has quit [Ping timeout: 252 seconds]
crossdev has quit [Remote host closed the connection]
bauruine has quit [Remote host closed the connection]
pedja has quit [Quit: Leaving]
iooi has quit [Quit: iooi]
iooi has joined #riscv
iooi has quit [Client Quit]
iooi has joined #riscv
motherfsck has joined #riscv
motherfsck has quit [Client Quit]
motherfsck has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
peeps[zen] has quit [Read error: Connection reset by peer]
peeps[zen] has joined #riscv
cronos has quit [Quit: ZNC - https://znc.in]
cronos has joined #riscv
vagrantc has quit [Quit: leaving]
EchelonX has joined #riscv
Andre_H has quit [Ping timeout: 268 seconds]
iooi has quit [Quit: iooi]
iooi has joined #riscv
iooi has quit [Client Quit]