Installing Software » History » Version 2
laforge, 10/11/2019 12:21 PM
attachment link
1 | 1 | laforge | h1. Installing Software |
---|---|---|---|
2 | |||
3 | If you want to install additional software on Linux inside the modems, there are many different options: |
||
4 | |||
5 | h2. Use OE to build a cross-compiler / SDK |
||
6 | |||
7 | This way you first use OE to build a cross-compiler matching your target platform (based on the OE recipes released by Qualcomm, Quetel or Sierra Wireless) and then use that cross compiler to build the additional software. |
||
8 | |||
9 | You will end up with binaries of the libraries + executables which you need to copy to the target device. |
||
10 | |||
11 | h2. Use OE to build packages |
||
12 | |||
13 | This is the preferred method. You can create your own feed of packages (or use other third-party package feeds) and use the @opkg@ tool to install additional packages. |
||
14 | |||
15 | h3. Adding opkg to the EC20 |
||
16 | |||
17 | On the [[EC20]], Quectel ships the packaging information in @/var/lib/opkg@, but has removed the opkg program from the firmware itself. You can re-add opkg by doing the following: |
||
18 | |||
19 | 2 | laforge | * extract the data.tar.gz from the following packages (you can use attachment:ipk2tgz.sh): |
20 | 1 | laforge | ** @libopkg1_0.1.8+svnr633-r7.0_armv7a-vfp-neon.ipk@ |
21 | ** @opkg_0.1.8+svnr633-r7.0_armv7a-vfp-neon.ipk@ |
||
22 | ** @opkg-config-base_1.0-r0_9615_cdp.ipk@ |
||
23 | * copy them to the modem using @adb push@ |
||
24 | * extract them to the root directory of the modem |
||
25 | |||
26 | If you're successful, you can use @opkg-cl list-installed@ to get a list of the already installed packages on your modem. |
||
27 | |||
28 | Adding more software is straight-forward by simply installing the .ipk files using @opkg-cl install@ or by going as far as to generating your own package feed and adding its URL to /etc/opkg/ configuration. |