updated dts and busybox initrd config for orangepizero2w and updated initramfs.sh script

This commit is contained in:
wt
2026-02-03 01:23:52 +07:00
parent 0379b1dbe0
commit e4412dde0f
3 changed files with 631 additions and 549 deletions
File diff suppressed because it is too large Load Diff
@@ -490,3 +490,65 @@
voltage = <800000>;
};
};
&ths {
status = "disabled";
};
// &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";
// };
// &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 {
// };
// };
// &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 {
// };
// };
+1 -1
View File
@@ -20,7 +20,7 @@ initramfs() {
#------------ Building initramfs busybox and copy to initramfs directory --------------------
busybox_initramfs
cp $build/busybox/busybox-1.36.1/busybox $initramfspath/bin
cp $build/busybox/busybox-${BUSYBOX_VERSION}/busybox $initramfspath/bin
cd $initramfspath/bin
for i in $(cat $BUSYBOX_INITRD_LIST_FILE); do ln -s busybox $i; done
cd ..