eadb61205e
This is basically just the packages for the Galaxy S7 Edge (hero2lte). I only needed to change a few Kernel config options, so that the colors are displayed correctly. The options regarding CONFIG_PANEL_S6E3HF4_WQHD and CONFIG_PANEL_S6E3HA3_DYNAMIC probably solve this issue, but I modified the other options as well. I got the differences by diffing: arch/arm64/configs/exynos8890-{hero2lte,herolte}_defconfig Booting, USB networking and the display work! I can't say anything about flashing via heimdall as this tool scares me. Following what WilliamO7 wrote on the device page, I flashed it by sideloading the android recovery zip. [ci:skip-build]: already built successfully in CI
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
Exynos devices have a special device tree image format, which the built in
|
|
script in this kernel source facilitates.
|
|
Unfortunately, the script is badly written in the part where command line
|
|
arguments are parsed, so this fixes it to create a valid dtb.
|
|
|
|
diff --git a/scripts/dtbtool_exynos/dtbtool.c b/scripts/dtbtool_exynos/dtbtool.c
|
|
index f72fe8662ee..cacd8c69a32 100644
|
|
--- a/scripts/dtbtool_exynos/dtbtool.c
|
|
+++ b/scripts/dtbtool_exynos/dtbtool.c
|
|
@@ -378,13 +378,14 @@ int main(int argc, char **argv)
|
|
dt_subtype_code = strtoul(val, 0, 16);
|
|
} else if (*arg != '-') {
|
|
/* skip over already allocated file names */
|
|
- for (; dtb_files[dt_count]; dt_count++)
|
|
- if (dt_count >= DTB_MAX)
|
|
- fail("reached dtb file limit (%d)", DTB_MAX);
|
|
-
|
|
- dtb_files[dt_count] = strdup(arg);
|
|
- if (!dtb_files[dt_count])
|
|
- fail("failed to allocate memory");
|
|
+ for (; dtb_files[dt_count]; dt_count++) {
|
|
+ if (dt_count >= DTB_MAX) {
|
|
+ fail("reached dtb file limit (%d)", DTB_MAX);
|
|
+ } else {
|
|
+ dtb_files[dt_count] = strdup(arg);
|
|
+ if (!dtb_files[dt_count]) fail("failed to allocate memory");
|
|
+ }
|
|
+ }
|
|
} else
|
|
usage();
|
|
}
|