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

Openelec for H3 Devices

[Copy link]

4

threads

1118

posts

9462

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9462
Published in 2015-12-17 07:41:14 | Show all floors
I get this:

  1. Welcome to OpenELEC (unofficial) - Version: devel-20151217003237-r21676-g77b67b4!

  2. [  OK  ] Created slice System Slice.
  3. [  OK  ] Started FS Resize.
  4. [  OK  ] Reached target FS Resize target.
  5. resizing not allowed. rebooting in 15s
Copy code


I checked that there is no .kodi or .config or .cache folder after image creation

4

threads

1118

posts

9462

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9462
Published in 2015-12-17 08:28:37 | Show all floors
Edited by jernej at 2015-12-17 01:41

Ok, I found the issue. You forgot to revert yet another systemd 228 patch (https://github.com/vonfritz/Open ... caacc9bab101bc6f295)

systemd is patched so /etc is actually /storage/.config and that patch should prevent systemd to create and populate that folder. Because it fails, resizing code founds /storage/.config folder and refuses to resize the partition.

I also noticed that wifi network crashes right after association. But that is topic for tomorrow

EDIT: after quick check I found that this is upstream issue described as a comment to the commit: https://github.com/OpenELEC/Open ... e936f0e3b0c2911b5bb

5

threads

354

posts

2708

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2708
 Author| Published in 2015-12-17 14:01:36 | Show all floors
You are right, forgot to revert this.
Then why not build on top of 6.0 instead of devel, maybe its more "stable".
I think most users here are interest in playing some HD videos and not to have "latest greatest".
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

4

threads

1118

posts

9462

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9462
Published in 2015-12-17 14:27:43 | Show all floors
You have to love them:
  1. PKG_NAME="connman"
  2. # DO NOT UPGRADE!!
  3. -PKG_VERSION="1.23"
  4. +PKG_VERSION="1.30"
Copy code


That would be the easy way, but I that case I would never start the project I think that I will stick with it and patch things as they come. This is opensource and someone who prefers stability could certainly do that. Maybe we can even contribute upstream.

0

threads

10

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-12-17 14:43:20 | Show all floors
hey, good job jernej! you simply have done the impossible.
But i'm sorry to be so rude, can you show us how you got Allwinner libs to work with kodi?
simply because I don't think this OpenElec fork will be maintained forever, and some users would like to know how to get it working from scratch.

5

threads

354

posts

2708

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2708
 Author| Published in 2015-12-17 16:12:59 | Show all floors
other issue I have seen is sometime it does not rebuild u-boot if you change DEVICE. resulting in having the wrong script.bin in the FAT partition.
Better clean it manualy before building for another DEVICE:
sudo PROJECT=H3 ARCH=arm DEVICE=xxx scripts/clean u-boot
or check script.bin on the FAT partition if it's ok.
That's it for now,
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

4

threads

1118

posts

9462

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9462
Published in 2015-12-18 02:00:28 | Show all floors
lyoko replied at 2015-12-17 07:43
hey, good job jernej! you simply have done the impossible.
But i'm sorry to be so rude, can you show ...

I assume that you are interested only in CedarX codec?

Simple, I studied following code:
https://github.com/rellla/xbmca10
https://github.com/zidootech/zidoo-kodi-14.2
https://github.com/xbmc/xbmc
https://github.com/allwinner-zh/ ... sunxi-cedarx/SOURCE
https://github.com/linux-sunxi/libvdpau-sunxi/tree/h3-dev (this will come handy for direct rendering)

You can see that xbmca10 hw codec is almost the same as this for H3. Binary library was extracted from H3 media SDK provided by Steven although with some fixes also open source one can be used.

I also read a lot of forums but posts were mostly negative.

That's it. I hope you are not disappointed I noticed that everything is on the net and I was bit confused why no one put this together before.

5

threads

354

posts

2708

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2708
 Author| Published in 2015-12-18 04:54:37 | Show all floors
@jernej
This is for you:
http://irclog.whitequark.org/linux-sunxi/2015-12-17
yeah, why not open source one?
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

4

threads

1118

posts

9462

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9462
Published in 2015-12-18 05:13:58 | Show all floors
Edited by jernej at 2015-12-17 22:15

Yeah, you know, I buy this board for media center and I want it operational ASAP

EDIT: Seriously, I went with easiest approach.

5

threads

354

posts

2708

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2708
 Author| Published in 2015-12-21 00:29:38 | Show all floors
Well, the easiest approach is not always "the best".
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list