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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: fritz

Openelec for H3 Devices

[Copy link]

4

Threads

1128

Posts

8253

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
8253
Post time 2015-12-17 07:41:14 | Show all posts
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 the Code


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

4

Threads

1128

Posts

8253

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
8253
Post time 2015-12-17 08:28:37 | Show all posts
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

355

Posts

2328

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2328
 Author| Post time 2015-12-17 14:01:36 | Show all posts
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

1128

Posts

8253

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
8253
Post time 2015-12-17 14:27:43 | Show all posts
You have to love them:
  1. PKG_NAME="connman"
  2. # DO NOT UPGRADE!!
  3. -PKG_VERSION="1.23"
  4. +PKG_VERSION="1.30"
Copy the 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
Post time 2015-12-17 14:43:20 | Show all posts
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

355

Posts

2328

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2328
 Author| Post time 2015-12-17 16:12:59 | Show all posts
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

1128

Posts

8253

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
8253
Post time 2015-12-18 02:00:28 | Show all posts
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

355

Posts

2328

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2328
 Author| Post time 2015-12-18 04:54:37 | Show all posts
@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

1128

Posts

8253

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
8253
Post time 2015-12-18 05:13:58 | Show all posts
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

355

Posts

2328

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2328
 Author| Post time 2015-12-21 00:29:38 | Show all posts
Well, the easiest approach is not always "the best".
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....
You have to log in before you can reply Login | Register

Points Rules

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

2021-12-6 06:36 GMT+8 , Processed in 0.033929 second(s), 19 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list