129f93ec5b
This updates google-crosshatch's downstream kernel to Lineage 17.1's version (4.9.200, shared with Lineage's Pixel 3a port). The newer kernel is needed because this device's kernel requires a matching dtbo partition. The previous kernel would fail to boot with an Android 10 dtbo partition. Two patches were removed: Android 10's bootloader no longer passes the dm or skip_initramfs boot arguments because of the new dynamic partitions (https://source.android.com/devices/tech/ota/dynamic_partitions/ab_legacy). Changes from the LineageOS kernel config: https://gist.github.com/zhuowei/89b4135ff27e88f5a3dd3e4bf3cd31ab Tested by booting to USB networking and debug-shell: I have not tested flashing full pmOS using this kernel yet. For some reason, on this kernel, when pmOS can't find system partitions during the "Trying to mount subpartitions for 10 seconds..." stage, it waits for 70 seconds instead of 10 seconds. I'm not sure why. It does go to debug-shell correctly after a minute. [ci:skip-build]: already built successfully in CI
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From 64c147b6a814200934cde9677ef701f639d1af03 Mon Sep 17 00:00:00 2001
|
|
From: Zhuowei Zhang <linux@worthdoingbadly.com>
|
|
Date: Sat, 7 Mar 2020 14:02:02 -0500
|
|
Subject: [PATCH] cam_sensor_io: fix in-tree build
|
|
|
|
Without this patch, I get:
|
|
|
|
```
|
|
drivers/media/platform/msm/camera/cam_sensor_module/cam_sensor_io/cam_sensor_i2c.h:20:10: fatal error: cam_cci_dev.h: No such file or directory
|
|
```
|
|
---
|
|
.../msm/camera/cam_sensor_module/cam_sensor_io/cam_sensor_i2c.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/media/platform/msm/camera/cam_sensor_module/cam_sensor_io/cam_sensor_i2c.h b/drivers/media/platform/msm/camera/cam_sensor_module/cam_sensor_io/cam_sensor_i2c.h
|
|
index 9c3c2e310979..bfd07a41befb 100644
|
|
--- a/drivers/media/platform/msm/camera/cam_sensor_module/cam_sensor_io/cam_sensor_i2c.h
|
|
+++ b/drivers/media/platform/msm/camera/cam_sensor_module/cam_sensor_io/cam_sensor_i2c.h
|
|
@@ -17,7 +17,7 @@
|
|
#include <media/v4l2-subdev.h>
|
|
#include <media/cam_sensor.h>
|
|
#include <media/cam_sensor.h>
|
|
-#include "cam_cci_dev.h"
|
|
+#include "../cam_cci/cam_cci_dev.h"
|
|
#include "cam_sensor_io.h"
|
|
|
|
#define I2C_POLL_TIME_MS 5
|
|
--
|
|
2.20.1
|
|
|