[OpenWrt-Devel] [PATCH] lantiq: add support for ARV7506PW11 (Alice/O2 IAD 4421)

Oswald Buddenhagen oswald.buddenhagen at gmx.de
Thu May 19 17:04:06 EDT 2016


On Thu, May 19, 2016 at 06:19:35PM +0200, Mathias Kresin wrote:
> I found the pins to enter UART boot mode. Apply 3,3V to the right side
> of R65 and GND to the right side of R80.
>
:)

> R80 is partially hidden under the heatsink of the SoC.
> 
not in my case - clearly, the glueing of the heatsinks isn't exactly
precision work. in fact, only the crystal next to the ram stopped the
sink from sliding off entirely. :D

> 2016-05-18 23:00 GMT+02:00 Oswald Buddenhagen <oswald.buddenhagen at gmx.de>:
> > i'll do that if you don't beat me to it (which you can easily do if you
> > plan to seriously work on this - beyond email, this is a limited weekend
> > project for me).
> 
> From zero to working image in just a weekend. That is indeed amazing.
> 
well, i didn't say *one* weekend. ;)
i spent easily 50 hours on that project, though probably i could have
pulled it off in 5 hours if i had known what i'm doing. now i know more
about wifi drivers, pci busses and devicetrees than i ever wanted or
needed to. :D

but i really didn't start from zero - the dts at
https://wiki.openwrt.org/toh/arcadyan/arv7506 is almost complete, even
if broken in a most sinister way. ^^

> > i think i also know why rfkill doesn't work: i forgot to change the
> > keycode when i decided to switch the key's usage from wps to rfkill.
> > (facepalm)
> 
> That's something where I've a lack of knowledge. Where does the
> keycodes come from?
> 
it's in the devicetree. i sent an updated patch. it's not tested,
though.

> In the meantime I've added support for this board to u-boot, switched
> from brnboot to uImage and to a custom partitions layout with a
> firmware partition of 8128 KByte. Means, your image shrinking patches
> aren't required any more.
> 
cool.

> I haven't had a closer look to the OpenWrt image, but what I've
> noticed so far, is a not lit up WLAN led when the wireless is enabled.
> Does it work for you?
> 
not out of the box, iirc. i configured it to netdev/wlan0/link+tx+rx,
which works fine. this shouldn't be necessary, so a board case should be
probably added to /target/linux/lantiq/base-files/etc/board.d/01_leds.
just amend my patch and add a footer mentioning your co-authorship.

> Do you plan to work further on this patch or do you consider your
> weekend project as finished.
> 
i'll happily hand it off at this point.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list