We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f3b13 commit 807d714Copy full SHA for 807d714
2 files changed
HDRTool.c
@@ -0,0 +1,3 @@
1
+//
2
+// Created by sunfl on 25-6-9.
3
ShellCode/ShellCode.KernelWrapper.S
@@ -16,7 +16,17 @@
16
*
17
* Note:
18
* You need to add memory region for linux dtb in device tree manually
19
-* otherwise linux will NOT boot.
+* otherwise linux will NOT boot. check the sample below, you can find
20
+* it in android fdt at /sys/firmware/fdt.
21
+* memory {
22
+* ddr_device_type = <0x08>;
23
+* device_type = "memory";
24
+* #address-cells = <2>;
25
+* #size-cells = <2>;
26
+* reg = <0x0 0x80000000 0x0 0x3b800000>,
27
+* <0x1 0x80000000 0x1 0x00000000>,
28
+* <0x0 0xc0000000 0x0 0xc0000000>;
29
+* };
30
31
* Usage:
32
* ./DualBootKernelPatcher OriginalKernel mainline_dtb output DualBoot.Sm8250DT.cfg ShellCode.KernelWrapper.bin
0 commit comments