Skip to content
mozzwald edited this page Mar 4, 2017 · 1 revision

Build openwrt-zipit from source

Instructions for building openwrt-zipit with the openwrt build system are available in the GitHub README

Compiling on the Zipit

gcc is available as a package but installing it directly from the repo will fail due to it's ~25MB size. You can, however, wget the package to your sdcard and install it from there:

 wget http://mozzwald.com/zipit/openwrt/bleeding_edge/packages/packages/gcc_5.4.0-1_pxa.ipk
 opkg install gcc_5.4.0-1_pxa.ipk

I also have the libs and includes used by the openwrt build system available here (~124MB) as a tarball that can be put on your sdcard for linking against.

You probably want to create a swap file if building larger programs on the Zipit. The following will create and activate a 64MB swapfile:

 dd if=/dev/zero of=/swapfile.64 bs=1024 count=65536
 mkswap /swapfile.64
 swapon /swapfile.64

Clone this wiki locally