Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

10

threads

448

posts

5237

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5237
 Author| Published in 2015-10-19 23:32:43 | Show all floors
Arch Linux for OrangePi H3 boards uploaded to Mega.
For now only the minimal image (without Desktop GUI).

1

threads

10

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-10-19 23:54:27 | Show all floors
So I'm still a bit confused about something:  Running OrangePI-PC_Ubuntu_Vivid_Mate, if I download the scriptbin_kernel.tar.gz file, unzip it, and go to lib/modules/3.4.39, both 'build' and 'source' (symbolic links) still point to '/home/LoBo2_Razno/OrangePI/kernel_3.4.9/linux-3.4'.  Obviously I don't have access to Loboris' home folder, and the same directories on my Orange Pi point to there as well.  So how am I supposed to get any use from things that require those directories to function if I can't access the proper files for them.  Why are these directories symbolic links instead of actual local directories?  What am I missing?  

Also, I'm a relative newb to all this, so while I know where the github source tree is, I don't have the first clue as to what to download.  I can't find anything that suggests it would be a proper replacement for /lib/modules/3.4.39/*.  

Thanks in advance!

0

threads

10

posts

289

credits

Intermediate member

Rank: 3Rank: 3

credits
289
Published in 2015-10-20 00:09:54 | Show all floors
Wow, Loboris, you are an OS-adaption-machine.
Thank you very much for your work!

1

threads

90

posts

851

credits

Senior member

Rank: 4

credits
851
Published in 2015-10-20 00:33:00 | Show all floors
Jazzmania replied at 2015-10-19 23:54
So I'm still a bit confused about something:  Running OrangePI-PC_Ubuntu_Vivid_Mate, if I download t ...

the build/source folder in modules is basically (a link to) the kernel source tree.
so if you want a local copy of the tree on your OPI, you could do the following:

cd /opt
git clone https://github.com/loboris/OrangePI-Kernel.git
ln -s /opt/OrangePI-Kernel/linux-3.4/ /lib/modules/3.4.39/build

1

threads

10

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-10-20 00:42:03 | Show all floors
lymon replied at 2015-10-20 00:33
the build/source folder in modules is basically (a link to) the kernel source tree.
so if you want ...

Okay, makes sense.  Thanks lymon!

0

threads

9

posts

76

credits

Registered member

Rank: 2

credits
76
Published in 2015-10-20 00:58:05 | Show all floors
Hi loboris, I`m testing new image Ubuntu 15.04 Mate for OrangePI PC, everything seems to be working fine, but I have  one problem with wifi card

[10319.965215] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[10319.965327] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
[10319.965617] usbcore: registered new interface driver rtl8192cu
[10319.966910] rtlwifi: Firmware rtlwifi/rtl8192cufw.bin not available  <-- here !
...
root@OrangePI:~# lsmod
Module                  Size  Used by
rtl8192cu              87956  0
rtlwifi                70757  1 rtl8192cu
rtl8192c_common        52422  1 rtl8192cu
mac80211              331125  3 rtlwifi,rtl8192c_common,rtl8192cu
...
root@OrangePI:~# ls -la /lib/firmware/rtlwifi/rtl8192cufw.bin
-rw-r--r-- 1 root root 16014 Oct 12 15:22 /lib/firmware/rtlwifi/rtl8192cufw.bin

root@OrangePI:~# uname -a
Linux OrangePI 3.4.39 #1 SMP PREEMPT Mon Oct 12 12:02:29 CEST 2015 armv7l armv7l armv7l GNU/Linux

0

threads

20

posts

102

credits

Registered member

Rank: 2

credits
102
Published in 2015-10-20 03:13:10 | Show all floors
When i shutdown the OPI-2 board the red led still ON, and the hardware power-button don't work
Why it's happend?
OPI-2

0

threads

1

posts

29

credits

Novice

Rank: 1

credits
29
Published in 2015-10-20 05:18:04 | Show all floors
Thanks for the hard work loboris, especially for the very nice Ubuntu Vivid Mate image for OPI-PC. WiFi however is still not working and i don't understand why. I tried three different USB WiFi adapters with common chipsets. They all work flawlessly in an Ubuntu 14.04 x64 desktop VM. On OPI-PC Ubuntu Vivid they are detected, modules load fine, modinfo knows about the vendor/device ID. So everything is OK until the last step where the firmware should be loaded and fails.

1. Ralink 3072 device
  detected by ubuntu desktop as RT3071
  Ubuntu desktop loads firmware "rt2870.bin"
  matching firmware exists on OPI-PC in lib/firmware
  On OPI-PC: "Error - Failed to request Firmware."  

2. Realtek RTL8192 device
  detected by ubuntu desktop as RTL8192
  Ubuntu desktop loads firmware "rtl8192cufw_TMSC.bin"
  OPi-PC tries to load firmware rtl8192cufw.bin
  Error. "Firmware rtlwifi/rtl8192cufw.bin not available"
  however, firmware file exists on OPI-PC in lib/firmware/rtlwifi
  copying over "rtl8192cufw_TMSC.bin" does not solve it

3. Realtek RTL8187 device
  detected by desktop Ubuntu as RTL8187
  no firmware loaded (probably not necessary, it's an ancient device)
  your OPI-PC Vivid image contains no driver
  however, the last build had one, got the card recognized, modules loaded but that was all

I also copied the lib/firmware folder to /root, home/orangepi and / but this didn't help either. I don't understand all the details of usb wifi support in linux. But i understand most of the process and wonder why this always fails on OPi.

Thanks for any hints.


3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-20 06:55:12 | Show all floors
Edited by Survive-Pi at 2015-10-19 15:57

nidea: Ubuntu 14.04 xfde is the only distro I've found where the hardware power button appears to function. All the rest need the power cable unplugged/replugged.
Orange Pi Plus

0

threads

2

posts

10

credits

Novice

Rank: 1

credits
10
Published in 2015-10-20 07:06:25 | Show all floors
What can I do? I need WIFI Support. As I understand the kernel doesnt load firmware? Is that right?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list