mirror of https://github.com/OpenIPC/firmware.git
Update XM510 device
parent
96c675fede
commit
bb3f7753dc
|
@ -1,3 +0,0 @@
|
|||
#
|
||||
nameserver 1.1.1.1
|
||||
#
|
|
@ -0,0 +1 @@
|
|||
/tmp/resolv.conf
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1
|
||||
|
||||
RESOLV_CONF="/etc/resolv.conf"
|
||||
RESOLV_CONF="/tmp/resolv.conf"
|
||||
[ -e $RESOLV_CONF ] || touch $RESOLV_CONF
|
||||
[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
|
||||
[ -n "$subnet" ] && NETMASK="netmask $subnet"
|
|
@ -49,11 +49,11 @@ insert_ko()
|
|||
;;
|
||||
sc2235)
|
||||
# Untested | The information is obtained from the Tiandy firmware
|
||||
insmod ${PATH_MODULE}/mi_venc.ko thread_priority=99;
|
||||
insmod ${PATH_MODULE}/mi_venc.ko;
|
||||
;;
|
||||
sc2239)
|
||||
# Untested | The information is obtained from the IMOU firmware
|
||||
insmod ${PATH_MODULE}/mi_venc.ko;
|
||||
insmod ${PATH_MODULE}/mi_venc.ko thread_priority=99;
|
||||
;;
|
||||
sc3335)
|
||||
# Untested | The information is obtained from the Uniview firmware (no any params on other version)
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -57,11 +57,11 @@ remove_audio()
|
|||
insert_sns()
|
||||
{
|
||||
#Sensor clock 27MHz
|
||||
regs 0x2000002c 1;
|
||||
regs 0x2000000c 0x10110010;
|
||||
regs 0x20000010 0x901F0010;
|
||||
regs 0x20000014 0x01120000;
|
||||
regs 0x2000002c 0;
|
||||
devmem 0x2000002c 32 1;
|
||||
devmem 0x2000000c 32 0x10110010;
|
||||
devmem 0x20000010 32 0x901F0010;
|
||||
devmem 0x20000014 32 0x01120000;
|
||||
devmem 0x2000002c 32 0;
|
||||
sleep 0.1;
|
||||
insmod xm_i2c.ko;
|
||||
}
|
||||
|
@ -142,4 +142,3 @@ then
|
|||
remove_ko
|
||||
insert_ko
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue