Jump to content


Beeker

Member Since 10 Jan 2009
Offline Last Active Today, 10:22
-----

#616738 Openpli-5 (still next master)

Posted by Beeker on 18 November 2016 - 16:48

For dreamboxes we can use this for bbappends.It's machine specific.

buildtools-tarball.bbappend and uninative.tarball.bbappend(both are equal).

TARGET_ARCH_dm8000 = "mipsel"
TARGET_OS_dm8000 = "linux"

TARGET_ARCH_dm800se = "mipsel"
TARGET_OS_dm800se = "linux"

TARGET_ARCH_dm7020hd = "mipsel"
TARGET_OS_dm7020hd = "linux"

Perhaps it can be simplified.I tried dm***, dm%%% etc instead of each machine(just dreambox doesn't work), but i can find the right syntax.

This shouldn't break ARM builds..




#600265 Openpli-5 (still next master)

Posted by Beeker on 12 October 2016 - 16:38

O yes I forgot also to build e2 with last master-next also something must be changed. And update somewhere caused that into :

 

lib/gdi/picload.cpp

 

function call

DGifOpenFileName(filepara->file);

is not ok any more they to require an integer value as second parameter, and it has something to do with error-management. I as A hack used patch below in order to work-around I used 0 since in error management ussually it means ok.

 

But this is a hack as I do not really now what they wan't the guys who changed that.

 

https://github.com/O...f26ed507f1a20ef

 

Probably you override this patch by a bbappend?




#551065 Error build (OpenWebif)?!

Posted by Beeker on 4 June 2016 - 18:43

in owibranding.py line 135-145

 

it should be.

		elif (procmodel.startswith("fusion") or procmodel.startswith("purehd")):
			brand = "Xsarius"
			if procmodel == "fusionhd":
				model = procmodel.replace("fusionhd", "Fusion HD")
			elif procmodel == "fusionhdse":
				model = procmodel.replace("fusionhdse", "Fusion HD SE")
			elif procmodel == "purehd":
				model = procmodel.replace("purehd", "PureHD")
	elif fileExists("/proc/stb/info/azmodel"):
	    brand = "AZBox"

It works for me..




#550156 Openpli-5 (still next master)

Posted by Beeker on 29 May 2016 - 11:53

Problem faac also solved.

 

bbappend and patch for copy to openpli-oe-core/meta-openpli/recipes-multimedia.

 

Now just wait at guys of OE-core to putt gcc6 in master.It is now in master-next.

 

And wait at openpli-dev's to update OE-core in openpli-core of master-next.

 

But in git master HEAD of OE-core  more problems like giflib.

 

Anyway..gcc6 feels faster than 5.3.0. In build-environment and E2 is faster with restart :)

 

 

Attached Files




#550096 Openpli-5 (still next master)

Posted by Beeker on 28 May 2016 - 18:59

Voila..

Image and feed for dm8000 with gcc 6.1.1.

One of these days, gcc 6.1.1 will be the default in OE-core.So good time to test it now.

For anyone who is interested.

Issues:

1- comiler-gcc6.h is missing.At least for dreambox.

Add a patch to linux-dreambox_3.2.bb.

			file://fixme-hardfloat.patch \
			file://0001-correctly-initiate-nand-flash-ecc-config-when-old-2n.patch \
+			file://kernel-add-support-for-gcc6.patch \
			file://defconfig \

info:

 

https://lkml.org/lkml/2015/4/14/576

 

2- Enigma2 fails to compile due to narrowing conversations error. The old code is forbidden now by gcc 6.

Patch:

diff --git a/lib/base/estring.cpp b/lib/base/estring.cpp
index 6fd53fc..4258ddb 100644
--- a/lib/base/estring.cpp
+++ b/lib/base/estring.cpp
@@ -10,8 +10,8 @@
 std::string buildShortName( const std::string &str )
 {
 	std::string tmp;
-	static char stropen[3] = { 0xc2, 0x86, 0x00 };
-	static char strclose[3] = { 0xc2, 0x87, 0x00 };
+	const static char stropen[3] = { (char)0xc2, (char)0x86, (char)0x00 };
+	const static char strclose[3] = { (char)0xc2, (char)0x87, (char)0x00 };
 	size_t open=std::string::npos-1;
 	while ( (open = str.find(stropen, open+2)) != std::string::npos )
 	{

Info how to,why.(i used this as a example how to).

 

https://github.com/g...0d68c7ce01979cd

 

3- iperf fails to compile.

Solution. Upgrade to 3.1.2

In openpli-enigma2-feed.bb

	hddtemp \
	hdparm \
	inadyn-mt \
-	iperf \
+	iperf3 \
	joe \
	libbluray \
	libudfread 

Attached Files




#549811 Openpli-5 (still next master)

Posted by Beeker on 26 May 2016 - 16:36

@Beeker can You build master-next on ubuntu 16.04 ? (gcc > 5.0)

 

Master-next no problem with Ubuntu 16.04 (gcc 5.3.1).




#549289 Openpli-5 (still next master)

Posted by Beeker on 23 May 2016 - 16:31

As workaround.

diff --git a/lib/gdi/picload.cpp b/lib/gdi/picload.cpp
index 580826b..42bf46f 100644
--- a/lib/gdi/picload.cpp
+++ b/lib/gdi/picload.cpp
@@ -478,7 +478,7 @@ static void gif_load(Cfilepara* filepara, bool forceRGB = false)
 	int cmaps;
 	int extcode;
 
-	gft = DGifOpenFileName(filepara->file);
+	gft = DGifOpenFileName(filepara->file, 0);
 	if (gft == NULL)
 		return;
 	do
@@ -568,11 +568,11 @@ static void gif_load(Cfilepara* filepara, bool forceRGB = false)
 	}
 	while (rt != TERMINATE_RECORD_TYPE);
 
-	DGifCloseFile(gft);
+	DGifCloseFile(gft, 0);
 	return;
 ERROR_R:
 	eDebug("[ePicLoad] <Error gif>");
-	DGifCloseFile(gft);
+	DGifCloseFile(gft, 0);
 }
 
 //---------------------------------------------------------------------------------------------

