<artturin> samueldr: ah yeah i forgot i built the boot partition myself lol
<samueldr> :)
apache8080 has quit [Ping timeout: 240 seconds]
Asmadeus has quit [Remote host closed the connection]
Asmadeus has joined #nixos-aarch64
bennofs__ has joined #nixos-aarch64
<colemickens> adamz: are you adamzivcak?
rajivr has joined #nixos-aarch64
bennofs_ has quit [Ping timeout: 276 seconds]
apache8080 has joined #nixos-aarch64
Asmadeus has quit [Remote host closed the connection]
Asmadeus has joined #nixos-aarch64
evils has quit [Remote host closed the connection]
evils has joined #nixos-aarch64
<samueldr> oooh, flashable zips gives me an idea: a flashable zip that dumps information from the device
apache8080 has quit [Ping timeout: 265 seconds]
<artturin> samueldr: you should close https://github.com/NixOS/mobile-nixos/issues/186
<{^_^}> mobile-nixos#186 (by samueldr, 32 weeks ago, open): Pinephone refresh roadmap
<samueldr> indeed, thank you
<artturin> i tested the 5.11 kernel on pp and seems like it works
<artturin> atleast it boots and the demo image loads
<samueldr> megi's fork?
<artturin> * the desktop
<artturin> yes
<artturin> rev = "af03b13dbb9bb9f920021dde20996d6f045edd12";
<artturin> sha256 = "0ana2v1imnvs3cg33wx2mzbvwq2ndgf6mpf389l1chyj8gg1d13j";
<samueldr> ah, hadn't realized 5.11 was out
<samueldr> feel free to PR the updgrade :)
<artturin> i'll test it for a bit and then do that
Darkmatter66 has quit [Ping timeout: 265 seconds]
<samueldr> alright
<samueldr> the longer you test, the more confident I'll be in a merge
<samueldr> I don't usually test in depth
<samueldr> the pinephone being one of many targets :)
h0m1 has quit [Ping timeout: 264 seconds]
h0m1 has joined #nixos-aarch64
ryantrinkle1 has quit [Ping timeout: 240 seconds]
apache8080 has joined #nixos-aarch64
jumper149 has quit [Quit: WeeChat 3.0.1]
awmv has quit [Quit: Connection closed for inactivity]
cole-h has joined #nixos-aarch64
apache8080 has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 276 seconds]
<Ke> sphalerite: do you have your gpu working yet?
apache8080 has joined #nixos-aarch64
<sphalerite> Ke: I don't have a GPU :p
apache8080 has quit [Ping timeout: 240 seconds]
<patagonicus> Because I was playing around with GlusterFS I haven't updated my armv7 machines for ~three weeks. Let's find out what is broken now. :D
Gaelan_ is now known as Gaelan
cole-h has quit [Ping timeout: 264 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
adamzivcak has joined #nixos-aarch64
adamzivcak has left #nixos-aarch64 [#nixos-aarch64]
adamzivcak1 has joined #nixos-aarch64
adamzivcak1 has left #nixos-aarch64 [#nixos-aarch64]
alpernebbi has joined #nixos-aarch64
<thefloweringash> that segfault building linux-headers is unfortunate
evils has quit [Ping timeout: 265 seconds]
ryantrinkle has joined #nixos-aarch64
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has joined #nixos-aarch64
ekleog_ has quit [Quit: WeeChat 2.9]
ekleog has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
cole-h has joined #nixos-aarch64
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
s1341_ has joined #nixos-aarch64
s1341_ has joined #nixos-aarch64
s1341_ has quit [Changing host]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
<artturin> samueldr: can i make it so that nixos-rebuild doesn't build the kernel
<artturin> i tried
<artturin> mobile.system.type = lib.mkForce
<artturin> mobile.boot.stage-1.kernel.package = lib.mkForce null;
<artturin> but The bootloader cannot find the proper kernel image. http://ix.io/2R68
<samueldr> artturin: yes, I don't know if I have the config right with me
<samueldr> I'd have to fish it back from a device
<samueldr> or maybe setting supportsStage-0 to false is it?
<artturin> i already have mobile.quirks.supportsStage-0 = lib.mkForce false;
<samueldr> hmm
<samueldr> though I know there's a trick, I'm not sure on which device I tried it
<samueldr> because I end up sending builds to my local aarch64 builder (an rk3399 board)
<samueldr> it also depends on which option is causing the kernel build
<artturin> it doesn't try to build the kernel after i set those 2 options
<artturin> mobile.boot.stage-1.kernel.package = lib.mkForce null;
<artturin> does it
<artturin> but it still complains that the bootloader cannot find the proper kernel image
<samueldr> "it" who?
<samueldr> the exact error message
<artturin> mobile.boot.stage-1.kernel.package = lib.mkForce null;
<artturin> makes the kernel not try to build
<samueldr> right
<samueldr> (NixOS is a bit *too* tightly integrated to actually compose a foreign environment on top of it
<samueldr> it'd need to touch $out/${config.system.boot.loader.kernelFile}
<samueldr> to fake having a kernel to make the NixOS bits happy enough
<samueldr> but it's odd... I thought it was doing that already
<samueldr> ah, and instead of setting it to null, you should use: mobile.rootfs.shared.enabled = true;
<samueldr> ah!
<samueldr> that's it
<samueldr> no need to touch the kernelFile
<samueldr> artturin: mobile.rootfs.shared.enabled = true; # should fix your woes
<samueldr> I knew there was something already in there, but it's been... two months and a half since
rajivr has quit [Quit: Connection closed for inactivity]
justanotheruser has quit [Ping timeout: 272 seconds]
<artturin> that plus mobile.boot.stage-1.kernel.package = lib.mkForce null;
<artturin> worked! and it booted too
<artturin> samueldr: you're amazing
<samueldr> you shouldn't need to force the package to null
<samueldr> though that will ensure it'll break accidentally building it
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<artturin> mobile.rootfs.shared.enabled isn't listed on https://mobile.nixos.org/options/index.html
<samueldr> it's an internal option
<samueldr> but maybe there should be something exposed to do something equivalent
<samueldr> mobile.boot.stage-1.managed = true; # by default
<samueldr> because the real desire is for the stage-1 system to not be managed by the stage-2 system
<samueldr> "shared" rootfs is an implementation detail of release.nix
zupo has joined #nixos-aarch64
<samueldr> (I really hate exposing the wrong abstractions)
<samueldr> as long as it's internal, I assume I can change my mind about it
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos-aarch64
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos-aarch64
alpernebbi has quit [Quit: alpernebbi]
AmandaC_ has quit [Quit: WeeChat 3.0.1]
AmandaC has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-aarch64
awmv has joined #nixos-aarch64
<artturin> samueldr: would it be possible to make the root partition mount with noatime
<samueldr> yes
<samueldr> the same way you would on NixOS
<samueldr> the mounts use the usual fileSystems mounts
<samueldr> don't be surprised if you see low hanging fruit "optimizations" like those that are literally trivial
<artturin> "/".options = ["noatime"];
<artturin> rebuilding: error: The option `/' does not exist. Definition values:
lopsided98 has quit [Quit: Disconnected]
<artturin> oops
<artturin> forgot filesystem.
<samueldr> someone's missing fileSystems, no?
<samueldr> :)
lopsided98 has joined #nixos-aarch64
lopsided98 has quit [Client Quit]
<artturin> fileSystems."/".options = ["noatime"];
<artturin> error: No device specified for mount point ‘/’.
<artturin> should i specify it myself
<samueldr> it should be defined by your config already
<samueldr> are you e.g. importing the demo/configuration.nix file?
<samueldr> ah
<samueldr> lib.mkDefault
<samueldr> you'll have to use `"/" = lib.mkDefault { options = ...; };`
<samueldr> modules/rootfs.nix has "/" defined with `lib.mkDefault`
lopsided98 has joined #nixos-aarch64
lopsided98 has quit [Quit: Disconnected]
<artturin> fileSystems."/" = lib.mkDefault { options = ["noatime" ]; };
<artturin> worked
<artturin> thanks
<samueldr> yeah, I've had similar issues because of mkDefault or mkForce in the past
<artturin> i think
<artturin> wouldn't cause that issue
<samueldr> possibly yeah
<artturin> i'll try
<artturin> works
<artturin> i'll do a pr doing that and adding the noatime option
Darkmatter66 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
<artturin> i haven't seen it cause issues for anyone
<artturin> so i think its safe to enable universally
<samueldr> I think so too
evils has joined #nixos-aarch64
lopsided98 has joined #nixos-aarch64
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos-aarch64
adamzivcak has joined #nixos-aarch64
adamzivcak has left #nixos-aarch64 [#nixos-aarch64]
<artturin> samueldr: should i normalize the config in the kernel update pr?
<samueldr> yes
<samueldr> artturin: the commit you picked is not what the branch orange-pi-5.11 points to
<samueldr> how did you end up on that other commit?
<samueldr> ah, a tag I guess
<samueldr> makes sense
<samueldr> I never thought of looking at the tags / releases
<artturin> should i make a another pr or a commit for the fix to https://github.com/NixOS/mobile-nixos/issues/315
<{^_^}> mobile-nixos#315 (by MetaDark, 3 days ago, open): Executables wrapped with `security.wrappers` broken after nixpkgs#109342
<samueldr> ah, a distinct commit, but can be in that PR
<artturin> aight
<samueldr> I really like having a distinct "this is a normalize" commit, with concious changes (normalized) being a discrete commit
<artturin> samueldr: the pr is ready