Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: tcmichals

Orangepi2/plus2/PC H3 Linux mainline support

[Copy link]

1

Threads

28

Posts

136

Credits

Registered member

Rank: 2

Credits
136
Post time 2016-2-7 01:01:42 | Show all posts
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
Post time 2016-2-11 22:24:44 | Show all posts
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
Post time 2016-2-11 22:55:58 | Show all posts
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
Post time 2016-2-11 23:56:15 From the mobile phone | Show all posts
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
Post time 2016-2-12 15:31:01 | Show all posts
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
Post time 2016-2-12 17:17:02 | Show all posts
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
Post time 2016-2-13 15:46:47 | Show all posts
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
Post time 2016-2-14 16:18:59 | Show all posts
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
Post time 2016-2-15 17:08:38 From the mobile phone | Show all posts
My opi pc has same 48 bogomips

1

Threads

47

Posts

189

Credits

Registered member

Rank: 2

Credits
189
Post time 2016-2-16 15:35:40 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-6 19:05 GMT+8 , Processed in 0.033110 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list