Skip to content

Commit

Permalink
[xtrend] et4k/et8k/et10K switch to kernel 4.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
atvcaptain committed Jan 13, 2017
1 parent 410cbb9 commit e131668
Show file tree
Hide file tree
Showing 22 changed files with 1,523 additions and 660 deletions.
6 changes: 3 additions & 3 deletions meta-brands/meta-xtrend/conf/machine/et10000.conf
Expand Up @@ -4,8 +4,8 @@

MACHINE_NAME = "ET10000"

PREFERRED_VERSION_linux-etxx00 = "4.0.1"
PREFERRED_VERSION_linux-libc-headers = "4.0"
PREFERRED_VERSION_linux-etxx00 = "4.8.3"
PREFERRED_VERSION_linux-libc-headers = "4.8"

SOC_FAMILY = "bcm7425"

Expand All @@ -17,6 +17,6 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB"

require conf/machine/include/etxx00.inc

MACHINE_FEATURES += "dvb-c ci fanctrl bwlcd128 videoenhancement blindscan-dvbc skins1080 multitranscoding blindscan-tbs"
MACHINE_FEATURES += "dvb-c ci fanctrl bwlcd128 videoenhancement blindscan-dvbc skins1080 multitranscoding blindscan-tbs linuxwifi"

MACHINE_KERNEL_PR = "r0"
6 changes: 3 additions & 3 deletions meta-brands/meta-xtrend/conf/machine/et4x00.conf
Expand Up @@ -4,14 +4,14 @@

MACHINE_NAME = "ET4X00"

PREFERRED_VERSION_linux-etxx00 = "4.0.1"
PREFERRED_VERSION_linux-libc-headers = "4.0"
PREFERRED_VERSION_linux-etxx00 = "4.8.3"
PREFERRED_VERSION_linux-libc-headers = "4.8"

SOC_FAMILY = "bcm7358"

DVBSKYPROVIDER = "kernel"

MACHINE_FEATURES += " videoenhancement singlecore skins1080 blindscan-tbs blindscan-dvbs"
MACHINE_FEATURES += " videoenhancement singlecore skins1080 blindscan-tbs blindscan-dvbs linuxwifi"

UBI_VOLNAME = "rootfs"
MKUBIFS_ARGS = "-m 2048 -e 126976 -c 4096"
Expand Down
6 changes: 3 additions & 3 deletions meta-brands/meta-xtrend/conf/machine/et8000.conf
Expand Up @@ -4,8 +4,8 @@

MACHINE_NAME = "ET8000"

PREFERRED_VERSION_linux-etxx00 = "4.0.1"
PREFERRED_VERSION_linux-libc-headers = "4.0"
PREFERRED_VERSION_linux-etxx00 = "4.8.3"
PREFERRED_VERSION_linux-libc-headers = "4.8"

SOC_FAMILY = "bcm7241"

Expand All @@ -17,4 +17,4 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB"

require conf/machine/include/etxx00.inc

MACHINE_FEATURES += "dvb-c ci fanctrl textlcd videoenhancement blindscan-dvbc skins1080 blindscan-tbs"
MACHINE_FEATURES += "dvb-c ci fanctrl textlcd videoenhancement blindscan-dvbc skins1080 blindscan-tbs linuxwifi"
@@ -1,9 +1,9 @@
KV = "4.0.1"
SRCDATE = "20160420"
KV = "4.8.3"
SRCDATE = "20161025"

SRC_URI = "http://www.et-view.com/img_up/shop_pds/bh190/Img_Xtrend/${MACHINE}-drivers-${KV}-${SRCDATE}.zip"
SRC_URI = "http://source.mynonpublic.com/xtrend/${MACHINE}-drivers-${KV}-${SRCDATE}.zip"

require et-dvb-modules.inc

