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.
|
 |
03-03-2019, 04:16 PM
|
#1
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
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.
|
|
|
03-04-2019, 02:33 AM
|
#2
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675
|
Quote:
Originally Posted by glorsplitz
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 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.
|
|
|
03-05-2019, 07:12 PM
|
#3
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
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
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
|
|
|
03-06-2019, 04:42 AM
|
#4
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675
|
Quote:
Originally Posted by glorsplitz
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.
|
03-06-2019, 08:31 AM
|
#5
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675
|
Quote:
Originally Posted by drmozes
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.
|
03-06-2019, 06:58 PM
|
#6
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
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.
|
|
|
03-07-2019, 08:52 AM
|
#7
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675
|
Quote:
Originally Posted by glorsplitz
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
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.
|
|
|
03-07-2019, 07:49 PM
|
#8
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
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
|
|
|
All times are GMT -5. The time now is 04:46 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
|
|