I (think) the AR8327 switch support now works
Milan Obuch
freebsd-mips at dino.sk
Sat Mar 1 19:05:50 UTC 2014
On Sat, 1 Mar 2014 09:07:42 -0800
Adrian Chadd <adrian at freebsd.org> wrote:
> Yeah, USB still doesn't work. I don't know why that is. :(
>
Well, I think some initialisation is not done - maybe multiplexed pin
setup is missing, maybe some gpio is used to activate something,
unfortunaltelly, no datasheet is available publicly for SoC used :(
> Are the flash IDs from Linux? I can commit those easily enough.
>
> Thanks,
>
No, I disassembled my box and then found datasheets for ICs found on
PCB - that's where I found those IDs. Then I found it looks like
working, however I could not verify it yet, because I did not reached
init launch/userland level yet.
With ethernet working, I would be able to do more (rootfs via nfs),
but this did not happen, yet.
> On 1 March 2014 05:36, Milan Obuch <freebsd-mips at dino.sk> wrote:
> > On Sat, 1 Mar 2014 02:06:49 -0800
> > Adrian Chadd <adrian at freebsd.org> wrote:
> >
> >> Hi,
> >>
> >> I think I just figured out the last bits of missing magic to get
> >> the AR8327 to work out of the box. VLANs just plain don't work
> >> yet, so don't ask me about that. Also if port 6 is hooked up to
> >> anything (it isn't on my DB120) then please let me know; I'd
> >> really like to debug that particular support.
> >>
On RB2011, at least some variant, SFP cage is connected here. Mine has
that. However, AR8327 is not recognised here, so this step need wait
until switch presence is detected...
> >> But, I'm now using my DB120 development board (AR9344, dual-band
> >> wifi and AR8327 switch) as an AP. I'll move to using it as my day
> >> to day access point and see what happens.
> >>
> >> Next - those mikrotik boards. And maybe Sean's DIR-825 rev C1.
> >>
> >>
> >> -a
> >>
> >
> > Hi,
> >
> > I am still not able to get ethernet working on Routerboard 2011L...
> > I did a fresh recompile with current HEAD sources, but neither
> > AR8327 nor AR8227 switch chip is recognised and properly
> > initialised. My setup is basically the same as in message sent in
> > December 8, 2013 - see
> > http://lists.freebsd.org/pipermail/freebsd-mips/2013-December/003182.html
> > although I experiment with various hints and configs, but based on
> > DB120 used as a reference point. It looks like something's
> > different...
> >
[ snip ]
> > I was able to modify mx25l.c so at least SPI flash is recognised
> > with following patch:
> >
> > Index: /data/src/11/sys/dev/flash/mx25l.c
> > ===================================================================
> > --- /data/src/11/sys/dev/flash/mx25l.c (revision 262653)
> > +++ /data/src/11/sys/dev/flash/mx25l.c (working copy)
> > @@ -110,6 +110,9 @@
> > { "SST25VF032B", 0xbf, 0x254a, 64 * 1024, 64, FL_ERASE_4K |
> > FL_ERASE_32K },
> > /* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
> > + { "w25x10", 0xef, 0x3011, 64 * 1024, 2, FL_ERASE_4K },
> > + { "w25x20", 0xef, 0x3011, 64 * 1024, 4, FL_ERASE_4K },
> > + { "w25x40", 0xef, 0x3011, 64 * 1024, 8, FL_ERASE_4K },
> > { "w25x32", 0xef, 0x3016, 64 * 1024, 64, FL_ERASE_4K },
> > { "w25q32", 0xef, 0x4016, 64 * 1024, 64, FL_ERASE_4K },
> > { "w25q64", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
> >
Regards,
Milan
More information about the freebsd-mips
mailing list