Skip to content

Instantly share code, notes, and snippets.

View gtxaspec's full-sized avatar
😾
Support public media!

gtxaspec

😾
Support public media!
View GitHub Profile
@gtxaspec
gtxaspec / gist:0c1006d557ed7a7773017b46949717ef
Created August 28, 2023 09:20
openipc qrcode scan demo
#!/bin/sh
#PHONE DISPLAY SHOULD BE SET TO LOWEST BRIGHTNESS FOR QRSCAN TO WORK PROPERLY
CURL_BIN=$(which curl)
QRSCAN_BIN=$(which qrscan)
#Enable night mode for improved scanning
$CURL_BIN -s http://127.0.0.1/night/on
@gtxaspec
gtxaspec / gist:0ad1d4adfc6537b8eaa26001e2d61d49
Last active September 22, 2023 23:30
wyze v3 pro boot log
U-Boot SPL 2013.07 (Jun 22 2022 - 11:24:55)
apll_freq = 1000000000
mpll_freq = 1308000000
vpll_freq = 1008000000
epll_freq = 891000000
cpu clk source: apll
ddr clk source: mpll
DDR clk rate: 654000000
#!/bin/sh
#PHONE DISPLAY SHOULD BE SET TO LOWEST BRIGHTNESS FOR QRSCAN TO WORK PROPERLY
#qrencode 'WIFI:T:WPA;S:<ssid>;P:<ssidpw>;Z:America/Los_Angeles;' -l L -t png -o ~/Downloads/qr.png
CURL_BIN=$(which curl)
QRSCAN_BIN=$(which qrscan)
#Enable night mode for improved scanning
$CURL_BIN -s http://127.0.0.1/night/on
PAN v2
Feb 16 18:06:02 iCamera: [sdk,0204]dbg: Pin(38) Lvl(0) Dir(out)
Feb 16 18:06:02 iCamera: [sdk,0204]dbg: Pin(39) Lvl(1) Dir(out)
Feb 16 18:06:02 iCamera: [sdk,0204]dbg: Pin(50) Lvl(0) Dir(out)
Feb 16 18:06:02 iCamera: [sdk,0204]dbg: Pin(49) Lvl(0) Dir(out)
Feb 16 18:06:02 iCamera: [sdk,0204]dbg: Pin(60) Lvl(0) Dir(out)
Feb 16 18:06:02 iCamera: [sdk,0204]dbg: Pin(6) Lvl(1) Dir(in)
Feb 16 18:06:02 iCamera: [sdk,0204]dbg: Pin(47) Lvl(0) Dir(in)
@gtxaspec
gtxaspec / gist:df104700d41a91f4b5304a325327852e
Last active October 29, 2023 04:46
wyze v3pro flashing
---
## **Wyze V3 PRO Backup & Restore Guide**
### **Backup Procedure:**
#### **Disable the Boot Timeout:**
1. Launch the **Ingenic Cloner** program.
2. Connect the USB cable to the V3 Pro but leave the other end unplugged from your computer.
@gtxaspec
gtxaspec / mqtt-full.sh
Last active April 2, 2024 06:03
mqtt + openipc example
see https://github.com/gtxaspec/thingino-scripts
@gtxaspec
gtxaspec / gist:2bbe7ffcc50aaf894fe6fce153d59f8a
Created December 29, 2023 04:54
wyze doorbell v2 HL_DB2 boot log
U-Boot SPL 2013.07 (Mar 07 2023 - 15:38:04)
Timer init
CLK stop
PLL init
pll_init:366
pll_cfg.pdiv = 10, pll_cfg.h2div = 5, pll_cfg.h0div = 5, pll_cfg.cdiv = 1, pll_cfg.l2div = 2
nf=116 nr = 1 od0 = 1 od1 = 2
cppcr is 07405100
CPM_CPAPCR 0740510d
nf=100 nr = 1 od0 = 1 od1 = 2
OpenIPC U-Boot SPL 2013.07-gd3f866d-dirty (Jan 06 2024 - 15:54:12)
Timer init
CLK stop
PLL init
pll_init:399
pll_cfg.pdiv = 10, pll_cfg.h2div = 5, pll_cfg.h0div = 5, pll_cfg.cdiv = 1, pll_cfg.l2div = 2
fbdiv = 36 , refdiv = 1 , fdivq = 2 ,pllod = 1 range = 3
cppcr is 02300860
CPM_CPAPCR 0470484d
fbdiv = 38 , refdiv = 1 , fdivq = 2 ,pllod = 1 range = 3
@gtxaspec
gtxaspec / lxc-thingino-setup.sh
Last active March 29, 2024 23:25
thingino mipsle development container
see
https://github.com/gtxaspec/thingino-lxc
@gtxaspec
gtxaspec / gist:49797c59ddb707be1fa93565c2c008e2
Last active March 21, 2024 00:50
t30 bootlog JA-Q3H_T_MB_VB
GPIOs 0-31, GPIO A:
gpio-18 (sc1235_reset ) out hi
GPIOs 32-63, GPIO B:
gpio-49 (IRLED ) out lo
gpio-57 (sda ) in hi
gpio-58 (scl ) in hi
gpio-59 (mmc_detect ) in hi
gpio-61 (sysfs ) in hi
gpio-62 (sdio_wifi_power_on ) out hi