updated support for orangepi_zero_2w
This commit is contained in:
1 parent
e9048b8970
commit
7a06c25c47
11 files changed
+42
-69
No files matched your search
@@ -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
-1
@@ -1,2 +1,2 @@
|
|||||||
# Запуск wpa_supplicant для интерфейса wlan0 при загрузке системы
|
# Запуск 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
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../available/wpa_supplicant@.conf
|
||||||
@@ -141,8 +141,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&gpu {
|
&gpu {
|
||||||
|
status = "okay";
|
||||||
|
#cooling-cells = <2>;
|
||||||
mali-supply = <®_dcdc1>;
|
mali-supply = <®_dcdc1>;
|
||||||
status = "disabled";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
@@ -491,64 +492,38 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&ths {
|
&{/thermal-zones/gpu-thermal} {
|
||||||
status = "disabled";
|
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 {
|
&{/thermal-zones/cpu-thermal} {
|
||||||
// compatible = "allwinner,sun50i-h616-ths";
|
trips {
|
||||||
// reg = <0x05070400 0x400>;
|
/delete-node/ cpu_alert;
|
||||||
// interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
|
/delete-node/ cpu-crit;
|
||||||
// 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";
|
|
||||||
// };
|
|
||||||
|
|
||||||
// &cpu_thermal {
|
cpu_alert: cpu-alert {
|
||||||
// polling-delay-passive = <0>;
|
temperature = <95000>; // подняли с 85000
|
||||||
// polling-delay = <0>;
|
hysteresis = <2000>;
|
||||||
// thermal-sensors = <&ths 0>;
|
type = "passive";
|
||||||
// trips {
|
};
|
||||||
// cpu_crit: cpu_crit {
|
};
|
||||||
// temperature = <100000>;
|
|
||||||
// hysteresis = <0>;
|
|
||||||
// type = "critical";
|
|
||||||
// };
|
|
||||||
// };
|
|
||||||
// cooling-maps {
|
|
||||||
// };
|
|
||||||
// };
|
|
||||||
|
|
||||||
// &gpu_thermal {
|
// Отключаем cooling-maps чтобы избежать warning
|
||||||
// polling-delay-passive = <0>;
|
cooling-maps {
|
||||||
// polling-delay = <0>;
|
/delete-node/ map0;
|
||||||
// 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 {
|
|
||||||
// };
|
|
||||||
// };
|
|
||||||
Reference in new issue
Block a user