Introduce a fragment config for the Pixel 3 and Pixel 3 XL.

On these devices, U-Boot must be chainloaded via Fastboot. However, due to
a Fastboot bug, U-Boot won’t start unless a specific condition is met.

To work around this, U-Boot must provide a TEXT_OFFSET of 0x00080000,
which allows Fastboot to successfully launch U-Boot.

Instead of:
$ make CROSS_COMPILE=aarch64-linux-gnu- O=.output qcom_defconfig 
qcom-phone.config
do
$ make CROSS_COMPILE=aarch64-linux-gnu- O=.output qcom_defconfig 
google-pixel3.config qcom-phone.config

Signed-off-by: David Heidelberg <da...@ixit.cz>
---
 board/qualcomm/google-pixel3.config | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 board/qualcomm/google-pixel3.config

diff --git a/board/qualcomm/google-pixel3.config 
b/board/qualcomm/google-pixel3.config
new file mode 100644
index 00000000000..226d24726c9
--- /dev/null
+++ b/board/qualcomm/google-pixel3.config
@@ -0,0 +1,3 @@
+# Pixel 3 (blueline) and Pixel 3 XL (crosshatch) will fail to
+# boot a recent kernel on the Q or R bootloader if TEXT_BASE is missing.
+CONFIG_TEXT_BASE=0x80080000
-- 
2.50.1

Reply via email to