Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

2

threads

37

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
Published in 2015-9-8 12:44:46 | Show all floors
Dear Loboris,

May you give some guide for me to get AP mode to work in OPI?
I tried many tutorials online but still failed.

root@OrangePI:/tmp# /usr/sbin/hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=7
l2_sock_recv==l2_sock_xmit=0x0x64638
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.

Cheers

1

threads

2

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2015-9-8 18:48:19 | Show all floors
Edited by joole_s at 2015-9-8 18:50

Dear Loboris:

Could you tell me how to compile the RTL8192cu RTP8188cu's driver under the ubuntu mate system? I use the OPI PC board, and the other question is : under  the new image of mate, the only one usb host can use,how to modify it?

3

threads

28

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-9-9 00:54:07 | Show all floors
Edited by Vladimir55 at 2015-9-9 02:05

Hi dear Loboris!
board Mini 2
Debian, Ubuntu
the sound is good in HDMI,
as the output audio from the J3.5mm. no output audio.
tried to change the device settings, the sound - silence on J3.5mm.
what can be done?
thank.

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2015-9-9 02:20:29 | Show all floors
camh replied at 2015-9-6 17:17
Thanks for all the work you've done on this, loboris.

Could I ask that you also provide a defconfig ...

@camh I am working (slowly!) on the mainline kernel.
For the lichee kernel, you may get my ..config from my site http://moinejf.free.fr/opi2/.
For the mainline kernel, I applied Jens Kuske's patch about the H3, and I got a running kernel (4.2-rc8) with MMC and UART. There is only one active CPU running about 200MHz. Jens told me that PSCI support should be added in the u-boot for the 4 CPUs to be active.
Actually, I am porting the rtl8189es driver (wifi - does not work yet) and my next step is to have HDMI video starting from my Cubox DRM driver and/or from a DRM driver from the linux-sunxi team.
As told in the linux-sunxi pages, there is a lot of jobs to do: my priorities are USB (hard disk), thermal sensors, CPU frequency and HDMI sound. I will not work on the drivers I don't need as ethernet, eMMC, analog output (jack audio and video), GPIO, camera...
As soon as the 4.3-rc1 will be out, I will upload my current patches in my site.


0

threads

7

posts

118

credits

Registered member

Rank: 2

credits
118
Published in 2015-9-9 11:09:41 | Show all floors
Edited by camh at 2015-9-9 11:11

@moinejf Great. I have also started from Jens patches (uboot and kernel). My priorities are ethernet, eMMC, sata HDD and CPU control (frequency, throttling, etc), so it looks like we're not looking at the same stuff - good.

My first step is to get the network driver working in uboot so I can fel boot uboot which can then network boot the kernel. I've already had one orange pi plus sd card slot break so I want to experiment without needing to pop in and out the sd card in case another board breaks.

I haven't done much programming at the kernel and board/SoC level before so it's slow going as I learn each new bit I need to know.

I'm on #linux-sunxi most of the time so you can ping me there if you need to.
Happy to test anything you want to throw my way. I have some orange pi pc's on the way too so I'll be looking at getting them going as well (should be mostly the same).

3

threads

38

posts

223

credits

Intermediate member

Rank: 3Rank: 3

credits
223
Published in 2015-9-9 17:02:41 | Show all floors
Is loboris still alive ?

10

threads

448

posts

5037

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5037
 Author| Published in 2015-9-11 17:00:18 | Show all floors
I was on short vacation, sorry for not answering the questions.

@Sitheek I hope I'll receive my camera soon, so it is not necessary to send me one (thanks for the offer). I'm quite bussy with my work next week and I don't think I'll be able to spend much time on it anyway.

@camh  I'll upload config and other changes I've made to the kernel next week.

@magicse I've made no changes to video drivers (tv.ko)

@derrickyee81 I've never tested AP mode, I'll test it when I find some time.

@joole_s  All USB (host&otg) ports works on OPI-PC, you have to copy script.bin.OPI-PC_xxxx to script.bin
I have only one problem on OPI-PC (related to USB), my wireless keyboard/mouse works only in bottom horizontal USB connector. I'll look into this problem later.
The drivers for RTL8192cu & RTP8188cu are present in scriptbin_kernel.tar.gz

@Vladimir55 I'll test audio on 3.5mm connector when I find some more time.

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2015-9-11 17:07:31 | Show all floors
@Loboris: is getting the Mali GPU working on your radar? For some reason it's a burden to get this running on the OPI. I own another A20 board (pcduino) where the Mali acceleration actually works in Linux. However, I get all kinds of errors when compiling on my OPI+.  I have tried all guides and tips / tricks I could find via Google, but I am out of options.

Maybe you have a clue what's the issue?

10

threads

448

posts

5037

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5037
 Author| Published in 2015-9-11 17:11:37 | Show all floors
There is an interesting review of the OPI boards with Debian Jessie XFCE image on CNXSoft (and video).

10

threads

448

posts

5037

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5037
 Author| Published in 2015-9-11 17:24:02 | Show all floors
makama80 replied at 2015-9-11 10:07
@Loboris: is getting the Mali GPU working on your radar? For some reason it's a burden to get this r ...

It requires much more time than I have. I had some success (I've compiled the drivers), but it still don't work. I was hoping Steven will release the working solution.
I'll return to it maybe next month, I don't think that using Linux as media player on such boards is their intended purpose.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list