updated support for orangepi_zero_2w

This commit is contained in:
wt
2026-02-03 19:13:12 +07:00
parent e9048b8970
commit 7a06c25c47
11 changed files with 42 additions and 69 deletions
@@ -1,7 +0,0 @@
# Consoles to start getty on when system is up
tty [12345] /dev/ttyS0 noclear nowait
tty [12345] /dev/tty1 noclear nowait
tty [12345] /dev/tty2 noclear nowait
tty [12345] /dev/tty3 noclear nowait
tty [12345] /dev/tty4 noclear nowait
tty [12345] /dev/ttyGS0 noclear nowait
@@ -0,0 +1,2 @@
# Consoles to start getty on when system is up
tty :%i [12345] /dev/%i noclear nowait
@@ -0,0 +1,2 @@
# Запуск DHCP-клиента после поднятия интерфейса wlan0
service :%i <net/%i/up> /usr/bin/udhcpc -R -n -f -p /var/run/udhcpc.%i.pid -i %i -- DHCP Client
@@ -1,2 +0,0 @@
# Запуск DHCP-клиента после поднятия интерфейса wlan0
service [2345] /usr/bin/udhcpc -R -n -p /var/run/udhcpc.wlan0.pid -i wlan0 -- DHCP Client
@@ -1,2 +1,2 @@
# Запуск wpa_supplicant для интерфейса wlan0 при загрузке системы
service [S12345] /usr/bin/wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -- WPA Supplicant
service :%i /usr/bin/wpa_supplicant -Dnl80211 -i %i -c /etc/wpa_supplicant.conf -- WPA Supplicant
@@ -1 +0,0 @@
../available/getty.conf
@@ -0,0 +1 @@
../available/getty@.conf
@@ -0,0 +1 @@
../available/getty@.conf
@@ -0,0 +1 @@
../available/udhcpc@.conf
@@ -0,0 +1 @@
../available/wpa_supplicant@.conf
@@ -141,8 +141,9 @@
};
&gpu {
status = "okay";
#cooling-cells = <2>;
mali-supply = <&reg_dcdc1>;
status = "disabled";
};
&mmc0 {
@@ -491,64 +492,38 @@
};
};
&ths {
status = "disabled";
&{/thermal-zones/gpu-thermal} {
trips {
/delete-node/ gpu_alert;
/delete-node/ gpu-crit;
gpu_alert: gpu-alert {
temperature = <95000>; // подняли с 85000
hysteresis = <2000>;
type = "passive";
};
};
// Отключаем cooling-maps чтобы избежать warning
cooling-maps {
/delete-node/ map0;
};
};
// &ths {
// compatible = "allwinner,sun50i-h616-ths";
// reg = <0x05070400 0x400>;
// interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
// clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
// clock-names = "bus", "mod";
// resets = <&ccu RST_BUS_THS>;
// nvmem-cells = <&ths_calibration>;
// nvmem-cell-names = "calibration";
// #thermal-sensor-cells = <1>;
// status = "okay";
// };
&{/thermal-zones/cpu-thermal} {
trips {
/delete-node/ cpu_alert;
/delete-node/ cpu-crit;
// &cpu_thermal {
// polling-delay-passive = <0>;
// polling-delay = <0>;
// thermal-sensors = <&ths 0>;
// trips {
// cpu_crit: cpu_crit {
// temperature = <100000>;
// hysteresis = <0>;
// type = "critical";
// };
// };
// cooling-maps {
// };
// };
cpu_alert: cpu-alert {
temperature = <95000>; // подняли с 85000
hysteresis = <2000>;
type = "passive";
};
};
// &gpu_thermal {
// polling-delay-passive = <0>;
// polling-delay = <0>;
// thermal-sensors = <&ths 1>;
// trips {
// gpu_crit: gpu_crit {
// temperature = <100000>;
// hysteresis = <0>;
// type = "critical";
// };
// };
// cooling-maps {
// };
// };
// &ddr_thermal {
// polling-delay-passive = <0>;
// polling-delay = <0>;
// thermal-sensors = <&ths 2>;
// trips {
// ddr_crit: ddr_crit {
// temperature = <100000>;
// hysteresis = <0>;
// type = "critical";
// };
// };
// cooling-maps {
// };
// };
// Отключаем cooling-maps чтобы избежать warning
cooling-maps {
/delete-node/ map0;
};
};