Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

1

threads

115

posts

709

credits

Senior member

Rank: 4

credits
709
Published in 2016-3-26 21:55:44 | Show all floors
jernej replied at 2016-3-26 21:52
I think that driver was removed from original OpenELEC and was also removed from here when I merge ...

Any way to get it back ?

1

threads

25

posts

216

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
216
Published in 2016-3-27 04:20:44 | Show all floors
Branch openelec-7.0 fails compile with:

make[1]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
make[1]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make[1]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
make[1]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/v4l'
Forcing kernel version to 3.4.111.
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
Applying patches for kernel 3.4.111
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/v3.16_netdev.patch
make[2]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
patch -s -f -N -p1 -i ../backports/v3.16_wait_on_bit.patch
patch -s -f -N -p1 -i ../backports/v3.11_dev_groups.patch
patch -s -f -N -p1 -i ../backports/v3.10_fw_driver_probe.patch
patch -s -f -N -p1 -i ../backports/v3.9_pfn_warning.patch
make[3]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
Unapplying patches
patch -s -f -R -p1 -i ../backports/v3.10_fw_driver_probe.patch
patch -s -f -N -p1 -i ../backports/v3.9_drxj_warnings.patch
patch -s -f -R -p1 -i ../backports/v3.11_dev_groups.patch
patch -s -f -R -p1 -i ../backports/v3.16_wait_on_bit.patch
patch -s -f -R -p1 -i ../backports/v3.16_netdev.patch
patch -s -f -R -p1 -i ../backports/drx39xxj.patch
patch -s -f -R -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/v3.8_config_of.patch
patch -s -f -N -p1 -i ../backports/v3.6_pci_error_handlers.patch
patch -s -f -N -p1 -i ../backports/v3.6_i2c_add_mux_adapter.patch
patch -s -f -N -p1 -i ../backports/v3.4_i2c_add_mux_adapter.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
patch -s -f -R -p1 -i ../backports/api_version.patch
make[3]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
Applying patches for kernel 3.4.111
patch -s -f -N -p1 -i ../backports/api_version.patch
Preparing to compile for kernel version 3.4.111
WARNING: This is the V4L/DVB backport tree, with experimental drivers
         backported to run on legacy kernels from the development tree at:
                http://git.linuxtv.org/media-tree.git.
         It is generally safe to use it for testing a new driver or
         feature, but its usage on production environments is risky.
         Don't use it in production. You've been warned.
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/v3.16_netdev.patch
patch -s -f -N -p1 -i ../backports/v3.16_wait_on_bit.patch
patch -s -f -N -p1 -i ../backports/v3.11_dev_groups.patch
patch -s -f -N -p1 -i ../backports/v3.10_fw_driver_probe.patch
patch -s -f -N -p1 -i ../backports/v3.9_pfn_warning.patch
1 out of 1 hunk FAILED
Makefile:128: recipe for target 'apply_patches' failed
make[2]: *** [apply_patches] Error 1
make[2]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
VIDEOBUF2_DMA_CONTIG: Requires at least kernel 3.6.0
IR_IMG: Requires at least kernel 3.9.0
VIDEO_RCAR_VIN: Requires at least kernel 3.9.0
VIDEO_CODA: Requires at least kernel 3.5.0
VIDEO_SH_VEU: Requires at least kernel 3.9.0
VIDEO_RENESAS_VSP1: Requires at least kernel 3.9.0
VIDEO_ADV7183: Requires at least kernel 3.5.0
VIDEO_ADV7604: Requires at least kernel 3.13.0
VIDEO_OV9650: Requires at least kernel 3.5.0
VIDEO_VS6624: Requires at least kernel 3.5.0
VIDEO_MT9P031: Requires at least kernel 3.5.0
VIDEO_MT9T001: Requires at least kernel 3.5.0
VIDEO_MT9V032: Requires at least kernel 3.5.0
VIDEO_NOON010PC30: Requires at least kernel 3.5.0
VIDEO_M5MOLS: Requires at least kernel 3.6.0
VIDEO_S5K6AA: Requires at least kernel 3.5.0
VIDEO_S5K6A3: Requires at least kernel 3.5.0
VIDEO_S5K5BAF: Requires at least kernel 3.5.0
VIDEO_S5C73M3: Requires at least kernel 3.6.0
MEDIA_TUNER_E4000: Requires at least kernel 3.5.0
DVB_M88DS3103: Requires at least kernel 3.7.0
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: 'Makefile.media' is up to date.
make[1]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/v4l'
patching file v4l/Makefile.media
make[1]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030'
make -C /media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/v4l allyesconfig
make[2]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/v4l'
make[3]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
make[4]: Entering directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
Unapplying patches
patch -s -f -R -p1 -i ../backports/v3.10_fw_driver_probe.patch
patch -s -f -R -p1 -i ../backports/v3.11_dev_groups.patch
patch -s -f -R -p1 -i ../backports/v3.16_wait_on_bit.patch
patch -s -f -R -p1 -i ../backports/v3.16_netdev.patch
patch -s -f -R -p1 -i ../backports/drx39xxj.patch
patch -s -f -R -p1 -i ../backports/pr_fmt.patch
patch -s -f -R -p1 -i ../backports/api_version.patch
make[4]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
Applying patches for kernel 3.4.111
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/v3.16_netdev.patch
patch -s -f -N -p1 -i ../backports/v3.16_wait_on_bit.patch
patch -s -f -N -p1 -i ../backports/v3.11_dev_groups.patch
patch -s -f -N -p1 -i ../backports/v3.10_fw_driver_probe.patch
patch -s -f -N -p1 -i ../backports/v3.9_pfn_warning.patch
1 out of 1 hunk FAILED
Makefile:128: recipe for target 'apply_patches' failed
make[3]: *** [apply_patches] Error 1
make[3]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/linux'
Makefile:365: recipe for target 'allyesconfig' failed
make[2]: *** [allyesconfig] Error 2
make[2]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030/v4l'
Makefile:26: recipe for target 'allyesconfig' failed
make[1]: *** [allyesconfig] Error 2
make[1]: Leaving directory '/media/demetris/6080eef6-6212-43b9-93b1-54486838e6c2/OpenELEC-OPi2/build.OpenELEC-H3.arm-6.95.1/media_build-66f4030'
make: *** [image] Error 2

