Commit e9111d47 authored by Mis012's avatar Mis012

fix simple-fb; fix stuff

parent 13a8c421
......@@ -18,5 +18,8 @@
/ {
model = "Samsung Galaxy A3 sm-a300fu";
compatible = "qcom,msm8916-mtp", "qcom,msm8916", "qcom,mtp";
//ugly downstream replication
qcom,msm-id = <206 0>;
qcom,board-id = <0xCE08FF01 1>;
};
......@@ -33,18 +33,21 @@
chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
stdout-path = "serial0";
[email protected] {
status= "okay";
status= "disabled";
//status= "okay";
compatible = "simple-framebuffer";
reg = <0x0 0x8e000000 0x0 (540 * 960 * 3)>;
width = <540>;
height = <960>;
stride = <(540*3)>;
format = "r8g8b8";
//display = <&_dri?_>;
power-domains = <&gcc MDSS_GDSC>;
display = <&dsi0>;
};
......@@ -59,7 +62,7 @@
console-size = <0x20000>;
ftrace-size = <0x20000>;
};
[email protected]{
continuous_splash: [email protected]{
reg = <0x0 0x8e000000 0x0 (540 * 960 * 3)>;
no-map;
};
......@@ -106,7 +109,7 @@
linux,code = <KEY_HOMEPAGE>;
};
};
hall-gpio {
compatible = "gpio-keys";
input-name = "hall-sensor";
......@@ -257,7 +260,7 @@
status = "okay";
};
[email protected] {
dsi0: dsi@1a98000 {
#address-cells = <1>;
#size-cells = <0>;
......@@ -313,13 +316,11 @@
vdd_l4_l5_l6-supply = <&pm8916_s4>;
vdd_l7-supply = <&pm8916_s4>;
s1 { //doesn't seem to be a thing FIXME
status = "disabled";
regulator-min-microvolt = <375000>;
regulator-max-microvolt = <1562000>;
s1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1300000>;
};
//s2? FIXME
s3 {
regulator-min-microvolt = <1200000>;
......@@ -358,8 +359,6 @@
l5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on; //as per downstream
regulator-boot-on; //as per downstream
};
l6 { //already-same
......@@ -410,7 +409,6 @@
l15 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
l16 {
......@@ -418,9 +416,9 @@
regulator-max-microvolt = <3300000>;
};
l17 { //set in device dts downstream (not soc)
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
l17 {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <3100000>;
};
l18 {
......
shopt -s expand_aliases
source ../../pmbootstrap/helpers/envkernel64.sh
if make -j2; then
echo "MAKE finished successfully"
else
echo "MAKE failed :("
exit
fi
sudo cp -v .output64/arch/arm64/boot/Image.gz ~/.local/var/pmbootstrap/chroot_native/tmp/mainline/
sudo ~/.local/var/pmbootstrap/chroot_native/usr/bin/dtbTool -v -s 2048 -p scripts/dtc/ -o "/home/Mis012/.local/var/pmbootstrap/chroot_native/tmp/mainline/dt.img" .output64/arch/arm64/boot/dts/
pmbootstrap chroot -- mkbootimg-osm0sis \
--kernel "/tmp/mainline/Image.gz" \
--ramdisk "/tmp/mainline/pmosinitrd.img" \
--dt "/tmp/mainline/dt.img" \
--base "0x80080000" \
--second_offset "0x00f00000" \
--cmdline "earlycon=msm_serial_dm,0x78b0000 console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT clk_ignore_unused ignore_loglevel drm.debug=12 debug dyndbg=\"file *firmware_loader/main.c +p;\"" \
--kernel_offset "0x00008000" \
--ramdisk_offset "0x02000000" \
--tags_offset "0x01e00000" \
--pagesize "2048" \
-o "/tmp/mainline/boot.img"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment