| 5 Sep 2021 |
danielrf | Like, 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 | * 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 |
pie_ | i have acquired a BIG CHONK machine | 21:12:12 |
pie_ | danielrf: how long does it take for the heavy cpu usage part of the build to kick in? | 21:12:31 |
pie_ | it doesnt seem to be doing a lot yet but its done cloning repos | 21:12:41 |
danielrf | If you're in the main derivation then usually ~1minute or so for it to bootstrap and configure its build system | 21:13:53 |
danielrf | Once ninja starts running then it should be heavily parallel | 21:14:27 |
pie_ | oh it just did some kernel building and its doing LTO on a single core rightnow | 21:17:46 |
danielrf | Yeah looks like you're probably building the kernel and chromium first | 21:18:10 |
danielrf | Those are available on a binary cache if you're rather not build them yourself: https://docs.robotnix.org/building.html?highlight=cachix#binary-cache | 21:18:39 |
pie_ | hm yeah i suppose i should | 21:21:08 |
pie_ | i wonder , theres probably some tool that can give you a 3d histogram of core usage | 21:22:03 |
pie_ | i wonder if theres also something that can interactively tell you whats using the cores at each sample point | 21:22:26 |
pie_ | yep, its definitely building now | 21:22:48 |
danielrf | * Those are available on a binary cache if you'd rather not build them yourself: https://docs.robotnix.org/building.html?highlight=cachix#binary-cache | 21:23:14 |
| 6 Sep 2021 |
dsx | 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 |
pie_ | /nix/store/crdbdgc194p5zpqsn9v3zfgpmvps7n4z-crosshatch-img-2021080300.zip
real 132m27.225s
user 0m8.527s
sys 0m9.705s
| 05:17:06 |
pie_ | danielrf: should that be 2x your reported 1 hour? | 05:17:27 |
kranzes | danielrf Ok it isn't the webview/chromium | 09:53:45 |
kranzes | it still does not work | 09:53:50 |
kranzes | * it still does not boot | 09:53:58 |
kranzes | {
description = "A basic robotnix configuration";
inputs = {
robotnix.url = "github:Kranzes/robotnix-forklineageos";
device_xiaomi_miatoll = { url = "github:sairam1411/device_xiaomi_miatoll"; flake = false; };
device_xiaomi_sm6250-common = { url = "github:sairam1411/device_xiaomi_sm6250-common"; flake = false; };
vendor_xiaomi_miatoll = { url = "github:sairam1411/vendor_xiaomi_miatoll"; flake = false; };
vendor_xiaomi_sm6250-common = { url = "github:sairam1411/vendor_xiaomi_sm6250-common"; flake = false; };
kernel_xiaomi_sm6250 = { url = "github:sairam1411/kernel_xiaomi_sm6250"; flake = false; };
};
outputs = { self, robotnix, ... }@inputs: {
robotnixConfigurations."miatoll" = robotnix.lib.robotnixSystem ({ config, pkgs, ... }: {
device = "miatoll";
flavor = "lineageos";
androidVersion = 11;
buildDateTime = 1630871265;
# signing.enable = true;
# signing.keyStorePath = "/home/1TB-HDD/Android/robotnix/keys";
envVars.TARGET_FLOS = "true";
source.dirs = {
"device/xiaomi/miatoll".src = inputs.device_xiaomi_miatoll;
"device/xiaomi/sm6250-common".src = inputs.device_xiaomi_sm6250-common;
"vendor/xiaomi/miatoll".src = inputs.vendor_xiaomi_miatoll;
"vendor/xiaomi/sm6250-common".src = inputs.vendor_xiaomi_sm6250-common;
"kernel/xiaomi/sm6250".src = inputs.kernel_xiaomi_sm6250;
};
});
defaultPackage.x86_64-linux = self.robotnixConfigurations."miatoll".ota;
};
}
| 09:54:24 |
kranzes | with this flake | 09:54:26 |
kranzes | https://github.com/Kranzes/robotnix-forklineageos/commit/c5f6e34f1e400f158b276bf5d25f69cf55c08695 | 09:54:45 |
kranzes | and these changes | 09:54:47 |
jack | In reply to @danielrf:matrix.org Also, tagged and pushed grapheneos-2021090401. Tested working on crosshatch. Working on redfin. | 16:02:52 |
kranzes | danielrf which other stuff are there to try? | 19:11:15 |
kranzes | Now that we know that it's not the webview/chromium | 19:11:31 |
danielrf | Redacted or Malformed Event | 19:56:59 |
danielrf | kranzes: The configuration should already be quite close, but the next things to try would be to remove the TARGET_FLOS from your configuration, comment out envVars.RELEASE_TYPE, signing.apex.enable, and envVars.OVERRIDE_TARGET_FLATTEN_APEX from flavors/lineageos/default.nix | 19:58:48 |