Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-31-2023, 07:29 PM
|
#1
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
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!
|
|
|
11-01-2023, 11:54 AM
|
#2
|
Slackware Contributor
Registered: May 2015
Distribution: Slackware
Posts: 1,911
|
That is correct. The speakers are separate from the headphone / UART connection.
|
|
1 members found this post helpful.
|
11-11-2023, 02:12 PM
|
#3
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
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.
|
|
|
11-11-2023, 02:52 PM
|
#4
|
Slackware Contributor
Registered: May 2015
Distribution: Slackware
Posts: 1,911
|
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.
|
01-07-2024, 07:04 PM
|
#5
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
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.
|
|
|
01-09-2024, 03:34 AM
|
#6
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,595
|
Quote:
Originally Posted by glorsplitz
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.
|
01-09-2024, 04:05 AM
|
#7
|
Slackware Contributor
Registered: May 2015
Distribution: Slackware
Posts: 1,911
|
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.
|
All times are GMT -5. The time now is 03:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|