OpenWRT: Difference between revisions

From Leo's Notes
This page was last edited on 26 August 2018, at 06:05.
Created page with " == Hardware == === Raspberry Pi 2 v1.2 === OpenWRT does not list an official image for the Raspberry Pi 2 v1.2 board. Neither the Pi 3 or Pi 2 image works. This is because th..."
 
No edit summary
Line 9: Line 9:


A copy can be found at https://github.com/raspberrypi/firmware/raw/master/boot/bcm2710-rpi-3-b.dtb to bcm2709-rpi-2-b.dtb.
A copy can be found at https://github.com/raspberrypi/firmware/raw/master/boot/bcm2710-rpi-3-b.dtb to bcm2709-rpi-2-b.dtb.
=== Buffalo WZR-600HP ===
Flashing OpenWRT from DD-WRT was very straight forward. There is an issue with getting USB working however.
Links:
* Installation: https://wiki.openwrt.org/toh/buffalo/wzr-600dhp#installation_using_the_remote_shell_method
* Firmware: https://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/generic/openwrt-18.06.1-ar71xx-generic-wzr-600dhp-squashfs-sysupgrade.bin
{{highlight|lang=terminal|code=
# cd /tmp
# scp foo@host:~/openwrt-18.06.1-ar71xx-generic-wzr-600dhp-squashfs-sysupgrade.bin .
# mtd -r write openwrt-18.06.1-ar71xx-generic-wzr-600dhp-squashfs-sysupgrade.bin linux
## This may take about 1-2 minutes, and the -r will automatically reboot the device
USB support?
* opkg install kmod-usb-ohci kmod-usb2

Revision as of 06:05, 26 August 2018

Hardware

Raspberry Pi 2 v1.2

OpenWRT does not list an official image for the Raspberry Pi 2 v1.2 board. Neither the Pi 3 or Pi 2 image works. This is because the Raspberry Pi 2 v1.2 board uses the bcm2710 SOC (same as the Pi 3) but both images don't properly handle the Pi 2 v1.2 board and as such, both versions fail to boot.

To get OpenWRT to work on this board, image the SD card with the bcm2710 image (the Pi 3 version) and then:

  1. Mount /boot
  2. Copy bcm2710-rpi-3-b.dtb to bcm2709-rpi-2-b.dtb

A copy can be found at https://github.com/raspberrypi/firmware/raw/master/boot/bcm2710-rpi-3-b.dtb to bcm2709-rpi-2-b.dtb.

Buffalo WZR-600HP

Flashing OpenWRT from DD-WRT was very straight forward. There is an issue with getting USB working however.

Links:

{{highlight|lang=terminal|code=

  1. cd /tmp
  2. scp foo@host:~/openwrt-18.06.1-ar71xx-generic-wzr-600dhp-squashfs-sysupgrade.bin .
  3. mtd -r write openwrt-18.06.1-ar71xx-generic-wzr-600dhp-squashfs-sysupgrade.bin linux
    1. This may take about 1-2 minutes, and the -r will automatically reboot the device

USB support?

  • opkg install kmod-usb-ohci kmod-usb2