<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Rockpi4%2Fdev%2Fuse-uart2-as-application-uart</id>
		<title>Rockpi4/dev/use-uart2-as-application-uart - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Rockpi4%2Fdev%2Fuse-uart2-as-application-uart"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rockpi4/dev/use-uart2-as-application-uart&amp;action=history"/>
		<updated>2026-07-21T08:16:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rockpi4/dev/use-uart2-as-application-uart&amp;diff=9704&amp;oldid=prev</id>
		<title>RadxaYuntian at 07:56, 21 August 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rockpi4/dev/use-uart2-as-application-uart&amp;diff=9704&amp;oldid=prev"/>
				<updated>2023-08-21T07:56:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:56, 21 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; [[rockpi4 | ROCK Pi 4]] &amp;gt; [[rockpi4/dev | Development]] &amp;gt; [[Rockpi4/dev/use-uart2-as-application-uart | Use UART2 as Application UART]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; [[rockpi4 | ROCK Pi 4]] &amp;gt; [[rockpi4/dev | Development]] &amp;gt; [[Rockpi4/dev/use-uart2-as-application-uart | Use UART2 as Application UART]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=OUTDATED=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The content below is out of date. User should use [https://docs.radxa.com/en/radxa-os/rsetup/devicetree rsetup] to enable UART overlay instead.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The original content is kept for historical purpose.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Description===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Description===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>RadxaYuntian</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rockpi4/dev/use-uart2-as-application-uart&amp;diff=8047&amp;oldid=prev</id>
		<title>Hipboi: Created page with &quot;{{rockpi4_header}}  {{Languages|Rockpi4/dev/use-uart2-as-application-uart }}       ROCK Pi 4 &gt;  Development &gt; Rockpi4/dev/use-uart2-as-applicat...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rockpi4/dev/use-uart2-as-application-uart&amp;diff=8047&amp;oldid=prev"/>
				<updated>2022-06-07T08:36:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{rockpi4_header}}  {{Languages|Rockpi4/dev/use-uart2-as-application-uart }}      &lt;a href=&quot;/Rockpi4&quot; title=&quot;Rockpi4&quot;&gt; ROCK Pi 4&lt;/a&gt; &amp;gt; &lt;a href=&quot;/Rockpi4/dev&quot; class=&quot;mw-redirect&quot; title=&quot;Rockpi4/dev&quot;&gt; Development&lt;/a&gt; &amp;gt; Rockpi4/dev/use-uart2-as-applicat...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{rockpi4_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|Rockpi4/dev/use-uart2-as-application-uart }}&lt;br /&gt;
&lt;br /&gt;
    [[rockpi4 | ROCK Pi 4]] &amp;gt; [[rockpi4/dev | Development]] &amp;gt; [[Rockpi4/dev/use-uart2-as-application-uart | Use UART2 as Application UART]]&lt;br /&gt;
&lt;br /&gt;
===Description===&lt;br /&gt;
&lt;br /&gt;
If you want to use uart with Kernel &amp;gt; 5.10 in ROCK Pi 4. You can follow these steps.&lt;br /&gt;
&lt;br /&gt;
==== Install essential package ====&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install -y rockpi4-dtbo&lt;br /&gt;
&lt;br /&gt;
==== UART ====&lt;br /&gt;
&lt;br /&gt;
Modify file /boot/hw_intfc.conf. Set &amp;quot;on&amp;quot; to enable the optional hardware interfaces while set &amp;quot;off&amp;quot; to disable.&lt;br /&gt;
&lt;br /&gt;
  intfc:uart2=on&lt;br /&gt;
  intfc:uart4=on&lt;br /&gt;
&lt;br /&gt;
And add &amp;quot;#&amp;quot; to line &amp;quot;intfc:dtoverlay=console-on-ttyS2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  #intfc:dtoverlay=console-on-ttyS2&lt;br /&gt;
  #intfc:dtoverlay=console-on-ttyS4&lt;br /&gt;
&lt;br /&gt;
by now, the uart2 can still be used as a debug port with system log. If you don't want to output kernel messages, you can disable it as follow.&lt;br /&gt;
&lt;br /&gt;
Modify file /boot/extlinux/extlinux.conf. &lt;br /&gt;
  append earlyprintk console=ttyFIQ0,1500000n8 rw init=/sbin/init rootfstype=ext4 rootwait  root=UUID=8650cdca-49b0-4431-9667-5c639f6bab89 console=ttyS2,1500000n8&lt;br /&gt;
&lt;br /&gt;
Delete strings '''console=ttyFIQ0,1500000n8''' and '''console=ttyS2,1500000n8''' in this line.&lt;br /&gt;
&lt;br /&gt;
  append earlyprintk rw init=/sbin/init rootfstype=ext4 rootwait  root=UUID=8650cdca-49b0-4431-9667-5c639f6bab89&lt;/div&gt;</summary>
		<author><name>Hipboi</name></author>	</entry>

	</feed>