nexx wt3020h

Stanislav Galabov sgalabov at gmail.com
Tue Nov 1 14:56:34 UTC 2016


> On Nov 1, 2016, at 16:40, Sean Bruno <sbruno at freebsd.org> wrote:
> 
> 
> 
> On 11/01/16 02:11, Борис wrote:
>> Hi, is it possible to build FreeBSD image for nexx wt3020h https://wiki.openwrt.org/toh/nexx/wt3020
>> and where i can find actual step by step howto? Thanks.
>> 
>> 
> This CPU seems to be supported in sys/mips/mediatek/mtk_soc.c
> 
> It looks like you need to get the TTL serial port setup first,
> https://wiki.openwrt.org/_detail/media/nexx/wt3020/wt3020a_serial_ttl.jpg?id=toh%3Anexx%3Awt3020
> 
> Then you will want to use the freebsd-wifi build tools to get a small
> image (USB image as the flash is too small to boot up FreeBSD).
> 
> https://github.com/freebsd/freebsd-wifi-build
> 
> Nobody has booted this device on FreeBSD as far as I can tell.
> 
> You will need to construct a new kernel config (sys/mips/conf) and a new
> freebsd-wifi build configuration to boot from a usb image.  Its a fun
> project, but you will need to do some work.
> 
> sean
> 

MT7620N based boards should boot just fine. I have tested with one while developing the mediatek support.

It looks like you’ll need the WT3020-8M.dts file found in sys/gnu/dts/mips and use that when building with freebsd-wifi-build.
I am not sure if we’ll detect the full 64MB RAM - this would depend on U-Boot installed on the board. In case we only detect 32MB you’ll have to tweak the dts file a little, but let’s take this one step at a time.

I don’t think you’ll have to tweak anything in the kernel config - just tell freebsd-wifi-build to build you an image for ralink WT3020-8M.dts:
build ralink WT3020-8M.dts

This, as far as I remember, should be a good starting point.

Best wishes,
Stanislav


More information about the freebsd-mips mailing list