Packages containing statically linked arm binaries, specifically for deployment on Technicolor Gateway routers.
The /etc/opkg.conf
file must contain the architecture for your device.
Example for a 32 bit Technicolor device such as the Telstra Smart Modem Gen 2 and earlier generation devices:
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch all 1
arch noarch 1
arch arm_cortex-a9 10
arch arm_cortex-a9_neon 20
arch brcm63xx-tch 30
arch bcm53xx 40
The following line also needs to be added to /etc/opkg/customfeeds.conf
:
src/gz tch_static https://raw.githubusercontent.com/seud0nym/tch-static/master/repository/arm_cortex-a9/packages
Example for a 64 bit Technicolor device such as the Telstra Smart Modem Gen 3:
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature
dest lcm_native /opt/
arch all 1
arch noarch 1
arch arm_cortex-a53 10
arch aarch64_cortex-a53 20
The following line also needs to be added to /etc/opkg/customfeeds.conf
:
src/gz tch_static https://raw.githubusercontent.com/seud0nym/tch-static/master/repository/arm_cortex-a53/packages
Later versions of opkg
require the Package index file to signed. If you get a "Signature check failed" error when executing opkg update
, download and add the key file:
curl -sklO https://raw.githubusercontent.com/seud0nym/tch-static/master/keys/seud0nym-public.key
opkg-key add seud0nym-public.key
rm seud0nym-public.key
Each package to be compiled is configured through a script in the scripts
folder. Each script must be named the same as the target package, and must contain the required variables and functions prefixed by the script name.
The binaries were built using the build.sh
script on a Raspberry Pi Zero 2 W running Debian bookworm (Diet-Pi).
The individual OpenWrt opkg .ipk files are built using an adapted version of the make-ipk.sh
from https://bitsum.com/creating_ipk_packages.htm, which is executed automatically by build.sh
.