00:00
<
clever >
samueldr: i'm also thinking it would be 2 uFL connectors, not full anteannas, because the CM4 might get burried deep inside a product
00:00
<
clever >
and you may choose to only connect one of them, and now you have to tell the software which one to use
00:00
<
clever >
if both anteannas where onboard, why give the user a choice?
00:00
<
samueldr >
[citation needed] Key E for M.2 seems indeed to support antennas
00:01
<
samueldr >
yeah, I assumed connectors of some sort
00:01
<
samueldr >
hm, I'm probably wrong
00:01
<
samueldr >
things are confusing when the specs are not openly accessible :(
00:01
<
clever >
i also had an idea a few days ago, what about pci-e?
00:01
<
clever >
what if the CM4 was in a pci-e 4x form-factor
00:02
<
samueldr >
that would be interesting
00:02
<
clever >
with 1 pci-e lane, and then gpio sprinkled on the other pins
00:02
<
samueldr >
only if it's actually compatible with PCI-e though
00:02
<
clever >
obviously, its host not device, so never try putting it on a pc
00:02
<
samueldr >
if it isn't it should have another form factor!
00:02
<
clever >
its a host-only pci-e controller i believe
00:02
<
samueldr >
clever: hosts can be on a PCIe card
00:03
<
clever >
so you would be abusing the pci-e edge connector, like previous models abused sodim
00:03
<
samueldr >
the new fancy gaming NUC is IIRC
00:03
<
veleiro >
pi has always been kinda non accessible right? did they ever replace that
00:03
<
samueldr >
it's definitely not the freeer of options
00:03
<
clever >
veleiro: rpi-open-firmware can boot nixos on the pi2 and pi3, without any blobs involved
00:03
<
samueldr >
clever: you dropped the *
00:03
<
clever >
but you loose 3 arm cores (easy to fix, lazy), and you loose all video output forms, and hw accel
00:06
<
clever >
you also loose netboot and usb boot
00:07
<
veleiro >
ah sounds like a winner
00:07
<
clever >
but its open source, so anybody can improve it further!
00:09
<
veleiro >
well that raspi managed to offer more than 4gb ram is attractive but its
00:09
<
veleiro >
probably still not worth building on
00:09
<
samueldr >
do you mean building as in building packages or building as in building a product on?
00:10
<
veleiro >
but if that compute module format could be a shared standard among boards
00:10
<
clever >
part of the problem i can see with any shared standard, is all of the gpio alt functions
00:10
<
samueldr >
I'm waiting for an M.2 NVMe SSD and its USB adapter to get here, and I'm gonna benchmark the renegade elite (so, RK3399) compared to a pi4
00:10
<
veleiro >
building a product with and developing software
00:10
<
clever >
i often see other boards having a "pi compatible" 40pin header
00:11
<
veleiro >
nice learning platform though
00:11
<
samueldr >
yeah, building a product on top of pretty much any SBC is a bit scary
00:11
<
clever >
on the same pins
00:11
* samueldr
is curious about libre.computer's offer
00:11
<
clever >
your going to have to either draw the line somewhere, or put in some ridiculus muxing
00:12
<
samueldr >
I know the people there
*care* a lot about stuff like that
00:12
<
clever >
theres also the eoma86 stuff
00:13
<
veleiro >
the beaglebone black had a nice hefty gpio list
00:13
<
veleiro >
got 2 of them i need to reuse
00:13
<
samueldr >
good, libre.computer doesn't pretend to be compatible, only the same form factor
00:13
<
clever >
veleiro: isnt the beaglebone the one with PRU's?
00:16
<
veleiro >
ah, yes, but i dont know much about using them
00:16
<
clever >
from what ive see, the PRU is basically a realtime core, that can emulate almost any peripheral
00:17
<
clever >
so thats about the only way you can meet the random altfunction and pinouts of another board, and emulate its features fully
00:17
<
samueldr >
can you make it emulate an LED?
00:17
<
clever >
any waveform on gpio
00:18
<
clever >
in theory, i can also do the same thing with the VPU on the rpi, with the open firmware
00:18
<
clever >
you have 2 rtos capable cores, that are basically unused, and they can run entirely from L2 cache, so no dram latency
00:19
<
clever >
you can even configure it so the arm can write to the L2 cache, so you can skip some cache management logic and more dram latency
00:20
<
clever >
there are also tricks you can do, if you want output only at high datarates
00:20
<
clever >
i have a proof of concept, that can (in theory) spew out 24 uart signals at once, at up to 75,000,000 baud (in theory)
00:47
orivej has quit [Ping timeout: 256 seconds]
01:11
h0m1 has quit [Ping timeout: 246 seconds]
01:13
h0m1 has joined #nixos-aarch64
01:20
rajivr has joined #nixos-aarch64
01:30
t184256 has left #nixos-aarch64 [#nixos-aarch64]
01:31
t184256 has joined #nixos-aarch64
01:42
<
veleiro >
its a real shame that anbox is built with snaps
02:12
knerten1 has joined #nixos-aarch64
02:15
colemickens_irc has quit [Quit: Connection closed for inactivity]
02:15
knerten has quit [Ping timeout: 264 seconds]
02:19
patagonicus0 has joined #nixos-aarch64
02:21
<
veleiro >
damn i'm going to have to pin home manager builds too for the PBP
02:22
cptchaos83 has joined #nixos-aarch64
02:23
patagonicus has quit [Ping timeout: 260 seconds]
02:23
patagonicus0 is now known as patagonicus
02:28
zupo has joined #nixos-aarch64
02:32
zupo has quit [Ping timeout: 246 seconds]
03:29
<
{^_^} >
echo "stty rows $(tput lines) cols $(tput cols)"
03:29
<
{^_^} >
{^_^}'s karma got increased to 211
03:47
<
veleiro >
samueldr thanks for the nixos-mobile nixpkgs targeting advice!
03:48
<
veleiro >
i am able to use what's cached on firefox
03:48
<
veleiro >
had to switch back to 5.7 kernel on that target though
03:48
<
veleiro >
although i'm getting the hang of this and can see how to use a cached 5.4 too
05:22
<
lopsided98 >
Has there been any work on getting patchShebangs to work right with cross-compiled Perl modules? I'm seeing that miniperl (for the build arch, installed in perl.dev) gets set as the shebang rather than host perl.
05:23
<
samueldr >
not that I know of, though sadly I don't know everything
05:42
<
lopsided98 >
thanks, I think I found a fix
06:13
orivej has joined #nixos-aarch64
07:51
alp has joined #nixos-aarch64
08:07
cole-h has quit [Quit: Goodbye]
08:35
alp has quit [Ping timeout: 272 seconds]
08:46
alp has joined #nixos-aarch64
09:02
Piece_Maker has joined #nixos-aarch64
09:03
Acou_Bass has quit [Ping timeout: 240 seconds]
09:04
Piece_Maker is now known as Acou_Bass
09:31
orivej has quit [Ping timeout: 240 seconds]
10:38
alp has quit [Ping timeout: 272 seconds]
10:57
alp has joined #nixos-aarch64
11:17
zupo has joined #nixos-aarch64
11:23
lordcirth has joined #nixos-aarch64
11:24
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:25
lordcirth__ has quit [Ping timeout: 244 seconds]
11:38
Thra11 has quit [Quit: WeeChat 2.8]
12:18
orivej has joined #nixos-aarch64
12:24
orivej has quit [Ping timeout: 240 seconds]
12:25
orivej_ has joined #nixos-aarch64
12:28
zupo has joined #nixos-aarch64
12:33
zupo has quit [Ping timeout: 264 seconds]
12:39
orivej_ has quit [Ping timeout: 256 seconds]
12:40
orivej has joined #nixos-aarch64
12:40
alp has quit [Remote host closed the connection]
12:40
alp has joined #nixos-aarch64
12:57
alp has quit [Remote host closed the connection]
12:58
alp has joined #nixos-aarch64
13:09
orivej has quit [Ping timeout: 246 seconds]
13:09
orivej_ has joined #nixos-aarch64
13:41
alp has quit [Ping timeout: 272 seconds]
13:48
alp has joined #nixos-aarch64
14:36
Darkmatter66_ has joined #nixos-aarch64
14:37
Darkmatter66 has quit [Ping timeout: 265 seconds]
15:28
zupo has joined #nixos-aarch64
15:33
zupo has quit [Ping timeout: 265 seconds]
15:38
alp has quit [Ping timeout: 272 seconds]
15:58
t184256 has left #nixos-aarch64 [#nixos-aarch64]
15:59
t184256 has joined #nixos-aarch64
16:09
alp has joined #nixos-aarch64
16:33
lordcirth has quit [Ping timeout: 260 seconds]
16:35
Thra11 has joined #nixos-aarch64
16:37
lordcirth has joined #nixos-aarch64
16:50
orivej_ has quit [Ping timeout: 256 seconds]
16:52
cidkidnix has joined #nixos-aarch64
16:53
<
cidkidnix >
samueldr: it's been awhile but I'm the lad that was porting op5/T to nixos-mobile, I might have more time to do so since I'm getting a pinephone to tinker with aswell
16:53
<
cidkidnix >
so maybe that PR I made ages ago will actually boot again
17:05
cidkidnix has quit [Remote host closed the connection]
17:17
FRidh has joined #nixos-aarch64
17:19
cole-h has joined #nixos-aarch64
18:11
alp has quit [Ping timeout: 272 seconds]
18:20
rajivr has quit [Quit: Connection closed for inactivity]
18:44
orivej has joined #nixos-aarch64
19:20
FRidh has quit [Quit: Konversation terminated!]
19:30
Darkmatter66 has joined #nixos-aarch64
19:31
Darkmatter66_ has quit [Ping timeout: 246 seconds]
19:31
<
sphalerite >
samueldr: I'm ready to test linux 5.8 on the bob, is it still relevant? x)
19:32
<
samueldr >
yeah, get yourself the suzyqable for the EC console
19:32
<
samueldr >
basically just run 5.8 on it; udevadm settle may fail (should fail?)
19:34
<
sphalerite >
where do I get it from?
19:34
<
samueldr >
because the kernel is (AFAIUI) looping trying to read the battery because it assumes that the error means the battery was disconnected so it tries to re-read to assert the status
19:34
<
samueldr >
"it" being?
19:35
<
sphalerite >
the kernel
19:35
<
samueldr >
right, it's not back into nixpkgs I presume
19:35
<
samueldr >
you could run a mobile nixos build I figure
19:36
<
samueldr >
to the best of my knowledge, asus-dumo should work on all gru targets as the kpart embeds all device trees for rk3399
19:36
<
samueldr >
Image 13 (fdt@11)
19:36
<
samueldr >
Description: rk3399-gru-bob.dtb
19:38
<
samueldr >
this tree should work
19:39
<
samueldr >
yeah, work too well
19:45
<
sphalerite >
that probably only works with depthcharge?
19:48
<
samueldr >
I wouldn't think so
19:48
<
samueldr >
right, you have u-boot now
19:49
<
samueldr >
the problem is highly likely to be dependent on the EC and sbs-battery (the kernel driver)
19:49
<
samueldr >
so any way it ends up being used should fail properly
19:50
alp has joined #nixos-aarch64
19:50
<
samueldr >
you can also just simply copy the 5.7 derivation in nixpkgs and make your own 5.8
19:50
<
sphalerite >
right, I'll just try deploying it with a nixpkgs revthat has 5.8 then
19:50
<
samueldr >
or revert the commit that removed 5.8
19:53
<
sphalerite >
building…
19:53
t184256 has left #nixos-aarch64 ["Error from remote client"]
19:54
t184256 has joined #nixos-aarch64
20:14
<
sphalerite >
grpmh config failed
20:15
<
sphalerite >
oooh pff I based it on the wrong branch
20:16
<
sphalerite >
never mind me
20:16
<
sphalerite >
no wonder there was a merge conflict.
20:16
<
sphalerite >
interesting though, git will let you revert a commit that's not an ancestor of HEAD>
20:17
<
samueldr >
git is so weird
20:17
<
samueldr >
some parts are extremely worried about semantics
20:17
<
samueldr >
some parts are extremely not worried about semantics
20:17
<
sphalerite >
git revert is just git cherry-pick with reverse patching.
20:17
<
samueldr >
did you know that `bad`
*has* to be an ancestor of `good* in a git bisect?
20:17
<
samueldr >
so you can't find a commit that introduced a fix using the default words!
20:17
<
sphalerite >
isn't it the other way round?
20:18
<
sphalerite >
no I mean, git requires good to be an ancestor of bad
20:18
<
samueldr >
I had it backwards
20:18
<
samueldr >
but still, that's pretty arbitrary
20:18
<
samueldr >
why not go with whichever is an ancestor of the other??
20:19
<
sphalerite >
but hey, git was never a really great software suite
20:19
<
sphalerite >
it has its strengths… and its weaknesses.
20:20
<
sphalerite >
hasn't stopped it from being extremely widespread x)
20:20
<
samueldr >
I still think it's dumb luck that github did "social programming" the least worst first
20:20
<
sphalerite >
I remember way back when, there was gitorious and stuff
20:20
<
sphalerite >
I definitely started using git before I knew github was a thing
20:20
<
samueldr >
I was a mercurial user back then
20:21
<
sphalerite >
I think I published my git projects to google code and gitorious
20:21
<
samueldr >
its UX was way better :(
20:21
<
sphalerite >
so I've heard
20:21
<
sphalerite >
I never enjoyed hg because I was already damaged by git and found the differences in terminology annoying
20:22
<
samueldr >
differences in terminology sure made "getting git" initially quite confusing
20:22
<
sphalerite >
git was definitely a step up from svn though :D
20:22
<
samueldr >
that I never had the chance to use
20:22
<
sphalerite >
and svn was a massive step up from no version control
20:23
<
sphalerite >
it's probably better that way :p
20:23
<
samueldr >
I upgraded (self-taught) from none to mercurial during CEGEP (post-secondary here)
20:25
<
samueldr >
I forced my teammates to use mercurial even though there was absolutely no customary use of source control
20:25
<
samueldr >
they hated it at first, but they quickly understood how it helps compared to trying to manually handle those things
20:27
<
sphalerite >
what is up with this weird perl5.30.3-urxvt-bidi-2.15 package…
20:27
alp has quit [Ping timeout: 272 seconds]
20:28
<
samueldr >
bidi is bidirectional
20:28
<
sphalerite >
it keeps popping up in builds for my aarch64 stuff and takes ages to build (well, to run the tests technically I think)
20:28
<
samueldr >
well, you have to figure out why you have urxvt then :)
20:30
<
sphalerite >
well… I sure didn't specify it
20:30
<
sphalerite >
it seems to be on the system path but I didn't put it there
20:31
<
sphalerite >
oooh the sway module adds it.
20:31
<
samueldr >
I was just about to ask if you were swaying
20:32
<
samueldr >
that makes me think; how much I would like if the options system had a `lib.mkRemoveFromList`
20:33
<
sphalerite >
well in sway's case it's easy to deactivate it
20:33
<
sphalerite >
but hey it's finished building so wheeee
20:33
<
samueldr >
by using mkForce?
20:33
<
samueldr >
that's kind of annoying because you lose whatever defaults are added!
20:33
<
sphalerite >
no, sway adds programs.sway.extraPackages to systemPackages
20:34
<
sphalerite >
and you can change that to only remove what sway adds
20:34
<
samueldr >
how do you manipulate systemPackages?
20:35
<
sphalerite >
by setting programs.sway.extraPackages
20:35
<
sphalerite >
that's why I said "in sway's case"
20:35
<
samueldr >
right, no mkForce
20:35
<
samueldr >
but still the same idea
20:36
<
samueldr >
might be even worse here? any of those extra packages actually needed?
20:36
<
sphalerite >
huh, this problem should already be happening in stage 1, right?
20:36
<
samueldr >
depends on kernel modules maybe
20:37
<
samueldr >
not sure if sbs-battery is =m or =y
20:38
<
sphalerite >
because it didn't get past stage-1
20:38
<
sphalerite >
(just merged the PR fixing the issue that caused that)
20:38
<
samueldr >
and you have the cable plugged-in?
20:38
<
sphalerite >
#92081
20:39
<
samueldr >
I'm confused
20:39
<
samueldr >
probably because I'm not asking the right questions
20:39
<
samueldr >
how did it fail?
20:39
<
sphalerite >
btrfs was missing from the initramfs
20:40
<
samueldr >
that's not the problem we're looking for :)
20:40
<
sphalerite >
and I was already familiar with it
20:40
<
samueldr >
look at the EC logs (for me it's the last of the consoles)
20:40
<
sphalerite >
so I merged the fix (above) and am now deploying with that fix
20:40
<
samueldr >
"Unhandled VB reg %x" should be spammed if you had the battery drivers going
20:41
<
samueldr >
but I guess that's not in stage-1
20:41
<
samueldr >
show-off
20:41
<
sphalerite >
I get [ 60.871252] sbs-battery 9-000b: Unknown chemistry: OTS0
20:42
<
sphalerite >
but other than that it seems fine?
20:42
<
samueldr >
that's the AP (linux), and not an issue
20:42
<
samueldr >
nothing on the EC console?
20:42
<
sphalerite >
a couple of errors on the EC log, but not spammy
20:42
kahiru has quit [Read error: Connection reset by peer]
20:42
<
samueldr >
might be specific to having all modules bulit-in
20:43
<
sphalerite >
well, I just might do a localyesconfig to try it out :p
20:43
<
samueldr >
or it's actually specific to gru-dumo, somehow, even though the virtual battery driver is the same
20:43
<
samueldr >
(I looked at the DTs, there's no gru with some other battery gauge thingy)
20:44
<
sphalerite >
oh wait, my earlier gist is wrong
20:44
<
samueldr >
also, `udevadm settle` fails in stage-2, after hanging
20:45
<
sphalerite >
mine just boots all the way without any hangs or log spam
20:45
<
sphalerite >
I'll give localyesconfig a shot I guess
20:46
kahiru has joined #nixos-aarch64
20:48
<
sphalerite >
I'll do that, that's quicker.
20:52
<
sphalerite >
aw, it doesn't like how a bunch of config things aren't enabled.
20:53
<
samueldr >
nixos' verification thing?
20:53
<
samueldr >
(I really should get on with using that in mobile nixos)
20:54
<
sphalerite >
CRYPTO_USER_API_HASH, DMIID, TMPFS_POSIX_ACL, TMPFS_XATTR
20:54
<
samueldr >
it can be disabled IIRC
20:55
<
samueldr >
system.requiredKernelConfig = lib.mkForce []; # I guess
20:55
<
samueldr >
though yes, an
*actual* fix will be to use this
20:56
<
sphalerite >
"I require this kernel conf--" "NO YOU DON'T"
20:56
<
sphalerite >
building :)
20:56
<
samueldr >
it works well enough
20:56
<
samueldr >
(but yeah, I really don't want to ignore that for much longer)
20:56
<
samueldr >
(but I'll have to somehow find a way to remove some of the defaults for older kernels :/)
20:57
<
samueldr >
(now I really want a lib.mkRemoveFromList)
20:57
<
sphalerite >
eeeeh I think that could get kind of hairy
20:58
<
samueldr >
love it or don't, it's the only part of system configs that can't be overriden cleanly
20:58
<
samueldr >
it's all or nothing :/
20:58
cole-h has quit [Quit: Goodbye]
20:59
<
sphalerite >
there's a bunch of options that aren't specified in your config.aarch64 fwiw
20:59
alp has joined #nixos-aarch64
20:59
<
sphalerite >
is that intentional?
20:59
<
samueldr >
probably not
20:59
<
samueldr >
or maybe it's something with how menuconfig does it
21:00
<
sphalerite >
including initramfs support
21:00
<
sphalerite >
wait what
21:00
<
sphalerite >
it is listed in the config
21:01
<
sphalerite >
but the config derivation still goes through the questions
21:02
<
samueldr >
I really had trouble when first starting with Mobile NixOS when trying to reuse most of the nixos kernel infra
21:02
<
samueldr >
I don't know what I'm doing wrong, or if it has assumptions baked-in that clashed
21:02
<
samueldr >
that's why I ended up re-using only some parts of it
21:02
<
samueldr >
now that I know more about
*everything* related to that I'll end up taking a second glance
21:07
<
sphalerite >
I haven't really had many problems with
21:07
<
sphalerite >
probably haven't used it as intensively as you either though :)
21:11
<
samueldr >
it was for using a complete config file like those
21:12
<
samueldr >
but at the time I sure had much more to learn about Nix, Nixpkgs and NixOS
21:26
<
sphalerite >
and linuxManualConfig didn't do it?
21:28
<
samueldr >
that's close to 1.5 years ago
21:29
<
samueldr >
I only remember that I had troubles :)
21:32
<
sphalerite >
hehe ok
21:33
<
sphalerite >
kernel's still building..
21:33
<
sphalerite >
are there fairly powerful aarch64 machines available in hardware to normal people nowadays?
21:33
<
sphalerite >
It doesn't need to be like the packet machines, but I would appreciate something a little stronger than my rk3399s
21:34
<
sphalerite >
oh yeah, the clearfog thing I guess
21:34
<
sphalerite >
maybe I should buy one.
21:34
<
samueldr >
honeycomb
21:34
<
sphalerite >
thefloweringash: would you recommend it?
21:34
<
samueldr >
clearfog is the other product
21:35
<
samueldr >
I follow jon nettleton on twitter and IIRC he's close to being "done" with the firmware work
21:35
<
samueldr >
dunno what that means
21:36
<
samueldr >
I still don't know what to expect of that system :/
21:37
<
samueldr >
neat, still looking into that MIPI issue with the gru-dumo
21:37
<
sphalerite >
hm, my dad has a jetson nano which he isn't using, I wonder if that's any faster than rk3399
21:37
<
samueldr >
and using an upcoming patch from the rk3399 list it seems that things are getting worse :/
21:38
<
sphalerite >
quad a57…
21:38
<
sphalerite >
vs quad A53+dual A72
21:38
<
samueldr >
IIRC big.LITTLE is hard
21:38
<
samueldr >
so it might just because it's not working with big.LITTLE
21:40
<
samueldr >
hmm, reading the trace more carefully maybe it's "better" in that it fails at boot too
21:40
<
samueldr >
which might better point towards the issue
21:41
<
sphalerite >
as opposed to failing when?
21:41
<
samueldr >
when the display is being powered down
21:41
<
samueldr >
(and powered back up)
21:41
<
sphalerite >
oooooooh
21:41
<
sphalerite >
I'm not sure that happened at any point when I was testing it
21:41
<
samueldr >
oh, it's not using the same interface
21:41
<
samueldr >
it's a scarlet issue
21:41
<
samueldr >
might even be specific to those with the innolux panel (dumo AFAICT)
21:42
<
samueldr >
so I might be the only individual on this planet doing anything mainliney with it :|
21:42
<
samueldr >
or even remotely developerey as the chromeos-4.4 kernel doesn't work
*either* on it
21:42
<
samueldr >
which is highly surprising considering chromeos works
21:46
<
samueldr >
what annoys me the most is that when this was contributed to the kernel
*obviously* no one had tried it
21:47
<
samueldr >
because it didn't even work at all (support for at least my rev of scarlet)
21:58
<
sphalerite >
all vendors using mainline for everything when
21:58
<
sphalerite >
also power supply for the jetson nano has gone missing
22:05
<
sphalerite >
well, finished building the kernel
22:05
<
sphalerite >
it boots fine too
22:06
<
sphalerite >
actually, it took a long time to get to the login prompt
22:08
<
sphalerite >
oh and the wifi doesn't work
22:08
<
sphalerite >
but I guess that's just because it's a different chip
22:11
criptonauta__ has joined #nixos-aarch64
22:11
criptonauta_ has quit [Read error: Connection reset by peer]
22:15
<
sphalerite >
hm, I wonder if I can get suspend working on the bob again. lol
22:18
<
samueldr >
sphalerite: took a long time?
22:18
<
samueldr >
like, two more minutes?
22:18
<
samueldr >
try `udevadm settle`
22:18
<
samueldr >
and uh, did you confirm there was or not a storm of messages in the EC console?
22:19
<
sphalerite >
yeah no message storm
22:20
<
sphalerite >
ah no, the long wait was because the wifi wasn't working :)
22:20
<
sphalerite >
the wait-online service timed out
22:21
<
samueldr >
weird :/
22:22
<
samueldr >
I assumed the virtual battery driver would do the same for every gru
22:22
<
samueldr >
unless... somehow the cros-ec uses virtual battery for scarlet/dumo, but not for other grus?
22:22
<
samueldr >
ugh, more issues that'll go undiagnosed
23:02
quinn has joined #nixos-aarch64
23:39
evils has quit [Read error: Connection reset by peer]
23:39
evils has joined #nixos-aarch64
23:46
alp has quit [Remote host closed the connection]