Skip to content

Instantly share code, notes, and snippets.

View gtxaspec's full-sized avatar
😾
staring at the cat sleep

gtxaspec

😾
staring at the cat sleep
View GitHub Profile
@gtxaspec
gtxaspec / esp32-c6-rcp-how-to.md
Last active October 1, 2025 02:58
ESP32-C6 RCP how to

ESP32-C6 as OpenThread RCP - Setup Guide

Here's how to flash your ESP32-C6 to work as an RCP (Radio Co-Processor) with Home Assistant's OpenThread Border Router add-on.

Step 1: Clone and Setup ESP-IDF

mkdir ~/esp-openthread && cd ~/esp-openthread
git clone -b v5.4.2 --recursive https://github.com/espressif/esp-idf.git
cd esp-idf
LG:
Power
0000 006D 0022 0000 015B 00AE 0015 0016 0015 0017 0015 0041 0014 0017 0014 0017 0014 0017 0015 0016 0015 0016 0014 0043 0015 0041 0014 0017 0014 0042 0015 0042 0014 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0014 0043 0015 0016 0014 0017 0014 0017 0015 0016 0015 0042 0014 0043 0014 0043 0014 0017 0014 0043 0014 0041 0015 0042 0016 0041 0014 0180
Input
0000 006D 0022 0000 015B 00AC 0015 0017 0014 0016 0015 0043 0014 0017 0014 0017 0014 0016 0015 0017 0014 0017 0014 0043 0014 0043 0014 0016 0015 0043 0013 0042 0015 0041 0015 0041 0014 0043 0014 0043 0014 0043 0014 0017 0014 0043 0014 0017 0014 0016 0015 0017 0014 0016 0015 0017 0014 0017 0014 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0180 0000 006D 0002 0000 015B 0009 0062 0180
Exit
0000 006D 0022 0000 015A 00AE 0015 0017 0014 0017 0014 0043 0014 0017 0014 0017 0014 0017 0014 0017 0014 0016 0015 0041 0015 0041 0015 0016 0014 0043 0014 0043 0014 0043 0015 0042 0014 0043 0013 0041 0015 0041 0015 0016 0015 0041 0014 004
@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