LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-06-2018, 03:43 AM   #1
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
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).
 
Old 01-16-2018, 08:54 PM   #2
cupcake123
LQ Newbie
 
Registered: Jan 2018
Posts: 6

Rep: Reputation: Disabled
Hi

Is the installation document no longer available?

Thanks
 
Old 01-17-2018, 08:29 AM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
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'
 
Old 01-19-2018, 04:22 AM   #4
cupcake123
LQ Newbie
 
Registered: Jan 2018
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by titopoquito View Post
Front the ChangeLog:
Thanks.
 
Old 01-30-2018, 07:01 AM   #5
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Great news!! I just bought one from Amazon and looking forward to tinkering around with it. Thank you for the great work as always!
 
Old 02-04-2018, 04:09 PM   #6
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
Old 02-04-2018, 04:23 PM   #7
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by stormtracknole View Post
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.
Old 02-04-2018, 04:37 PM   #8
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by Penthux View Post
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....
 
Old 02-05-2018, 01:16 AM   #9
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by stormtracknole View Post
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.
 
Old 02-05-2018, 08:53 AM   #10
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
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?
 
Old 02-05-2018, 11:34 AM   #11
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by stormtracknole View Post
* 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.
Old 02-05-2018, 11:44 AM   #12
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by Penthux View Post
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.
 
Old 02-05-2018, 12:57 PM   #13
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Original Poster
Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by Penthux View Post
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.
Old 02-05-2018, 01:17 PM   #14
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by drmozes View Post
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?
 
Old 02-05-2018, 02:47 PM   #15
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Original Poster
Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by stormtracknole View Post
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.
 
  


Reply



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
Orange Pi H3 support now available in -current drmozes Slackware - ARM 13 05-13-2018 06:08 AM
Has anyone tested UEFI with FreeBSD 10.1? angryfirelord *BSD 6 04-05-2015 05:31 PM
How thoroughly is slackware stable tested? drokmed Slackware 28 01-22-2009 10:48 PM
Workable linux I tested jody001 General 24 05-08-2005 09:43 AM
Has anyone tested Exeem ??? UsualTuxpect Linux - Software 3 01-22-2005 02:16 AM

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

All times are GMT -5. The time now is 06:35 AM.

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