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