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

H3 boards with Allwiner source code

[Copy link]

2

threads

34

posts

305

credits

Intermediate member

Rank: 3Rank: 3

credits
305
 Author| Published in 2015-5-16 19:24:14 | Show all floors
Thanks again Fritz, I'll give it a shot.

You seem to have already made a lot of progress with this board. Just being curious have you already tried the mainline kernel with the recent h3 patches? I could get it booting but am still missing key pieces:
- wifi : trying to make the mainline RTLWIFI driver work, though not sure it supports SDIO. Plan B is to build from the Realtek provided sources.
- ethernet : no luck getting the STMMAC driver to work. Haven't tried much though.
- SMP : for now kernel only spins up one CPU. Something else I'd need to look into.
- eMMC : wonder if there's anything in u-boot to support it.

I am documenting all the required steps and quirks encountered, at some point I guess I should add it to the Orange Pi Plus entry on the linux-sunxi wiki.


5

threads

355

posts

2402

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2402
Published in 2015-5-16 20:17:28 | Show all floors
@pgauret
How To
Improve it,

Hopefully we will have mainline kernel and full Soc support
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

1

threads

46

posts

583

credits

Senior member

Rank: 4

credits
583
Published in 2015-5-16 20:20:12 | Show all floors
Edited by phelum at 2015-5-16 20:35
pgauret replied at 2015-5-16 19:24
Thanks again Fritz, I'll give it a shot.

You seem to have already made a lot of progress with this ...
ethernet : no luck getting the STMMAC driver to work. Haven't tried much though.

I couldn't get the GMAC to work on my Orange Pi until a found a BananaPi patch for the PHY.  The sunxi-linux site mentions it.  Perhaps this applies to the OPI+.

I've tried to include my commit in this post but the result is too long for the forum (10000 char limit).

Cheers,
Steven


5

threads

355

posts

2402

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2402
Published in 2015-5-16 20:43:04 | Show all floors
@pgauret
If You need the "right" configuration:

unzip and rename it sys_config.fex

This thread contains more resources

You need to Log in to download or view,No account?    Register

x
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....
Published in 2015-5-16 22:23:54 | Show all floors
Published in 2015-5-16 22:41:06 | Show all floors

7

threads

19

posts

228

credits

Intermediate member

Rank: 3Rank: 3

credits
228
Published in 2015-7-5 07:05:09 | Show all floors
pgauret replied at 2015-5-16 15:12
Sorry for late reply. For the moment just replacing uImage, couldn't yet build a working u-boot fr ...

pgauret,
what is your current status?

Do you have updated configure file?
Did you already add networking support?

Thank you.
Yaroslav.


18

threads

200

posts

866

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
866
Published in 2015-8-2 03:59:36 | Show all floors
I get next error after compilation u-boot
arm-linux-gnueabihf-ld: error: /usr/lib/gcc/arm-linux-gnueabihf/4.6/libgcc.a(bpabi.o) uses VFP register arguments, u-boot does not
arm-linux-gnueabihf-ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux-gnueabihf/4.6/libgcc.a(bpabi.o)
arm-linux-gnueabihf-ld: error: /usr/lib/gcc/arm-linux-gnueabihf/4.6/libgcc.a(_divdi3.o) uses VFP register arguments, u-boot does not
arm-linux-gnueabihf-ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux-gnueabihf/4.6/libgcc.a(_divdi3.o)
arm-linux-gnueabihf-ld: error: /usr/lib/gcc/arm-linux-gnueabihf/4.6/libgcc.a(_udivdi3.o) uses VFP register arguments, u-boot does not
arm-linux-gnueabihf-ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux-gnueabihf/4.6/libgcc.a(_udivdi3.o)
make: *** [u-boot] Error 1


Orange PI 2
www.orangepi.pp.ua

18

threads

200

posts

866

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
866
Published in 2015-8-2 04:25:07 | Show all floors
Oh sorry I solved error
PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -mfloat-abi=hard -mfpu=vfpv3

But gen enother ))
`u-boot-sun8iw7p1.bin' -> `/home/orangepi2/bootloaderPI2/u-boot-2011.09/../../tools/pack/chips/sun8iw7p1/bin/u-boot-sun8iw7p1.bin'
cp: cannot create regular file `/home/orangepi2/bootloaderPI2/u-boot-2011.09/../../tools/pack/chips/sun8iw7p1/bin/u-boot-sun8iw7p1.bin': No such file or directory
Orange PI 2
www.orangepi.pp.ua

1

threads

46

posts

583

credits

Senior member

Rank: 4

credits
583
Published in 2015-8-2 14:05:29 | Show all floors
magicse replied at 2015-8-2 04:25
Oh sorry I solved error
PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -mfloat-abi=hard -mfpu=vfpv3
...

Hi,

I assume you're trying to compile u-boot.  I hit the same problem with the missing directories.  I had to go up two levels in the directory structure then create the pack and tools, etc. directories.

Sorry but I can' get at my system at the moment or see your post to give a more specific answer.  But I remember it was easy to fix once I looked at the error message.

Thanks for the tip about PLATFORM_RELFLAGS.  I hit the same link error.

Cheers,
Steven

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

Points Rule

Quick reply Top Return list