From aa7731f050c826b4009f9d186718164ab942054b Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Sat, 23 Jul 2022 15:45:15 -0700 Subject: [PATCH] Add support for Veyron Jerry (CTL J2, J4, J4+) --- board/jerry/boardinfo | 11 +++++++++++ kernel/arm.kernel.its | 14 ++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 board/jerry/boardinfo diff --git a/board/jerry/boardinfo b/board/jerry/boardinfo new file mode 100644 index 00000000..dba0d7dc --- /dev/null +++ b/board/jerry/boardinfo @@ -0,0 +1,11 @@ +#!/bin/false + +# explanation is in HACKING.md +# arch missing? go to baseboard/$BASEBOARD/boardinfo + +export BASEBOARD=veyron +export BOARD=jerry +export TYPE=laptop + +export WLR_DISP=eDP-1 +export DISP_ROTATION=0 diff --git a/kernel/arm.kernel.its b/kernel/arm.kernel.its index 233f9c22..80980593 100644 --- a/kernel/arm.kernel.its +++ b/kernel/arm.kernel.its @@ -31,6 +31,16 @@ algo = "sha1"; }; }; + fdt@3 { + description = "rk3288-veyron-jerry.dtb"; + data = /incbin/("arch/arm/boot/dts/rk3288-veyron-jerry.dtb"); + type = "flat_dt"; + arch = "arm"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; }; configurations { conf@1{ @@ -41,5 +51,9 @@ kernel = "kernel@1"; fdt = "fdt@2"; }; + conf@3{ + kernel = "kernel@1"; + fdt = "fdt@3"; + }; }; };