Ralink/MediaTek support progress
Willem Jan Withagen
wjw at digiware.nl
Sun Jan 17 16:30:29 UTC 2016
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
More information about the freebsd-mips
mailing list