mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-09 15:08:21 +00:00
add support for car fw and enable drivers
This commit is contained in:
parent
7e56f96e44
commit
77a4bdd8f0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
generate_checksum.sh
|
|
@ -1,7 +1,7 @@
|
|||||||
# wz_mini_hacks
|
# wz_mini_hacks
|
||||||
### v2/PANv1/v3/PANv2 devices ONLY
|
### v2/car/PANv1/v3/PANv2 devices ONLY
|
||||||
|
|
||||||
Run whatever firmware you want on your v2/PANv1/v3/PANv2 and have root access to the device. This is in early stages of testing, use CAUTION if you are unsure of what you are doing. No support whatsoever is offered with this release.
|
Run whatever firmware you want on your v2/car/PANv1/v3/PANv2 and have root access to the device. This is in early stages of testing, use CAUTION if you are unsure of what you are doing. No support whatsoever is offered with this release.
|
||||||
|
|
||||||
**Do not contact the manufacturer for information or support, they will not be able to assist or advise you!**
|
**Do not contact the manufacturer for information or support, they will not be able to assist or advise you!**
|
||||||
|
|
||||||
@ -102,6 +102,7 @@ Using this project can potentially expose your device to the open internet depen
|
|||||||
2. Hold down reset button while powering unit on. This is the standard manual firmware restore procedure.
|
2. Hold down reset button while powering unit on. This is the standard manual firmware restore procedure.
|
||||||
3. Wait for camera to flash the latest modified firmware, and reboot, do not remove the micro sd card.
|
3. Wait for camera to flash the latest modified firmware, and reboot, do not remove the micro sd card.
|
||||||
4. The camera will proceed to boot, then you may connect via the IP address of your device using SSH, port 22. The username is root. It may take a few minutes for the device to finish booting and connect to Wi-Fi, then launch the SSH server. Be patient. You should hear audio prompts from the camera once it has booted successfully.
|
4. The camera will proceed to boot, then you may connect via the IP address of your device using SSH, port 22. The username is root. It may take a few minutes for the device to finish booting and connect to Wi-Fi, then launch the SSH server. Be patient. You should hear audio prompts from the camera once it has booted successfully.
|
||||||
|
5. If you have a car, you will now need to convert the camera to the car firmware. Use the car app to do this. After the conversion is complete, wz_mini remains active.
|
||||||
5. You may also login via the serial console, password is WYom2020
|
5. You may also login via the serial console, password is WYom2020
|
||||||
|
|
||||||
## Removal
|
## Removal
|
||||||
|
@ -71,6 +71,13 @@ elif [ -b /dev/mtdblock6 ]; then
|
|||||||
rm -rf /opt/wz_mini/tmp/configs
|
rm -rf /opt/wz_mini/tmp/configs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#Check for Car FW
|
||||||
|
if [ -f /opt/wz_mini/tmp/.WYZEC1-JZ ]; then
|
||||||
|
if cat /system/bin/app.ver | grep 4.55; then
|
||||||
|
touch /opt/wz_mini/tmp/.CAR
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#Set the correct GPIO for the audio driver (T31 only)
|
#Set the correct GPIO for the audio driver (T31 only)
|
||||||
if [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then
|
if [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then
|
||||||
GPIO=7
|
GPIO=7
|
||||||
|
@ -138,6 +138,11 @@ if [[ "$DISABLE_MOTOR" == "true" ]]; then
|
|||||||
touch /opt/wz_mini/tmp/.ms
|
touch /opt/wz_mini/tmp/.ms
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#Enable serial driver for car
|
||||||
|
if [ -f /opt/wz_mini/tmp/.CAR ]; then
|
||||||
|
modprobe cp210x
|
||||||
|
fi
|
||||||
|
|
||||||
/opt/wz_mini/etc/init.d/wz_user.sh &
|
/opt/wz_mini/etc/init.d/wz_user.sh &
|
||||||
|
|
||||||
##LIBRARY DEBUG
|
##LIBRARY DEBUG
|
||||||
|
1
SD_ROOT/wz_mini/usr/bin/app.ver
Normal file
1
SD_ROOT/wz_mini/usr/bin/app.ver
Normal file
@ -0,0 +1 @@
|
|||||||
|
Wed Jul 13 06:01:39 PM PDT 2022
|
5
file.chk
5
file.chk
@ -3,9 +3,9 @@ d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/mnt/.gitignore
|
|||||||
28cf061770da7b83fbc3752c455a02c3 SD_ROOT/wz_mini/etc/dnsmasq.conf
|
28cf061770da7b83fbc3752c455a02c3 SD_ROOT/wz_mini/etc/dnsmasq.conf
|
||||||
34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config
|
34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config
|
||||||
ad7d1a2f9db3079617731b5854ce3b6a SD_ROOT/wz_mini/etc/init.d/wz_cam.sh
|
ad7d1a2f9db3079617731b5854ce3b6a SD_ROOT/wz_mini/etc/init.d/wz_cam.sh
|
||||||
4fa268615ba8103545b062ca403bd6e8 SD_ROOT/wz_mini/etc/init.d/wz_init.sh
|
7dadce0e93f83d3adbef52b75c393eb4 SD_ROOT/wz_mini/etc/init.d/wz_init.sh
|
||||||
52c9d41071b59825a9b8c66e55289f0d SD_ROOT/wz_mini/etc/init.d/wz_user.sh
|
52c9d41071b59825a9b8c66e55289f0d SD_ROOT/wz_mini/etc/init.d/wz_user.sh
|
||||||
24d3dbf789915507ce7aee7537ec0826 SD_ROOT/wz_mini/etc/init.d/wz_post.sh
|
d87991fe006c4dc0d554b1517d8f1b2c SD_ROOT/wz_mini/etc/init.d/wz_post.sh
|
||||||
e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab
|
e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab
|
||||||
840aa9c26726201f7cffbf001bee193a SD_ROOT/wz_mini/etc/uvc_jxf22.config
|
840aa9c26726201f7cffbf001bee193a SD_ROOT/wz_mini/etc/uvc_jxf22.config
|
||||||
d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/etc/rc.local.d/.gitignore
|
d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/etc/rc.local.d/.gitignore
|
||||||
@ -85,6 +85,7 @@ b339aee882a5d1c943ad08e4282ec3fd SD_ROOT/wz_mini/usr/bin/iCamera-dbg
|
|||||||
20b061689308b2cee7edf3b9b906bca7 SD_ROOT/wz_mini/usr/bin/ucamera
|
20b061689308b2cee7edf3b9b906bca7 SD_ROOT/wz_mini/usr/bin/ucamera
|
||||||
3777d9e80c8b517c01a124e6360b6525 SD_ROOT/wz_mini/usr/bin/imp_helper.sh
|
3777d9e80c8b517c01a124e6360b6525 SD_ROOT/wz_mini/usr/bin/imp_helper.sh
|
||||||
580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType
|
580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType
|
||||||
|
fc4bd4bc2cf30f35018b9f8641249d7a SD_ROOT/wz_mini/usr/bin/app.ver
|
||||||
4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar
|
4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar
|
||||||
9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so
|
9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so
|
||||||
4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so
|
4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so
|
||||||
|
10
generate_checksum.sh
Executable file
10
generate_checksum.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#set release date before generation
|
||||||
|
date > SD_ROOT/wz_mini/usr/bin/app.ver
|
||||||
|
|
||||||
|
rm -f file.chk
|
||||||
|
find SD_ROOT/ -type f -exec md5sum "{}" + > file.chk
|
||||||
|
|
||||||
|
#Ignore demo.bin
|
||||||
|
find v2_install -type f ! -name "demo.bin" -exec md5sum "{}" + >> file.chk
|
Loading…
Reference in New Issue
Block a user