-
Notifications
You must be signed in to change notification settings - Fork 275
Troubleshooting
Don't.
ssh into the camera and check iwconfig for "Link Quality".
There are two factors that can affect SD card detection during the boot sequence.
One is that the GPIO pins for powering the SD card slot and detecting the presence of a card are not set.
You can fix this by setting these pins in the environment.
You need to set at least the gpio_mmc_power and gpio_mmc_cd pins.
Another factor is that not every card is detected correctly. You can try different cards (different class, size, etc) to find the one that works.
Warning
Recording to an SD card on the camera will kill most of the cards pretty quickly!
This is most likely an extension of the above problem. If your camera cannot detect the SD card during boot, then none of these files can be accessed and processed by U-Boot.
Interrupt the boot process with Ctrl-C and get into the boot shell.
Once in the shell, set the GPIO pin to power up MMC bus, and reinsert the card.
Make sure it is recognized correctly and you can access the files
gpio clear 48;
mmc rescan;
mmcinfo;
fatls mmc 0;
then install the firmware as follows
setenv baseaddr 0x82000000;
setenv flashsize 0x1000000;
mw.b ${baseaddr} 0xff ${flashsize};
fatload mmc 0:1 ${baseaddr} autoupdate-full.bin;
sf probe 0; sf erase 0x0 ${flashsize};
sf write ${baseaddr} 0x0 ${filesize};
reset
You will still need to set the correct environment for your hardware. Interrupt the boot process once again, set the GPIO pin for MMC, check the card is recognized
gpio clear 48;
mmc rescan;
mmcinfo;
fatls mmc 0;
and import the environment settings from the file on the card
fatload mmc 0 ${baseaddr} uEnv.txt;
env import -t ${baseaddr} ${filesize};
saveenv;
reset
Alternatively, import the enviroment settings from within Lunux:
sed 's/=/ /' /mnt/mmcblk0p1/uEnv.txt > env.txt;
fw_setenv -s env.txt
Failsafe mode provides a safety net for systems that may encounter issues during the normal boot process. Accessible exclusively via UART console, this mode allows users to intervene manually before the system completes its regular startup sequence.
To enter failsafe mode, users must connect to the device through a UART interface. During the initial stages of boot, a prompt appears on the console:
Press the [f] key to enter failsafe mode
By pressing 'f' within this window, the boot process is halted, and the user is granted access to a minimal emergency shell. This shell can be used to perform troubleshooting tasks, modify system configurations, or recover from errors that prevent the system from booting correctly. If the failsafe mode is not invoked within the given timeframe, the system proceeds to boot normally. This feature is crucial for enabling system accessibility during scenarios where the system may not be operating properly during a normal boot.
thingino-diag
Upload diagnostics to the server (stored for 1 week):
thingino-diag -uUpload and get a JSON response with the link:
thingino-diag -jForce upload without the confirmation prompt:
thingino-diag -f -uUploaded diagnostics are sent to tb.thingino.com and stored for 1 week. The log may contain sensitive information — please review it before sharing.
You need to stop prudynt as a daemon and run it in foreground in console. Logging will go directly to the console. Level of logging is set in /etc/prudynt.cfg.
Look for the loglevel line.
Valid options can be found on here: https://github.com/gtxaspec/prudynt-t/raw/master/prudynt.cfg.example
- Wiki Home
- About the Project
- Getting Started
-
Supported Cameras
- Cameras
- 360 AP1PA3
- AliExpress LTIA‐37FJZ (Vanhua Z55 module)
- AOQEE C1
- Aosu C5L
- Cinnado
- Dekco DC5L
- Eufy
- Galayou/Wansview
- Hualai (Wyze/Atom/Neos/Personal)
- iFlytek XFP301‐M
- Jienuo JN-107-AR-E-WIFI
- Jooan A6M
- LaView L2
- LongPlus X07
- LSC 3215672
- Sannce I21AG
- Sonoff Cam‐S2 and B1P
- TP-Link Tapo C100/C110/C111
- Wuuk Y0510
- Xiaomi
- Configuration
- Integration
- Development