Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

1

threads

5

posts

51

credits

Registered member

Rank: 2

credits
51
Published in 2015-10-19 17:14:54 | Show all floors
darqoq replied at 2015-10-18 23:33
Shit happens, you are absolutely right - loading module works.
Of course I forgot to copy /lib/modu ...

How can I copy /lib/modules ???

0

threads

20

posts

102

credits

Registered member

Rank: 2

credits
102
Published in 2015-10-19 17:38:47 | Show all floors
loboris replied at 2015-10-19 05:06
For those having trouble geting analog audio (via audio jack) working, please try this:
Run in termi ...

Thank's Loboris sound work fine now, you rock!
Nice work, all working now.

OPI-2
Published in 2015-10-19 18:00:19 | Show all floors
Edited by darqoq at 2015-10-19 11:03
andreaok66 replied at 2015-10-19 10:14
How can I copy /lib/modules ???

After burning image to your sdcard, there are at least two partitions:
1. boot - vfat boot partition (is visible from Windows), you should copy there valid uImage and script.bin files
2. system - linux system partition, under Linux you have to mount this partition and then remove /lib/modules and copy the new one from scriptbin_kernel.tar.gz


Orange PI PC

0

threads

20

posts

102

credits

Registered member

Rank: 2

credits
102
Published in 2015-10-19 18:26:53 | Show all floors
darqoq replied at 2015-10-19 18:00
After burning image to your sdcard, there are at least two partitions:
1. boot - vfat boot partiti ...

You have to copy this wich root privileges, you can do this in graphic mode loggin as root (pass: orangepi)
copy "/lib" (scriptbin_kernel) to "/" of your linux (the second partition. NOT fat partition where are uImage...)
there are another folder "/lib" so you have to replace an overwrite them

You can copy this folder using command, select right path. I copy "/lib" to a USB later copy to OPI board
cp -r /media/orangepi/"YourUSB/lib /lib

*Anyway you need be root*
OPI-2

10

threads

448

posts

5104

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5104
 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

266

credits

Intermediate member

Rank: 3Rank: 3

credits
266
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

780

credits

Senior member

Rank: 4

credits
780
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
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list