iooi has quit [Read error: Connection reset by peer]
iooi has joined #riscv
raym has quit [Quit: kernel update! Rebooting server...]
iooi has quit [Read error: Connection reset by peer]
iooi has joined #riscv
BootLayer has joined #riscv
Leopold has quit [Ping timeout: 255 seconds]
Leopold has joined #riscv
rneese has quit [Remote host closed the connection]
rneese has joined #riscv
vagrantc has joined #riscv
lost-tiff has joined #riscv
lost-tiff has quit [Max SendQ exceeded]
lost-tiff has joined #riscv
lost-tiff has quit [Max SendQ exceeded]
lost-tiff has joined #riscv
lost-tiff has quit [Max SendQ exceeded]
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #riscv
vagrantc has quit [Quit: leaving]
bauruine has joined #riscv
Leopold_ has joined #riscv
Leopold has quit [Ping timeout: 246 seconds]
junaid_ has joined #riscv
pecastro has joined #riscv
crossdev has joined #riscv
foton has quit [Quit: %Bye, bye, ...%]
foton has joined #riscv
bitterlollipop has joined #riscv
aerkiaga has joined #riscv
solrize has quit [Ping timeout: 248 seconds]
solrize has joined #riscv
solrize has quit [Changing host]
solrize has joined #riscv
Leopold has joined #riscv
Leopold_ has quit [Ping timeout: 255 seconds]
bitterlollipop has quit [Quit: bitterlollipop]
raym has joined #riscv
ldevulder has joined #riscv
bitterlollipop has joined #riscv
sympt6 has joined #riscv
sympt has quit [Ping timeout: 246 seconds]
sympt6 is now known as sympt
junaid__ has joined #riscv
dramforever has quit [Remote host closed the connection]
dramforever has joined #riscv
Stat_headcrabed has joined #riscv
Stat_headcrabed has quit [Client Quit]
bitterlollipop has quit [Quit: system sleep - ZZZzzz...]
junaid__ has joined #riscv
jmdaemon has quit [Ping timeout: 246 seconds]
<dramforever>
i got my visionfive 2 board!
<dramforever>
i forgot to consider the fact that i'd be away for the winter, so left the board at uni for two months until now
Stat_headcrabed has joined #riscv
Stat_headcrabed has quit [Client Quit]
crossdev has quit [Ping timeout: 252 seconds]
Stat_headcrabed has joined #riscv
Armand has quit [Ping timeout: 268 seconds]
Leopold has quit [Ping timeout: 246 seconds]
jacklsw has quit [Ping timeout: 255 seconds]
<conchuod>
Oof, unlucky!
Leopold has joined #riscv
<dramforever>
I'm currently booted into NickCao's NixOS image. It has the JH7110_VisionFive2_upstream kernel because, well I guess it looked newer, 6.1.2 as opposed to _devel's, but most of the drivers aren't there. Probably will get a _devel image later to check out the rest of the stuff
<dramforever>
mostly want ethernet and pcie to work. i have a 16G optane thing ready to plug in, which i'd expect be significantly faster and more reliable than any sd card
<Stat_headcrabed>
I'm trying to make a upstream-able driver for this pmic, but found this more difficult than it looks like
<Stat_headcrabed>
Its gpio configure logic is different from any existing AXP PMICs
<Stat_headcrabed>
Also some voltage control register's default value is not same with datasheet
junaid___ has joined #riscv
craigo has joined #riscv
aerkiaga has quit [Remote host closed the connection]
junaid___ has quit [Quit: leaving]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
junaid_ has quit [Ping timeout: 248 seconds]
junaid__ has quit [Ping timeout: 252 seconds]
wingsorc has quit [Ping timeout: 246 seconds]
prabhakarlad has quit [Quit: Client closed]
Andre_Z has joined #riscv
pedja has joined #riscv
042AANF3P has joined #riscv
junaid_ has joined #riscv
drewj has joined #riscv
handsome_feng has quit [Quit: Connection closed for inactivity]
<rneese>
its a alot easier to update the firmware with the QSG Appendix 4
<rneese>
dl the recovery bin and the fw and bl
craigo has quit [Quit: Leaving]
rneese has quit []
<conchuod>
rneese: Are you saying that it is easier to use xmodem and second-boot/recovery bin than doing it in U-Boot?
rneese has joined #riscv
<rneese>
any word on the fix for the gb net on the vf2 for 5.15.x
<rneese>
currently it shows it there but its not functioning
042AANF3P has quit [Remote host closed the connection]
junaid_ has quit [Remote host closed the connection]
elastic_dog has quit [Remote host closed the connection]
Tenkawa has joined #riscv
elastic_dog has joined #riscv
bauruine has quit [Ping timeout: 264 seconds]
<xypron>
conchuod: There is no need to use the recovery binary via Xmodem. Simply switch to booting from SD card and install SPL in a partition with partition type GUID 2E54B353-1271-4842-806F-E436D6AF6985 and main U-Boot on partition 2 (for the vendor U-Boot).
<conchuod>
xypron: I do not want to use xmodem ;) The U-Boot thing of yours that Emil linked seems faarrr handier so I am gonna use that in the future, so thatnks!
<conchuod>
thanks*
junaid_ has joined #riscv
jedix has quit [Ping timeout: 246 seconds]
jedix has joined #riscv
Andre_Z has joined #riscv
bauruine has joined #riscv
bauruine has quit [Ping timeout: 255 seconds]
wbx has joined #riscv
peepsalot has quit [Ping timeout: 248 seconds]
<dramforever>
Esmil: I'm having some trouble with your tree. I can't seem to get serial0 to load properly :(
<dramforever>
16.566998] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 4, base_baud = 1500000) is a 16550A
<dramforever>
i got this one time
<dramforever>
It makes me think it's got something to do with pinctrl, but that's also in defconfig...?
<dramforever>
Unless I'm just totally misunderstanding Linux Kconfig or how Nix is building it
jacklsw has joined #riscv
jacklsw has quit [Changing host]
jacklsw has joined #riscv
bauruine has joined #riscv
<Esmil>
dramforever: also make sure your kernel log says "StarFive VisionFive 2 v1.3B", if it only says "StarFive VisionFive 2", then you're using the device tree from u-boot which probably doesn't work
<rneese>
where is the other uboot Esmil your talking about
drewj has quit [Quit: Client closed]
aerkiaga has joined #riscv
<dramforever>
well now i'm just fighting the nixpkgs linux builder thing
<dramforever>
but that's besides the point
drewj has joined #riscv
jacklsw has quit [Read error: Connection reset by peer]
Sofia is now known as meow
meow is now known as Sofia
enoq has joined #riscv
omac777_2022 has joined #riscv
EchelonX has joined #riscv
frkazoid333 has quit [Read error: Connection reset by peer]
frkazoid333 has joined #riscv
omac777_2022 has quit [Quit: Leaving]
prabhakarlad has joined #riscv
craigo has joined #riscv
* NishanthMenon
is a bit confused.. drivers/cpuidle/cpuidle-riscv-sbi.c arch/riscv/include/asm/sbi.h seems to indicate sbi_suspend is at a hart level Vs https://github.com/riscv-non-isa/riscv-sbi-doc/releases/download/v1.0.0/riscv-sbi.pdf 9.4 indicates platform specific non-retentitve suspend ? is there no sbi for echo mem >/sys/power/state ?
<NishanthMenon>
Also confused: if there is no expectation of hart frequency support to be performed by SBI in machine mode?
jacklsw has joined #riscv
Armand has joined #riscv
jacklsw has quit [Read error: Connection reset by peer]
<dramforever>
NishanthMenon: My understanding is that it's intended for a low-power mode that ends up resetting the hart, which makes it go back to M-mode, and M-mode software needs to be able to start S-mode back up on that core
<dramforever>
For slowing down harts S-mode software can probably just reconfigure the clock and voltage stuff, because they let S-mode software keep running
<NishanthMenon>
dramforever: aah the ordered booting stuff in reverse around system suspend state and sbi firmware implementation to take care of last stage?
<dramforever>
Basically, but the bigger problem is what happens when the hart starts back up
junaid__ has joined #riscv
<NishanthMenon>
dramforever: yes - context save and restore of hart, clint/aia / iommu would be interesting pain points
junaid__ has quit [Client Quit]
<dramforever>
I think it's pretty similar to ARM PSCI
<dramforever>
smc to turn cpu on/off -> ecall to turn harts on/off
<dramforever>
Unfortunately I don't really know a lot about ARM stuff
<dramforever>
and here i'm staring at PSCI and be like 'that looks like HSM'
<NishanthMenon>
yes it is. though HSM might have a better chance to learn from psci drawbacks ;)
<NishanthMenon>
something additional would be an equivalent of scmi .. which is a gap
jedix has quit [Ping timeout: 255 seconds]
rsalveti has joined #riscv
junaid_ has quit [Read error: No route to host]
aerkiaga has quit [Remote host closed the connection]
prabhakarlad has quit [Ping timeout: 260 seconds]
junaid_ has joined #riscv
jedix has joined #riscv
jmdaemon has joined #riscv
brazuca has joined #riscv
peepsalot has joined #riscv
dramforever has quit [Remote host closed the connection]
EchelonX has quit [Quit: Leaving]
enoq has quit [Quit: enoq]
jedix has quit [Ping timeout: 252 seconds]
dramforever has joined #riscv
jedix has joined #riscv
<dramforever>
Esmil: I got back from fighting with Nix and fed it a .config I generated. I can confirm that basic ethernet stuff works (I can curl my uni login portal page)
<dramforever>
MMC too of course rootfs on the sd card