SRC_URI[md5sum] = "e49b6f0255ca77cf4f0e3bcd371de75f"
SRC_URI[sha256sum] = "2ffe54bec68ce58edf8fc71611ee8ecb1f9370284a20e877fd7ce87f928c5446"
SRC_URI[md5sum] = "14dded29b92c317790732e0ae0694633"
SRC_URI[sha256sum] = "ebb8baedecb7ea97bbc67e6373934f5082e49df52bb5ae19576e20d7e5cdbc8e"
10 changes: 5 additions & 5 deletions meta-brands/meta-xtrend/recipes-drivers/et-dvb-modules-et4x00.bb
@@ -1,9 +1,9 @@
KV = "4.0.1"
SRCDATE = "20160420"
KV = "4.8.3"
SRCDATE = "20161025"

SRC_URI = "http://www.et-view.com/img_up/shop_pds/bh190/Img_Xtrend/${MACHINE}-drivers-${KV}-${SRCDATE}.zip"
SRC_URI = "http://source.mynonpublic.com/xtrend/${MACHINE}-drivers-${KV}-${SRCDATE}.zip"

require et-dvb-modules.inc

SRC_URI[md5sum] = "3b7a8d6648f97e9f51a37ade66725492"
SRC_URI[sha256sum] = "fde08b649f16b18f68535f68ae961dba56f6c7947c6fab4bc9c21d955154087d"
SRC_URI[md5sum] = "854837fa29cff93a82176a17347598e9"
SRC_URI[sha256sum] = "33dfd2d38572c7cc9f018744630facb59d0b0c12d224312f199e8be8d261569d"
10 changes: 5 additions & 5 deletions meta-brands/meta-xtrend/recipes-drivers/et-dvb-modules-et8000.bb
@@ -1,9 +1,9 @@
KV = "4.0.1"
SRCDATE = "20160420"
KV = "4.8.3"
SRCDATE = "20161025"

SRC_URI = "http://www.et-view.com/img_up/shop_pds/bh190/Img_Xtrend/${MACHINE}-drivers-${KV}-${SRCDATE}.zip"
SRC_URI = "http://source.mynonpublic.com/xtrend/${MACHINE}-drivers-${KV}-${SRCDATE}.zip"

require et-dvb-modules.inc

SRC_URI[md5sum] = "399fda329b4c62d6b79f981644073e30"
SRC_URI[sha256sum] = "a550e02f260745196a898a88a1ab0f30aceb8455dd1e8543633e1386de8ee0f8"
SRC_URI[md5sum] = "00442b8634d62b5805014c6a1dfb6925"
SRC_URI[sha256sum] = "6de8e033e8bac866dd32e4a3da2d5559c1f0d6b871d523af2ad92b1217ad7a30"

This file was deleted.

This file was deleted.

This file was deleted.

@@ -1,14 +1,14 @@
From 54a75c887fdd49205c1eecc74a5e3f87dce5ec3b Mon Sep 17 00:00:00 2001
From 4bbe1b749c6f01a7a2648714f195802517e138ed Mon Sep 17 00:00:00 2001
From: Athanasios Oikonomou <athoik@gmail.com>
Date: Mon, 8 Feb 2016 21:58:24 +0200
Subject: [PATCH 2/3] STV: Add PLS support
Date: Sat, 5 Mar 2016 00:32:57 +0200
Subject: [PATCH] STV: Add PLS support


