Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

10

threads

448

posts

5181

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5181
 Author| Published in 2015-10-25 04:33:13 | Show all floors
bizongod replied at 2015-10-24 20:36
Hi!
I'm trying to configure DVB-T on OPi plus.
I have compiled kernel from Loboris with enabled dri ...

Firmware loading problem is well known (many wifi adapters do not work because of the same problem). Still looking for solution.

10

threads

448

posts

5181

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5181
 Author| Published in 2015-10-25 04:49:20 | Show all floors
Thumos replied at 2015-10-24 15:29
Not being proficient in Linux, I struggled with the install process somewhat. I did an install write ...

Thanks, I've added the link to the 1st post.

1

threads

4

posts

124

credits

Registered member

Rank: 2

credits
124
Published in 2015-10-25 06:26:48 | Show all floors
Edited by bizongod at 2015-10-25 06:57
loboris replied at 2015-10-25 04:33
Firmware loading problem is well known (many wifi adapters do not work because of the same problem ...

Firmware problem exist with all firmwares, or some work?Maybe this is problem with udev? As I see, there is no script etc for
loading firmware or no built-in command firmware.

Ok, I tried to load firmware to module manually, like this :
  1. echo -n 1 > /sys/$DEVPATH/loading
  2. cat /lib/firmware/$(uname -r)/$FIRMWARE > /sys/$DEVPATH/data \
  3.     || cat /lib/firmware/$FIRMWARE      > /sys/$DEVPATH/data
  4. if [ $? = 0 ]; then
  5.     echo -n  1 > /sys/$DEVPATH/loading
  6.     echo -n -1 > /sys/$DEVPATH/loading
  7. fi
Copy code
Just substituting variables, also does not work.


Thanks,
Karol




0

threads

2

posts

18

credits

Novice

Rank: 1

credits
18
Published in 2015-10-25 06:49:03 | Show all floors
Is there a way to get the RTL8191SU from realtek running?

0

threads

25

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-10-25 07:09:02 | Show all floors
Edited by Harald at 2015-10-25 07:16
geev03 replied at 2015-10-24 21:32
Tried Ubuntu_wily ('Ubuntu_wily_mini.img.xz  - Boris Lovošević ')  on Orange Pi-PC.
How to get th ...

geevv03:  follow this precisely and your wired ethernet should work:
"After burning the image to the SDCard, download scriptbin_kernel.tar.gz from Mega or GoogleDrive.
It contains the latest kernel and script.bin
Unpack and copy uImage_OPI-2 to sdcard fat partition, rename to uImage.
Copy script.bin.OPI-PLUS_xxxxpyy to sdcard fat partition, rename to script.bin.
You may also copy the lib directory to the linux partition (if you are on Windows, do it after booting to OPI)."
(source: loboris)

My experience with the OPI-PC and Loboris distributions:
LEDs:
when power is first connected, only the Ethernet two LEDs are on solid, no red LED.
with no or bad micro-SD, and power connected, the red LED is off.
when booting is good and starts, the red LED is on solid.
if trouble during boot, the Red LED flashes, and booting halts.
(on Android the green LED flashes ocassionally while booting ok?)
when boot is ok, the wired Ethernet LED start flashing indicating it is trying to connect.
When all is OK, the red LED is on solid.  The green LED is off. The Ethernet LEDs flash with LAN activity.

10

threads

448

posts

5181

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5181
 Author| Published in 2015-10-25 07:14:49 | Show all floors
Edited by loboris at 2015-10-25 00:41
bizongod replied at 2015-10-24 23:26
Firmware problem exist with all firmwares, or some work?Maybe this is problem with udev? As I see,  ...

It looks like it is related to udev (which from version 217 no longer has userspace firmware loader and needs kernel 3.7 or higher for firmware's to be loaded).
Could you test with Ubuntu Trusty, it has an older udev version (204) that should work ?
Debian wheezy and jessie should also work as they also have older udev (175/215).

Someone reported that firmware loading for his wifi adapter works, but I don't remember if he mentioned on which distro he tested.


2

threads

34

posts

450

credits

Intermediate member

Rank: 3Rank: 3

credits
450
Published in 2015-10-25 07:36:27 | Show all floors
Hey @loboris,
How do I compile modules?.. I mean, what is the proper way to do it?..
I have configured kernel with your script, then I go to linux-3.4/ and do make prepare, then make prepare_modules, then (in my case) I do make M=drivers/media/gspca. It all goes without errors, but when I try to load the module I get:
  1. insmod: ERROR: could not insert module gspca_zc3xx.ko: Invalid module format
Copy code

I am definitely missing something.

10

threads

448

posts

5181

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5181
 Author| Published in 2015-10-25 07:46:16 | Show all floors
Edited by loboris at 2015-10-25 00:52
toxuin replied at 2015-10-25 00:36
Hey @loboris,
How do I compile modules?.. I mean, what is the proper way to do it?..
I have configur ...

Look at the build_mali_driver.sh script, it builds only modules (it is called form build_linux_kernel.sh).
You can modify it for the modules you want to build.
If you can enable the module in kernel configuration, it is better to build the whole kernel together with the newly included module(s), then copy the uImage and lib/modules to your OPI.

1

threads

4

posts

124

credits

Registered member

Rank: 2

credits
124
Published in 2015-10-25 08:12:59 | Show all floors
Edited by bizongod at 2015-10-25 08:28
loboris replied at 2015-10-25 07:14
It looks like it is related to udev (which from version 217 no longer has userspace firmware loader ...

Ubuntu Trusty works and correctly loads firmware.
Thanks for the tip

Now I found, that USB for hub and external USB connectors are working in
full-speed mode (12Mb). With 12Mb USB DVBT tuner will grab only one program, while I need whole MUX -> 480Mb is must.

Thanks,
Karol

1

threads

25

posts

141

credits

Registered member

Rank: 2

credits
141
Published in 2015-10-25 09:24:58 | Show all floors
loboris replied at 2015-10-25 07:46
Look at the build_mali_driver.sh script, it builds only modules (it is called form build_linux_kern ...

Like Bizongod said loading firmware modules is working with older udev version. Could we change udev version ourselves or must we wait for new image updates?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list