# Serial debug port?

**URL:** <https://forum.clockworkpi.com/t/serial-debug-port/10950>\
**Category:** uConsole\
**Created:** [September 15, 2023, 6:47pm UTC](https://forum.clockworkpi.com/t/serial-debug-port/10950 "2023-09-15T18:47:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mid-kid](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mid-kid/32/7893_2.png) [@mid-kid](https://forum.clockworkpi.com/u/mid-kid)\
**Post date:** [September 15, 2023, 6:47pm UTC](https://forum.clockworkpi.com/t/serial-debug-port/10950/1 "2023-09-15T18:47:38Z")

</div>

I’m trying to debug linux booting issues, and I’m seeing that the default image has a console=ttyS2,1500000 parameter in /proc/cmdline, indicating that it has a serial console somewhere.

Does the uConsole have a serial port that I can access to get a uboot boot prompt and/or early linux kernel logs?

I’m using the rockchip-a06, by the way.

---

<div class="post-metadata">

**Author:** ![NekoRouter](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@NekoRouter](https://forum.clockworkpi.com/u/NekoRouter)\
**Post date:** [November 29, 2023, 8:03am UTC](https://forum.clockworkpi.com/t/serial-debug-port/10950/2 "2023-11-29T08:03:07Z")

</div>

Same looking the serial port on uConsole…  
Looks like it’s GPIO32/GPIO33 on expansion port, but I’m using 4G module, and GPIO33 is used by it.

Need to find the difference from devterm and uconsole about pinmux and serial…  
maybe some can give a hint?

Edit:  
I’m checking device tree when I found that serial2 (serial@ff1a0000) seems not enabled at all.  
Where are the changes/patches about 4G module support? @guu

---

<div class="post-metadata">

**Author:** ![guu](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@guu](https://forum.clockworkpi.com/u/guu)\
**Post date:** [November 30, 2023, 3:05am UTC](https://forum.clockworkpi.com/t/serial-debug-port/10950/3 "2023-11-30T03:05:13Z")

</div>

The UART port on the 4G module is intended for use with the 4G module itself only.

---

<div class="post-metadata">

**Author:** ![NekoRouter](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@NekoRouter](https://forum.clockworkpi.com/u/NekoRouter)\
**Post date:** [November 30, 2023, 4:28am UTC](https://forum.clockworkpi.com/t/serial-debug-port/10950/4 "2023-11-30T04:28:15Z")

</div>

I mean this one, not that “debug UART” on 4G module:

 ![图片](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/d/d9a1644a812c80b7f9b8d666b2e7a71e26f955ff.jpeg)

---

<div class="post-metadata">

**Author:** ![guu](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@guu](https://forum.clockworkpi.com/u/guu)\
**Post date:** [November 30, 2023, 5:26am UTC](https://forum.clockworkpi.com/t/serial-debug-port/10950/5 "2023-11-30T05:26:22Z")

</div>

Unfortunately, there isn’t enough space to have an external breakout, so you’ll have to do the wires yourself, or use a DT expansion board. The DT has the UART.
