LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-10-2019, 03:27 PM   #1
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 667

Rep: Reputation: 132Reputation: 132
slackwarearm on banana pi pro installed, not sure how to boot


Hi all

Quote:
Linux bppsa.example.net 4.19.20-armv7 #2 SMP Wed Feb 6 19:44:18 GMT 2019 armv7l Allwinner sun7i (A20) Family GNU/Linux
Disconnected PL2303 USB to serial converter cable, connected to HDMI TV/monitor with USB keyboard got gibberish on the screen booting, looks like it didn't boot.

In INSTALL_AllWinner_A20-BananaPiPro.txt there's
Quote:
After the OS has been installed, you have the choice of using the 'simplefb' Framebuffer to access
your Linux console over the board's HDMI port or through the serial port.
I'd like for it to boot either headless or HDMI monitor and USB keyboard, what setenv tweak should I be trying?

Thank you
 
Old 02-11-2019, 10:09 AM   #2
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,447
Blog Entries: 2

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
could you possibly try boot with both HDMI and serial cable connected?
and report?
 
1 members found this post helpful.
Old 02-13-2019, 08:53 PM   #3
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 667

Original Poster
Rep: Reputation: 132Reputation: 132
SCerovec, thanks for the reply

both HDMI and serial cable connected booted successfully

without serial cable got gibberish on the screen booting

looks like didn't get past u-boot
 
Old 02-14-2019, 03:57 AM   #4
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,447
Blog Entries: 2

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
Thumbs up

Quote:
Originally Posted by glorsplitz View Post
SCerovec, thanks for the reply
You're welcome
Quote:
both HDMI and serial cable connected booted successfully
So it is capable to boot - in a pinch, only fails so for some reason...
That reason might be the lack of a registered serial port the USB adapter provides?
Quote:
without serial cable got gibberish on the screen booting

looks like didn't get past u-boot
I'd investigate the
Code:
console=
... command in the kernel commandline and options further, and check the few configs in the install media and here

It seems to me as if the kernel (or maybe u-boot) fails to figure out where to turn it's default console to.

For HDMI to register properly one has to supply a few "words" to the kernel, but the u-boot should figure this out by it self so far i could tell

Do fiddle a bit and report what you did?

Happy Slacking
 
Old 02-14-2019, 12:42 PM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 767

Rep: Reputation: 572Reputation: 572Reputation: 572Reputation: 572Reputation: 572Reputation: 572
Quote:
Originally Posted by glorsplitz View Post
Hi all



Disconnected PL2303 USB to serial converter cable, connected to HDMI TV/monitor with USB keyboard got gibberish on the screen booting, looks like it didn't boot.

In INSTALL_AllWinner_A20-BananaPiPro.txt there's


I'd like for it to boot either headless or HDMI monitor and USB keyboard, what setenv tweak should I be trying?

Thank you
If you use the setting below, you'll get U-Boot on both HDMI and serial, and when Linux starts the console output will disappear from the serial port and you'll be able to see Linux and the OS booting on the HDMI.
Once the OS has booted, you'll get a login prompt appearing on the serial in addition to the console available via HDMI (as you'd get on x86 at run level 3).
You get the login prompt over serial because it's configured in /etc/inittab.
You can see Linux and the OS booting over the serial, only if you configure the Linux Kernel (using the command line settings) to output the boot messages there.

I think that's about the extent of it.

Code:
         => setenv slkconsole "console=tty1"
If your machine seems unstable, try using a different PSU. One of my Banana Pi's became unstable and I just switched to a decent PSU and it's all happy again.

Last edited by drmozes; 02-14-2019 at 12:44 PM.
 
1 members found this post helpful.
Old 02-14-2019, 01:37 PM   #6
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,447
Blog Entries: 2

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
Re PSU:

Recent fast charging wall adapters for mobile phones, that, sadly, outlast the devices they where bundled with, seem to particularly suit the role, in my experience.

I bought a USB power meter (cca $5 or here about) to troubleshoot many of the issues i ran into FWIW.
 
Old 02-15-2019, 09:21 PM   #7
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 667

Original Poster
Rep: Reputation: 132Reputation: 132
Thanks drmozes, SCerovec for the replies. I'm all set.

As I was following INSTALL_AllWinner_A20-BananaPiPro.txt, I did what I thought what was needed for the banana pi pro, one of the lines was:

Code:
=> setenv slkconsole "console=tty1"
I removed that and now it boots u-boot then slackwarearm.

Looking forward to playing with my new toy.

EDIT:Actually it seems having the PL2303 USB to serial converter cable connected to the board but not to USB port. I disconnected it from the board and u-boot shows up on the HDMI then boots slackwarearm.

Last edited by glorsplitz; 02-17-2019 at 03:51 PM. Reason: additional information
 
1 members found this post helpful.
Old 02-16-2019, 03:03 AM   #8
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 237

Rep: Reputation: 70
Quote:
Originally Posted by drmozes View Post
If your machine seems unstable, try using a different PSU. One of my Banana Pi's became unstable and I just switched to a decent PSU and it's all happy again.
Valid point Stuart. I don't own a Banana Pi but I'm assuming the device is much the same as many other ARM devices when it comes to power requirements.

I've had some very time consuming problems to solve in the past (especially with the RPis) that have boiled down to the quality of PSU I was using.
 
  


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
LeMaker Banana Pro and Slackware ARM saxa Slackware - ARM 31 12-15-2018 04:49 PM
[SOLVED] enabling uart4 and uart7 on a Banana Pro justwantin Slackware - ARM 3 08-27-2017 04:39 AM
Install on a Lemaker Banana Pro justwantin Slackware - ARM 25 01-09-2016 09:26 PM
I'm not sure how this happened but I'm sure there is a lesson in there somewhere mreff555 Linux - Newbie 6 09-24-2012 03:09 AM

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

All times are GMT -5. The time now is 02:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration