[OpenWrt-Devel] [PATCH v3] ramips: Add support for Head Weblink HDRM200

Kristian Evensen kristian.evensen at gmail.com
Wed May 15 03:34:48 PDT 2019


Hi Petr,

Thanks for your feedback.

On Wed, May 15, 2019 at 12:17 PM Petr Štetiar <ynezz at true.cz> wrote:
> > In order to install OpenWRT, you first need to compile an initramfs
> > (ramdisk)-image for the device.
>
> This is no longer valid, right?

Correct, will remove it for v4.

>
> > --- a/target/linux/ramips/base-files/etc/board.d/01_leds
> > +++ b/target/linux/ramips/base-files/etc/board.d/01_leds
> > @@ -184,6 +184,9 @@ hc5861)
> >       ucidef_set_led_netdev "wifi5g" "wifi5g" "$boardname:blue:wlan5g" "wlan0"
> >       ucidef_set_led_netdev "wifi2g" "wifi2g" "$boardname:blue:wlan2g" "wlan1"
> >       ;;
> > +head-weblink,hdrm200)
> > +     set_wifi_led "$boardname:green:wifi"
> > +     ;;
>
> this could be grouped with other devices.

Thanks for spotting this.

> so if I'm counting it right, you should probably remove i2c.

If I have understood the datasheet correctly, then i2c is required for
two of the GPIOs exported in 03_gpio_switches (io1/GPIO#1 and
io2/GPIO#2).

BR,
Kristian



More information about the openwrt-devel mailing list