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.
|
 |
02-10-2019, 02:27 PM
|
#1
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
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
|
|
|
02-11-2019, 09:09 AM
|
#2
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,503
|
could you possibly try boot with both HDMI and serial cable connected?
and report?
|
|
1 members found this post helpful.
|
02-13-2019, 07:53 PM
|
#3
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
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
|
|
|
02-14-2019, 02:57 AM
|
#4
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,503
|
Quote:
Originally Posted by glorsplitz
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
... 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
|
|
|
02-14-2019, 11:42 AM
|
#5
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,648
|
Quote:
Originally Posted by glorsplitz
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 11:44 AM.
|
|
2 members found this post helpful.
|
02-14-2019, 12:37 PM
|
#6
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,503
|
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.
|
|
|
02-15-2019, 08:21 PM
|
#7
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
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 02:51 PM.
Reason: additional information
|
|
1 members found this post helpful.
|
02-16-2019, 02:03 AM
|
#8
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by drmozes
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.
|
|
|
All times are GMT -5. The time now is 12:30 AM.
|
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
|
|