sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv | Matrix: #riscv:catircservices.org
GenTooMan has quit [Ping timeout: 240 seconds]
GenTooMan has joined #riscv
terminalpusher has joined #riscv
Tenkawa has quit [Quit: Was I really ever here?]
Tenkawa has joined #riscv
xypron has joined #riscv
alexfanqi has quit [Ping timeout: 255 seconds]
billchenchina has quit [Remote host closed the connection]
sjs has quit [Remote host closed the connection]
sjs has joined #riscv
stolen has joined #riscv
alexfanqi has joined #riscv
clemens3 has quit [Ping timeout: 245 seconds]
Tenkawa has quit [Quit: Was I really ever here?]
clemens3 has joined #riscv
terminalpusher has quit [Remote host closed the connection]
terminalpusher has joined #riscv
iooi has joined #riscv
iooi has quit [Ping timeout: 258 seconds]
mwette has joined #riscv
alexfanqi has quit [Ping timeout: 246 seconds]
heat has quit [Ping timeout: 258 seconds]
crabbedhaloablut has joined #riscv
vagrantc has quit [Quit: leaving]
terminalpusher has quit [Ping timeout: 245 seconds]
alexfanqi has joined #riscv
alexfanqi has quit [Ping timeout: 258 seconds]
davidlt has joined #riscv
Gravis has quit [Ping timeout: 250 seconds]
Gravis has joined #riscv
somlo_ has joined #riscv
somlo has quit [Read error: Connection reset by peer]
alexfanqi has joined #riscv
zBeeble has joined #riscv
markh has quit [Read error: Connection reset by peer]
markh has joined #riscv
Bluefoxicy has quit [Quit: ZNC - http://znc.in]
Bluefoxicy has joined #riscv
KREYREN has joined #riscv
<KREYREN> I have LicheePi 4A that I am trying to boot from an SD Card -> Does anyone know if it needs any specific offset like `sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/DEVICE bs=1024 seek=8` on AllWinner A64?
<KREYREN> bcs it ain't seeing it atm
BootLayer has joined #riscv
ezulian has joined #riscv
ezulian has quit [Remote host closed the connection]
ezulian has joined #riscv
smaeul has quit [Server closed connection]
smaeul has joined #riscv
SpaceCoaster has quit [Ping timeout: 244 seconds]
SpaceCoaster has joined #riscv
stolen has quit [Quit: Connection closed for inactivity]
knielsen has quit [Server closed connection]
knielsen has joined #riscv
jackneill__ has joined #riscv
notgull has quit [Ping timeout: 255 seconds]
notgull has joined #riscv
englishm has quit [Server closed connection]
englishm has joined #riscv
justache has quit [Server closed connection]
justache has joined #riscv
KREYREN_ has joined #riscv
KREYREN has quit [Remote host closed the connection]
prabhakarlad has joined #riscv
aburgess has quit [Ping timeout: 246 seconds]
DoubleJ has quit [Server closed connection]
DoubleJ has joined #riscv
danilogondolfo has joined #riscv
aburgess has joined #riscv
KREYREN_ has quit [Remote host closed the connection]
iooi has joined #riscv
Andre_Z has joined #riscv
aburgess has quit [Ping timeout: 246 seconds]
jmdaemon has quit [Ping timeout: 245 seconds]
notgull has quit [Ping timeout: 258 seconds]
Tenkawa has joined #riscv
notgull has joined #riscv
aburgess has joined #riscv
jjido has joined #riscv
sorear has quit [Server closed connection]
sorear has joined #riscv
BootLayer has quit [Quit: Leaving]
heat has joined #riscv
stolen has joined #riscv
BootLayer has joined #riscv
somlo_ is now known as somlo
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
Maylay has quit [Server closed connection]
Maylay has joined #riscv
Forty-Bot has quit [Server closed connection]
Forty-Bot has joined #riscv
Stat_headcrabed has joined #riscv
prabhakarlad has quit [Quit: Client closed]
junaid_ has joined #riscv
vagrantc has joined #riscv
ntwk has quit [Quit: ntwk]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
heat has quit [Remote host closed the connection]
heat has joined #riscv
stolen has quit [Quit: Connection closed for inactivity]
Noisytoot has quit [Quit: ZNC 1.8.2 - https://znc.in]
Noisytoot has joined #riscv
alexghiti has quit [Ping timeout: 258 seconds]
NishanthMenon has quit [Server closed connection]
NishanthMenon has joined #riscv
courmisch has quit [Server closed connection]
courmisch has joined #riscv
alexghiti has joined #riscv
Trifton has quit [Remote host closed the connection]
Trifton has joined #riscv
junaid_ has quit [Remote host closed the connection]
Andre_Z has quit [Quit: Leaving.]
alexghiti has quit [Ping timeout: 258 seconds]
jn has quit [Ping timeout: 260 seconds]
jn has joined #riscv
jn has quit [Changing host]
jn has joined #riscv
ezulian has quit [Ping timeout: 246 seconds]
EchelonX has joined #riscv
jmdaemon has joined #riscv
jmdaemon has quit [Ping timeout: 245 seconds]
junaid_ has joined #riscv
mcfrdy has quit [Server closed connection]
mcfrdy has joined #riscv
ntwk has joined #riscv
danilogondolfo has quit [Quit: Leaving]
ezulian has joined #riscv
MaxGanzII has joined #riscv
bbyoume has joined #riscv
<bbyoume> has anyone bought vision2 devices on amazon or ebay, theres a few resellers, some have even branded their title, not sure if any of these are known or trusted by others here or elsewhere...
jjido has joined #riscv
<NishanthMenon> bbyoume: https://www.amazon.com/gp/product/B0BGM1KQXQ/ is what I bought.. seems to work for me
<mwette> bbyoume: yes, on amazon, received earlier than predicted
<Tenkawa> I'm still tempted to get a Waveshare version to go with the other one I have
<Tenkawa> I really like their ice cooler I have on mine so far
ezulian has quit [Ping timeout: 240 seconds]
<deathmist> Esmil: may I ask how you deal with VF2 mainline DTB selection? I use extlinux and wrote up https://github.com/JamiKettunen/cports/commit/bb917e3 which makes fdtdir happy but e.g. https://gitlab.alpinelinux.org/nmeum/alpine-visionfive/-/blob/main/starfive/linux-starfive/set-8GB-RAM.patch required as well
davidlt has quit [Ping timeout: 246 seconds]
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
<Tenkawa> deathmist: you should be handling it by your bootloader
<deathmist> which is just mainline version of U-Boot
jmdaemon has joined #riscv
<Tenkawa> mainline u-boot really isn't ready for primetime yet to my understanding in this regard
<Tenkawa> I believe there are still some handling pieces not ready
<Tenkawa> For this exact type of scenario (3 revisions of the JH7110 for example)
<Tenkawa> or 4... (can't remember if it is 3 or 4)
<Tenkawa> I need to pull the code and start ifdef comparing the revs
jmdaemon has quit [Ping timeout: 246 seconds]
jmdaemon has joined #riscv
mps has quit [Ping timeout: 245 seconds]
mps has joined #riscv
<mwette> best place to pull up-to-date code for VF2? starfive-tech github?
<Tenkawa> mwette: no it wasn't a question... I have it all... I need to do it...
<Tenkawa> I'm comparing vendor to the current mainline work in progress
<Tenkawa> For the individual board revisions
<mwette> Great. linky?
mps has quit [Ping timeout: 250 seconds]
mps has joined #riscv
junaid_ has quit [Ping timeout: 244 seconds]
BootLayer has quit [Quit: Leaving]
<mwette> and is there map to chip decorations and rev-#? Mine says: JH7110, C2305-TMFV66, 005C305
<mwette> s/to ... and/from ... to/
jjido has joined #riscv
<Tenkawa> That
<Tenkawa> er That's not what I'm working/taking about... I'm working on kernel source code mapping
junaid_ has joined #riscv
<Tenkawa> This is all trying to figure os/taking/talking
<Tenkawa> wow my keyboard is bad today
crabbedhaloablut has quit []
<mwette> Ah. Thanks.
jjido has quit [Quit: Textual IRC Client: www.textualapp.com]
jackneill__ has quit [Ping timeout: 245 seconds]
jrtc27 has quit [Server closed connection]
jrtc27 has joined #riscv
heat has quit [Remote host closed the connection]
heat has joined #riscv
Tenkawa has quit [Quit: Was I really ever here?]
<deathmist> does "Unknown relocation type 57" preventing some Linux kernel modules from loading sound familiar? VF2 with mainline kernel, cross-compiled from x86_64 host with full LLVM 16.0.6 toolchain
MaxGanzII_ has joined #riscv
<deathmist> I get this currently for nvme, uio & snd_pcm
MaxGanzII has quit [Ping timeout: 246 seconds]
Tenkawa has joined #riscv
<deathmist> I guess I could now natively try compiling the kernel on the board itself now since it boots
<palmer> deathmist: looks like the module loader doesn't support relocation 57 (32_PCREL, according to the psABI). Looks like it's mostly debug-related, so not surprising something's broken
simpl_e has joined #riscv
junaid_ has quit [Remote host closed the connection]
<palmer> deathmist: charlie is going to look
<palmer> If you can reproduce it on an upstream kernel, can you post to LKML?
<bbyoume> thanx all who replied...so just to confirm, vf2 is "closer" to "just works" than pine64 starfive? and this trend doesnt seem like it will change soon, i.e. commit /bugfix qty and speed still faster for visionfive2?
<palmer> We'll also want to know the tool chain
indy has quit [Server closed connection]
indy has joined #riscv
<smaeul> which should be covered by this patch which was merged instead: https://lore.kernel.org/linux-riscv/mvmzg9xybqu.fsf@suse.de/
<smaeul> deathmist: what kernel version are you using? this should be fixed in v6.2 or v6.1.11
MaxGanzII_ has quit [Ping timeout: 246 seconds]
<deathmist> smaeul: v6.5.0 and specifically https://github.com/esmil/linux/tree/jh7110
<deathmist> just mainline + cherry-picked VF2 related things landing in v6.6 and some things still on the lists like PCIe support
<Tenkawa> deathmist: what problem are you running into/or question (I'm not sure if I missed it during my reboot but I don't see it)
troglodito has quit [Server closed connection]
<Tenkawa> I'm running: Linux vf2 6.5.2-vf2+ #11 SMP Wed Sep 6 18:06:24 EDT 2023 riscv64 GNU/Linux
troglodito has joined #riscv
<deathmist> Tenkawa: basically I was testing PCIe NVMe slot and lspci sees the drive but nvme module itself doesn't probe due to the error
<Tenkawa> got the error output?
<Tenkawa> I'm booted up on NVMe:
<Tenkawa> 0001:01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
<deathmist> well not much more than "modprobe: ERROR: could not insert 'nvme': Invalid argument" and "nvme: Unknown relocation type 57" in dmesg afterwards
<Tenkawa> just a sec
<Tenkawa> Do you have another module you can "test" modprobe?
<Tenkawa> and see if it errors
<deathmist> yea, uio and snd_pcm have the same problem
<Tenkawa> yeah
<Tenkawa> I thought so
<Tenkawa> What was your kernel compiler env?
<Tenkawa> (native,cross, gcc version)
<Tenkawa> (or clang)
<deathmist> Chimera Linux provided LLVM 16.0.6 and elfutils similar to FreeBSD, no GCC or binutils, crossbuild from x86_64
<deathmist> em s/elfutils/elftoolchain/
<Tenkawa> Well ... without a binutils modules are going to try to be built internally with the tools... that might not work so well (at least it hasn't in my experience)
<heat> am i overlooking anything or does riscv not have an "override" bit for MMU write protection? a-la x86 cr0.wp
<sorear> you're not overlooking anything, S-mode can make aliases if it wants
<heat> cool, thanks!
<muurkha> Tenkawa: congratulations on booting!
<Tenkawa> muurkha: thanks.. now if I can ever get my Pine JH7110 running 6.5 I'll be even in a better state but I'm fighting the dts atm..
EchelonX has quit [Quit: Leaving]
<Tenkawa> I "want" it to boot NVMe like its doing now with 5.15 but I'm running into a panic at the moment I'm going to start debugging tomorrow
<bbyoume> is it intentional that ppl talk here despite irc not having history or log unlike matrix xmpp or even forums and ml? id like to avoid wasting ppls time with previously answered questions if i can