00:06
orivej has quit [Ping timeout: 264 seconds]
00:06
orivej_ has joined #nixos-aarch64
00:26
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
00:27
orivej has joined #nixos-aarch64
00:28
Smith[m] has quit [Ping timeout: 246 seconds]
00:28
hsngrmpf[m] has quit [Ping timeout: 246 seconds]
00:28
comrandroxaos[m] has quit [Ping timeout: 246 seconds]
00:29
puzzlewolf has quit [Ping timeout: 246 seconds]
00:34
Smith[m] has joined #nixos-aarch64
00:35
hsngrmpf[m] has joined #nixos-aarch64
00:36
comrandroxaos[m] has joined #nixos-aarch64
00:36
puzzlewolf has joined #nixos-aarch64
00:50
orivej has quit [Quit: No Ping reply in 180 seconds.]
00:51
orivej has joined #nixos-aarch64
01:03
orivej has quit [Ping timeout: 256 seconds]
01:03
orivej has joined #nixos-aarch64
01:17
orivej has quit [Ping timeout: 264 seconds]
01:17
orivej has joined #nixos-aarch64
01:23
h0m1 has quit [Ping timeout: 260 seconds]
01:24
h0m1 has joined #nixos-aarch64
01:31
orivej has quit [Quit: No Ping reply in 180 seconds.]
01:32
orivej has joined #nixos-aarch64
01:36
alp has quit [Ping timeout: 265 seconds]
01:44
bdju has quit [Ping timeout: 256 seconds]
01:46
orivej has quit [Quit: No Ping reply in 180 seconds.]
01:47
orivej has joined #nixos-aarch64
01:48
bdju has joined #nixos-aarch64
01:57
orivej has quit [Read error: Connection reset by peer]
01:57
orivej_ has joined #nixos-aarch64
02:02
h0m1 has quit [Ping timeout: 246 seconds]
02:03
h0m1 has joined #nixos-aarch64
02:07
orivej_ has quit [Ping timeout: 264 seconds]
02:07
orivej has joined #nixos-aarch64
02:19
Darkmatter66_ has joined #nixos-aarch64
02:21
Darkmatter66 has quit [Ping timeout: 246 seconds]
02:27
Darkmatter66 has joined #nixos-aarch64
02:29
Darkmatter66_ has quit [Ping timeout: 260 seconds]
02:51
orivej has quit [Ping timeout: 265 seconds]
02:51
orivej has joined #nixos-aarch64
03:05
quinn has joined #nixos-aarch64
03:08
<
colemickens >
someone had sent a PR for uboot rpi4 but then couldn't get it working and closed it IIRC
03:09
<
samueldr >
that someone also missed my previous PR :)
03:28
orivej has quit [Ping timeout: 256 seconds]
03:28
orivej_ has joined #nixos-aarch64
03:51
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
03:53
orivej has joined #nixos-aarch64
04:07
orivej has quit [Ping timeout: 256 seconds]
04:07
orivej_ has joined #nixos-aarch64
04:13
orivej_ has quit [Ping timeout: 240 seconds]
05:11
cript0nauta has quit [Remote host closed the connection]
05:45
alp has joined #nixos-aarch64
06:05
<
angerman >
Hooray, and now I've got yet another board... odroid-n2
06:52
veleiro`` has quit [Ping timeout: 260 seconds]
07:55
<
samueldr >
125$CAD :o
09:38
kai_w has quit [Quit: Konversation terminated!]
09:39
<
angerman >
what would I do with a 8GB rpi4?
09:40
<
angerman >
I'm genuinely curious what usecases that would have? Image procesing in memory?
09:40
kai_w has joined #nixos-aarch64
09:43
<
sphalerite >
angerman: desktop use, also. And more space for filesystem cache really can't hurt performance when the filesystem is on an SD card.
09:43
<
angerman >
"Please enter your password between 4 and 20 characters." lol.
09:43
<
angerman >
sphalerite: hmm... but with usb boot, and fast ssds? is that really
*that* much of an issue?
09:46
<
angerman >
S$120 ...
09:49
<
angerman >
alright, let's get this rockpi4 sd-image working.
09:52
<
angerman >
if anyone has an odrid-n2 config, I'd be intersted too.
09:56
<
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.
09:57
<
angerman >
sphalerite: I guess I'll see :-)
10:02
zupo has joined #nixos-aarch64
10:04
<
angerman >
clever: actually they
*do* provide a
*ton* of info... not much to actually having to reverse 🙄
10:16
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:00
<
hexa- >
angerman: i have issues building 5.6 on the rpi4 with 4GB :)
11:16
alp has quit [Ping timeout: 246 seconds]
11:20
alp has joined #nixos-aarch64
11:26
Darkmatter66 has quit [Ping timeout: 260 seconds]
11:26
Darkmatter66_ has joined #nixos-aarch64
11:42
<
angerman >
hexa-: Hmm I don't
*build* much on them. I use them almost exclusively as deployment targets.
11:57
<
ar >
angerman: a small demo kubernetes cluster that you can actually deploy things to?
11:57
<
angerman >
no kubernetes in my house.
11:59
<
ar >
well, that would be a valid use case for 8GB rpi4
12:09
orivej has joined #nixos-aarch64
12:17
orivej has quit [Ping timeout: 240 seconds]
12:17
orivej has joined #nixos-aarch64
12:35
<
hexa- >
also ceph? :P
12:37
orivej has quit [Ping timeout: 256 seconds]
12:38
orivej has joined #nixos-aarch64
12:38
<
adisbladis >
Just run a single java application and all that ram is gone
12:38
<
angerman >
adisbladis: but it's gone effectively.
12:40
kai_w has quit [Quit: Konversation terminated!]
12:43
kai_w has joined #nixos-aarch64
12:46
alp has quit [Remote host closed the connection]
12:46
alp has joined #nixos-aarch64
12:50
<
andi- >
Still only SDCard storage, right?
12:50
<
hexa- >
can boot from USB
12:52
<
andi- >
RockPi4 has features a PCIE M.2 slot
12:53
<
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
12:54
<
angerman >
andi-: yea, I'm trying to build a nixos sd image for that right now.
12:54
<
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
12:55
<
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.
12:56
<
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.
12:56
<
clever >
the forum post i saw, was about identifying people and cars in a security camera
12:57
<
gchristensen >
"and shipped PXE network boot mode"
12:57
orivej_ has joined #nixos-aarch64
12:57
orivej has quit [Ping timeout: 272 seconds]
12:58
<
clever >
gchristensen: i can see the cause of a recent uboot bug in the photo on that 8gig model, lol
12:59
<
angerman >
Let's see if this rockpi4 image now boots.
12:59
<
clever >
gchristensen: they ditched the 2nd SPI chip for the vl805 firmware
12:59
<
clever >
gchristensen: so you now need to poke the vpu firmware, and ask it to load things
12:59
<
gchristensen >
"There are plenty of options already out there, including Ubuntu, NixOS, and Gentoo.
13:00
<
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.
13:00
<
{^_^} >
error: syntax error, unexpected OR_KW, at (string):313:1
13:00
* clever
hides his browser
13:01
alp has quit [Remote host closed the connection]
13:02
alp has joined #nixos-aarch64
13:09
orivej_ has quit [Ping timeout: 246 seconds]
13:10
orivej has joined #nixos-aarch64
13:12
<
clever >
angerman: i think that one has the trust in it
13:16
<
angerman >
clever: hmm... do I need to burn the kernel separately?
13:17
<
clever >
angerman: i think the uboot will just mount the /boot partition, and obey the config in that
13:20
<
angerman >
so I should be able to get away with 3 (loader1, loader2, and boot), let's see.
13:25
orivej has quit [Ping timeout: 246 seconds]
13:26
orivej has joined #nixos-aarch64
13:29
<
angerman >
whee... it boots.
13:30
<
angerman >
wlan doesn't work ... lol. ok.
13:32
<
angerman >
well, ssh is disabled, that is unexpected.
13:36
<
hexa- >
don't worry, wlan on the rpi doesn't work either :P
13:36
<
hexa- >
ok it works, albeit shitty.
13:41
<
angerman >
hexa-: hmm seems to work fine so far.
13:41
<
angerman >
I
*do* need to find a better wired setup though.
13:42
<
hexa- >
yeah, wired is the way to go with SBCs imo
13:42
<
hexa- >
the rpis wifi craps itself all the time … it's got lots of firmware crashes happening in STA and AP mode
13:43
<
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.
13:43
<
angerman >
right now they stand on a metal plate above a odroid-n2 :-/
13:43
<
angerman >
I think I should just try and get some cheap dish rack or something.
13:44
<
angerman >
This is all mostly going to be used to try and flush out arm bugs in the haskell rts.
13:45
<
clever >
hexa-: one thing of note, the rpi wifi chip has its own reset line, tied to the i2c gpio expander
13:45
<
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
13:46
<
hexa- >
I was looking into that already, without much success
13:46
<
clever >
hexa-: let me grab a link...
13:46
<
angerman >
so that's the whack the display solution.
13:46
<
angerman >
just put some loose wires onto the gpio and whack it physicallY?
13:46
<
hexa- >
probably, yes
13:47
<
hexa- >
fwiw: rmmod brcfmfmac; modprobe brcmfmac doesn't do it. neither does reboot. I currently need to poweroff and cold start.
13:47
<
clever >
29 wifi_pwrseq: wifi-pwrseq {
13:47
<
clever >
31 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
13:47
<
clever >
[clever@amd-nixos:~/apps/rpi/linux/arch/arm/boot/dts]$ vi bcm2837-rpi-3-b.dts
13:48
<
clever >
hexa-: this line in the dts file, tells the linux driver which gpio pin to use for reset logic
13:48
<
clever >
and i think the driver is already using it, on bootup
13:49
<
angerman >
*it*'s alive!
13:49
<
clever >
the wifi chip is also running on a 32khz clock from the SoC for some reason
13:50
<
clever >
hexa-: column h/i, rows 44/45
13:50
<
clever >
hexa-: yep, thats the bit
13:51
<
clever >
hexa-: and if you chase it backwards, it leads to 156-170 in the same file
13:52
orivej has quit [Quit: No Ping reply in 180 seconds.]
13:52
<
clever >
hexa-: SDIO began as an expansion card for old PDA's
13:52
orivej_ has joined #nixos-aarch64
13:52
<
hexa- >
very clever++
13:52
<
{^_^} >
clever's karma got increased to 448
13:52
<
clever >
i looked into that wifi stuff, because i wanted to make it work with the open firmware
13:53
<
clever >
but it needs that gpio expander first
13:53
<
clever >
which lacks drivers
13:53
<
hexa- >
I feel a bit dumb right now … the i2c gpio expander, is that hardware?
13:53
<
clever >
hexa-: there is an FXL6408 chip on the board somewhere
13:54
<
clever >
hexa-: to turn an i2c bus into another 8 gpio pins
13:55
<
clever >
hexa-: and the mux to i2c0_smps then lets linux access the FXL6408
13:55
<
clever >
pin SoC GPIO 46/47
13:57
<
hexa- >
hm, is it /sys/class/gpio/gpiochip504
13:57
<
hexa- >
called raspberrypi-exp-gpio
13:58
<
hexa- >
well then it's already exposed on my rpi4 :D
13:58
<
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.
13:58
<
clever >
on the official firmware, you access it via the mailbox, and start(4).elf handles controlling it
13:58
<
clever >
hexa-: if the firmware is gone, you loose access to it
13:58
<
hexa- >
the wifi firmware?
13:58
<
clever >
hexa-: the start4.elf firmware for the SoC
13:58
<
hexa- >
pretty sure only the wifi firmware crashes
13:59
<
clever >
hexa-: my goal is to replace as many blobs as possible
13:59
<
hexa- >
a commendable effort for pretty shitty hardware
14:02
<
clever >
hexa-: currently, i can boot nixos on the rpi2 and rpi3, and usb-host, mmc, uart, and i2c work
14:04
orivej_ has quit [Ping timeout: 256 seconds]
14:04
orivej has joined #nixos-aarch64
14:12
<
hexa- >
clever: so extgpio pin1 is high, I set it to low, then back high. Is that supposed to do the trick?
14:12
<
hexa- >
I don't see anything happening on dmesg
14:12
<
hexa- >
probably need to rmmod brcmfmac; reset; modprobe brcmfmac?
14:13
orivej has quit [Ping timeout: 246 seconds]
14:14
orivej has joined #nixos-aarch64
14:17
<
hexa- >
libgpiod calls the pin gpiochip1['gpiochip1:1 /WL_ON/'] btw
14:17
<
clever >
that sounds right
14:18
<
hexa- >
brcmfmac: probe of mmc1:0001:1 failed with error -110
14:18
<
hexa- >
so probing the wifi card fails with -110 as well
14:18
<
clever >
c2d ~ # perror 110
14:18
<
clever >
OS error code 110: Connection timed out
14:19
<
angerman >
wavirc22: I apparently can’t find the host?!
14:26
<
hexa- >
clever: so that sounds much like a dead-end
14:26
<
clever >
hexa-: i'll probably know more once i get the wifi working without the start.elf firmware
14:26
<
hexa- >
right, so thanks so far
14:27
<
hexa- >
I have a GL.iNet B1300 I'll probably repurpose for my entire Home WLAN
14:27
<
hexa- >
or a Netgear R7800
14:27
<
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 :)
14:51
orivej has quit [Quit: No Ping reply in 180 seconds.]
14:52
orivej has joined #nixos-aarch64
16:03
orivej has quit [Quit: No Ping reply in 180 seconds.]
16:04
orivej has joined #nixos-aarch64
16:16
Thra11 has joined #nixos-aarch64
16:59
orivej has quit [Read error: Connection reset by peer]
16:59
orivej_ has joined #nixos-aarch64
17:13
Thra11 has quit [Ping timeout: 258 seconds]
17:16
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
17:17
orivej has joined #nixos-aarch64
17:27
Thra11 has joined #nixos-aarch64
18:02
orivej has quit [Quit: No Ping reply in 180 seconds.]
18:03
orivej has joined #nixos-aarch64
18:25
orivej has quit [Ping timeout: 246 seconds]
18:26
orivej has joined #nixos-aarch64
18:35
orivej has quit [Quit: No Ping reply in 180 seconds.]
18:36
orivej has joined #nixos-aarch64
19:04
orivej has quit [Ping timeout: 258 seconds]
19:04
orivej has joined #nixos-aarch64
19:12
alp has quit [Remote host closed the connection]
19:12
alp has joined #nixos-aarch64
19:14
alp_ has joined #nixos-aarch64
19:14
alp has quit [Read error: Connection reset by peer]
19:16
alp_ has quit [Remote host closed the connection]
19:17
alp_ has joined #nixos-aarch64
19:18
alp_ is now known as alp
19:40
orivej has quit [Ping timeout: 246 seconds]
19:40
orivej has joined #nixos-aarch64
19:41
zupo_ has joined #nixos-aarch64
19:55
zupo_ has quit [Ping timeout: 260 seconds]
19:56
quinn has joined #nixos-aarch64
19:59
zupo has joined #nixos-aarch64
20:10
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:40
alp has quit [Ping timeout: 272 seconds]
21:15
zupo has joined #nixos-aarch64
21:45
alp has joined #nixos-aarch64
22:22
Thra11 has quit [Quit: WeeChat 2.8]
22:27
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:43
alp has quit [Ping timeout: 272 seconds]
22:57
orivej_ has joined #nixos-aarch64
22:57
orivej has quit [Ping timeout: 272 seconds]
23:15
orivej_ has quit [Ping timeout: 246 seconds]
23:15
orivej has joined #nixos-aarch64
23:40
orivej has quit [Ping timeout: 246 seconds]
23:40
orivej has joined #nixos-aarch64