Mediatek / Ralink status

Stanislav Galabov sgalabov at gmail.com
Thu May 5 05:55:17 UTC 2016


<snip>

> Thanks so much for all your hard work!  I can boot my WRTnode2P [1] with the
> system on the USB stick.  Here's the dmesg: http://www.pastebin.ca/3591253
> 
> One minor tweak: for consistency it seems that devices use the mt7628an
> serial port lines for use as the console port (uartlite at c00 in the dts).
> Here's the diff, ok?

Hi Kevin,

You’re right. The reason I left serial0 set to uart2 was that the LinkIt Smart 7688 board I have uses uart2 as console and I don’t have any other MT7628/MT7688 boards to test with.

This, however, brings me to another issue - the OpenWRT DTS files we use do not specify the actual console in any FreeBSD supported way (hence the need to specify serial0 alias in the fbsd dtsi files), so setting serial0 to uartlite for all MT7628/MT7688 boards will break at least the LinkIt Smart 7688 console…
Probably the best way forward would be to talk to the OpenWRT guys and see if they would be willing to include serial0 aliases in their DTS files directly, so I can then import these and trim our fbsd dtsi files further… but I won’t have time to work on this until at least the week after next.

In any case, thanks for testing this out and thanks for the patch. If you have other Mediatek/Ralink boards you could test with I would really appreciate it.

Best wishes,
Stanislav

> Index: sys/boot/fdt/dts/mips/fbsd-mt7628an.dtsi
> ===================================================================
> --- sys/boot/fdt/dts/mips/fbsd-mt7628an.dtsi	(revision 299107)
> +++ sys/boot/fdt/dts/mips/fbsd-mt7628an.dtsi	(working copy)
> @@ -3,7 +3,7 @@
> / {
> 	/* Specify alias for serial0 so we have a working console */
> 	aliases {
> -		serial0 = "/palmbus at 10000000/uart2 at e00";
> +		serial0 = "/palmbus at 10000000/uartlite at c00";
> 	};
> 
> 	/*
> 
>> Best wishes,
>> Stanislav
>> 
>> [1] - https://svnweb.freebsd.org/changeset/base/298501
>> [2] - https://wiki.freebsd.org/FreeBSD/mips/RT3052F
>> [3] - http://tukaani.org/lzma/lzma-4.32.7.tar.gz
> 
> [1] http://wiki.wrtnode.cc/index.php?title=WRTnode2P%E8%AF%A6%E7%BB%86%E5%8F%82%E6%95%B0/en
> 
> 	Kevin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20160505/f19a9925/attachment.sig>


More information about the freebsd-mips mailing list