Initial commit
This commit is contained in:
@@ -0,0 +1,138 @@
|
||||
# YoloCam S3 Device Access
|
||||
|
||||
Technical reference for direct device access to the YoloCam S3 via Telnet and FTP
|
||||
over the CDC NCM USB network interface.
|
||||
|
||||
## Network Setup
|
||||
|
||||
The camera exposes a CDC NCM (USB Ethernet) adapter alongside the UVC video interface.
|
||||
When plugged in, the host system should auto-configure via DHCP.
|
||||
|
||||
| Role | IP Address | Subnet |
|
||||
|------|------------|--------|
|
||||
| Camera | 192.168.126.10 | /24 |
|
||||
| Host | 192.168.126.11 | /24 |
|
||||
|
||||
If DHCP fails, configure manually:
|
||||
|
||||
```bash
|
||||
sudo ip link set usb0 up
|
||||
sudo ip addr add 192.168.126.11/24 dev usb0
|
||||
ping 192.168.126.10
|
||||
```
|
||||
|
||||
## Services
|
||||
|
||||
| Port | Protocol | Service | Credentials |
|
||||
|------|----------|---------|-------------|
|
||||
| 21 | TCP | FTP (BusyBox ftpd) | root / yunxi.tv |
|
||||
| 23 | TCP | Telnet | root / yunxi.tv |
|
||||
| 12345 | TCP | Camera control (protobuf) | None |
|
||||
|
||||
## Telnet Access
|
||||
|
||||
```bash
|
||||
telnet 192.168.126.10
|
||||
# Login: root
|
||||
# Password: yunxi.tv
|
||||
```
|
||||
|
||||
The shell is BusyBox ash. Standard coreutils are available as BusyBox applets.
|
||||
|
||||
### Hardware
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| SoC | HiSilicon HI3519DV500 |
|
||||
| Architecture | aarch64 |
|
||||
| C library | musl libc |
|
||||
| OS | BusyBox Linux |
|
||||
| Firmware | YunxiCamera-ch131b-0.0.6 |
|
||||
|
||||
### Filesystem Layout
|
||||
|
||||
```
|
||||
/app/bin/live_camera_app Main camera application (aarch64 ELF)
|
||||
/app/ Application directory
|
||||
/app_data/tuning/ Persistent tuning files (CLUT, scene presets)
|
||||
/tmp/ Temporary runtime files
|
||||
```
|
||||
|
||||
CLUT files are persisted as `/app_data/tuning/clut_{version}_{scene_id}.info` where
|
||||
version and scene_id are integers (typically `clut_0_0.info`).
|
||||
|
||||
### Camera Application Management
|
||||
|
||||
The camera application (`live_camera_app`) handles all protocol communication, video
|
||||
encoding, and ISP pipeline control. It binds TCP port 12345 for the control protocol.
|
||||
|
||||
**Check if running:**
|
||||
```
|
||||
ps | grep live_camera
|
||||
```
|
||||
|
||||
**Restart the application:**
|
||||
```
|
||||
killall live_camera_app
|
||||
/app/bin/live_camera_app &
|
||||
```
|
||||
|
||||
Restarting is the primary recovery method when the camera stops responding to protocol
|
||||
commands (typically caused by rapid-fire requests overwhelming the application).
|
||||
|
||||
**View application output:**
|
||||
```
|
||||
/app/bin/live_camera_app
|
||||
```
|
||||
|
||||
Running in the foreground prints ISP and protocol debug messages to the console.
|
||||
|
||||
### System Information
|
||||
|
||||
```
|
||||
cat /proc/cpuinfo # SoC details
|
||||
cat /proc/meminfo # RAM usage
|
||||
cat /proc/version # Kernel version
|
||||
df -h # Disk usage
|
||||
mount # Mounted filesystems
|
||||
ifconfig # Network interfaces
|
||||
```
|
||||
|
||||
## FTP Access
|
||||
|
||||
FTP provides read/write access to the camera filesystem. Useful for downloading
|
||||
tuning files, logs, or firmware images.
|
||||
|
||||
```bash
|
||||
ftp 192.168.126.10
|
||||
# User: root
|
||||
# Password: yunxi.tv
|
||||
```
|
||||
|
||||
Or with a command-line client:
|
||||
|
||||
```bash
|
||||
lftp -u root,yunxi.tv 192.168.126.10
|
||||
```
|
||||
|
||||
### Common FTP Operations
|
||||
|
||||
**Download a CLUT tuning file:**
|
||||
```
|
||||
get /app_data/tuning/clut_0_0.info
|
||||
```
|
||||
|
||||
**Browse the application directory:**
|
||||
```
|
||||
ls /app/bin/
|
||||
```
|
||||
|
||||
## Caveats
|
||||
|
||||
- The camera has limited resources. Avoid running memory-intensive commands via telnet.
|
||||
- Writing to flash storage (`/app/`, `/app_data/`) persists across reboots. Be careful
|
||||
with modifications to these paths.
|
||||
- `/tmp/` is a tmpfs and is cleared on reboot.
|
||||
- The telnet and FTP services are always active on the CDC NCM interface. There is no
|
||||
way to disable them without modifying the firmware.
|
||||
- All access is as root with no privilege separation.
|
||||
Reference in New Issue
Block a user