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
paddymahoney has quit [Ping timeout: 252 seconds]
Tenkawa has quit [Quit: Was I really ever here?]
levitating has joined #riscv
atka has quit [Ping timeout: 248 seconds]
mubluekoor has quit [Remote host closed the connection]
BootLayer has joined #riscv
davidlt has joined #riscv
mubluekoor has joined #riscv
atka has joined #riscv
davidlt has quit [Ping timeout: 248 seconds]
davidlt has joined #riscv
davidlt has quit [Ping timeout: 248 seconds]
BootLayer has quit [Quit: Leaving]
Trifton has joined #riscv
Trifton_ has quit [Read error: Connection reset by peer]
coldfeet has joined #riscv
ncopa has quit [Read error: Connection reset by peer]
clandmeter has quit [Read error: Connection reset by peer]
clandmeter has joined #riscv
ncopa has joined #riscv
r6fej has joined #riscv
r6fej has quit [Changing host]
r6fej has joined #riscv
davidlt has joined #riscv
aredridel has quit [Ping timeout: 248 seconds]
aredridel has joined #riscv
coldfeet has quit [Remote host closed the connection]
damian101 has joined #riscv
davidlt has quit [Quit: Leaving]
Stat_headcrabed has joined #riscv
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
davidlt has joined #riscv
ncopa has quit [Changing host]
ncopa has joined #riscv
r6fej has quit [Ping timeout: 252 seconds]
jfsimon1981_b has quit [Remote host closed the connection]
jfsimon1981_b has joined #riscv
ldevulder has joined #riscv
bjoto has joined #riscv
levitating_ has joined #riscv
danilogondolfo has joined #riscv
r6fej has joined #riscv
r6fej has joined #riscv
r6fej has quit [Changing host]
levitating has quit [Quit: Leaving]
levitating_ is now known as levitating
markh has quit [Ping timeout: 260 seconds]
wgrant has quit [Quit: WeeChat 3.5]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
wgrant has joined #riscv
wgrant has quit [Client Quit]
wgrant has joined #riscv
wgrant has quit [Quit: WeeChat 3.5]
wgrant has joined #riscv
wgrant has quit [Client Quit]
wgrant has joined #riscv
ldevulder has quit [Quit: Leaving]
ldevulder has joined #riscv
atka has quit [Ping timeout: 248 seconds]
Andre_Z has joined #riscv
mlw has quit [Ping timeout: 252 seconds]
mlw has joined #riscv
prabhakalad has quit [Ping timeout: 255 seconds]
prabhakalad has joined #riscv
bgamari has quit [Quit: ZNC 1.8.2 - https://znc.in]
bgamari has joined #riscv
<mps> anyone have url for some docs how to make BPI-3F to boot from SD card? I already built opensbi and u-boot from their repo but have no idea how to partition SD card
prabhakalad has quit [Quit: Konversation terminated!]
levitating_ has joined #riscv
levitating has quit [Ping timeout: 245 seconds]
prabhakalad has joined #riscv
r6fej has quit [Ping timeout: 260 seconds]
r6fej has joined #riscv
r6fej has joined #riscv
wgrant has quit [Quit: WeeChat 3.5]
wgrant has joined #riscv
r6fej has quit [Quit: Leaving]
r6fej has joined #riscv
wgrant has quit [Client Quit]
wgrant has joined #riscv
jfsimon1981_b has quit [Remote host closed the connection]
jfsimon1981_b has joined #riscv
Tenkawa has joined #riscv
raym has quit [Ping timeout: 248 seconds]
felixonmars_ has joined #riscv
felixonmars has quit [Remote host closed the connection]
jfsimon1981_b is now known as jfsimon
felixonmars_ is now known as felixonmars
raym has joined #riscv
r6fej has quit [Ping timeout: 248 seconds]
Tenkawa has quit [Quit: Was I really ever here?]
coldfeet has joined #riscv
levitating_ has quit [Ping timeout: 252 seconds]
coldfeet has quit [Remote host closed the connection]
r6fej has joined #riscv
r6fej has quit [Changing host]
r6fej has joined #riscv
Tenkawa has joined #riscv
psydroid2 has joined #riscv
Starfoxxes has joined #riscv
gregoryloscombe has joined #riscv
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
Stat_headcrabed has joined #riscv
Andre_Z has quit [Ping timeout: 260 seconds]
davidlt has quit [Ping timeout: 248 seconds]
damian101 has quit [Ping timeout: 258 seconds]
gregoryloscombe has quit [Quit: gregoryloscombe]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
davidlt has joined #riscv
markh has joined #riscv
impomatic has joined #riscv
mlw has quit [Quit: leaving]
impomatic has quit [Quit: Ping timeout (120 seconds)]
mubluekoor has quit [Ping timeout: 276 seconds]
mubluekoor has joined #riscv
BootLayer has joined #riscv
damian101 has joined #riscv
fossdd has joined #riscv
fossdd has quit [Remote host closed the connection]
<courmisch> mps: use the Armbian image from vendor then replace root with whatever you want?
<mps> courmisch: I tried but armbian doesn't boot, hangs after writing something 'U-Boot SPL 2022.10- .....' and on next line 'DDR type LPDDR4X'
<mps> also tried 'irraduim' distro with same result
<mps> I had more lines with build of opensbi and u-boot from source
<courmisch> mps: worked for me :shrug:
<Tenkawa> what board?
<mps> maybe we have different board versions
<mps> Tenkawa: BPI-F3
<Tenkawa> You can use our builder if you want to try... https://github.com/pyavitz/debian-image-builder
<Tenkawa> Mine is running fine
<Tenkawa> so is pyavit's
<Tenkawa> er pyavitz
<courmisch> mps: I have the original 4 GiB version
<Tenkawa> (the main dev)
<mps> courmisch: I think my have 2GB RAM
<Tenkawa> We updated it to use a dev 6.6 kern branch they are working on
<mps> Tenkawa: do you url of the image
<Tenkawa> mps: no precompiled images I think atm... let me ask him
<mps> thanks
<Tenkawa> that url is for a image generator we use to build them
<courmisch> or was it 2 GiB? anyway I have the old model
<Tenkawa> We use it to build all of our arm and risc-v images
<mps> Tenkawa: yes, understand
<Tenkawa> I'll let you know when he responds
<mps> ok, thanks again
<Tenkawa> We have found some definite "oddities" with this board's kernel
<Tenkawa> Here's mine:
<Tenkawa> uname -a ; dmesg | grep model
<Tenkawa> Linux bpibox 6.6.46 #2 SMP Sun Aug 18 21:34:49 EDT 2024 riscv64 riscv64 riscv64 GNU/Linux
<Tenkawa> [ 0.000000] Machine model: BananaPi BPI-F3
<courmisch> I could use a kernel with hwprobe
<bjdooks> I wish I could use riscv, x86 timer code is giving me a headache
<Tenkawa> remoteproc seems to have a spin conditioon
<Tenkawa> er condition
<Tenkawa> and there seems to be a problem/non-existant dts accessing the rng
<Tenkawa> I can't find a dts entry for it
<courmisch> the original 6.1 seems to have a kludge to migrate tasks to the right CPU if using IME
<courmisch> I didn't check the sources though
<Tenkawa> oh.. that would be helpful to merge forward
<Tenkawa> heh
<Tenkawa> It would just be nice to see mainline eventually
<Tenkawa> mps: Ok we don't have any prebuilt for that sbc but it would be easy to build one
<mps> Tenkawa: thank you
<mps> I will try to decipher mmc partition layout and see where to write what
<Tenkawa> mps: with ours it builds a single partition image file
<Tenkawa> uses extlinux for booting
<Tenkawa> u-boot loads in hidden spl area
<mps> I will look at it later
psydroid has quit [Ping timeout: 248 seconds]
<Tenkawa> Yeah its one of the easier sbcs ironicly
<mps> Tenkawa: does this build system must run on debian?
<Tenkawa> Debian based.
<Tenkawa> Debian/Ubuntu
<Tenkawa> you can create a chroot/debootstrap of debian and run it that way with binds of /sys /dev /proc too
<mps> uhm, I don't use debian
<mps> eh, long time passed when I last used debootstrap (not sure I want again)
<mps> anyway, found mmc partition layout from their bianbu image
<Tenkawa> unfortunate they didn't solder an actual chip on the spi socket
levitating has joined #riscv
<Tenkawa> I wouldn't even need a microsd if they had
<mps> hm, even their image doesn't boot. maybe should try another mmc card
fuwei has quit [Remote host closed the connection]
memset has quit [Remote host closed the connection]
memset has joined #riscv
khem has joined #riscv
danilogondolfo has quit [Quit: Leaving]
atka has joined #riscv
r6fej has quit [Quit: Leaving]
r6fej has joined #riscv
r6fej has quit [Remote host closed the connection]
r6fej has joined #riscv
r6fej has quit [Changing host]
r6fej has joined #riscv
ldevulder_ has joined #riscv
ldevulder has quit [Read error: Connection reset by peer]
<ja_02> mps if u want a half done buildroot example https://github.com/Mr-Bossman/bpi-f3-buildroot
<mps> ja_02: thanks, hope it will work on alpine linux
<mps> actually I need only to get u-boot shell, rest would be easier I hope
<ja_02> conchuod the ordering in arch/riscv/kernel/sys_hwprobe.c gets messed up pretty consistently. Do you think we should add a comment that no one will read?
mlw has joined #riscv
<conchuod> ja_02: I wish that people would be able to tell if something is sorted by reading it.
<conchuod> I share your scepticism about the value of a comment
<ja_02> LOL I'm very sorry. That would be nice wouldnt it
impomatic99 has joined #riscv
ldevulder_ has quit [Quit: Leaving]
<ja_02> also the hwprobe and hwcap files always have a merge conflict. do you think there is a way to avoid this or do we just need to be more aware of it?
<ja_02> mps if you only need u-boot working the buildroot package i made should be very easy to get going.
<mps> ja_02: building it right now
<mps> lets hope it will work with musl (alpine linux)
<Tenkawa> ja_02: do you currently have the F3 running?
<mps> oh no, gcc 14.2 issues again
<ja_02> good. if it doesnt work on alpine you should go complain to Thomas
<mps> looks like this buildroot will not work with musl
<ja_02> huh
marcj has joined #riscv
<ja_02> kinda surprised tbh
aethlas has joined #riscv
<conchuod> ja_02: I think the merge conflicts are pretty trivial and only really a bother to the automated builders.
<Tenkawa> mps: 13 is the only one I've found "consistently" ok to use with the unit and their codebase so far
<ja_02> Tenkawa i do just not powered on rn
<mps> 'tools/attr.c:69:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]'
<Tenkawa> mps: yeah thats one that we ran into
<Tenkawa> had to revert to gcc 13
<ja_02> mps is that when building u-boot or something else
<mps> Tenkawa: I had this fear
<Tenkawa> ja_02: several of us have found the rng missing in action too
<mps> ja_02: I simply run 'make', so I guess it build all
<Tenkawa> no dts references anywhere
<mps> ja_02: I already built today u-boot and opensbi
<ja_02> also u can change the toolchain version that compiles the host and the target system
<ja_02> binaries*
<Tenkawa> Yeah works in gcc 13 on Debian/Ubuntu at least just fine
<Tenkawa> but was bombing on 14 the same way
<mps> here it is 'make[2]: Entering directory "/work/buildroot/bpi-f3-buildroot/buildroot/output/build/host-attr-2.5.2'" happened
<Tenkawa> a few diff spots failed
<mps> Tenkawa: aie, we have a lot of packages to fix to build it with gcc 14.2
<mps> on alpinem I mean
<Tenkawa> isn't gcc 14 still non-prod?
<Tenkawa> ie devel
<heat> no
<mps> Tenkawa: it is production but a lot changes
<Tenkawa> oh.. didn't see 15 was in dev now
<Tenkawa> That's going to be "interesting"
<Tenkawa> (been focusing on llvm more lately)
atka has quit [Quit: WeeChat 4.3.5]
<ja_02> ah
<ja_02> change Toolchain -> GCC compiler Version to gcc 13.x
<Tenkawa> I noticed a remoteproc spin on the F3 also... if I take it out though the os gets a bit flaky if not using much more power..... running a test with higher power now to see if that "does" actually stabilize it
<ja_02> yeah i just removed it bc it needs custom firmware in some random directory to work
<ja_02> in lib/firmware/esos.elf but it needs an initramfs to work
<mps> Tenkawa: forgot to tell, adding "permissive" flag to gcc 14.2 help in some cases
BootLayer has quit [Quit: Leaving]
<Tenkawa> ja_02: you probably had to remove that one k1x-timer too right?
<ja_02> no
<Tenkawa> hmm.. I might have fixed that one
<Tenkawa> it had a conflict with /usr/include/linux/timer.h
<Tenkawa> (in Ubuntu anyway in my testing)
<Tenkawa> oops had name backwards
<Tenkawa> drivers/clocksource/timer-k1x.c
<Tenkawa> thats the file
<Tenkawa> deleted a few lines but this is the core of the error
<Tenkawa> drivers/clocksource/timer-k1x.c:302:12: error: conflicting types for ‘timer_shutdown’; have ‘int(struct clock_event_device *)’
<Tenkawa> 302 | static int timer_shutdown(struct clock_event_device *dev)
<Tenkawa> | ^~~~~~~~~~~~~~
<Tenkawa> from drivers/clocksource/timer-k1x.c:10:
<Tenkawa> ./include/linux/timer.h:188:12: note: previous declaration of ‘timer_shutdown’ with type ‘int(struct timer_list *)’
<Tenkawa> 188 | extern int timer_shutdown(struct timer_list *timer);
<Tenkawa> | ^~~~~~~~~~~~~~
<Tenkawa> so do't be surprised if you run into that
lockna has quit [Read error: Connection reset by peer]
levitating is now known as asdadfsadf
asdadfsadf is now known as levitating
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #riscv
psydroid has joined #riscv
mlw has quit [Ping timeout: 260 seconds]
<mps> ja_02: buildroot can't download opensbi
<ja_02> huh
<ja_02> is their copy down
<ja_02> bruh i was hopeing that wouldnt happen
<ja_02> also WTF GH thats not a bug
<ja_02> oh
<ja_02> nvm not what i thought was the issue
coldfeet has joined #riscv
<Tenkawa> I truly despise gh/buildroot as a combo
<ja_02> try chaning 'ssh://git@' to 'https://'
<ja_02> also for linux and buildroot
<Tenkawa> thats one of the 3000 reasons we ended up making our builder
<Tenkawa> (back in the RPI days)
<ja_02> thats just a GH issue
<Tenkawa> ja_02: yeah but I could tell you sablime,rcs,svn,cvs,git,gh etc problems over the years that just make me hate them all (It was my job for years)
<mps> ja_02: where to change 'ssh://git@' to 'https://'
davidlt has quit [Ping timeout: 252 seconds]
<ja_02> make menuconfig or in the defconfig
<mps> aha
<ja_02> if u change the defconfig u need to re run `make ...._defconfig` and all your config changes will be lost unless u do `make savedefconfig`
<mps> found it
billchenchina- has joined #riscv
<mps> hmm, found here https://forum.banana-pi.org/t/bpi-f3-not-booting/18574 that 2GB RAM board have 'my' problem
hexdump0815 has joined #riscv
<hexdump0815> mps: maybe the 2gb version needs some special handling - see: https://forum.banana-pi.org/t/bpi-f3-not-booting/18574/5
<mps> hexdump0815: yes, this is told in url forum I posted above
levitating is now known as levitating_
levitating_ is now known as levitating
<mps> https://docs.banana-pi.org/en/BPI-F3/GettingStarted_BPI-F3 and section 'Solution for 2G DDR version unable to start'
psydroid has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
<courmisch> so did somebody rebase linux-6.6.36-k1 on top of actual the linux-6.6.36 ?
* courmisch is obviously tired
psydroid has joined #riscv
Perflosopher has joined #riscv
Perflosopher0 has quit [Ping timeout: 276 seconds]
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
coldfeet has quit [Remote host closed the connection]
levitating has quit [Ping timeout: 258 seconds]
zjason has quit [Read error: Connection reset by peer]
zjason has joined #riscv
levitating has joined #riscv
damian101 has quit [Ping timeout: 248 seconds]
billchenchina- has quit [Ping timeout: 248 seconds]
raym has quit [Ping timeout: 244 seconds]
DesRoin has quit [Ping timeout: 260 seconds]
raym has joined #riscv
DesRoin has joined #riscv
haritzondo has joined #riscv
haritz has quit [Ping timeout: 272 seconds]