OpenWRT image for Raspberry Pi with IBR-DTN.
Steps to reproduce:
(This is an abridged version of OpenWRT Buildroot – Installation and Usage)
-
Get a fast machine with at least ~10 GB of free space.
-
For Raspberry Pi 1 and 2, you can use the latest release, 15.05 “Chaos Calmer”:
git clone git://git.openwrt.org/15.05/openwrt.git openwrt
cd openwrt
Support for the Raspberry Pi 3 is still unreleased, you'll need at least r48967 (March 8 2016):
git clone git://git.openwrt.org/openwrt.git
cd openwrt
-
Get the software packages:
./scripts/feeds update -a; ./scripts/feeds install -a
-
Paste one of the following snippets to the file
.config
:-
For Raspberry Pi 1, Zero or Compute Module:
CONFIG_TARGET_brcm2708=y CONFIG_TARGET_brcm2708_bcm2708=y CONFIG_TARGET_brcm2708_bcm2708_RaspberryPi=y CONFIG_TARGET_ROOTFS_PARTSIZE=450 CONFIG_PACKAGE_busybox=y CONFIG_BUSYBOX_CUSTOM=y CONFIG_BUSYBOX_CONFIG_TELNETD=n CONFIG_PACKAGE_pptpd=n CONFIG_PACKAGE_ppp=n CONFIG_PACKAGE_ibrdtn-tools=y CONFIG_PACKAGE_ibrdtnd=y CONFIG_IMAGEOPT=y CONFIG_VERSIONOPT=y CONFIG_VERSION_FILENAMES=y
-
For Raspberry Pi 2:
CONFIG_TARGET_brcm2708=y CONFIG_TARGET_brcm2708_bcm2709=y CONFIG_TARGET_brcm2708_bcm2709_RaspberryPi2=y CONFIG_TARGET_ROOTFS_PARTSIZE=450 CONFIG_PACKAGE_busybox=y CONFIG_BUSYBOX_CUSTOM=y CONFIG_BUSYBOX_CONFIG_TELNETD=n CONFIG_PACKAGE_pptpd=n CONFIG_PACKAGE_ppp=n CONFIG_PACKAGE_ibrdtn-tools=y CONFIG_PACKAGE_ibrdtnd=y CONFIG_IMAGEOPT=y CONFIG_VERSIONOPT=y CONFIG_VERSION_FILENAMES=y
-
For Raspberry Pi 3:
CONFIG_TARGET_brcm2708=y CONFIG_TARGET_brcm2708_bcm2710=y CONFIG_TARGET_brcm2708_bcm2710_RaspberryPi_3=y CONFIG_TARGET_ROOTFS_PARTSIZE=450 CONFIG_PACKAGE_busybox=y CONFIG_BUSYBOX_CUSTOM=y CONFIG_BUSYBOX_CONFIG_TELNETD=n CONFIG_PACKAGE_pptpd=n CONFIG_PACKAGE_ppp=n CONFIG_PACKAGE_ibrdtn-tools=y CONFIG_PACKAGE_ibrdtnd=y CONFIG_IMAGEOPT=y CONFIG_VERSIONOPT=y CONFIG_VERSION_FILENAMES=y
-
-
make defconfig; make world
- optionally: use
make -j world
to build packages in parallel
- optionally: use
-
Get a coffee. Or two. Or like SuSE says: Have a lot of fun.
-
You'll find the SD Card image in
bin/brcm2708/
:openwrt-15.05.1-brcm2708-bcm2708-sdcard-vfat-ext4.img
for Raspberry Pi 1/Zero/CMopenwrt-15.05.1-brcm2708-bcm2709-sdcard-vfat-ext4.img
for Raspberry Pi 2openwrt-r49395-brcm2708-bcm2710-sdcard-vfat-ext4.img
(or similarrXXXXX
) for Raspberry Pi 3