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 / wansview-q5.md
Created March 25, 2025 18:39
wansview q5 t23 bootlog
[root@Ingenic-uc1_1:~]#         cat /sys/kernel/debug/gpio
GPIOs 0-31, GPIO A:
 gpio-6   (sysfs               ) out hi
 gpio-18  (sc2337p_reset       ) out hi

GPIOs 32-63, GPIO B:
 gpio-38  (gpioCtrl            ) in  hi
 gpio-39  (gpioCtrl            ) out hi
 gpio-40  (gpioCtrl            ) out lo
U-Boot SPL 2013.07 (Aug 01 2024 - 11:20:18)
chip type is A1N

apll_freq = 1104000000 
mpll_freq = 1500000000 
vpll_freq = 1200000000 
epll_freq = 1500000000
cpu clk source: apll
ddr clk source: mpll
@gtxaspec
gtxaspec / wuuk_0910_t41_bootlog.md
Created February 27, 2025 03:38
wuuk 0910 bootlog

U-Boot SPL 2013.07 (Sep 14 2023 - 13:47:16)
Board info: T41NQ

apll_freq = 1008000000 
mpll_freq = 1200000000 
vpll_freq = 1188000000 
sdram init start
DDR clk rate 600000000
@gtxaspec
gtxaspec / vanhua-t40-nand.md
Created January 31, 2025 05:45
vanhua t40 nand
isvp_t40# printenv
baudrate=115200
bootargs=console=ttyS1,115200n8 mem=128M@0x0 nmem=28M@0x8000000 rmem=100M@0x9C00000 ip=off root=/dev/ram rw rdinit=/linuxrc mtdparts=sfc_nand:1M(uboot),1M(factory),8M(config),6M(kernel),28M(appfs),84M(smart)
bootcmd=nand read 0x80600000 0xa00000 0x600000;bootm 0x80600000
bootdelay=1
ethact=Jz4775-9161
ethaddr=be:60:75:4e:16:3e
ipaddr=169.254.118.188
loads_echo=1
@gtxaspec
gtxaspec / ezviz_cs_my3_3why_log.md
Created January 29, 2025 10:19
ezviz_cs_my3_3why
normal boot, boot to uboot...


U-Boot 2013.07 (Aug 17 2021 - 11:21:10)

Board: ISVP (Ingenic XBurst T31 SoC)
DRAM:  128 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 511k for U-Boot at: 83f80000
@gtxaspec
gtxaspec / thingino-nfs.md
Last active November 27, 2025 11:32
thingino-nfs.md

Automating Camera Behavior with Thingino and rc.local

In a Thingino-powered network setup, every camera can be configured to automatically register via MQTT and record video directly to an NFS share using a small script added to /etc/rc.local on each device. This approach centralizes control and customization, allowing you to modify behavior for all cameras from a single server.

This file can be included in each firmware build by including the modified rc.local file in thingino-firmware/overlay/upper/etc/rc.local


Setup Overview

@gtxaspec
gtxaspec / galayou-g7-bootlog.md
Last active December 7, 2024 06:49
galayou g7 logs

gpio


GPIOs 0-31, GPIO A:
 gpio-6   (not used           ) out hi
 gpio-7   (speaker            ) out hi
 gpio-14  (button             ) in  hi
 gpio-16  (ircut              ) out hi
 gpio-17  (ircut              ) out hi
 gpio-18  (sc2336_reset       ) out hi
@gtxaspec
gtxaspec / hamedal-c20.md
Last active December 5, 2024 19:08
hamedal c20 video conferencing camera logs
[root@Ingenic-uc1_1:system]# cat /sys/kernel/debug/gpio 
GPIOs 0-31, GPIO A:
 gpio-18  (gc2053_reset        ) out hi

GPIOs 32-63, GPIO B:
 gpio-32  (key1_button         ) in  lo
 gpio-33  (key2_button         ) in  lo
 gpio-34  (key3_button         ) in  lo
 gpio-35  (key4_button         ) in  lo
@gtxaspec
gtxaspec / wansview-info.md
Last active November 29, 2024 23:46
wansview web cam dump t31n
[root@Ingenic-uc1_1:bin]# cat /sys/kernel/debug/gpio
GPIOs 0-31, GPIO A:

GPIOs 32-63, GPIO B:
 gpio-51  (sw9714_xsd          ) out hi
 gpio-53  (led_r               ) out lo
 gpio-57  (sda                 ) in  lo
 gpio-58  (scl                 ) in  lo
 gpio-63  (gpio_spk_en         ) in  lo
@gtxaspec
gtxaspec / S97stream-watchdog.sh
Last active November 8, 2024 07:52
prudynt_watchdog
#!/bin/sh
. /etc/init.d/rc.common
ENABLED=false
INTERVAL=60
RTSP_URL="rtsp://thingino:thingino@127.0.0.1/ch0"
RETRY_COUNT=3 # Number of retries before declaring the stream down
RETRY_DELAY=10 # Delay in seconds between retry attempts
RESTART_LIMIT=3 # Maximum number of restarts before alerting