[root@Ingenic-uc1_1:~]# cat /sys/kernel/debug/gpio
GPIOs 0-31, GPIO A:
gpio-6 (wifi) out hi
gpio-7 (speaker) out lo
gpio-8 ( ) out hi
gpio-9 (white indicator) out hi
gpio-10 (ircut) out lo
gpio-11 (ircut) out lo
gpio-14 (button) in hi
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
| Support Commands: | |
| GetAnrCfgInfo GetAnrProcess GetAnrRecordList | |
| ShowIpcAbility accessDvrSwitch channelPlayback | |
| clearDisksMode ctrlArchDebug decStat | |
| disableHB disableHik264 dspStatus | |
| dvrLogInfo dt enableHB | |
| enableHik264 enableWatchdog errputClose | |
| errputOpen get3GMode getCMS | |
| getCycleReboot getDbgCtrl getHardInfo | |
| getIp getLastErrorInfo getPlayTestCtrl |
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
| Support Commands: | |
| GetAnrCfgInfo GetAnrProcess GetAnrRecordList | |
| ShowIpcAbility accessDvrSwitch channelPlayback | |
| clearDisksMode ctrlArchDebug decStat | |
| disableHB disableHik264 dspStatus | |
| dvrLogInfo dt enableHB | |
| enableHik264 enableWatchdog errputClose | |
| errputOpen get3GMode getCMS | |
| getCycleReboot getDbgCtrl getHardInfo | |
| getIp getLastErrorInfo getPlayTestCtrl |
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
| mount -t debugfs none /sys/kernel/debug;cat /sys/kernel/debug/gpio | |
| ===================== | |
| GPIOs 0-31, GPIO A: | |
| gpio-8 (front touch btn ) in hi | |
| gpio-9 (spker ) out hi | |
| gpio-10 (wifi ) out hi | |
| gpio-11 (motor_gpioud_en ) out hi | |
| gpio-16 (grn led ) out hi |
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
| GPIOs 0-31, GPIO A: | |
| gpio-6 (? ) out hi | |
| gpio-12 (sda ) in hi | |
| gpio-13 (scl ) in hi | |
| gpio-18 (sc2336_reset ) out hi | |
| GPIOs 32-63, GPIO B: | |
| gpio-38 (BUTTON ) in hi | |
| gpio-39 (SPK ) out hi | |
| gpio-40 (BLUE LED ) out hi |
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/bash | |
| mkdir onvif_root | |
| cd onvif_root | |
| git clone https://github.com/libtom/libtomcrypt | |
| git clone https://github.com/roleoroleo/onvif_simple_server | |
| cd libtomcrypt | |
| CROSS_COMPILE=mipsel-linux- ccache make -f makefile -j$(nproc) | |
| cd ../onvif_simple_server/ | |
| mkdir extras/libtomcrypt/ |
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
| pct create 108 /var/lib/vz/template/cache/openwrt-23.05.3-x86-64-rootfs.tar.gz --arch amd64 --hostname OpenWrt-23.05.3 --rootfs sata:108 --memory 1024 --cores 2 --ostype unmanaged --unprivileged 1 |
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
| -port <int> | |
| -i2c <hex> | |
| -nrvbs <int> | |
| -st <sensor name> | |
| -string | |
| -fps <int> | |
| -audio | |
| -rc cbr/vbr/etc | |
| -w width |
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
| facing you: | |
| tx gnd rx 3v3 | |
| ========================== | |
| U-Boot SPL 2013.07 (Nov 18 2021 - 14:12:39) | |
| 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 |
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
| U-Boot SPL 2013.07 (Feb 19 2019 - 10:55:30) | |
| 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 |