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
motherfsck has joined #riscv
aethlas has quit [Quit: bye]
aethlas has joined #riscv
levitating has quit [Remote host closed the connection]
levitating has joined #riscv
heat_ has joined #riscv
heat has quit [Read error: Connection reset by peer]
levitating has quit [Read error: Connection reset by peer]
levitating has joined #riscv
levitating_ has joined #riscv
levitating has quit [Read error: Connection reset by peer]
aethlas_ has joined #riscv
aethlas has quit [Read error: Connection reset by peer]
jn has quit [Ping timeout: 252 seconds]
jn has joined #riscv
jn has quit [Changing host]
jn has joined #riscv
levitating_ has quit [Read error: Connection reset by peer]
levitating_ has joined #riscv
X-Scale has joined #riscv
BootLayer has joined #riscv
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #riscv
craigo has quit [Quit: Leaving]
levitating_ has quit [Ping timeout: 248 seconds]
guerby has joined #riscv
X-Scale has quit [Quit: Client closed]
X-Scale has joined #riscv
jacklsw has joined #riscv
BootLayer has quit [Quit: Leaving]
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #riscv
mlw has joined #riscv
zjason` has joined #riscv
zjason has quit [Ping timeout: 276 seconds]
X-Scale has quit [Quit: Client closed]
clever has quit [Ping timeout: 260 seconds]
clever has joined #riscv
mlw has quit [Ping timeout: 246 seconds]
Irvise has quit [Ping timeout: 272 seconds]
Irvise has joined #riscv
jobol has joined #riscv
coldfeet has joined #riscv
ldevulder has joined #riscv
levitating_ has joined #riscv
jedesa has quit [Remote host closed the connection]
jedesa has joined #riscv
levitating_ has quit [Ping timeout: 246 seconds]
levitating_ has joined #riscv
coldfeet has quit [Remote host closed the connection]
danilogondolfo has joined #riscv
levitating_ has quit [Remote host closed the connection]
levitating_ has joined #riscv
peeps[zen] has joined #riscv
nathanchance has quit [Ping timeout: 260 seconds]
nathanchance has joined #riscv
reinhardt has joined #riscv
lagash has quit [Ping timeout: 260 seconds]
peepsalot has quit [Ping timeout: 260 seconds]
cheapie has quit [Ping timeout: 260 seconds]
mturquette has quit [Ping timeout: 260 seconds]
Sharktavia has quit [Ping timeout: 260 seconds]
cronos has quit [Ping timeout: 260 seconds]
drmpeg has quit [Ping timeout: 260 seconds]
edef has quit [Ping timeout: 260 seconds]
octav1a has joined #riscv
drmpeg has joined #riscv
edef has joined #riscv
cheapie_ has joined #riscv
mturquette has joined #riscv
xypron_ has joined #riscv
xypron has quit [Ping timeout: 244 seconds]
mlw has joined #riscv
xypron_ has quit [Quit: No Ping reply in 180 seconds.]
xypron has joined #riscv
levitating_ has quit [Ping timeout: 248 seconds]
levitating_ has joined #riscv
levitating__ has joined #riscv
levitating_ has quit [Ping timeout: 246 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
levitating__ has quit [Ping timeout: 255 seconds]
lemoniter has joined #riscv
X-Scale has joined #riscv
lemoniter has quit [Remote host closed the connection]
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #riscv
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #riscv
lagash has joined #riscv
jacklsw has quit [Ping timeout: 248 seconds]
heat_ has quit [Remote host closed the connection]
heat_ has joined #riscv
cleger has joined #riscv
Tenkawa has joined #riscv
naoki has quit [Quit: naoki]
hightower2 has quit [Ping timeout: 255 seconds]
hightower2 has joined #riscv
heat_ is now known as heat
zjason` is now known as zjason
felixonmars_ has joined #riscv
felixonmars has quit [Read error: Connection reset by peer]
felixonmars_ is now known as felixonmars
X-Scale has quit [Quit: Client closed]
The_Decryptor1 has joined #riscv
The_Decryptor has quit [Read error: Connection reset by peer]
The_Decryptor1 is now known as The_Decryptor
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
craigo has joined #riscv
X-Scale has joined #riscv
octav1a is now known as Sharktavia
BootLayer has joined #riscv
ldevulder has quit [Quit: Leaving]
levitating__ has joined #riscv
Andre_Z has joined #riscv
Stat_headcrabed has joined #riscv
Noisytoot has quit [Excess Flood]
Noisytoot has joined #riscv
coldfeet has joined #riscv
levitating__ has quit [Remote host closed the connection]
levitating has joined #riscv
coldfeet has quit [Remote host closed the connection]
Andre_Z has quit [Quit: Leaving.]
felixonmars_ has joined #riscv
felixonmars has quit [Read error: Connection reset by peer]
felixonmars_ is now known as felixonmars
jobol has quit [Quit: Leaving]
X-Scale has quit [Quit: Client closed]
jedesa has quit [Remote host closed the connection]
jedesa has joined #riscv
___nick___ has joined #riscv
felixonmars has quit [Read error: Connection reset by peer]
felixonmars_ has joined #riscv
geist has quit [Ping timeout: 252 seconds]
geist has joined #riscv
stolen has joined #riscv
felixonmars_ has quit [Ping timeout: 260 seconds]
BootLayer has quit [Quit: Leaving]
felixonmars has joined #riscv
felixonmars_ has joined #riscv
felixonmars has quit [Read error: Connection reset by peer]
felixonmars_ has quit [Read error: Connection reset by peer]
felixonmars has joined #riscv
coldfeet has joined #riscv
felixonmars has quit [Remote host closed the connection]
felixonmars has joined #riscv
loki_val has joined #riscv
crabbedhaloablut has quit [Ping timeout: 260 seconds]
zBeeble has quit [Remote host closed the connection]
zBeeble has joined #riscv
am11 has joined #riscv
___nick___ has quit [Ping timeout: 252 seconds]
___nick___ has joined #riscv
<am11> hi, any distro i could use on musebook (other than what came preinstalled: bianbuOS, a debian-based distro, with old kernel 3.1.15). a distro with kernel >3.8 is what i wana boot with, temporarily in text-mode.
<am11> e.g. couldn't find riscv64 under netboot (with kernel and initramfs etc.) https://alpinelinux.org/downloads/
crabbedhaloablut has joined #riscv
<mps> 3.1.15 or 6.1.15
loki_val has quit [Ping timeout: 260 seconds]
<am11> sorry 6.1.15 :D
<am11> mps: was gonna write you on #u-boot, i now have the sd-card which fits that weird port. now it's distro hunting
<Tenkawa> am11: is that the new K1 one?
<am11> spacemit x60
<Tenkawa> Not sure all of it works yet.. but I do have this up and running:
<Tenkawa> Linux bpibox 6.6.36 #1 SMP Thu Sep 5 11:58:26 EDT 2024 riscv64 riscv64 riscv64 GNU/Linux
<mps> notebook similar to bpi-f3
<Tenkawa> Been trying to figure out a spin problem on the remoteproc code
<Tenkawa> keeps the cpu load at 2
<mps> kernel thread SDIO something?
<Tenkawa> no.. appears to be remoteproc making the vq0 thread spin
<mps> and disp_eng_share_thread
<Tenkawa> but if you disable remoteproc the system becomes unstable and causes RCU to go haywire
<am11> mps: should i flash sd card with armbian or something? (at my own risk TM) :D
<Tenkawa> disp_eng_share_thread is ok as long as you have a microsd physicly in the unit
<Tenkawa> but this other problem with RCU is anoying
<mps> am11: I think you are not at risk if you flash on mmc card, though not sure it will boot on your laptop
<Tenkawa> armbian's is likely not to work
<Tenkawa> I'm not sure its maintained as recently
<mps> Tenkawa: I use armbian kernel with alpine userspace, works
<Tenkawa> We use a different builder
<Tenkawa> mps: kernel possibly but thats not userland
<Tenkawa> big difference
<mps> also armbian userland worked but I didn't tested it much
<Tenkawa> And I know Armbians work (remember I was an Armbian devel)
<mps> Tenkawa: ah, really nice to hear
<Tenkawa> I really need multiple copies of this sd card lol
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<Tenkawa> (especially since I dont have a spi soldered on)
<Tenkawa> thats so anoying
<Tenkawa> I'd really like to just boot my nvme from spi
<Tenkawa> but my spi socket just sits there starig at me empty
<Tenkawa> er staring
<mps> looks like my board have qspi
<mps> someone offered to translate docs from chinese to me but I have no idea what to ask
<am11> mps: what's the kernel version in your armbian setup?
<mps> am11: like your, 6.1.15
<am11> ah, i'm looking for 6.8 or something more recent
<Tenkawa> mps: where is the qspi at on yours?
<Tenkawa> am11: there's nothing more recent than what I posted
<mps> Tenkawa: dmesg
<mps> k1x-qspi d420c000.spi: AHB buf size: 512
<Tenkawa> mps: oh thats right you got the 2gb model
<Tenkawa> right?
<mps> right
<Tenkawa> or something
<Tenkawa> yeah... the 4gb ones are just socketed
<Tenkawa> 3 of us now confirmed we all have just sockets
<Tenkawa> v1.0 units
<Tenkawa> what version is your unit on the silkscreen?
<mps> can't tell right now, I'm outside
<Tenkawa> oh.. ok oops
<mps> out of work area
<Tenkawa> Ahh
<Tenkawa> I bet yours is newer
<mps> will look tomorrow and then tell you
<Tenkawa> thanks
<mps> Tenkawa: do you have your image on net somewhere for download?
<Tenkawa> Only the builder like we discussed for debian/ubuntu... I'll ask if c0rnelius can build a default one and upload it to the images area.
<mps> (I tried to set debian in chroot but lost nerves with it)
<Tenkawa> oh... darn .. I have a 4 line script I could've given you
<mps> no please, don't want to waste more time with it. but thank you for offer to help
<Tenkawa> btw you tried out the on top wiifi socket?
<Tenkawa> er wifi
<mps> what? I run it as access point for 24 hours now
<Tenkawa> I ask because there is an internal wifi and a m.2 on top
<mps> yes, didn't tried nvme yet
<mps> but wifi works fine
<mps> Tenkawa: post me this four lines to set up debian. would be good to have it in 'desperate mode' :)
<mps> paste maybe somewhere
<Tenkawa> ok just a sec
levitating has quit [Ping timeout: 255 seconds]
kilic has joined #riscv
<Tenkawa> testing it now
<Tenkawa> won't be 100% the same but it is close
<mps> no hurries
coldfeet has quit [Remote host closed the connection]
<Tenkawa> 1 step (obtaining debootstrap binary) you'll need to find
<mps> (going to take wine)
am11 has joined #riscv
am11 has quit [Changing host]
<mps> debostrap is packaged on alpine
<Tenkawa> take a look and see if you have any questions
<Tenkawa> I just tested it here
<Tenkawa> am11: that doesn't support the spacemit
<Tenkawa> look in the package conts
<Tenkawa> er contents
<Tenkawa> no dtb
<am11> :(
<Tenkawa> 6.6 is "just" now in devel...
<Tenkawa> it is nowhere near mainline yet
<am11> ah, i can upgrade to bianbu2.0 rc2?
<Tenkawa> yes
<am11> cool, i can be an early bird. was hoping if i could clone it myself.. is there a mirror of bianbu somewhere other than gitee? it doesn't let me register it from finland https://gitee.com/bianbu-linux/linux-6.6
<am11> yup
<Tenkawa> but I would recommend opensbi and u-boot too
<am11> yup chatgpt was helping me setting up these steps: https://bianbu-linux.spacemit.com/en/development_guide/boot
<Tenkawa> am11: we have the entire thing packaged in a builder if you used a debian/ubuntu derivitive
<mps> am11: I'm maintainer of this linux-edge on alpine, it will not work on spacemit cpu
<Tenkawa> am11: if interested... https://github.com/pyavitz/debian-image-builder
<Tenkawa> indstructions are at bottom of page
<Tenkawa> its for all of our arm/risc-v boards
<mps> Tenkawa: lines at bottom are from /etc/apt/sources?
<Tenkawa> yeah...
<Tenkawa> inside the chroot
<Tenkawa> it will need those for the build
<Tenkawa> and pre-req tools (git/etc)
<mps> ok, doesn't look complicated (I was debian user and developer a little for nearly 20 years)
<Tenkawa> Yeah its not..
<Tenkawa> let me know if I typoed anything
<Tenkawa> the binfmt was the biggest pain to fix'
<Tenkawa> er fix
<mps> np, I will fix if there is something
<am11> mps: wow :D
<Tenkawa> before qemu came along that was annpying
<mps> but not now, probably on weekend
<am11> Tenkawa: thanks,  i will dockerize it and let github action build and publish as a gh release
<Tenkawa> mps: lol should I tell am11 how long I was?
<mps> hah, today had to fix build qemu 9.1.0 with musl on riscv64
<mps> Tenkawa: I will tell, more than 30?
<Tenkawa> This is year 31 for me with Debian.... 45 for Unix
<Tenkawa> Yes I'm old lol
<mps> I'm with unix about 30-35 years
<Tenkawa> The fun part... I actually got to work for AT&T/Bell/NCR/Lucent eventually lol
<am11> wow, i'm 40 and started with windows 3.11 / pentium 4.. thanks for making me feel young for a second. :D
<Tenkawa> haahaa
<mps> hehe, I feel young and I'm young :)
<dh`> 3.11 and pentium 4 are like a decade apart, you sure about that? :-p
<dh`> (33 years unix for me if we're counting)
gordonDrogon has quit [Ping timeout: 252 seconds]
vagrantc has joined #riscv
<mps> Tenkawa: created chroot and chrooted to it
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Tenkawa> did you run those binds too?
rattlesn- is now known as rattlesnake
<Tenkawa> if you are in it you can git clone the repo I gave you and run ./install.sh to install the prereqs... if it complains let me know (since you are on a unconfigured debootstrap it might)
<mps> you forgot 'apt update' before 'apt dist-upgrade'
___nick___ has joined #riscv
<Tenkawa> oh i mustve hit space accidently and wiped my buffer (it was in there)
___nick___ has quit [Client Quit]
<Tenkawa> pastebin's site has terrible kb controls
<mps> use text based ones
<Tenkawa> this one has no ads
gordonDrogon has joined #riscv
am11 has quit [Quit: Client closed]
<Tenkawa> its fine as long as I'm not trying to do it all on the fly
___nick___ has joined #riscv
am11 has joined #riscv
am11 has quit [Changing host]
am11 has joined #riscv
<mps> Tenkawa: a lot of 'sudo: unable to allocate pty: No such device' when invoking make
<Tenkawa> that sounds like the dev/pts bind is missing
<mps> ohm forgot to add it
<am11> git clone https://gitee.com/bianbu-linux/linux-6.6.git seems to be working without gitee account
<am11> 22.00 KiB/s lol vs. torvald's tree downloading at 5.66 MiB/s
<Tenkawa> yeah they fixed it last night
<Tenkawa> it was broke yesterday morning/night before though
___nick___ has quit [Ping timeout: 246 seconds]
X-Scale has joined #riscv
naoki has joined #riscv
<dh`> I'm not sure when it was sudo started opening separate ptys for your sessions (which is pretty useless if you ask me) but I have found that it's not good at cleaning them up afterwards
<dh`> so beware
<am11> apparently spacemit patches are being upstremed https://lore.kernel.org/lkml/20240830-tidy-identify-90dce7a21abc@wendy/  so i may as well wait a bit.. diff between torvald's v6.6 and bianbu's v2.0rc5 suggests there are 3.3M lines. so don't think i'm manually gonna cherry-pick on tip of v6.11 :')
<Tenkawa> am11: those are not likely to be seen until 6.13 so you will be waiting a while
<Tenkawa> and will require u-boot changes as well
<Tenkawa> just kernel changes will not accomplish everything
wgrant has quit [Ping timeout: 260 seconds]
pabs3 has quit [Ping timeout: 246 seconds]
<Tenkawa> There are parts of the JH7110 that still aren't in mainline and its been here for several years now
levitating has joined #riscv
kilic has quit [Quit: Leaving]
levitating_ has joined #riscv
levitating has quit [Ping timeout: 252 seconds]
pabs3 has joined #riscv
WarmHeart has joined #riscv
<Tenkawa> mps: any luck?
<mps> no, not yet. looks like this build system is buggy
<mps> 'make menu' terminates without telling why
<Tenkawa> mps: look in output/logs
<Tenkawa> it works fine for lots of people....
<Tenkawa> I've built hundreds of images with it
<Tenkawa> about to test it here with the method you need to use (chroot)
hightower2 has quit [Remote host closed the connection]
<mps> 'ccache: error: Could not find compiler "riscv64-linux-gnu-gcc-12" in PATH'
<Tenkawa> oh...
<Tenkawa> i know ehy
<Tenkawa> er why
<Tenkawa> I gave you debian versions
<Tenkawa> debian doesnt have 13
<mps> ah
<Tenkawa> I knew bookworm had issues
<Tenkawa> you have to use sid/unstable
<Tenkawa> change bookworm to sid and upgrade the pkgs
<mps> but I put put those to what you post to /etc/apk/sources
<Tenkawa> yeah... I usually work with ubuntu.. .not debian
<Tenkawa> I forgot that bookworm was too old
<mps> which one should be used
<mps> unstable?
<Tenkawa> I would recommend ububntu noble
<Tenkawa> er ubuntu
<Tenkawa> thats the most stable currently
WarmHeart has quit [Quit: Client closed]
<Tenkawa> but let me get you a updated sources list
<mps> and debian?
<Tenkawa> just a sec
<Tenkawa> debian would be sid/unstable
<Tenkawa> ok thats a updated ubuntu sources
<Tenkawa> thats the one I've been using to build this F3
<Tenkawa> I completely forgot about that version difference (I stopped using Debian several months ago)
<mps> setting working environment will take time
<Tenkawa> yeah.. lot of prereqs and cross arch slows it a bit
<Tenkawa> even on my semi native fast builder it takes longest to do RV64 builds
<mps> heh 'The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C'
<Tenkawa> thats an apt thing...
<mps> yes
<Tenkawa> is your sysclock showing correct in there?
<mps> it should be ok
<Tenkawa> I'm on 285 of 319 pkgs dloaded.. I'll be able to see where that should be checked shortly
<mps> Thu Sep 5 21:56:53 UTC 2024
<Tenkawa> this is where chroot env is tougher
<Tenkawa> many sysenv things aren't setup
stolen has quit [Quit: Connection closed for inactivity]
<Tenkawa> the chroot hasn't gone through debian/ubuntu second stage
<Tenkawa> (the debootstrap)
<mps> Tenkawa: thank you for trying to help but I don't want to wrestle much with debian
<Tenkawa> ok
<Tenkawa> Yeah unfortunately we've had no requests for any other non-deb based distribs so ... no demand...
<mps> I respect your willing to help but in backhead 'debian' sounds overcomplicated
<Tenkawa> Devuan (a sysvinit Debian distrib) even has support...
<Tenkawa> mps: no.. if you actually "used" debian its not
<Tenkawa> but you don't
<mps> well, I backported first version of selinux tools in debian
<Tenkawa> "tools"... not a whole distro install... makes a big difference
<mps> I installed debian a lot of times on very different machines during 20 years of usage
<Tenkawa> I worked on the original slackware packaging attepts.... they were not "pretty"
<mps> from small SBCs to big servers
<mps> few days ago I installed debian on an old notebook without problems
aethlas_ has quit [Quit: bye]
aethlas has joined #riscv
<mps> now I have to sleep, thank you again for your good will to help me
<Tenkawa> cheers
JanC has quit [Remote host closed the connection]
JanC has joined #riscv
danilogondolfo has quit [Remote host closed the connection]
levitating__ has joined #riscv
levitating_ has quit [Ping timeout: 260 seconds]
jrjsmrtn has quit [Quit: ZNC 1.8.2 - https://znc.in]
mlw has quit [Read error: Connection reset by peer]
Tenkawa has quit [Quit: Was I really ever here?]
mlw has joined #riscv
jrjsmrtn has joined #riscv
levitating__ has quit [Ping timeout: 260 seconds]
cheapie_ is now known as cheapie
CommanderBond007 has quit [Ping timeout: 248 seconds]
CommanderBond007 has joined #riscv
levitating__ has joined #riscv
levitating__ is now known as levitating
am11 has quit [Ping timeout: 256 seconds]
wgrant has joined #riscv
Tenkawa has joined #riscv
<Tenkawa> worked perfect... : ls -l $PWD/k1-bananapi-f3-ubuntu-noble-6.6.36-riscv64-ext4-2024-09-05-2311.img
<Tenkawa> -rw-r--r-- 1 root root 2200000000 Sep 5 19:11 /stable-chroot/root/debian-image-builder/k1-bananapi-f3-ubuntu-noble-6.6.36-riscv64-ext4-2024-09-05-2311.img
vagrantc has quit [Quit: leaving]
DesRoin has quit [Ping timeout: 246 seconds]
DesRoin has joined #riscv