update support for orangepi_zero_2w
This commit is contained in:
1 parent
3a39d99661
commit
f6741325da
11 files changed
+25
-5
No files matched your search
@@ -504,9 +504,9 @@ CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y
|
||||
# CONFIG_BOOTCHARTD is not set
|
||||
# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set
|
||||
# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set
|
||||
# CONFIG_HALT is not set
|
||||
# CONFIG_POWEROFF is not set
|
||||
# CONFIG_REBOOT is not set
|
||||
CONFIG_HALT=y
|
||||
CONFIG_POWEROFF=y
|
||||
CONFIG_REBOOT=y
|
||||
# CONFIG_FEATURE_WAIT_FOR_INIT is not set
|
||||
# CONFIG_FEATURE_CALL_TELINIT is not set
|
||||
CONFIG_TELINIT_PATH=""
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# 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 @@
|
||||
task [S] /usr/bin/modprobe g_serial
|
||||
@@ -0,0 +1 @@
|
||||
task [S] /etc/finit.d/available/thermal_zone.sh
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/bin/echo "disabled" > /sys/class/thermal/thermal_zone0/mode
|
||||
/usr/bin/echo "disabled" > /sys/class/thermal/thermal_zone2/mode
|
||||
@@ -0,0 +1 @@
|
||||
../available/getty.conf
|
||||
@@ -0,0 +1 @@
|
||||
../available/modprobe.conf
|
||||
@@ -0,0 +1 @@
|
||||
../available/thermal_zone.conf
|
||||
@@ -38,6 +38,8 @@ export BUSYBOX_INITRD_CONFIG_FILE=$root/board/${BOARD_NAME}/busybox-initrd-${BUS
|
||||
export BUSYBOX_LIST_FILE=$root/board/${BOARD_NAME}/busybox-list-${BUSYBOX_VERSION}.config
|
||||
export BUSYBOX_INITRD_LIST_FILE=$root/board/${BOARD_NAME}/busybox-initrd-list-${BUSYBOX_VERSION}.config
|
||||
|
||||
export ROOTFS_OVERLAY=$root/board/${BOARD_NAME}/rootfs_overlay
|
||||
|
||||
export ZLIB_ENABLE=n
|
||||
export DROPBEAR_ENABLE=n
|
||||
export IMAGE_USABLE_ENABLE=n
|
||||
|
||||
@@ -1 +1 @@
|
||||
run [123456789] hostname -F /etc/hostname -- Set up hostname
|
||||
task [S] hostname -F /etc/hostname
|
||||
+3
-1
@@ -55,7 +55,7 @@ BUILD_ID="$distro_build_id"
|
||||
EOF
|
||||
|
||||
busybox_rootfs
|
||||
cp -v $build/busybox/busybox-1.36.1/busybox $rootfspath/usr/bin # &>> $fulllogfile
|
||||
cp -v $build/busybox/busybox-${BUSYBOX_VERSION}/busybox $rootfspath/usr/bin # &>> $fulllogfile
|
||||
cd $rootfspath/usr/bin
|
||||
for i in $(cat $BUSYBOX_LIST_FILE); do ln -sv busybox $i; done
|
||||
cp -v $root/rootfs/init.in $rootfspath/init
|
||||
@@ -94,6 +94,8 @@ EOF
|
||||
EOF
|
||||
fi
|
||||
|
||||
[ ! -z "$ROOTFS_OVERLAY" ] && cp -rv $ROOTFS_OVERLAY/* $rootfspath
|
||||
|
||||
chmod 640 $rootfspath/etc/shadow $rootfspath/etc/inittab
|
||||
chmod 755 $rootfspath/etc/init.d/* $rootfspath/usr/share/udhcpc/default.script $rootfspath/init
|
||||
chmod 644 $rootfspath/etc/{passwd,group,hostname,hosts,fstab,shells,issue} $rootfspath/etc/network/interfaces
|
||||
|
||||
Reference in new issue
Block a user