Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@halamix2
Last active September 26, 2018 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halamix2/a21195b4cc589bf7af2fadc32aad6292 to your computer and use it in GitHub Desktop.
Save halamix2/a21195b4cc589bf7af2fadc32aad6292 to your computer and use it in GitHub Desktop.
Unfinished dtb for samsung-s6500d
/dts-v1/;
/include/ "qcom-msm7227a.dtsi"
/ {
model = "Samsung Galaxy mini 2";
compatible = "qcom,msm7227a-jenad", "qcom,msm7227a";
aliases {
};
chosen {
/* a9a, a9b or a9c*/
/*msm_serial or msm_serial_dm????*/
/*maybe try earlyprintk?*/
bootargs = "earlycon=msm_serial_dm,0xa9a00000";
};
memory@0 {
device_type = "memory";
/*how much memory is there? 512MiB?*/
/*try with 384MB, 256+128*/
reg = <0x00000000 0x18000000>;
};
};
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
model = "Qualcomm MSM7227a";
compatible = "qcom,msm7227a";
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a5";
reg = <0>;
};
};
};
@halamix2
Copy link
Author

Trying to make basic DTB file to get UART running, and failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment