Pārlūkot izejas kodu

flash kernel when upgrading v2

Alfonso Gamboa 3 gadi atpakaļ
vecāks
revīzija
4e1b1c1a60
3 mainītis faili ar 7 papildinājumiem un 2 dzēšanām
  1. 1 1
      README.md
  2. 5 0
      SD_ROOT/wz_mini/bin/upgrade-run.sh
  3. 1 1
      file.chk

+ 1 - 1
README.md

@@ -381,7 +381,7 @@ If there are any line differences between the old `wz_mini.conf` and the new rel
 
 ## Latest Updates
 
-* 06-16-22:  fix scp client bug, allow user modifications to app_init, updated initramfs script, moved upgrade-run to PATH, revised kernel module paths, added ENABLE_RTL8189FS_DRIVER option for v2/v3, updated kernels for v2/v3.
+* 06-16-22:  fix scp client bug, allow user modifications to app_init, updated initramfs script, moved upgrade-run to PATH, revised kernel module paths, added ENABLE_RTL8189FS_DRIVER option for v2/v3, updated kernels for v2/v3. ( NOTE: this is a major upgrade, file names for the init scripts have changed )
 * 06-14-22:  Updated v4l2rtspserver, fixes to prevent rare low memory situations and RTSP server crashes, fixed intermittant failed RTSP HD stream, script logic updates.
 * 06-12-22:  Added additional audio variables for tuning in libcallback, various bug fixes in wz_user.  Added `gather_wz_logs.sh` script for users to share debug logs.
 * 06-07-22:  Added support to tune IMP video and audio options in libcallback.

+ 5 - 0
SD_ROOT/wz_mini/bin/upgrade-run.sh

@@ -105,6 +105,11 @@ if [[ "$V2" == "true" ]]; then
 
 echo UPGRADE MODE
 
+if [[ "$V2" == "true" ]]; then
+	echo "Upgrading kernel"
+	flashcp -v /opt/Upgrade/wz_mini_hacks-master/v2_install/v2_kernel.bin /dev/mtd1
+fi
+
 umount -l /opt/wz_mini/tmp
 ls -l /opt/wz_mini/
 rm -rf /opt/wz_mini/*

+ 1 - 1
file.chk

@@ -49,7 +49,7 @@ a8970288e72c871bff6a4484f1e733d6  SD_ROOT/wz_mini/bin/readelf
 41b56bb30f02bce5f5e2598073151e16  SD_ROOT/wz_mini/bin/ffmpeg
 e37474a12d76cae16336476cba61e8b8  SD_ROOT/wz_mini/bin/neofetch
 7fcc716cda1e024dae1045050a135beb  SD_ROOT/wz_mini/bin/audioplay_t31
-e09592fef2eb1555bb2e531af81ec0d8  SD_ROOT/wz_mini/bin/upgrade-run.sh
+382c37ab3ba1e4b2d0d9c3c4110809d4  SD_ROOT/wz_mini/bin/upgrade-run.sh
 e6a6a9dd8ce138686083a3d4303cea40  SD_ROOT/wz_mini/bin/iperf3
 0468ffb319707687557353242a518923  SD_ROOT/wz_mini/bin/wg
 65510c6c4d0db4b4679fc92d1c617fdd  SD_ROOT/wz_mini/bin/rtmp-stream.sh