!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
4 Sep 2021
@dsx:matrix.orgdsx
In reply to @danielrf:matrix.org
The two things I would try to test would be 1) using `flavor="grapheneos";` and 2) using upstream prebuilt kernel with `flavor="vanilla";` but `kernel.enable=false;`
№2 worked. If there is way I can help debugging kernel build I'm game for a few more tries.
03:30:45
@dsx:matrix.orgdsxThanks a lot!03:30:59
@danielrf:matrix.orgdanielrfAh, great! Good to know there's an issue we need to address there.03:36:26
@danielrf:matrix.orgdanielrfI think I have something you can try:03:36:42
@danielrf:matrix.orgdanielrf 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" 03:38:18
@danielrf:matrix.orgdanielrf

or apply

diff --git a/modules/pixel/default.nix b/modules/pixel/default.nix
index aec81c0..4243177 100644
--- a/modules/pixel/default.nix
+++ b/modules/pixel/default.nix
@@ -146,6 +147,7 @@ mkMerge [
     signing.avb.mode = "vbmeta_chained_v2";
     kernel.buildProductFilenames = [
       "arch/arm64/boot/Image.lz4"
+      "arch/arm64/boot/Image.lz4-dtb"
       "arch/arm64/boot/dtbo.img"
       "arch/arm64/boot/dts/google/qcom-base/lito.dtb"
     ];
03:38:37
@danielrf:matrix.orgdanielrfTurns out we were replacing only the prebuilt Image.lz4 but not Image.lz4-dtb ....03:40:34
@dsx:matrix.orgdsxOk, I'll try that next time I get to mess with it.04:28:43
@kranzes:matrix.orgkranzes
In reply to @danielrf:matrix.org
Thanks! I'll try to take a closer look at this this weekend. Could you upload your built images as well?
Do you have any idea where to ever start looking for things that might be causing this?
13:30:45
@kranzes:matrix.orgkranzesI couldn't figure it out but that's probably because i dont know what robotnix does in depth enough to know what it does different than normal building through docker or something like that13:31:40
@danielrf:matrix.orgdanielrf kranzes: well I was initially hoping that I could extract and compare both images to see if I noticed anything obviously wrong 19:46:48
@danielrf:matrix.orgdanielrfbut there's nothing obvious at least19:46:59
@danielrf:matrix.orgdanielrfThe comparison isn't exactly great since the two images were built from slightly different source trees19:47:25
@danielrf:matrix.orgdanielrfSo one next thing to try would be to a build where we are using the exact same revisions for all repos19:49:49
@danielrf:matrix.orgdanielrf You can generate a manifest file with these revisions pinned by running repo manifest -r -o miatoll.xml at the root of your source tree (inside your docker image?) 19:50:38
@danielrf:matrix.orgdanielrf That manifest file would be useful to set the repo .json file used in robotnix to have exactly the same revisions 19:51:07
@danielrf:matrix.orgdanielrf * So one next thing to try would be to try a build where we are using the exact same revisions for all repos19:51:51
@kranzes:matrix.orgkranzesI dont quite get what you mean19:52:30
@kranzes:matrix.orgkranzesWhat should i be doing? Right now i just started building in the docker image a new build for my device with a working setup wizard so i can actually use it19:53:24
@kranzes:matrix.orgkranzesIt takes me like 3:20h to build the rom19:53:41
@danielrf:matrix.orgdanielrfI'd like you to try to generate that pinned manifest file and share with me19:53:57
@kranzes:matrix.orgkranzes how do i get it? sorry19:54:09
@danielrf:matrix.orgdanielrf hmm, lets try: docker run -it forklineageos -v "/home/1TB-HDD/Android/lineage:/srv/src" repo manifest -r -o miatoll.xml 19:59:28
@kranzes:matrix.orgkranzeswhere would that drop the manifest?20:00:06
@kranzes:matrix.orgkranzesmiatoll.xml20:00:09
@danielrf:matrix.orgdanielrfshould be at /home/1TB-HDD/Android/lineage20:00:20
@danielrf:matrix.orgdanielrfif I'm reading the Dockerfile correctly20:00:25
@kranzes:matrix.orgkranzes
In reply to @danielrf:matrix.org
should be at /home/1TB-HDD/Android/lineage
its not there
20:00:33
@danielrf:matrix.orgdanielrfDid you get any other output from that command?20:01:11
@kranzes:matrix.orgkranzesnope20:01:18

Show newer messages


Back to Room ListRoom Version: 6