LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   pbp serial console question (https://www.linuxquestions.org/questions/slackware-arm-108/pbp-serial-console-question-4175730445/)

glorsplitz 10-31-2023 07:29 PM

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!

mralk3 11-01-2023 11:54 AM

That is correct. The speakers are separate from the headphone / UART connection.

glorsplitz 11-11-2023 02:12 PM

serial console booting screen garbage ?
 
2 Attachment(s)
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.

mralk3 11-11-2023 02:52 PM

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.

glorsplitz 01-07-2024 07:04 PM

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.

drmozes 01-09-2024 03:34 AM

Quote:

Originally Posted by glorsplitz (Post 6462063)
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.

mralk3 01-09-2024 04:05 AM

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.


All times are GMT -5. The time now is 09:48 PM.