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.
|
 |
|
12-09-2017, 09:18 AM
|
#1
|
Member
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 388
Rep:
|
Orange Pi installation on SD card
I have an Orange Pi H3 (not Pro version) that I want to install Slackware on. While I find Stuart Winters installation instructions clear, there are some things I'm not sure I understand well enough to do the installation I want.
I have a 16GB SD card and would like to do the full install on it. I don't have the usb to serial cable described in the instructions, I do have a monitor that I used with my Raspberry Pi, so I also would like to do the installation without resorting to using ssh to do a headless install. (I have no experience with ssh) I also have a mini keyboard that uses a bluetooth adapter in usb port.
Some of the things I'm not sure of:
1. What size should I make the partitions (and what order and type) on the SD card?
2. Is it possible to make an installation from a thumb (usb) drive? And what files are needed?
3. Will my keyboard work during the install?
Any help and guidance would be greatly appreciated.
Thanks
Dan
|
|
|
12-09-2017, 10:15 AM
|
#2
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Rep: 
|
I can prepare an installation miniroot (where all you need to do is one dd action, the only thing I can not check), if the exact version of the board is specified, it is better to link to it
look
https://linux-sunxi.org/Category:H3_Boards
Last edited by sndwvs; 12-09-2017 at 10:17 AM.
|
|
|
12-09-2017, 11:03 AM
|
#3
|
Member
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 388
Original Poster
Rep:
|
This is the one I have. Orange Pi PC V1.3
Thanks for your response.
Dan
|
|
|
12-09-2017, 11:03 AM
|
#4
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,665
|
Quote:
Originally Posted by interndan
I have a 16GB SD card and would like to do the full install on it. I don't have the usb to serial cable described in the instructions, I do have a monitor that I used with my Raspberry Pi, so I also would like to do the installation without resorting to using ssh to do a headless install. (I have no experience with ssh) I also have a mini keyboard that uses a bluetooth adapter in usb port.
|
The initial issues you have are that:
1. The method of installing the OS requires that you use the micro SD card slot for the new version of U-Boot.
You should be able to overwrite the factory version on the eMMC, thereby freeing up the micro SD card slot, but I haven't tried. I don't normally recommend overwriting the factory u-boot unless necessary, which is why the boot-from-SD card method is chosen.
2. The u-boot version required does not support HDMI.
3. There is no HDMI support in the Kernel.
All in all, you need a serial cable. They're low priced and are a necessity when working with ARM devices.
The installation method doesn't suggest using SSH (although the documentation in 14.2 might do, but I changed it to use serial instead in -current).
If you were intending on using the OrangePi as a local machine to sit at and have a keyboard/monitor, you're out of luck at present due to the lack of HDMI support. I don't know when it's likely to appear in the Kernel.
|
|
|
12-09-2017, 11:16 AM
|
#5
|
Member
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 388
Original Poster
Rep:
|
@ drmozes Thank you also for your response. Apparently I haven't done enough research. I was under the impression that the version I have does not have/use eMMC. Which was why I wanted to boot from sd and also use partitions on the sd for full install since it has sufficient room. I also thought the latest kernel has HDMI support.
|
|
|
12-09-2017, 11:19 AM
|
#6
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Rep: 
|
Quote:
Originally Posted by drmozes
If you were intending on using the OrangePi as a local machine to sit at and have a keyboard/monitor, you're out of luck at present due to the lack of HDMI support. I don't know when it's likely to appear in the Kernel.
|
in my build kid I use patches from armbian to support hdmi
last build kernel kernel-sun8i-4.14.4
u-boot version 2018.01-rc1
You can try to boot from the card by writing the image there slack-current-arm-miniroot_05Nov17-4.14.4-orange_pi_plus_2e-build-20171208.img.7z
Code:
7z x slack-current-arm-miniroot_05Nov17-4.14.4-orange_pi_plus_2e-build-20171208.img.7z
dd bs=1M if=slack-current-arm-miniroot_05Nov17-4.14.4-orange_pi_plus_2e-build-20171208.img of=/dev/mmcblk0
Last edited by sndwvs; 12-09-2017 at 11:29 AM.
|
|
1 members found this post helpful.
|
12-09-2017, 11:45 AM
|
#7
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,665
|
Quote:
Originally Posted by sndwvs
|
Ok, cool thanks. I'll have a look at the patches.
Is this image of the official packages or your own?
Last edited by drmozes; 12-09-2017 at 11:46 AM.
Reason: fixed quote tag
|
|
|
12-09-2017, 11:53 AM
|
#8
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Rep: 
|
Quote:
Originally Posted by drmozes
Is this image of the official packages or your own?
|
only official, additional packages are present in the image with xfce
additional packages are configured for a specific board and can be disabled packages-orange_pi_plus_2e.conf
|
|
|
12-09-2017, 12:26 PM
|
#9
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,665
|
Quote:
Originally Posted by interndan
@ drmozes Thank you also for your response. Apparently I haven't done enough research. I was under the impression that the version I have does not have/use eMMC. Which was why I wanted to boot from sd and also use partitions on the sd for full install since it has sufficient room. I also thought the latest kernel has HDMI support.
|
Nope, you were right -- I forgot that not all of the Orange PI's have eMMC.
The latest stable kernels don't have HDMI support for the OrangePI, but I'll have a look at the patch set and see if I can apply them to 4.14 soon.
|
|
|
12-09-2017, 12:29 PM
|
#10
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,665
|
Quote:
Originally Posted by sndwvs
only official, additional packages are present in the image with xfce
additional packages are configured for a specific board and can be disabled packages-orange_pi_plus_2e.conf
|
oh ok.
Is the HDMI support stable with the patch set you're keeping in your stash? Now that 4.14 is LTS, it'll probably be the kernel for Slackware 15's release, so I'm happy to apply a set of patches to it (since I assume that by the time 15 is released, those patches would already be upstream so that I wouldn't need to include them in the post-15 -current branch going forwards).
|
|
|
12-09-2017, 12:34 PM
|
#11
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Rep: 
|
Quote:
Originally Posted by drmozes
oh ok.
Is the HDMI support stable with the patch set you're keeping in your stash?
|
yes, HDMI is supported I tested on my Orange Pi Plus 2E board
log uart
Last edited by sndwvs; 12-09-2017 at 12:53 PM.
|
|
|
12-09-2017, 06:07 PM
|
#12
|
Member
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 388
Original Poster
Rep:
|
Making progress here. System installed and booting up. Have output to hdmi monitor, and mini keyboard working. I am occasionally getting init: id "s1" and "s2" respawning to fast errors. Also the eth0 seems not to be working.
|
|
|
12-09-2017, 06:39 PM
|
#13
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Rep: 
|
Quote:
Originally Posted by interndan
id "s1" and "s2" respawning to fast errors.
|
in /etc/inittab comment line:
#s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100
#s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100
Quote:
Originally Posted by interndan
Also the eth0 seems not to be working
|
in the board orange pi plus 2e 1000M Realtek RTL8211E
, and in the board orange pi pc 100M
need a log to understand what's wrong
try to load the 8189es module
modprobe -r 8189fs
modprobe 8189es
if everything is in order, change /etc/rc.d/rc.modules.local
/sbin/modprobe 8189fs
on
/sbin/modprobe 8189es
Last edited by sndwvs; 12-09-2017 at 06:50 PM.
|
|
1 members found this post helpful.
|
12-09-2017, 07:06 PM
|
#14
|
Member
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 388
Original Poster
Rep:
|
Ok thanks. inittab edited, that seems to have taken care of that error. Which log do I need to try to find?
ifconfig eth0 gives device not found error
Last edited by interndan; 12-09-2017 at 07:07 PM.
|
|
|
12-09-2017, 07:13 PM
|
#15
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Rep: 
|
Quote:
Originally Posted by interndan
Which log do I need to try to find?
ifconfig eth0 gives device not found error
|
after executing the command modprobe 8189es
see dmesg (which can be shown)
|
|
|
All times are GMT -5. The time now is 12:15 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
|
|