| 15 Aug 2021 |
samueldr | your impression is wrong! | 23:26:54 |
samueldr |
Only the Pixel 3 XL and Pixel 4 XL are supported
| 23:27:05 |
pie_ | * samueldr: i get the impression that everything *else is unsupported but you are allowed to make it work yourselfd :P | 23:27:08 |
danielrf | pie_: I'd take a look at these: https://source.android.com/setup/build/building-kernels and https://source.android.com/setup/build/building-kernels-deprecated | 23:27:09 |
pie_ | samueldr: accidentally a word | 23:27:14 |
samueldr | ah :) | 23:27:23 |
pie_ | man i never wanted to into this ecosystem hah... | 23:27:30 |
pie_ | f*ck me x) | 23:27:40 |
danielrf | the kernel.nix module currently in robotnix is pretty ad-hoc and doesn't really build the kernels the way they recommend. We might need to look into this again anyway in the future as they switch further to the GKI (generic kernel image) stuff | 23:28:04 |
pie_ | danielrf: do you know anyone willing to throw compute at me for this | 23:28:10 |
samueldr | is GKI still a thing that's just around the corner? | 23:28:25 |
pie_ | if yall're willing to provide guidance i can bring it up at the SoN team meeting tomorrow, though i still have a project i havent finished | 23:29:11 |
danielrf | samueldr: something like that, I just know that each new device comes with a bunch more modules than before--but I'm not sure when the switch over to GKI will be "complete" | 23:29:18 |
danielrf | I haven't followed it too closely | 23:29:26 |
pie_ | im not entirely afraid of kernel dev but i certainly dont have much experience with it | 23:29:49 |
samueldr | my experience with GKI is that it's making OEM not provide all the modules source code, sometimes at all, sometimes in usable manner | 23:30:14 |
danielrf | pie_: So there's two things here: 1) build kernels for generic emulation devices (and potentially switch the way we build kernels) and 2) build the android automotive emulator (https://source.android.com/devices/automotive/start/avd/android_virtual_device) | 23:30:59 |
danielrf | those are hopefully two independent tasks | 23:31:44 |
pie_ | what have i gotten myself into | 23:31:50 |
danielrf | pie_: :D | 23:32:08 |
danielrf | Ah, here's some automotive-specific instructions for the kernel: https://source.android.com/devices/automotive/start/avd/android_virtual_device#build-an-avd-kernel | 23:33:02 |
pie_ | the question is really how dependent the bluetooth passthrough is on the automotice | 23:43:14 |
pie_ | ´´´
AVD kernels are similar to other Android kernels in that all are pre-built images. Normally, you can use the standard goldfish kernel pre-built images as is from each Android release.
To experiment with kernel changes:
´´´ | 23:43:53 |
pie_ | oh good | 23:43:54 |
| 16 Aug 2021 |
pie_ | danielrf: how do/did you iterate with 10 hour build timeS? | 00:23:01 |
danielrf | pie_: at the rate of 1-2 builds per day haha | 00:26:50 |
danielrf | it was painful | 00:26:52 |
pie_ | i had that with a much smaller project x) | 00:27:09 |
samueldr | when I was toying with robotnix it was a one try per evening thing | 00:27:27 |
samueldr | though funnily enough my last two contributions take far less time | 00:27:48 |