Date: Fri, 21 Jun 2019 05:43:58 +1000 From: Peter Jeremy <peter@rulingia.com> To: Per olof Ljungmark <peo@nethead.se> Cc: freebsd-arm@freebsd.org Subject: Re: RPi serial ports revisited Message-ID: <20190620194358.GA19776@server.rulingia.com> In-Reply-To: <b0f401c3-2bca-edfe-11b9-05d577363a36@nethead.se> References: <b0f401c3-2bca-edfe-11b9-05d577363a36@nethead.se>
next in thread | previous in thread | raw e-mail | index | archive | help
--qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-Jun-16 11:32:44 +0200, Per olof Ljungmark <peo@nethead.se> wrote: >I've gotten as far as I have the correct GPS output on /dev/cuau1 but I=20 >want it on /dev/cuau0 > >So with 12-STABLE, where and how do I switch GPIO pins between uart0 and= =20 >uart1? The mapping is defined in the FDT, which should be loaded as part of the boot process. In theory, it should be possible to swap the uart0 and uart1 configuration but you will then need to flip the console =66rom uart0 to uart1 as well (so it remains on the same physical pins) - and that may present more issues because the console isn't defined in a single spot. I would suggest that you might find it easier to read the GPS data off /dev/cuau1. --=20 Peter Jeremy --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl0L4fZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzSAFg/9GCECBqLZD6v9BnQqi5eTx1a3HLfT4Vpc3VvrZkCybnxnfTSiGWMd2k0N wdojNRwO/nrmdlWK7+ppITU603seqIbvTNVxO9OEbDABBMuqVIKjiOYD/ejcl66V 7cpxG8zxOW8Pa3/ph7jcfmbqtoMwzAWCyvQcQV5IFf9bwvrwcFifWvSUszkrsTTd pzA9OJaoiQOQdXKkntxq7ampdulCbgT6eYQPm2nrYD8Za3YMKh9YvAO2fg3BeLXW Y0RoQe/IscQmAJW09kZ0+j1K5mlfMlz4vnwr4hYnRA68ONaFJsfh06I7b15d5CD2 UO2NO9anWONRS5Sx/9tSTa7ljU+OW3/B8j7G0flkxUtV4Rlig11lCCfzH6TSYXjw QDM/x4936/19Y+Wb1prWYE5RRaIWD6Su0zcreDVb7/sznBKMFMBoaApufXx9u/Ye ElKkR05KAFUd4PLYpw63VkzBFaxHiUXK2rZJseh/X2vqWVlsX9mRbMJf2EQK/AA3 2Dp5U9HGLgfnX/rzhSQj8nvaz81EEoTs5BG1kk9fofw26jnFy8xkt9aKlpPVIAXO 8TDLCmyr2t1IH4jQsAj90cLHGgfx7RBMYCko700BlVujUI9AOnWdAFQH+zJ2NHPB l9m0vB0wohFYTXE2GsIZSesULYJIWI0soe+lEgLPgfMwcMowwl0= =syqt -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190620194358.GA19776>