!UUYziobKGGxpovWyAN:nixos.org

Robotnix

244 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix75 Servers

Load older messages


SenderMessageTime
5 Sep 2021
@kranzes:matrix.orgkranzeswhy are you suspecting that its probably the webview/chromium?19:33:04
@jcie74:matrix.orgpie_

hm ok;

$ cat expr.nix; nix-instantiate --eval expr.nix --argstr a 1 --argstr b 2
{a}: ({b ? 3}: b) {}
3

i guess that explains why this doesnt ever seem to break anything
"<cleverca22>the inner function already got ran, so --arg cant do anything do it"

19:34:10
@danielrf:matrix.orgdanielrfI've had bootloops in the past caused by incorrect webview configuration--although it's been a while since that's happened for me.19:34:46
@jcie74:matrix.orgpie_what does this mean? " The current code in robotnix only works with a single custom device type. E.g. the attestation service cannot handle robotnix-customized versions of both crosshatch and sunfish"19:50:16
@kranzes:matrix.orgkranzesimage.png
Download image.png
20:02:41
@kranzes:matrix.orgkranzes danielrf Now we wait 20:02:43
@danielrf:matrix.orgdanielrf pie_: We can patch the AttestationServer / Auditor packages to include supporting attestation for the custom builds that we make in robotnix. This involves adding certain AVB fingerprints that correspond to the keys you've generated for your device. 20:11:47
@danielrf:matrix.orgdanielrfHere i'm just saying that we only add support for at most one custom device.20:12:05
@danielrf:matrix.orgdanielrfIt's not hard to extend the patches to include multiple devices, but the tricky bit is just how to set up the robotnix configuration--how do we get the list of customized devices and AVB key fingerprints we need.20:13:07
@danielrf:matrix.orgdanielrfLike, if you have multiple devices and all their keys all get included in the patchset, then suddenly the build for a single device depends on the configuration for other devices, because it needs key fingerprints to construct the patch.20:14:20
@danielrf:matrix.orgdanielrf * Like, if you have multiple devices and all their keys get included in the patchset, then suddenly the build for a single device depends on the configuration for other devices, because it needs key fingerprints to construct the patch.20:15:05
@jcie74:matrix.orgpie_i have acquired a BIG CHONK machine21:12:12
@jcie74:matrix.orgpie_ danielrf: how long does it take for the heavy cpu usage part of the build to kick in? 21:12:31
@jcie74:matrix.orgpie_it doesnt seem to be doing a lot yet but its done cloning repos21:12:41
@danielrf:matrix.orgdanielrfIf you're in the main derivation then usually ~1minute or so for it to bootstrap and configure its build system21:13:53
@danielrf:matrix.orgdanielrfOnce ninja starts running then it should be heavily parallel21:14:27
@jcie74:matrix.orgpie_oh it just did some kernel building and its doing LTO on a single core rightnow21:17:46
@danielrf:matrix.orgdanielrfYeah looks like you're probably building the kernel and chromium first21:18:10
@danielrf:matrix.orgdanielrfThose are available on a binary cache if you're rather not build them yourself: https://docs.robotnix.org/building.html?highlight=cachix#binary-cache21:18:39
@jcie74:matrix.orgpie_hm yeah i suppose i should21:21:08
@jcie74:matrix.orgpie_i wonder , theres probably some tool that can give you a 3d histogram of core usage21:22:03
@jcie74:matrix.orgpie_i wonder if theres also something that can interactively tell you whats using the cores at each sample point21:22:26
@jcie74:matrix.orgpie_yep, its definitely building now21:22:48
@danielrf:matrix.orgdanielrf * Those are available on a binary cache if you'd rather not build them yourself: https://docs.robotnix.org/building.html?highlight=cachix#binary-cache21:23:14
6 Sep 2021
@dsx:matrix.orgdsx
In reply to @danielrf:matrix.org
under modules/pixel/default.nix, add "arch/arm64/boot/Image.lz4-dtb" to the kernel.buildProductFilenames toward the bottom of the file in the section where it conditions on config.deviceFamily == "redfin"
That didn't help unfortunately, got infinite reboot.
00:17:29
@jcie74:matrix.orgpie_
/nix/store/crdbdgc194p5zpqsn9v3zfgpmvps7n4z-crosshatch-img-2021080300.zip

real    132m27.225s
user    0m8.527s
sys     0m9.705s

05:17:06
@jcie74:matrix.orgpie_ danielrf: should that be 2x your reported 1 hour? 05:17:27
@kranzes:matrix.orgkranzes danielrf Ok it isn't the webview/chromium 09:53:45
@kranzes:matrix.orgkranzesit still does not work09:53:50
@kranzes:matrix.orgkranzes * it still does not boot09:53:58

Show newer messages


Back to Room ListRoom Version: 6