Date: Thu, 5 May 2016 08:55:11 +0300 From: Stanislav Galabov <sgalabov@gmail.com> To: Kevin Lo <kevlo@FreeBSD.org> Cc: Stanislav Galabov <sgalabov@gmail.com>, freebsd-mips@freebsd.org Subject: Re: Mediatek / Ralink status Message-ID: <97387813-1819-4BF3-819C-98ECF1B855B5@gmail.com> In-Reply-To: <20160505022705.GA95034@ns.kevlo.org> References: <79DA8224-E857-4B86-81EC-D7A9E765E201@gmail.com> <20160505022705.GA95034@ns.kevlo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_44889277-A946-43CF-933B-AFB2D089A83D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 <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 >=20 > One minor tweak: for consistency it seems that devices use the = mt7628an > serial port lines for use as the console port (uartlite@c00 in the = dts). > Here's the diff, ok? Hi Kevin, You=E2=80=99re 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=E2=80=99= 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=E2=80=A6 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=E2=80=A6 but I won=E2=80=99t 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- 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 =3D "/palmbus@10000000/uart2@e00"; > + serial0 =3D "/palmbus@10000000/uartlite@c00"; > }; >=20 > /* >=20 >> Best wishes, >> Stanislav >>=20 >> [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 >=20 > [1] = http://wiki.wrtnode.cc/index.php?title=3DWRTnode2P%E8%AF%A6%E7%BB%86%E5%8F= %82%E6%95%B0/en >=20 > Kevin --Apple-Mail=_44889277-A946-43CF-933B-AFB2D089A83D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJXKuBAAAoJEIKmgXSGgsogeysH/AzOtLG19ej3XTMOWOi7B4WP Dyw580t9rv3Bhxf3caFnfA0pVVWsb3yN4s6gtWw2y3GkvsmP+h+eeG05j9BxwkkN E9uWOxT8JhmTIMgjnPzEALihYUwTMeRY3SvEso7sW9FsiDTPGkR6okAzP9MFxtNh sLv8G2vttfcJC3Za8mdAaKzIrpDNqMYpkD2NoPtg/X4ajCRk37ipB44ej1vB1E+c KcLBFcr8vPrvBnHCoqrnEidkU4ax7gUezDIU4SnSO/bUhMUe/H+g+lZXllmnb9Fl 2rNY46LWkSCr8V5zoa1B5p84cstiBonKJZ2Ja37LV8llA4cmZsIOaR1i+WJPhx8= =x5VM -----END PGP SIGNATURE----- --Apple-Mail=_44889277-A946-43CF-933B-AFB2D089A83D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97387813-1819-4BF3-819C-98ECF1B855B5>