please choosego to mobile | Continue to access the PC version
Author: tcmichals

Orangepi2/plus2/PC H3 Linux mainline support

[Copy link]

1

threads

28

posts

136

credits

Registered member

Rank: 2

credits
136
Published in 2016-2-7 01:01:42 | Show all floors
I say that it seems quick because it *IS* quick when you consider what the software developers are doing to make this stuff work.  See, Allwinner isn't really providing..... anything at all for them to work from.  The fact that they ever get these processors mainlined is a feat in and of itself.  

0

threads

7

posts

92

credits

Registered member

Rank: 2

credits
92
Published in 2016-2-11 22:24:44 | Show all floors
LinuXperia replied at 2016-1-18 12:00
Hi all.
I have two Orange PI PC Boards that i buyed two weeks ago and i am struggling since then to ...

Do you mean you can't boot into u-boot or Linux?

I have opi-pc and can boot into latest u-boot and Linux. U-boot is latest git, compile with orangepi_pc_defconfig, then put the u-boot-sunxi-with-spl.bin to sd card offset 8k and it boots fine.

For Linux kernel, I use
I use arch/arm/configs/sunxi_defconfig to compile following all the instructions here https://linux-sunxi.org/Mainline_U-boot, it boots fine.


My problem is that after booting into Linux, there is no ethernet device. dmesg doesn't show anything either.

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2016-2-11 22:55:58 | Show all floors
DreamDreams replied at 2016-2-11 22:24
Do you mean you can't boot into u-boot or Linux?

I have opi-pc and can boot into latest u-boot a ...


I am still using Allwinner's u-boot. Did you try my patches (http://moinejf.free.fr/opi2/) with the last u-boot?
(sorry, there is no ethernet, no audio and no wifi on OPI2 yet).

0

threads

7

posts

92

credits

Registered member

Rank: 2

credits
92
Published in 2016-2-11 23:56:15 from mobile | Show all floors
No I didn't. What more does your patch has than Hans de Goede's wip branch?

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2016-2-12 15:31:01 | Show all floors
DreamDreams replied at 2016-2-11 23:56
No I didn't. What more does your patch has than Hans de Goede's wip branch?

I think just video: the HDMI driver cannot go to the mainline.

0

threads

7

posts

92

credits

Registered member

Rank: 2

credits
92
Published in 2016-2-12 17:17:02 | Show all floors
Edited by DreamDreams at 2016-2-12 17:19
moinejf replied at 2016-2-12 15:31
I think just video: the HDMI driver cannot go to the mainline.

Is network supposed to work (on orange pi pc) with Hans de Goede's repository?

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2016-2-13 15:46:47 | Show all floors
DreamDreams replied at 2016-2-12 17:17
Is network supposed to work (on orange pi pc) with Hans de Goede's repository?

I don't know about ethernet: my OPI2 is too far from my ISP's box and I must use wifi.
There is no driver for the rtl8189 chip of the OPI2. I started to develop one.

2

threads

34

posts

305

credits

Intermediate member

Rank: 3Rank: 3

credits
305
Published in 2016-2-14 16:18:59 | Show all floors
Edited by pgauret at 2016-2-14 17:19

Just tried the latest mainline u-boot and kernel (Hans') on my Orange Pi Plus.
Boots, the 4 cores come up and usb works. However no ethernet, no eMMC and CPU frequency very low (couldn't get a reading but calibrated at 48 bogomips per core).


0

threads

7

posts

92

credits

Registered member

Rank: 2

credits
92
Published in 2016-2-15 17:08:38 from mobile | Show all floors
My opi pc has same 48 bogomips

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2016-2-16 15:35:40 | Show all floors
DreamDreams replied at 2016-2-15 17:08
My opi pc has same 48 bogomips

The BogoMIPS value does not give the rate of the CPU clock. In the actual state, this clock and the one of the DRAM  are set by the u-boot.In the Allwinner's u-boot, I set the CPU clock to 1200MHz (letting DRAM clock at 672MHz).
Then, with the kernel 4.5, the machine is as fast as with the kernel 3.4.

The CPU temperature is between 41° and 47° when the system is idle with an active screen (I have no cooling system). The difference of this temperature is unknown.

When the screen goes to low power, the temperature shuts about 5°.

Generating a kernel with 2 threads (make -j2) makes the temperature grow up to 58/62°. This generation takes about 1h30, and this is just the same time I get with the kernel 3.4 (dvfs from 480..1200MHz).

So, I would say that the mainline kernel is usable if you use:
- a USB network device,
- the Allwinner's u-boot.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list