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.
|
 |
|
01-06-2018, 03:43 AM
|
#1
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,690
|
Orange Pi Plus 2E now tested in -current
Hello
I have tested the Orange Pi Plus 2E in -current:
http://www.orangepi.org/orangepiplus2e/
This device has 2GB RAM, which is nice.
and have updated the installation documentation:
ftp://ftp.arm.slackware.com/slackwar...L_ORANGEPI.TXT
I've decided not to incorporate any HDMI patches into the 4.14 Kernel since the only ones I found were for a newer branch, and we need a long term supported Kernel now (which 4.14 is scheduled to become).
|
|
|
01-16-2018, 08:54 PM
|
#2
|
LQ Newbie
Registered: Jan 2018
Posts: 6
Rep: 
|
Hi
Is the installation document no longer available?
Thanks
|
|
|
01-17-2018, 08:29 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
Front the ChangeLog:
Code:
Thu Jan 11 08:08:08 UTC 2018
The installation documentation has been renamed according to the SoC rather
than a branded product. This is because there are now more distinct branded
products using a particular SoC. U-Boot binaries have also been moved in to
new locations on the FTP site.
installdocs/INSTALL_AllWinner_A20.TXT: Added.
Renamed from '/INSTALL_BANANAPI.TXT'
installdocs/INSTALL_AllWinner_H3.TXT: Added.
Renamed from '/INSTALL_ORANGEPI.TXT'
installdocs/INSTALL_QEMU.TXT: Moved.
Moved from /
installdocs/INSTALL_RASPBERRYPI.TXT: Moved.
Moved from /
installdocs/INSTALL_Tegra20.TXT: Added.
Renamed from '/INSTALL_TRIMSLICE.TXT'
|
|
|
01-19-2018, 04:22 AM
|
#4
|
LQ Newbie
Registered: Jan 2018
Posts: 6
Rep: 
|
Quote:
Originally Posted by titopoquito
Front the ChangeLog:
|
Thanks.
|
|
|
01-30-2018, 07:01 AM
|
#5
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Great news!! I just bought one from Amazon and looking forward to tinkering around with it. Thank you for the great work as always!
|
|
|
02-04-2018, 04:09 PM
|
#6
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
drmozes,
So, I'm having issues getting anything out of the serial console. I bought the exact same cable suggested in the install docs. However, I don't get any outpot. I can connect fine with screen, but never get anything. The hdmi screen works fine when using u-boot, so I know the board is working fine. The only cable that I didn't connect was the red one (serial cable). Is that cable supposed to be connected at all? My apologies ahead of time if I missed something. I've been working on this for several hours now and can't seem to figure it out.
|
|
|
02-04-2018, 04:23 PM
|
#7
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by stormtracknole
drmozes,
So, I'm having issues getting anything out of the serial console. I bought the exact same cable suggested in the install docs. However, I don't get any outpot. I can connect fine with screen, but never get anything. The hdmi screen works fine when using u-boot, so I know the board is working fine. The only cable that I didn't connect was the red one (serial cable). Is that cable supposed to be connected at all? My apologies ahead of time if I missed something. I've been working on this for several hours now and can't seem to figure it out.
|
The TTL serial cable red wire is the 5v supply and it's not required. Try swapping the RX/TX (white/green) cables around.
|
|
1 members found this post helpful.
|
02-04-2018, 04:37 PM
|
#8
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Quote:
Originally Posted by Penthux
The TTL serial cable red wire is the 5v supply and it's not required. Try swapping the RX/TX (white/green) cables around.
|
Thank you!!! That was it. I can't I believe I didn't try that hours ago. Sigh....
|
|
|
02-05-2018, 01:16 AM
|
#9
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by stormtracknole
Thank you!!! That was it. I can't I believe I didn't try that hours ago. Sigh....
|
Hehe. Don't mention it. You're welcome. 
|
|
|
02-05-2018, 08:53 AM
|
#10
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Okay, was finally able to get slackwarearm-current installed. A few notes and one question.
Notes:
* cpufreq-info and lscpu does not show the complete cpu information. So, I'm not sure if operating at full speed.
* I noticed that my ethernet speed was set to 100 Mb instead of 1000Mb. Gotta make sure first my cable is okay and the switch.
* Gotta make sure to make sure to set the time before doing too much. I probably should have done this first before proceeding with the install.
As for my question, do I have to do anything with u-boot when updating the kernel?
|
|
|
02-05-2018, 11:34 AM
|
#11
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by stormtracknole
* Gotta make sure to make sure to set the time before doing too much. I probably should have done this first before proceeding with the install.
As for my question, do I have to do anything with u-boot when updating the kernel?
|
I'd install a RTC, a DS3231 and not a DS1307. Then I'd stick a line in /etc/rc./rc.local like this:
Code:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
# Set system time from DS3231 RTC
/sbin/hwclock -s
If you don't have an RTC but you've got an Internet connection, you could try using this line in /etc/rc.d/rc.local instead:
Code:
/usr/sbin/ntpdate 0.pool.ntp.org
Then at least you don't have to remember to set the damned date/time every time you (re)boot.
Can't advise you on u-boot. I just compile it and hope it works. If it does then I leave it alone. lol
|
|
1 members found this post helpful.
|
02-05-2018, 11:44 AM
|
#12
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Quote:
Originally Posted by Penthux
I'd install a RTC, a DS3231 and not a DS1307. Then I'd stick a line in /etc/rc./rc.local like this:
Code:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
# Set system time from DS3231 RTC
/sbin/hwclock -s
If you don't have an RTC but you've got an Internet connection, you could try using this line in /etc/rc.d/rc.local instead:
Code:
/usr/sbin/ntpdate 0.pool.ntp.org
Then at least you don't have to remember to set the damned date/time every time you (re)boot.
Can't advise you on u-boot. I just compile it and hope it works. If it does then I leave it alone. lol
|
I was thinking about the official kernel upgrades on -current. I don't want to brick my system after spending so much time getting this set up. lol I guess I can give it a try. 
|
|
|
02-05-2018, 12:57 PM
|
#13
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,690
Original Poster
|
Quote:
Originally Posted by Penthux
I'd install a RTC, a DS3231 and not a DS1307. Then I'd stick a line in /etc/rc./rc.local like this:
|
This is unnecessary as the Orange Pi has an RTC.
Code:
root@zippy:~/ac/source/x/xterm# dmesg | grep -i rtc
[ 1.527013] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[ 1.533825] sun6i-rtc 1f00000.rtc: RTC enabled
[ 1.572039] sun6i-rtc 1f00000.rtc: setting system clock to 2018-01-27 15:56:57 UTC (1517068617)
root@zippy:~/ac/source/x/xterm#
You don't need to do anything with u-boot once it's configured, and you've booted in to the new installation.
When you upgradepkg the kernel, that's all you need -- there's no "lilo" equivalent because u-boot has code to read ext file systems, so reads the DTB, Kernel and initrd from the file system directly.
|
|
1 members found this post helpful.
|
02-05-2018, 01:17 PM
|
#14
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Quote:
Originally Posted by drmozes
This is unnecessary as the Orange Pi has an RTC.
Code:
root@zippy:~/ac/source/x/xterm# dmesg | grep -i rtc
[ 1.527013] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[ 1.533825] sun6i-rtc 1f00000.rtc: RTC enabled
[ 1.572039] sun6i-rtc 1f00000.rtc: setting system clock to 2018-01-27 15:56:57 UTC (1517068617)
root@zippy:~/ac/source/x/xterm#
You don't need to do anything with u-boot once it's configured, and you've booted in to the new installation.
When you upgradepkg the kernel, that's all you need -- there's no "lilo" equivalent because u-boot has code to read ext file systems, so reads the DTB, Kernel and initrd from the file system directly.
|
Thank you for the explanation. So, if I understand correctly, there can only be one kernel installed in the system. Correct? Same as the Raspberry?
|
|
|
02-05-2018, 02:47 PM
|
#15
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,690
Original Poster
|
Quote:
Originally Posted by stormtracknole
Thank you for the explanation. So, if I understand correctly, there can only be one kernel installed in the system. Correct? Same as the Raspberry?
|
The Orange Pi is supported by Slackware ARM directly, and there is only one Kernel package and its accompanying modules package:
Code:
a/kernel_armv7-4.14.15-arm-1.txz
a/kernel-modules-armv7-4.14.15_armv7-arm-1.txz
I'm not sure what the link is you're thinking of about the Raspberry Pi.
|
|
|
All times are GMT -5. The time now is 07:25 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
|
|