RPI
Build instructions: https://wiki.openwrt.org/doc/howto/build
Notes:
The image is to be written directly to the card device, not to a single partition, as it contains two partitions. You should resize partition 2 (an ext4 filesystem) after writing the image to utilize the full size of the card.
After booting, you need to configure the image to use our respository for packages:
sed \
-e "s+http://downloads.lede-project.org/releases/17.01.4/targets/brcm2708/bcm2709/packages+http://openwrt.innovatio
ngarage.no/targets/brcm2708/bcm2709/packages+g" \
-e "s+http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a7_neon-vfpv4+http://openwrt.innovatio
ngarage.no/packages/arm_cortex-a7_neon-vfpv4+g" \
-i /etc/opkg/distfeeds.conf
You also need to install our build key:
wget http://openwrt.innovationgarage.no/key-build.pub
opkg-key add key-build.pub
Packages: http://openwrt.innovationgarage.no/packages/arm_arm1176jzf-s_vfp SD-card image: http://openwrt.innovationgarage.no/targets/brcm2708/bcm2708/lede-brcm2708-bcm2708-rpi-ext4-sdcard.img
Packages: http://openwrt.innovationgarage.no/packages/arm_cortex-a7_neon-vfpv4/ SD-car image: http://openwrt.innovationgarage.no/targets/brcm2708/bcm2709/lede-brcm2708-bcm2709-rpi-2-ext4-sdcard.img.gz
opkg install kmod-usb-net-asix
Hack to work around https://bugs.openwrt.org/index.php?do=details&task_id=893&opened=50&status%5B0%5D= / openwrt/packages#4983
Edit package/kernel/linux/modules/usb.mk. Inside "define KernelPackage/usb-net", delete the "AUTOLOAD:=..." line. Then compile everything or just linux (make package/kernel/linux/compile).