Actions
Update STB firmware » History » Revision 3
« Previous |
Revision 3/4
(diff)
| Next »
Alex Seferidis, 07/21/2025 10:08 AM
Update STB firmware¶
The device has 4 partitions
- /dev/mmcblk0p1 (Uboot)
- /dev/mmcblk0p2 (Kernel)
- /dev/mmcblk0p3 (Rootfs)
- /dev/mmcblk0p4 (Data partition /data)
On device:
On data partition there is a folder /data/firmware (web pages, DS application, IPTV application and executables lemcoplayer, externalplayer)
When we do firmware update on the device, this folder is overwritten with new files.
If we need to change or copy new library files to roots then we copy these files to /data/firmware/htdocs/python and init_system.py script copy these files to rootfs
To create new firmware:
- we change source code files (web files, QT application, External player, init_system script)
- change the file /firmware/htdocs/version.txt
- copy new files to Ubuntu20desk virtual machine
- execute from /home/STB folder:
tar -cvf application.img firmware/
- copy application.img to https://update.lemco.tv (inside STB folder)
- if there is new kernel, copy boot.img
- change versions.txt on this location (update.lemco.tv, stb folder)
- Now the device can be updated (open web page, and go to firmware menu)
- init_system script will download the new file and extract it to /data/firmware

Updated by Alex Seferidis 5 months ago · 3 revisions