Dockerized OpenWrt buildroot specialized for building Unum for OpenWrt on CircleCI
285
Build OpenWrt images and packages using a preconfigured buildroot inside Docker containers.
This repository is used to build an OpenWrt buildroot in stages, first building the reusable toolchain for a specific hardware platform, then building the final OpenWrt firmware images and Unum installation packages for a specific device.
For example, use the minimsecure/openwrt-builder:ar71xx Docker image
to build an OpenWrt firmware image for GL.iNet AR300M:
# Build
docker run --name=openwrt-ar71xx -it \
minimsecure/openwrt-builder:ar71xx \
make gl_ar300m
# Copy the newly built OpenWrt firmware images and Unum .ipk onto the host
docker cp openwrt-ar71xx:/builder/build/out/* .
ar71xxdocker run minimsecure/openwrt-builder:ar71xx
ipq40xxdocker run minimsecure/openwrt-builder:ipq40xx
mvebu-cortexa9docker run minimsecure/openwrt-builder:mvebu-cortexa9
Three files must exist for each device supported, all inside the platforms/
directory.
In the list below, replace <chipset> with the chipset name and
<device> with a short name (no spaces) representing your device.
For example, ar71xx and archer_c7_v4 as chipset and device, respectively.
<chipset>.config.seed contains the default build configuration for a
target chipset without any specific devices
enabled.<device>.baseconfig must be a symlink to the appropriate
<chipset>.config.seed file.<device>.diffconfig should contain any changes needed for a specific
device. Usually this requires only selecting the device and setting the
product name.Content type
Image
Digest
Size
1.2 GB
Last updated
over 6 years ago
docker pull minimsecure/openwrt-builder:ar71xx