Operation of the original firmware
The firmware consists of 6 vandals:
| Partition Type | Role | |
|---|---|---|
| mtdblock0 | u-boot | Starting |
| mtdblock1 | Text Settings | |
| mtdblock2 | u-boot legacy uImage | Core linux |
| mtdblock3 | squashfs | / |
| mtdblock4 | squashfs | /ipc |
| mtdblock5 | jffs1 | /opt |
The first program executed is /linuxrc.
He launches /etc/init.d/rcS.
/etc/init.d/rcS launches /ipc/etc/auto_run.sh.
/ipc/etc/auto_run.sh Lanco /opt/etc/local.rc Before launching /ipc/app/jco_server.
/ipc/app/jco_server is the main program: It serves both rtsp server, server http, …
a>