Posts

Showing posts from December, 2017

Build and Flash OpenWrt for Raspberry Pi

Image
OpenWrt is an open source project for embedded operating system based on Linux, primarily used on embedded devices to route network traffic. [ 1 ] In this post, I will write about how to get the OpenWrt source, compile it for your Raspberry Pi board type and flash the SD card with the generated image. First of all, you need a Linux build environment installed with the requirements needed to build the OpenWrt. I use Ubuntu 14.04. In the market, there are 4 types of Raspberry Pi boards. Type 1, 2, 3 and Zero. OpenWrt's latest trunk branch supports all of these types. I will go through trunk. Check out the source: git clone git://github.com/openwrt/openwrt.git This will create a directory called "openwrt" in your current directory. Go inside this directory and run make package/symlinks command. msezgin@ubuntu:~/openwrt/make package/symlinks Now, we need to do the configuration before starting the build. msezgin@ubuntu:~/openwrt/make menuconfig ...