Skip to content

Commit

Permalink
Add bullshit device tree stubs.
Browse files Browse the repository at this point in the history
LG's 4.2 aboot searches for

/soc/qcom,mdss_dsi_lgit_video
/soc/qcom,mdss_dsi_jdi_video
/soc/qcom,mdss_dsi_jdi_cmd
/soc/qcom,mdss_dsi_lgit_cmd

before booting the kernel; and it will explicitly fail to boot if they aren't
present, as defined somewhere in their aboot source. This will appease the
4.2 bootloader and allow us to boot a kernel built on 4.4 sources.

The 4.4 aboot will also append:
"mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_g2_lgd_cmd" to kernel's command line, so
adding the above to the BOARD_KERNEL_CMDLINE in the device folder is necessary
to get the panel to work. (Thanks to xda user garyd9 for pulling /proc/cmdline)

A big thank you to Dan Rosenberg (djrbliss) for loki (the exploit that allows
for custom boot images)
  • Loading branch information
JackpotClavin authored and dr87 committed Mar 31, 2014
1 parent 5d33a7a commit 1c04dda
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/msm8974-lge-common/msm8974-lge-common.dtsi
Expand Up @@ -25,6 +25,18 @@

&soc {

qcom,mdss_dsi_lgit_video {
};

qcom,mdss_dsi_lgit_cmd {
};

qcom,mdss_dsi_jdi_cmd {
};

qcom,mdss_dsi_jdi_video {
};

/* common: core */
qcom,wdt@f9017000 {
qcom,bark-time = <16000>;
Expand Down

0 comments on commit 1c04dda

Please sign in to comment.