00:44
<
samueldr >
if you ever think you need to read device tree values from the linux userland: xargs -n1 -0 < /sys/firmware/devicetree/base/compatible
00:46
<
samueldr >
(if you were curious what compatible meant exactly)
00:52
orivej has quit [Ping timeout: 250 seconds]
01:09
<
gchristensen >
nice
01:17
lopsided98 has quit [Quit: Disconnected]
02:28
lopsided98 has joined #nixos-aarch64
03:10
<
clever >
samueldr: oh, thats a nice way of dealing with \0 files!
03:11
<
clever >
never thought of that
08:42
<
sphalerite >
if the rest of the file is text, strings will also do
10:14
orivej has joined #nixos-aarch64
16:20
<
clever >
sphalerite: strings has a 4 character minimum, so it can mis shorter things
17:07
<
sphalerite >
clever: huh does strings -n1 not work for that?
17:08
<
samrose >
when you were building 4.20rec4
17:08
<
samrose >
4.20-rc4 rather
17:09
<
samueldr >
I had a nixpkgs checkout
17:09
<
samueldr >
I updated linux_testing
17:09
<
samueldr >
it wasn't a clean thing, just getting the thing compiled
17:10
<
samrose >
samueldr: so just for testing purposes you were overwriting parts of a checkout of nixpkgs, understood
17:10
<
samueldr >
I was working in a git checkout :)
17:10
<
samueldr >
not modifying the nix store, that would be bad :)
17:10
<
samueldr >
(just saying in case)
17:10
<
samrose >
yes yes totally
17:10
<
samrose >
right on thanks :)
17:13
<
samueldr >
oh, it was a nixos-rebuild boot :)
17:13
<
samueldr >
it's trivial for me since the device works :/
17:14
<
samueldr >
but yeah, if you were to change it to linuxPackages_testing there, it should work
17:14
<
samrose >
so, if I have nixos running on the device (which I do, and am connected via serial console) I can test it easiest by just adding lines to configuration.nix, and nixos-rebuild switch
17:14
<
samrose >
and if that works, then I could get fancier and build the os
17:15
<
samrose >
and if that works, then I could figure out how to overlay this etc
17:15
<
samrose >
thanks as always
17:19
<
samueldr >
I always builds my systems using a git checkout, so it just went naturally for me
17:21
<
samrose >
in my x_86 builds I had been testing locally, pushing through hydra, and then have test machines set up to autoupgrade and then running tests on those to assure that changes propagate
17:21
<
samrose >
but your way sounds really good in this context
17:21
<
samrose >
(even if I were pushing changes through hydra)
17:22
<
samrose >
eventually, I will figure out how to create a hydra channel for this on our hydra server. And I will PR the u-boot build and whatever else should be contributed (documentation on nixos.wiki too)
17:30
<
samrose >
interesting I had never explored all the options in nixos-rebuild until now either
17:45
Thra11 has joined #nixos-aarch64
17:45
<
clever >
sphalerite: strings -n1 could work, but xargs -0 sounds nicer, since i can get each element of /proc/self/environ seperately
17:50
<
samueldr >
and strings isn't available by default in a fresh nixos install :)
17:51
<
samueldr >
,locate bin strings
17:51
<
{^_^} >
Found in packages: busybox, binutils-unwrapped
17:51
<
samueldr >
it's in binutils; and busybox well, you probably don't want to install that one :)
17:53
<
samueldr >
still on the system, though not on PATH
17:54
<
samueldr >
I made similar helpers for other things recently
17:54
<
samueldr >
e.g. I want `irb` in my PATH, but not `ruby`
19:22
worldofpeace has joined #nixos-aarch64
19:23
<
worldofpeace >
Any recommendations for boards to port here? Not looking for a horror show :D
19:56
<
samueldr >
everyone: list what you don't have :)
19:57
<
samueldr >
worldofpeace: what do you want to do?
19:57
<
samueldr >
since porting can be bothersome sometimes
19:58
<
worldofpeace >
samueldr: really strange audio/video experiments
19:58
<
samueldr >
then first look into boards that are useful for that first :)
19:59
<
samueldr >
if you don't have experience with SBCs, maybe even one that's supported instead, so you can gather a bit of experience
20:00
<
samueldr >
then, the next step is mostly to figure out how well-supported it is with mainline projects (uboot, linux)
20:00
<
samueldr >
the more well-supported it is, the better the experience
20:01
<
worldofpeace >
lol, those were my exact thoughts. maybe I'm less confused than I thought, and was looking for confirmation.
20:01
<
samueldr >
though non-mainline != horror necessarily
20:02
<
samueldr >
you could be lucky and have a manufacturer that has a well supported fork with good docs
20:02
<
samueldr >
though chances are low to find such manufacturer
20:04
<
worldofpeace >
I think hardkernel has a fork but I'm thinking mainline would be nice. Mostly worried about the gpus here
20:06
<
samueldr >
though, my biggest pro-tip is: make sure it's aarch64 (armv8)
20:06
<
samueldr >
else you can't drink from the sweet hydra cache
20:06
<
worldofpeace >
totally, much more of a healthy tonic too
20:08
<
samueldr >
oh, another tip: if the only "on-board" storage it supports is SD, it's going to be more painful than most having some eMMC support
20:09
<
worldofpeace >
I'm now taking notes :)
20:09
<
worldofpeace >
Amlogic's stuff is getting mainlined right?
20:10
<
samueldr >
I don't have a (n aarch64) amlogic board yet
20:10
<
samueldr >
though one is ordered from a crowdfunding campaign already, so eventually I'll know how good it is first-hand
21:17
Thra11 has quit [Ping timeout: 240 seconds]
21:24
bobvanderlinden has joined #nixos-aarch64
21:32
<
samueldr >
looks like it would take
*just* over four hours, and its timeout is four hours :/
21:33
<
samueldr >
the machine has been a bit overloaded lately
21:33
<
samueldr >
not sure what was going on, but tasks on hydra were getting cancelled
21:33
<
samueldr >
it's been chewing on those since yesterday, about half of the 18.09 backlog has been built
21:34
<
samueldr >
well, not necessarily built, but at least tried
21:34
<
bobvanderlinden >
aw that's too bad. timeout cannot be increased?
21:34
<
samueldr >
it can, it probably will, but ideally if there's something else at play, the something else should be fixed :)
21:34
<
bobvanderlinden >
very true :P
21:35
<
bobvanderlinden >
anything I can do to help?
21:35
<
samueldr >
though yeah, lookin in the history, looks like it sometimes hits 4 hours, sometimes ends in 2
21:36
<
samueldr >
weird, two successful builds at more than four hours in the past
21:36
<
samueldr >
I wonder if a setting was changed, I'll look more into it this evening
21:40
<
bobvanderlinden >
thanks!
21:40
<
bobvanderlinden >
that said though, why doesn't 18.09 reside on that latest succesful build of the kernel?
21:41
<
samueldr >
the sneaky truth is that there's no aarch64 channel
21:41
<
bobvanderlinden >
oh that is pretty sneaky :P
21:41
<
samueldr >
and if the x86_64 channel waited for aarch64, it would be out of date too
21:41
<
bobvanderlinden >
aah right
21:41
<
bobvanderlinden >
so probably a aarch64 channel should be added to hydra somehow
21:42
<
samueldr >
yeah, something along the line
21:42
<
bobvanderlinden >
ok, but that explains quite a bit. thanks for the info
22:01
bobvanderlinden_ has joined #nixos-aarch64
22:02
bobvanderlinden has quit [Ping timeout: 256 seconds]
22:26
bobvanderlinden_ has quit [Ping timeout: 256 seconds]