0

threads

11

posts

46

credits

Novice

Rank: 1

credits
46
Published in 2016-3-28 21:27:08 | Show all floors
Hi! I am trying to test latest build in my oPi PC but the screen appear bad and openelec doesn't start properly, I see bad the image that shows in my TV and is the word OPENELEC repeat in vertical which is too weird..
What happen? I tried OpenELEC-H3.arm-7.0-devel-20160309212704-r22307-g661c2cf and OpenELEC-H3.OPiPC.arm-6.95.1 images but no luck

0

threads

10

posts

132

credits

Registered member

Rank: 2

credits
132
Published in 2016-3-29 01:40:25 | Show all floors
kigm, i tried OpenELEC-H3.OPiPC.arm-6.95.1 with 2gb sd card, no problems, boots in 30 seconds

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-3-29 03:46:52 | Show all floors
hojnikb replied at 2016-3-26 14:55
Any way to get it back ?

Certainly, commit can be reverted and compiled, but you have to do it yourself. My focus is on mainline kernel currently, but I will be happy to answer any question about building.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-3-29 03:49:49 | Show all floors
Demetris replied at 2016-3-26 21:20
Branch openelec-7.0 fails compile with:

make[1]: Leaving directory '/media/demetris/6080eef6-6212-4 ...

Did you try clean build (delete build.* directory)? I never had such problem. I always do clean compile wheh something important changes and kernel upgrade qualifies for that. If you still don't have luck, then comment out media_build in last line in projects/H3/options

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-3-29 03:52:40 | Show all floors
kigm replied at 2016-3-28 14:27
Hi! I am trying to test latest build in my oPi PC but the screen appear bad and openelec doesn't sta ...

Nobody reported anything similar. Did you try any other image, eg. Android or any Linux distro?

0

threads

11

posts

46

credits

Novice

Rank: 1

credits
46
Published in 2016-3-29 04:01:32 | Show all floors
jernej replied at 2016-3-29 03:52
Nobody reported anything similar. Did you try any other image, eg. Android or any Linux distro?

...

Yes and with image from 2/22 is working well... I'll download again and flash.
One question, if this distro works well with hw decoding and wifi then it appears that with everything. Why we can't install kodi and run in other distro like Debian?

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-3-29 04:13:37 | Show all floors
kigm replied at 2016-3-28 21:01
Yes and with image from 2/22 is working well... I'll download again and flash.
One question, if th ...

So now everything works?

Absolutely you can port my changes to other distros, just be aware that this distro is special made just for this and sometimes general purpose distro must make some compromises....

0

threads

11

posts

46

credits

Novice

Rank: 1

credits
46
Published in 2016-3-29 04:30:47 | Show all floors
jernej replied at 2016-3-29 04:13
So now everything works?

Absolutely you can port my changes to other distros, just be aware that  ...

No, if I try build 3/09 and 3/22 both are not working. Now I downloaded the image and flashed but still not working..
Is possible that script.bin use 1080 resolution? Because my TV doesn't have 1080 resolution, just 720p.

How can developers extract things from your image if all things are in SYSTEM and KERNEL?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list