-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
38 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: "UART" | ||
draft: false | ||
menu: | ||
docs: | ||
title: | ||
parent: "RockBox/Development" | ||
identifier: "RockBox/Development/UART" | ||
weight: 3 | ||
--- | ||
|
||
image:/documentation/RockBox/images/rockbox_internals.jpg[Internals of the RockBox with the UART contacts visible on the bottom right,title="Internals of the RockBox with the UART contacts visible on the bottom right",width=400] | ||
|
||
A serial console can be connected to the RockBox to retrieve the UART boot logs. A device such as a USB to TTL converter can be used to connect the RockBox. Simply set the USB device to 3.3 volts and connect GND to the GND connector on the mainboard, RTX to TX and TXD to RX. The fourth unlabelled contact on the mainboard should not be connected. | ||
|
||
NOTE: Unlike the ROCKPro64, connecting TXD does not prevent the device from booting up. | ||
|
||
Connect the USB device to the PC and use a tool such as `screen` to display the serial output: | ||
|
||
screen /dev/ttyUSB0 1500000 | ||
|
||
Then power up the RockBox and enjoy the serial output on the PC. | ||
|
||
To enable UART output in the OS as well (otherwise the output would stop at "_Starting kernel ..._"), `console=ttyS2,1500000n8` can be added to the `append` line in the _/boot/extlinux.conf_ file when using _EXTLINUX_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
Binary file not shown.
Binary file not shown.