Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2016 16:56:30 +0200
From:      Stanislav Galabov <sgalabov@gmail.com>
To:        Sean Bruno <sbruno@freebsd.org>
Cc:        Stanislav Galabov <sgalabov@gmail.com>, freebsd-mips@freebsd.org
Subject:   Re: nexx wt3020h
Message-ID:  <880C1E42-48BB-4386-98D2-CFE43F49028F@gmail.com>
In-Reply-To: <b1b6437e-f23e-6b7b-ce85-c2dc38c10f08@freebsd.org>
References:  <E1c1UA0-0004Ug-G8@st16.mi6.kiev.ua> <b1b6437e-f23e-6b7b-ce85-c2dc38c10f08@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Nov 1, 2016, at 16:40, Sean Bruno <sbruno@freebsd.org> wrote:
>=20
>=20
>=20
> On 11/01/16 02:11, =D0=91=D0=BE=D1=80=D0=B8=D1=81 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.
>>=20
>>=20
> This CPU seems to be supported in sys/mips/mediatek/mtk_soc.c
>=20
> 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=3Dtoh%3Anexx%3Awt3020
>=20
> 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).
>=20
> https://github.com/freebsd/freebsd-wifi-build
>=20
> Nobody has booted this device on FreeBSD as far as I can tell.
>=20
> 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.
>=20
> sean
>=20

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

It looks like you=E2=80=99ll 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=E2=80=99ll detect the full 64MB RAM - this would =
depend on U-Boot installed on the board. In case we only detect 32MB =
you=E2=80=99ll have to tweak the dts file a little, but let=E2=80=99s =
take this one step at a time.

I don=E2=80=99t think you=E2=80=99ll 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?880C1E42-48BB-4386-98D2-CFE43F49028F>