LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-03-2019, 04:16 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
lost display of slkconsole "console=ttyS0,115200n8"


bootargs looks like this
Code:
console=ttyS0,115200n8 console=tty1 debug earlyprintk sunxi_g2d_mem_reserve=0sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1024x768p60 hdmi.audio=EDID:1 root=/dev/sda2 waitforroot=3 rootfstype=ext4
The PL2303 serial cable is connected but there is no display, I can type things on the screen which displays on the monitor connected to the bananapi pro.

I've looked over INSTALL_AllWinner_A20.TXT and can't see what I missed, messed up.

I was trying to have both displays display when booting.
 
Old 03-04-2019, 02:33 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Quote:
Originally Posted by glorsplitz View Post
bootargs looks like this
Code:
console=ttyS0,115200n8 console=tty1 debug earlyprintk sunxi_g2d_mem_reserve=0sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1024x768p60 hdmi.audio=EDID:1 root=/dev/sda2 waitforroot=3 rootfstype=ext4
The PL2303 serial cable is connected but there is no display, I can type things on the screen which displays on the monitor connected to the bananapi pro.

I've looked over INSTALL_AllWinner_A20.TXT and can't see what I missed, messed up.

I was trying to have both displays display when booting.
What does
Code:
cat /proc/cmdline
look like?
What do you mean by "type things on the screen" ? in to what - the USB attached keyboard or via the serial line?

The setting you have shown above is described in the installation documents:-
Code:
         To configure the installed OS's Linux console to use the _serial_ port, paste in the following:-
         ````````````````````````````````````````````````````````````````````````````````````````````````
         ____*** This is the option for the Orange Pi A20 model ***___

         => setenv slkconsole "console=ttyS0,115200n8"


         To configure the installed OS's Linux console to use the _HDMI_ port, paste in the following:-
         ````````````````````````````````````````````````````````````````````````````````````````````````

         ____*** Only supported by the Banana Pi***____

         => setenv slkconsole "console=tty1"
Therefore you'll only see output on the HDMI, and on the serial console you'll have a login prompt which is independent from the virtual consoles on the HDMI.

Last edited by drmozes; 03-04-2019 at 10:37 AM.
 
Old 03-05-2019, 07:12 PM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Original Poster
Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
What I was trying to do is, have the console display on the bananapi pro monitor
and on the computer connected with the PL2303 serial cable,

This does happen it's just that there is no display on the computer connected with
the PL2303 serial cable. I can type on the blank screen which appears on the monitor
connected to the bananapi pro.

I was trying what I found here Kernel_arguments "console"
Quote:
You can specify console=ttyS0,115200 console=tty0 for both serial and framebuffer console.
On the computer with PL2303 serial cable connected
Code:
dmesg | grep cp210
Quote:
[2691174.918078] cp210x 5-2:1.0: cp210x converter detected
[2691174.918158] usb 5-2: cp210x converter now attached to ttyUSB0
/proc/cmdline
Quote:
console=ttyS0,115200n8 console=tty0 debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1024x768p60 root=/dev/sda2 waitforroot=3 rootfstype=ext4
Thank you
 
Old 03-06-2019, 04:42 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Quote:
Originally Posted by glorsplitz View Post
What I was trying to do is, have the console display on the bananapi pro monitor
and on the computer connected with the PL2303 serial cable,

This does happen it's just that there is no display on the computer connected with
the PL2303 serial cable. I can type on the blank screen which appears on the monitor
connected to the bananapi pro.

I was trying what I found here Kernel_arguments "console"
Thanks - I didn't know about that! That's brilliant! I've got that working on the Orange Pi H3, but my Banana Pi isn't very stable at the moment and it's a pain to tinker with it.
I'll look at upgrading the version of U-Boot for the Banana Pi's in a few weeks, and move away from the version Debian provide.
You could try re-entering all of the boot parameters and see what happens.

Last edited by drmozes; 03-06-2019 at 04:55 AM.
 
1 members found this post helpful.
Old 03-06-2019, 08:31 AM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Quote:
Originally Posted by drmozes View Post
Thanks - I didn't know about that! That's brilliant! I've got that working on the Orange Pi H3, but my Banana Pi isn't very stable at the moment and it's a pain to tinker with it.
I'll look at upgrading the version of U-Boot for the Banana Pi's in a few weeks, and move away from the version Debian provide.
You could try re-entering all of the boot parameters and see what happens.
I built the latest U-Boot for the Banana Pi, but it crashes when scanning the SCSI subsystem or something critical.
I have a couple of Banana Pi's, so if you haven't figured this out by then I'll look in a few weeks.
 
1 members found this post helpful.
Old 03-06-2019, 06:58 PM   #6
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Original Poster
Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Thank you for looking into and interest in this.

I'll go over and try everything again soon.

I like having the serial console on a computer where I can copy and paste.

It was just something I found and was slacking with my new slackwarearm setup.
 
Old 03-07-2019, 08:52 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Quote:
Originally Posted by glorsplitz View Post
Thank you for looking into and interest in this.
It's been almost fifteen years since I've been able to boot the installer, install the OS, and boot into the new OS using the attached keyboard and monitor! The last time was in about 2003 on the StrongARM RiscPC and later the Iyonix.
I celebrated when I realised this morning :-)


Quote:
Originally Posted by glorsplitz View Post

I like having the serial console on a computer where I can copy and paste.
Same here - mostly for U-Boot. I modified the H3 installation documentation to set the two console variables for the OS, but the installer will remain using the serial port since the installer would need lots of work to get it working for both serial _and_ local console. I'll update the A20 documentation once we get it working.
 
Old 03-07-2019, 07:49 PM   #8
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Original Poster
Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
I cleaned out bootargs, bootcmd_generic, saveenv, did your version of slkconsole, redid bootcmd_generic, bootargs, saveenv, reset, still no screen output using
Code:
screen -T screen-256color /dev/ttyUSB0 115200,-crtscts
and like before on the computer with the blank screen, what I type appears on monitor connected to banana pi pro.

Code:
cat /proc/cmdline 
console=ttyS0,115200n8 console=tty0 debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1024x768p60 root=/dev/sda2 waitforroot=3 rootfstype=ext4
A large number of things have been updated/upgraded since I installed around Feb 17, is it possible something got updated/upgraded that could be affecting this? I'm not familiar with all that software to know what to investigate.

Thank you
 
  


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
[problem] frequency log causes /dev/ttyS0 console freeze until any key input masue Linux - Embedded & Single-board computer 6 06-22-2010 07:55 PM
Xen virtual console successfully installed as ttyS0? clarksa Linux - Hardware 1 11-01-2009 03:07 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
"Anaconda" and "mini-wm" lost connection to display :1.0;??? cbrittain Fedora - Installation 2 03-14-2004 11:22 AM
"Anaconda" and "mini-wm" lost connection to display :1.0;??? cbrittain Linux - General 0 02-24-2004 05:04 PM

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

All times are GMT -5. The time now is 04:46 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