[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
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
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
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
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
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
[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
[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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |