00:09
ryantrinkle has quit [Ping timeout: 245 seconds]
01:30
wildtrees has quit [Quit: Leaving]
01:36
ryantrinkle has joined #nixos-aarch64
01:49
orivej has joined #nixos-aarch64
04:00
orivej has quit [Ping timeout: 245 seconds]
04:56
ryantrinkle has quit [Ping timeout: 248 seconds]
04:57
zupo has joined #nixos-aarch64
05:03
zupo_ has joined #nixos-aarch64
05:04
zupo has quit [Ping timeout: 272 seconds]
06:41
orivej has joined #nixos-aarch64
10:31
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:18
orivej has quit [Ping timeout: 272 seconds]
12:34
ryantrinkle has joined #nixos-aarch64
12:40
contrun[m] has joined #nixos-aarch64
12:47
t184256 has left #nixos-aarch64 [#nixos-aarch64]
12:47
t184256 has joined #nixos-aarch64
13:14
zupo has joined #nixos-aarch64
13:16
chiefgoat has quit [Ping timeout: 258 seconds]
13:17
chiefgoat has joined #nixos-aarch64
13:28
chiefgoat has joined #nixos-aarch64
13:40
zupo_ has joined #nixos-aarch64
13:43
zupo has quit [Ping timeout: 258 seconds]
13:43
ryantrinkle has quit [Ping timeout: 268 seconds]
14:16
ryantrinkle has joined #nixos-aarch64
14:21
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:28
<
sphalerite >
samueldr: I might be able to provide some helpful input on #66960 — just not sure if I have the right pi model. Do you know if there's a way to find out which one it is from a booted linux on it?
14:28
<
sphalerite >
well it's definitely a 3A of some sort. Not sure about the + part
14:30
<
sphalerite >
oh there is no non-plus 3A?
14:31
zupo has joined #nixos-aarch64
14:40
orivej has joined #nixos-aarch64
14:49
FRidh has joined #nixos-aarch64
14:50
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:39
<
samueldr >
I'm not sure
15:39
<
clever >
sphalerite: there is a way to visually identify your model
15:39
<
samueldr >
though yeah, looks like it, only 3A+
15:40
<
samueldr >
it will also say so on the board
15:40
<
clever >
sphalerite: the image i linked, shows that there are 3 different versions of the 3B
15:41
<
clever >
samueldr: oh, and the codes like a02082, i think those show in /proc/cpuinfo
15:54
<
sphalerite >
clever: nope nothing like that in cpuinfo
15:54
<
sphalerite >
clever: I'm about 5km away from the device right now
15:54
<
clever >
sphalerite: can you pastebin your cpuinfo?
15:54
<
clever >
looks like you want the hardware: and revision:
15:55
<
clever >
ah, but that may be specific to the rpi foundation fork of linux
15:55
<
clever >
are you on a more generic upstream kernel?
15:55
<
sphalerite >
/sys/firmware/devicetree/base/model: Raspberry Pi 3 Model A+
15:55
<
sphalerite >
yeah I'm on linuxPackages_latest from unstable
15:55
<
sphalerite >
Linux soundblaster 5.2.9 #1-NixOS SMP Fri Aug 16 08:11:12 UTC 2019 aarch64 GNU/Linux
15:56
<
clever >
the devicetree comes from a blob on the SD card, so i'm not sure how much i would trust it
15:56
<
clever >
it relies on the bootloader being configured right, and/or enforcing the right value
15:56
<
clever >
let me see...
15:57
<
samueldr >
clever: make sure you're following the u-boot way of doing it :)
15:57
<
sphalerite >
"The baud rate of the mini UART is linked to the core frequency of the VPU on the VC4 GPU." :|
15:57
<
clever >
sphalerite: do you have the vcgencmd binary?
15:58
wildtrees has joined #nixos-aarch64
15:58
<
samueldr >
if it's been loaded through u-boot, and loaded the right device tree, then it looks fine
15:58
<
samueldr >
(oops, linked to 3B+, but scroll a bit)
15:58
wildtrees has quit [Max SendQ exceeded]
15:58
<
clever >
in an ideal world, with the new rpi4, the DT blob can exist on the spi flash
15:58
<
clever >
and the bootloader will just use that as-is
15:59
<
samueldr >
sorry, this was mean
15:59
<
clever >
and then you cant get the wrong one
15:59
<
clever >
and its flash, so it can be fixed
15:59
wildtrees has joined #nixos-aarch64
15:59
<
sphalerite >
what was mean?
15:59
<
clever >
samueldr: at least, thats my understanding of how DT was meant to be used
15:59
<
samueldr >
just laughing in the face of ARM implementors
16:00
<
samueldr >
it
_is_ how DT was meant to be used :)
16:00
<
samueldr >
but most implementors don't care and ship broken DTs
16:00
<
samueldr >
and then there's linux... that wants to control their device trees and change schemes for their use cases :/
16:00
<
samueldr >
we already have the rpi foundation shipping device trees
16:00
<
samueldr >
it would be best if the mainline kernel would use them outright
16:01
<
clever >
for older models, you sort of rely on start.elf detecting the model for you, and picking the right DT file
16:01
<
clever >
and u-boot having matching detection logic, which you hope is right
16:01
wildtrees has quit [Max SendQ exceeded]
16:01
<
clever >
related, ive got an mpr121 touch sensor, it has 11 touch elements
16:01
<
clever >
and linux already has a driver for it, but doesnt map the buttons
16:02
<
clever >
you need to then write your own driver, that specifies the i2c address, and button mappings
16:02
<
clever >
the "platform specific" driver, from the pre-DT days
16:02
wildtrees has joined #nixos-aarch64
16:02
<
clever >
i wanted to use DT, but at the time, the kernel rpi shipped lacked DT support
16:04
<
samueldr >
sphalerite: I guess your image came from unstable and not stable, right?
16:04
<
sphalerite >
samueldr: yep
16:04
<
samueldr >
I just looked more in depth
16:04
<
samueldr >
u-boot 2018.09 doesn't have anything for the pluses
16:04
<
samueldr >
neither B+ nor A+
16:05
<
sphalerite >
ah, and that's what's in 19.03?
16:05
<
samueldr >
so I guess that stable with the 4.19 kernel on 3B+ works by luck on 2018.09
16:05
<
clever >
but what will it do for unknown models?
16:05
<
clever >
report the wrong thing, or report nothing?
16:05
<
samueldr >
I'm thinking it doesn't load a new DT
16:05
<
samueldr >
but I'm unsure
16:07
<
samueldr >
it ends up using that
16:07
<
clever >
ah, so it probably wont lie
16:24
orivej has quit [Ping timeout: 258 seconds]
17:16
orivej has joined #nixos-aarch64
17:24
zupo has joined #nixos-aarch64
17:28
FRidh has quit [Quit: Konversation terminated!]
17:51
orivej has quit [Ping timeout: 268 seconds]
18:02
ris has joined #nixos-aarch64
18:12
orivej has joined #nixos-aarch64
18:50
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:41
zupo has joined #nixos-aarch64
20:46
samrose_ has joined #nixos-aarch64
20:46
samrose has quit [Ping timeout: 248 seconds]
20:58
zupo_ has joined #nixos-aarch64
21:00
zupo has quit [Ping timeout: 272 seconds]
21:23
zupo has joined #nixos-aarch64
21:26
zupo_ has quit [Ping timeout: 244 seconds]
21:33
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:56
wildtrees has quit [Remote host closed the connection]
21:58
wildtrees has joined #nixos-aarch64
22:23
t184256 has left #nixos-aarch64 [#nixos-aarch64]
22:26
t184256 has joined #nixos-aarch64
23:07
ryantrinkle has quit [Ping timeout: 272 seconds]
23:12
ris has quit [Ping timeout: 246 seconds]
23:13
balsoft has quit [Ping timeout: 252 seconds]
23:13
codyopel has quit [Ping timeout: 252 seconds]
23:13
balsoft has joined #nixos-aarch64
23:14
atopuzov[m] has quit [Ping timeout: 252 seconds]
23:14
nocent has quit [Ping timeout: 252 seconds]
23:15
atopuzov[m] has joined #nixos-aarch64
23:15
nocent has joined #nixos-aarch64
23:16
codyopel has joined #nixos-aarch64
23:36
orivej has quit [Ping timeout: 248 seconds]