orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
Smith[m] has quit [Ping timeout: 246 seconds]
hsngrmpf[m] has quit [Ping timeout: 246 seconds]
comrandroxaos[m] has quit [Ping timeout: 246 seconds]
puzzlewolf has quit [Ping timeout: 246 seconds]
Smith[m] has joined #nixos-aarch64
hsngrmpf[m] has joined #nixos-aarch64
comrandroxaos[m] has joined #nixos-aarch64
puzzlewolf has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 265 seconds]
bdju has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
bdju has joined #nixos-aarch64
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
Darkmatter66_ has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #nixos-aarch64
Darkmatter66_ has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
quinn has joined #nixos-aarch64
<colemickens> someone had sent a PR for uboot rpi4 but then couldn't get it working and closed it IIRC
<samueldr> yeah
<samueldr> that someone also missed my previous PR :)
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 240 seconds]
cript0nauta has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
<angerman> Hooray, and now I've got yet another board... odroid-n2
veleiro`` has quit [Ping timeout: 260 seconds]
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<samueldr> 125$CAD :o
kai_w has quit [Quit: Konversation terminated!]
<angerman> what would I do with a 8GB rpi4?
<angerman> I'm genuinely curious what usecases that would have? Image procesing in memory?
kai_w has joined #nixos-aarch64
<sphalerite> angerman: desktop use, also. And more space for filesystem cache really can't hurt performance when the filesystem is on an SD card.
<angerman> "Please enter your password between 4 and 20 characters." lol.
<angerman> sphalerite: hmm... but with usb boot, and fast ssds? is that really *that* much of an issue?
<angerman> S$120 ...
<angerman> alright, let's get this rockpi4 sd-image working.
<angerman> if anyone has an odrid-n2 config, I'd be intersted too.
<sphalerite> angerman: RAM is still faster. With 8GB, you can easily have all your desktop applications in RAM and not have to hit the mass storage at all, which ought to improve interactive performance significantly — and then you still have breathing space for loading more things.
<angerman> sphalerite: I guess I'll see :-)
zupo has joined #nixos-aarch64
<angerman> clever: actually they *do* provide a *ton* of info... not much to actually having to reverse 🙄
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hexa-> angerman: i have issues building 5.6 on the rpi4 with 4GB :)
alp has quit [Ping timeout: 246 seconds]
alp has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 260 seconds]
Darkmatter66_ has joined #nixos-aarch64
Darkmatter66_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<angerman> hexa-: Hmm I don't *build* much on them. I use them almost exclusively as deployment targets.
<ar> angerman: a small demo kubernetes cluster that you can actually deploy things to?
<angerman> no kubernetes in my house.
<ar> well, that would be a valid use case for 8GB rpi4
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
<hexa-> also ceph? :P
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
<adisbladis> Just run a single java application and all that ram is gone
<angerman> adisbladis: but it's gone effectively.
kai_w has quit [Quit: Konversation terminated!]
kai_w has joined #nixos-aarch64
<gchristensen> yay
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
<angerman> öwhat?
<andi-> Still only SDCard storage, right?
<hexa-> can boot from USB
<andi-> RockPi4 has features a PCIE M.2 slot
<andi-> s/has//
<clever> angerman: i lost the link, but there was a post on the rpi forums about how a larger neural network (that only fit on the 4gig model) gave much higher accuracy
<angerman> andi-: yea, I'm trying to build a nixos sd image for that right now.
<andi-> Cool, I'll come back to you once I have an actual use case that isn't piling them up with all the other SBCs
<angerman> clever: well if you increase size you'd expect to get better accuracy, though there was a paper on deforestation like model shrinking for NN.
<angerman> So you might be able to prune some stuff out of NNs. I'm still a bit sad that there is little utility for them in my wife's line of work, that would be fun to apply. But they do need the inverse as well for reasoning.
<clever> the forum post i saw, was about identifying people and cars in a security camera
<gchristensen> "and shipped PXE network boot mode"
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 272 seconds]
<clever> gchristensen: i can see the cause of a recent uboot bug in the photo on that 8gig model, lol
<gchristensen> oh?
<angerman> Let's see if this rockpi4 image now boots.
<gchristensen> lol
<clever> gchristensen: they ditched the 2nd SPI chip for the vl805 firmware
<clever> gchristensen: so you now need to poke the vpu firmware, and ask it to load things
<gchristensen> "There are plenty of options already out there, including Ubuntu, NixOS, and Gentoo.
<gchristensen> ahh
<clever> > or you simply want to be able to have even more browser tabs open at once, this is definitely the Raspberry Pi for you.
<{^_^}> error: syntax error, unexpected OR_KW, at (string):313:1
* clever hides his browser
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
<angerman> clever: am I missing something or should I be able to skip the trust.img if I just put the u-boot.itb in? http://opensource.rock-chips.com/wiki_Boot_option
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
<clever> angerman: i think that one has the trust in it
<angerman> clever: hmm... do I need to burn the kernel separately?
<clever> angerman: i think the uboot will just mount the /boot partition, and obey the config in that
<angerman> so I should be able to get away with 3 (loader1, loader2, and boot), let's see.
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
<angerman> whee... it boots.
<angerman> wlan doesn't work ... lol. ok.
<angerman> well, ssh is disabled, that is unexpected.
<hexa-> don't worry, wlan on the rpi doesn't work either :P
<hexa-> ok it works, albeit shitty.
<angerman> hexa-: hmm seems to work fine so far.
<angerman> I *do* need to find a better wired setup though.
<hexa-> yeah, wired is the way to go with SBCs imo
<hexa-> the rpis wifi craps itself all the time … it's got lots of firmware crashes happening in STA and AP mode
<angerman> I've 4 more ports in the switch on my desk, but I don't have any way to mount/place them yet well.
<angerman> right now they stand on a metal plate above a odroid-n2 :-/
<angerman> I think I should just try and get some cheap dish rack or something.
<angerman> This is all mostly going to be used to try and flush out arm bugs in the haskell rts.
<clever> hexa-: one thing of note, the rpi wifi chip has its own reset line, tied to the i2c gpio expander
<clever> hexa-: with the right code, you could detect that the chip isnt responding, and give it a swift whack over the head to reset it
<hexa-> oh neat :D
<hexa-> I was looking into that already, without much success
<clever> hexa-: let me grab a link...
<angerman> so that's the whack the display solution.
<angerman> just put some loose wires onto the gpio and whack it physicallY?
<hexa-> probably, yes
<hexa-> fwiw: rmmod brcfmfmac; modprobe brcmfmac doesn't do it. neither does reboot. I currently need to poweroff and cold start.
<clever> 29 wifi_pwrseq: wifi-pwrseq {
<clever> 31 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
<clever> [clever@amd-nixos:~/apps/rpi/linux/arch/arm/boot/dts]$ vi bcm2837-rpi-3-b.dts
<clever> hexa-: this line in the dts file, tells the linux driver which gpio pin to use for reset logic
<clever> and i think the driver is already using it, on bootup
<hexa-> lmao
<angerman> *it*'s alive!
<clever> the wifi chip is also running on a 32khz clock from the SoC for some reason
<clever> hexa-: column h/i, rows 44/45
<clever> hexa-: yep, thats the bit
<clever> hexa-: and if you chase it backwards, it leads to 156-170 in the same file
orivej has quit [Quit: No Ping reply in 180 seconds.]
<clever> hexa-: SDIO began as an expansion card for old PDA's
orivej_ has joined #nixos-aarch64
<hexa-> :)
<hexa-> very clever++
<{^_^}> clever's karma got increased to 448
<clever> i looked into that wifi stuff, because i wanted to make it work with the open firmware
<clever> but it needs that gpio expander first
<clever> which lacks drivers
<hexa-> I feel a bit dumb right now … the i2c gpio expander, is that hardware?
<clever> hexa-: there is an FXL6408 chip on the board somewhere
<clever> hexa-: to turn an i2c bus into another 8 gpio pins
<clever> hexa-: and the mux to i2c0_smps then lets linux access the FXL6408
<clever> pin SoC GPIO 46/47
<hexa-> hm, is it /sys/class/gpio/gpiochip504
<hexa-> called raspberrypi-exp-gpio
<clever> yeah
<hexa-> well then it's already exposed on my rpi4 :D
<angerman> So where do we put the RockPi4 stuff? Ideally I'd like to put that into nixpkgs proper. However we need some alternate gpt sd-image logic.
<clever> on the official firmware, you access it via the mailbox, and start(4).elf handles controlling it
<clever> hexa-: if the firmware is gone, you loose access to it
<hexa-> the wifi firmware?
<clever> hexa-: the start4.elf firmware for the SoC
<hexa-> pretty sure only the wifi firmware crashes
<clever> hexa-: my goal is to replace as many blobs as possible
<hexa-> a commendable effort for pretty shitty hardware
<clever> hexa-: currently, i can boot nixos on the rpi2 and rpi3, and usb-host, mmc, uart, and i2c work
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
<hexa-> clever: so extgpio pin1 is high, I set it to low, then back high. Is that supposed to do the trick?
<hexa-> I don't see anything happening on dmesg
<hexa-> probably need to rmmod brcmfmac; reset; modprobe brcmfmac?
<clever> probably
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
<hexa-> libgpiod calls the pin gpiochip1['gpiochip1:1 /WL_ON/'] btw
<clever> that sounds right
<hexa-> brcmfmac: probe of mmc1:0001:1 failed with error -110
<hexa-> so probing the wifi card fails with -110 as well
<clever> c2d ~ # perror 110
<clever> OS error code 110: Connection timed out
<angerman> wavirc22: I apparently can’t find the host?!
<hexa-> clever: so that sounds much like a dead-end
<clever> hexa-: i'll probably know more once i get the wifi working without the start.elf firmware
<hexa-> right, so thanks so far
<hexa-> I have a GL.iNet B1300 I'll probably repurpose for my entire Home WLAN
<hexa-> or a Netgear R7800
<hexa-> the only reason the pi has to be an AP is that my APU2 only has one radio and that runs on 5 GHz :)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos-aarch64
Thra11 has quit [Ping timeout: 258 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
alp_ has joined #nixos-aarch64
alp has quit [Read error: Connection reset by peer]
alp_ has quit [Remote host closed the connection]
alp_ has joined #nixos-aarch64
alp_ is now known as alp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
zupo_ has joined #nixos-aarch64
zupo_ has quit [Ping timeout: 260 seconds]
quinn has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Ping timeout: 272 seconds]
zupo has joined #nixos-aarch64
alp has joined #nixos-aarch64
Thra11 has quit [Quit: WeeChat 2.8]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Ping timeout: 272 seconds]
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 272 seconds]
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64