Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2016 17:15:20 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Stanislav Galabov <sgalabov@gmail.com>, freebsd-mips@freebsd.org
Subject:   Re: Ralink/MediaTek support progress
Message-ID:  <569BBE18.9030407@digiware.nl>
In-Reply-To: <881F0883-BEAE-48A2-AB13-F689CE550DA3@gmail.com>
References:  <BE3D0D94-4152-47CE-B010-E5D71ED595B3@gmail.com> <881F0883-BEAE-48A2-AB13-F689CE550DA3@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12-1-2016 17:42, Stanislav Galabov wrote:
> Hi all,
> 
> Just to let you know that there is now basic support for MT7621 in my github branch:
> https://github.com/sgalabov/freebsd/tree/local/sgalabov_mtk
> 
> Currently only UART, interrupts, SPI and basic ethernet support is there (no SMP either for now), but I thought it may be of interest to those who have MT7621 boards (e.g., WiTi board).
> 
> The kernel config is MT7621. It is currently configured for MFS, but can be configured for NFS of course :-)
> 
> Work continues...

In the master branch is not MT7621 configs available.

In local/mt7621
and local/sgalabov_mt7621
they are, but then building gives me:

In file included from
/usr/srcs/Mips/MT6721/freebsd/sys/mips/mt762x/rt305x_sysctl.c:41:
/usr/srcs/Mips/MT6721/freebsd/sys/mips/rt305x/rt305xreg.h:45:2: error:
#error "No platform selected"
In file included from
/usr/srcs/Mips/MT6721/freebsd/sys/mips/mt762x/rt305x_ic.c:41:
/usr/srcs/Mips/MT6721/freebsd/sys/mips/rt305x/rt305xreg.h:45:2: error:
#error "No platform selected"

So it does not have a PLATFORM_COUNTER_FREQ defined.
copying /usr/srcs/Mips/MT6721/freebsd/sys/mips/rt305x/rt305xreg.h helps
for this file.

But than the next one is:
/usr/srcs/Mips/MT6721/freebsd/sys/mips/mt762x/rt305xreg.h

So I'm definitly not in the right branch with local/mt7620....

Which one do I need for the MT7621?

--WjW










Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?569BBE18.9030407>