You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,3 +16,34 @@ Command | Description
16
16
```$ ./scripts/feeds/install device-manager``` | Install only the package device-manager
17
17
18
18
19
+
### Building CreatorKit packages using pre-compiled OpenWrt SDK for Ci40 (Marduk):
20
+
21
+
1. First download the latest SDK from https://downloads.creatordev.io/pistachio/marduk/ e.g. say OpenWrt-SDK-0.9.4-pistachio-marduk_gcc-5.2.0_musl-1.1.11.Linux-x86_64.tar.bz2 is the latest SDK available.
22
+
2. Extract the SDK and go to the extracted folder.
23
+
24
+
tar -xjvf OpenWrt-SDK-0.9.4-pistachio-marduk_gcc-5.2.0_musl-1.1.11.Linux-x86_64.tar.bz2
25
+
cd OpenWrt-SDK-0.9.4-pistachio-marduk_gcc-5.2.0_musl-1.1.11.Linux-x86_64.tar.bz2
26
+
3. Check whether the feeds.conf.default file has an entry of https://github.com/CreatorKit/openwrt-ckt-feeds.git
27
+
4. Update all the feeds and install the required one from openwrt-ckt-feeds. e.g. if you want to install just button-led-controller then
28
+
29
+
./scripts/feeds update -a
30
+
./scripts/feeds install button-led-controller
31
+
5. You can build just the specific package as
32
+
33
+
make package/button-led-controller/compile
34
+
6. Once the package is built successfully, it's .ipk files are generated in the bin/pistachio directory.
35
+
7. To copy the .ipk files on to the Ci40 board which is running the CreatorDev/openwrt image, you can either scp them or first copy them on a USB stick, connect the stick to the board, mount it and copy the files in /tmp folder.
9. However, please note that if a package requires some dependent packages, then those need to be installed first, only then a package can be installed using opkg. Since SDK is a stripped down version, Package.gz is not getting generated and opkg update would fail.
40
+
10. e.g. if you want change something in say "button-led-controller", then it would be good to install the default "button-led-controller" using opkg on the Vanila CreatorDev/Openwrt image first. i.e.
11. Now,to install your own version of "button-led-controller", you can remove the default version (it will keep intact the dependent packages though) and install your version.
0 commit comments