Attached Files




#545720 Openpli Quick setup Ubuntu/debian

Posted by Beeker on 2 May 2016 - 16:55

Ubuntu 16.04 LTS x64.  Using GCC 5.3.1

 

Master branch does not work. Compiling the dev-tools faill.

 

Master-next no problem.

 

Master-for-gcc5 not tested.




#542933 GStreamer 1.0

Posted by Beeker on 15 April 2016 - 17:03

TARGET_CFLAGS += "-Wno-error" Can be removed in gstreamer-plugins-good.inc

 

https://cgit.freedes...0dbf60beec3a902

 

Fix build for mipsel either.




#542624 Tuner broken.

Posted by Beeker on 14 April 2016 - 16:59

Several reboots. PiP, recording,streaming.both tuners ok now.




#542612 Tuner broken.

Posted by Beeker on 14 April 2016 - 16:24

Beeker

please answer command

cat /proc/bus/nim_sockets

root@dm8000:~# cat /proc/bus/nim_sockets
NIM Socket 0:
        Type: DVB-S2
        Name: BCM4501 (internal)
        Has_Outputs: no
        Frontend_Device: 0
        I2C_Device: 3
NIM Socket 1:
        Type: DVB-S2
        Name: BCM4501 (internal)
        Has_Outputs: no
        Frontend_Device: 1
        I2C_Device: 3
NIM Socket 2:
        Type: DVB-C
        Name: Philips CU1216Mk3
        Has_Outputs: yes
        Frontend_Device: 2
        I2C_Device: 2
NIM Socket 3:
        Type: DVB-C
        Name: CXD1981
        Has_Outputs: yes
        Mode 0: DVB-C
        Mode 1: DVB-T
        Frontend_Device: 3
        I2C_Device: 4
root@dm8000:~#
 




#541229 -Unofficial- Gstreamer 1.8 images 2016-04 -based on- OpenPLi 4

Posted by Beeker on 6 April 2016 - 23:05

I know.. But i not gonna downgrade openssl..So i have to live with that..

 

Any idea when iptvplayer support 1.0.2x




#540800 Openpli-5 (still next master)

Posted by Beeker on 4 April 2016 - 14:59

With TARGET_CFLAGS += "-Wno-error"       ok.

 

We have to wait a few days.

n file included from /home/christophe/openpli50/openpli-oe-core/build/tmp/sysroots/vuduo2/usr/include/gstreamer-1.0/gst/gst.h:54:0,
                 from /home/christophe/openpli50/openpli-oe-core/build/tmp/sysroots/vuduo2/usr/include/gstreamer-1.0/gst/rtp/gstrtpbuffer.h:27,
                 from ../../../git/gst/rtpmanager/rtpjitterbuffer.c:22:
../../../git/gst/rtpmanager/rtpjitterbuffer.c: In function 'rtp_jitter_buffer_insert':
/home/christophe/openpli50/openpli-oe-core/build/tmp/sysroots/vuduo2/usr/include/gstreamer-1.0/gst/gstclock.h:80:43: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
 #define GST_CLOCK_TIME_IS_VALID(time)   (((GstClockTime)(time)) != GST_CLOCK_TIME_NONE)

I assume it will be solved soon.




#540203 Openpli-5 (still next master)

Posted by Beeker on 1 April 2016 - 12:32

GStreamer is compiling with gobject-introspection.( i building with openembedded-core, meta-openembedded en bitbake against git master head).

 

You can try

 

--disable-introspection

 

in gstreamer-plugins.inc and gstreamer.bb




#540196 Openpli-5 (still next master)

Posted by Beeker on 1 April 2016 - 11:52

Add

 

EXTRA_OEMAKE = "-e MAKEFLAGS="

 

To the recipe.