LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 10-31-2023, 07:29 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
pbp serial console question


I'm going to get pines serial console connector for my pbp, Stuart raves about serial console.

I really don't like messing with taking the under cover off, Stuart has tape on the screws/screw holes on his pbp.

As I don't use the headphone connector used for the audio, the speakers are fine, can I just leave the switch that toggles Sound vs UART set to UART without affecting any audio output? So I can always have serial console availability?

THANKS!
 
Old 11-01-2023, 11:54 AM   #2
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,911

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
That is correct. The speakers are separate from the headphone / UART connection.
 
1 members found this post helpful.
Old 11-11-2023, 02:12 PM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Original Poster
Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
serial console booting screen garbage ?

I made serial console cord like mozes and got garbage while booting, thought maybe I made it wrong.

I got pines serial console cord and got same thing.

Quick search says change baud rate, I tried several and still get garbage while booting. Seems to work ok after boot.

Also tried connecting with minicom, same result.

So I'm guessing something to do like with lilo using "framebuffer console"?

See attached please, thanks.
Attached Thumbnails
Click image for larger version

Name:	garbage-1.jpg
Views:	10
Size:	223.9 KB
ID:	42028   Click image for larger version

Name:	garbage-2.jpg
Views:	7
Size:	190.1 KB
ID:	42029  
 
Old 11-11-2023, 02:52 PM   #4
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,911

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
The Slackware docs here: https://docs.slackware.com/slackware...l_uart_adapter
Code:
screen -T screen-256color /dev/ttyUSB0 115200
You can try setting the baud rate in screen as 1500000 (1.5mbps) to correct the garbled text too.
Code:
screen -T screen-256color /dev/ttyUSB0 1500000
It appears you have a newer hardware variant of the Pinebook Pro. I believe I have the same hardware, since I replaced my original last month. I wiped Tow-Boot with the recovery image and u-boot works as Stuart designed the Slackware build process.

A permanent fix would be to replace the Tow-Boot with Slackware's u-boot. Which can be accomplished by running the Slackware ARM recovery image on your SD card. That is located here: https://docs.slackware.com/slackware...r_to_spi_flash

You can download the recovery image here:
https://slackware.uk/slackwarearm/pl...covery/rk3399/

After that the 115200 baud rate listed above is what you should be using. Just make sure you select the pinebook pro recovery image.
 
1 members found this post helpful.
Old 01-07-2024, 07:04 PM   #5
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Original Poster
Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
just "replaced the Tow-Boot with Slackware's u-boot."

still get garbage while booting, this is through usb 3.0 powered hub and 2.0 usb connector on pc, using pines serial cord or homemade one, same result

I'll try other baud rate when I have some time.
 
Old 01-09-2024, 03:34 AM   #6
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,595

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
Quote:
Originally Posted by glorsplitz View Post
I'm going to get pines serial console connector for my pbp, Stuart raves about serial console.

I really don't like messing with taking the under cover off, Stuart has tape on the screws/screw holes on his pbp.

As I don't use the headphone connector used for the audio, the speakers are fine, can I just leave the switch that toggles Sound vs UART set to UART without affecting any audio output? So I can always have serial console availability?

THANKS!
You're using the Pine64 version from their store? Mine malfunctioned similarly to yours. The initial boot loader seemed fine, but the second stage appeared garbled, much like yours. I suspect the serial settings might differ for the initial boot loader. It seems a Moyina adapter might be necessary; it's the only one I managed to get functioning with the PBPro.
 
1 members found this post helpful.
Old 01-09-2024, 04:05 AM   #7
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,911

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
You can get the Moyina usb to serial adapter, along with a few dupont cables here: https://www.amazon.com/Adapter-Seria...s%2C162&sr=8-3

It's quite good as long as you set the right baud rate when you connect.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pine64 pbp hardware changes glorsplitz Slackware - ARM 0 11-16-2022 04:44 AM
Use Serial as console and normal serial communication hardikgohil1988 Linux - Embedded & Single-board computer 4 12-01-2015 04:57 AM
Separate output to serial console and screen console systemlordanubis Linux - Server 1 11-21-2014 03:27 AM
serial console +plx tech console server card pankajd Linux - Hardware 1 10-14-2009 01:45 PM
zoom external serial with usb to serial adapter foustware Linux - Hardware 1 12-07-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 03:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration