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

Orangepi2/plus2/PC H3 Linux mainline support

[Copy link]

0

threads

4

posts

56

credits

Registered member

Rank: 2

credits
56
Published in 2015-7-17 19:49:14 | Show all floors
Edited by funkyStufF at 2015-7-17 19:50

such there no mainline support for the Orange Pi Plus, the SoC-Board is useless. I am really sad to buy it.
Published in 2015-7-18 00:37:00 | Show all floors
funkyStufF replied at 2015-7-17 19:49
such there no mainline support for the Orange Pi Plus, the SoC-Board is useless. I am really sad to  ...

Think about donating your board to an interested linux-sunxi developer: https://groups.google.com/forum/#!forum/linux-sunxi

0

threads

8

posts

281

credits

Intermediate member

Rank: 3Rank: 3

credits
281
Published in 2015-7-24 15:38:20 | Show all floors
There has been some patches that have been delivered https://lkml.org/lkml/2015/5/15/505 and their author gave a hint yesterday on how to get them on a system. http://irclog.whitequark.org/linux-sunxi/2015-07-23#13496574. I've not tested this but it should be possible to get something booting.
CK

0

threads

4

posts

56

credits

Registered member

Rank: 2

credits
56
Published in 2015-9-23 21:28:21 | Show all floors
friendly reminder!

1

threads

28

posts

136

credits

Registered member

Rank: 2

credits
136
Published in 2015-10-15 03:48:01 | Show all floors
This is without  doubt my #1 request/desire out of the Orange Pi.  Here's my $.02 review of the OPI:

HW is excellent-- they've found a way to make a fairly reliable $15PC-- that's brilliant!
SW is a hot mess.  If drivers were open, SW could easily not be a hot mess, though.  

You listening, allwinner?

2

threads

34

posts

305

credits

Intermediate member

Rank: 3Rank: 3

credits
305
Published in 2015-10-15 16:58:14 | Show all floors
Any news on what works or not with the mainline kernel? Last time I tried around April it could boot with only a single core running at a reduced clock speed, no wifi or ethernet.

1

threads

28

posts

136

credits

Registered member

Rank: 2

credits
136
Published in 2015-10-15 20:37:35 | Show all floors
pgauret:

Can you possibly send me the exact commands you used to build it?  There's someone here working full time on exactly that problem.  Any information on how to get the thing to compile and from there how to get a booting Opi would be very greatly appreciated.  

Jake
faddat@gmail.com
skype: faddat
tox: 9650AB1C5326656D2DFD99710353F4FA514B82425E6A0ED7864AD5843D307E3886AF752828D7

2

threads

34

posts

305

credits

Intermediate member

Rank: 3Rank: 3

credits
305
Published in 2015-10-16 02:43:08 | Show all floors
Edited by pgauret at 2015-10-16 03:00

Here are the commands I used. Please note that I didn't manage to build a working u-boot then, there has been a few H3 related commits since, maybe doable now.
Maybe worth mentioning I manually applied the patches from Jens Kuske as they were not yet mainlined when I tried. However not sure of status today, seems only some of the patchset made it to the mainline.

http://lists.infradead.org/piper ... 015-May/343930.html

  1. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- multi_v7_defconfig
  2. make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x40008000 uImage dtbs
  3. cp arch/arm/boot/zImage arch/arm/boot/zImage-without-dtb
  4. cat arch/arm/boot/zImage arch/arm/boot/dts/sun8i-h3-orangepi-plus.dtb > arch/arm/boot/zImage-with-dtb
  5. cp arch/arm/boot/zImage-with-dtb zImage
  6. make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x40008000 uImage
  7. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules
  8. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules_install
Copy code

1

threads

28

posts

136

credits

Registered member

Rank: 2

credits
136
Published in 2015-10-16 07:42:00 | Show all floors
Many thanks!  If anyone else is working on this, I'd love to see how you're triggering the build, also!

(your equivalent code)

Should know in about ten minutes....

1

threads

12

posts

73

credits

Registered member

Rank: 2

credits
73
Published in 2015-10-16 23:08:42 | Show all floors
How can I download these patches?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list