diff --git a/drivers/media/dvb-frontends/stv0900_core.c b/drivers/media/dvb-frontends/stv0900_core.c
index e5a87b5..805da45 100644
index fe31dd5..3a5df06 100644
--- a/drivers/media/dvb-frontends/stv0900_core.c
+++ b/drivers/media/dvb-frontends/stv0900_core.c
@@ -1552,6 +1552,19 @@ static int stv0900_status(struct stv0900_internal *intp,
@@ -1551,12 +1551,25 @@ static int stv0900_status(struct stv0900_internal *intp,
return locked;
}

Expand All @@ -28,16 +28,14 @@ index e5a87b5..805da45 100644
static int stv0900_set_mis(struct stv0900_internal *intp,
enum fe_stv0900_demod_num demod, int mis)
{
@@ -1559,7 +1572,7 @@ static int stv0900_set_mis(struct stv0900_internal *intp,

dprintk("%s\n", __func__);

- if (mis < 0 || mis > 255) {
+ if (mis == NO_STREAM_ID_FILTER) {
dprintk("Disable MIS filtering\n");
stv0900_write_bits(intp, FILTER_EN, 0);
} else {
@@ -1593,6 +1606,7 @@ static enum dvbfe_search stv0900_search(struct dvb_frontend *fe)
@@ -1590,6 +1603,7 @@ static enum dvbfe_search stv0900_search(struct dvb_frontend *fe)
if (state->config->set_ts_params)
state->config->set_ts_params(fe, 0);

Expand All @@ -46,7 +44,7 @@ index e5a87b5..805da45 100644

p_result.locked = FALSE;
diff --git a/drivers/media/dvb-frontends/stv090x.c b/drivers/media/dvb-frontends/stv090x.c
index f3452a8..ca86c31 100644
index ce99b9d..264c4b8 100644
--- a/drivers/media/dvb-frontends/stv090x.c
+++ b/drivers/media/dvb-frontends/stv090x.c
@@ -3435,18 +3435,40 @@ err:
Expand Down
@@ -1,11 +1,11 @@
From c0ee79a75f4a1484f6aafa1da103b896568eab6a Mon Sep 17 00:00:00 2001
From 0d3b277d19137c4a0fdadfd1381f1c66515d1b0c Mon Sep 17 00:00:00 2001
From: Athanasios Oikonomou <athoik@gmail.com>
Date: Mon, 8 Feb 2016 22:14:31 +0200
Subject: [PATCH 3/3] STV: Add SNR/Signal report parameters
Subject: [PATCH] STV: Add SNR/Signal report parameters


diff --git a/drivers/media/dvb-frontends/stv090x.c b/drivers/media/dvb-frontends/stv090x.c
index ca86c31..651342d 100644
index 264c4b8..12fd3d0 100644
--- a/drivers/media/dvb-frontends/stv090x.c
+++ b/drivers/media/dvb-frontends/stv090x.c
@@ -41,6 +41,18 @@
Expand All @@ -27,7 +27,7 @@ index ca86c31..651342d 100644
/* internal params node */
struct stv090x_dev {
/* pointer for internal params, one for each pair of demods */
@@ -3680,7 +3692,10 @@ static int stv090x_read_signal_strength(struct dvb_frontend *fe, u16 *strength)
@@ -3693,7 +3705,10 @@ static int stv090x_read_signal_strength(struct dvb_frontend *fe, u16 *strength)
str = 0;
else if (agc < stv090x_rf_tab[ARRAY_SIZE(stv090x_rf_tab) - 1].read)
str = -100;
Expand All @@ -39,7 +39,7 @@ index ca86c31..651342d 100644

return 0;
}
@@ -3691,8 +3706,7 @@ static int stv090x_read_cnr(struct dvb_frontend *fe, u16 *cnr)
@@ -3704,8 +3719,7 @@ static int stv090x_read_cnr(struct dvb_frontend *fe, u16 *cnr)
u32 reg_0, reg_1, reg, i;
s32 val_0, val_1, val = 0;
u8 lock_f;
Expand All @@ -49,7 +49,7 @@ index ca86c31..651342d 100644

switch (state->delsys) {
case STV090x_DVBS2:
@@ -3709,10 +3723,14 @@ static int stv090x_read_cnr(struct dvb_frontend *fe, u16 *cnr)
@@ -3722,10 +3736,14 @@ static int stv090x_read_cnr(struct dvb_frontend *fe, u16 *cnr)
msleep(1);
}
val /= 16;
Expand All @@ -68,7 +68,7 @@ index ca86c31..651342d 100644
}
break;

@@ -3731,10 +3749,14 @@ static int stv090x_read_cnr(struct dvb_frontend *fe, u16 *cnr)
@@ -3744,10 +3762,14 @@ static int stv090x_read_cnr(struct dvb_frontend *fe, u16 *cnr)
msleep(1);
}
val /= 16;
Expand Down

19 comments on commit e131668

@ViX-Sicilian
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This kernel change is causing non booting of boxes using many USB tuners. Sundtek tuners will not start. PCTV Nano stick em28xx drivers installed, ET10k will not boot with tuner connected.
et10k-dmesg.txt

@original-birdman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PCTV Nano stick 292e loads firmware then crashes with an unaligned access on an et8000. It worked fine with the 4.0.1 kernel.

@atvcaptain
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure vix team get a patch and test now internal

@ViX-Sicilian
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No working patch has even been released. If this is not fixed imo would be better to revert these changes. This changes bring more issues than fixes.

@atvcaptain
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rollback never help, ask wte to push the driver team to fix the issues

@original-birdman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rollback never help

In what way did applying these patches help? The systems were working OK before - now there are various issues with USB devices.

@arn354
Copy link
Member

@arn354 arn354 commented on e131668 Mar 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are asking the wrong people :)

@ViX-Sicilian
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Captain, please roll this back until a working solution is found. It is completely unfair for Xtrend users to be left in limbo like this.

@original-birdman
Copy link
Contributor

@original-birdman original-birdman commented on e131668 Mar 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are asking the wrong people :)

We're asking the people who applied the patches. In what way is that "the wrong people"?

@arn354
Copy link
Member

@arn354 arn354 commented on e131668 Mar 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drivers & kernel are delivered by manufacturer, oem or vendor.
they decide to release or apply.

@arn354
Copy link
Member

@arn354 arn354 commented on e131668 Mar 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you revert and nobody complains anymore you will be stuck with that version.
undo the changes locally/directly in your build-environment if you think you need to revert it for VIX.

@ViX-Sicilian
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry Arn, but that is just a nonsense approach. USB tuner are broken for all, not just OpenViX for these models. This kernel bring more issues than fixes.

@arn354
Copy link
Member

@arn354 arn354 commented on e131668 Mar 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why complain here? you know WTE, you know nexttv - those are the people to force for a update. If you revert they have the time to do something (or not) till eternity.

@original-birdman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you revert and nobody complains anymore you will be stuck with that version.

That's nonsense. How did the 4,.8.3 kernel come into existence? Who was complaining, and about what, to get that provided?
It's also totally irrelevant. Could you please explain why you think continuing to use a kernel that is demonstrably broken is a good idea?

@Schimmelreiter
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the official bsp completely different?
https://github.com/Xtrend-Official/meta-xtrend/tree/master/recipes-bsp/linux

OpenPLi already makes claims that they get full and direct support from the vendors while we don't.
We should basically use what's in the bsp and if the vendor wants to fool around, he will then have to mess around with OpenPLi too.

Let OpenPLi play alpha-testers if they got such good connections to the vendors.

@betacentauri
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not any longer the official xtrend git. This is the new one: https://github.com/XTrendTeam/meta-xtrend
But nevertheless it's different.

@original-birdman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the new "official xtrend git" also uses kernel 4.0.1...i.e. the one which is known to work.

Yet there is a reluctance to use it and instead a preference to stick with a known broken 4.8.3?

Please explain why, as I'm totally flummoxed looking for a reason.

@ccs-ccs
Copy link

@ccs-ccs ccs-ccs commented on e131668 Mar 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to add an end users perspective, not only does the Sundtek usb tuner no longer work on the latest kernel update on my ET10K, but a usb wifi dongle, using the RTL8192CU chipset (which used to be 100% reliable) is now almost unusable.

Incidentally, the wifi issue has also affected the Gigablue X3 since it had the same(?) kernel upgrade.

@original-birdman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See:
#181

Please sign in to comment.