Android DVB-S2.pdf (1.8 MB)
S905D.dts.txt (47.9 KB)
coreelecdvb.dts.txt (59.6 KB)
coreelecdvb_ser.dts.txt (59.6 KB)
After installing CoreELEC 21.3 with gxl_p231_2g_dvb.dtb as dtb.img everything seems working except for some freezes/crashes and dvb tuner which is not detected by default, after trying many things like different dtbs gxl_p231_2g_dvb_ser.dtb, different CoreELEC builds 9.2.8, 20.5, the only builds that get dvb tuner detected by default are builds 9.x.x but they only include driver for AVL6862.
Back to CoreELEC 21.3 :
CoreELEC:~ # dmesg | grep -i dvb
[ 0.000000@0]d CoreELEC dt-id: gxl_p231_2g_dvb
CoreELEC:~ # ls /dev/dvb/
ls: /dev/dvb/: No such file or directory
So installed CoreELEC Module Drivers then DVB drivers from the latest kernel, rebooted this time :
CoreELEC:~ # dmesg | grep -i dvb
[ 0.000000@0]d CoreELEC dt-id: gxl_p231_2g_dvb
[ 7.002147@3]- kernel-overlays-setup: processing conf /storage/.cache/kernel-overlays/50-driver.dvb.dvb-latest.conf
[ 7.045959@0]- kernel-overlays-setup: added modules from /storage/.kodi/addons/driver.dvb.dvb-latest//kernel-overlay/lib/modules/4.9.269
[ 14.701412@3]- dvb_meson: no symbol version for amports_switch_gate
[ 14.711019@3]- dvb_meson dvb: Found i2c-1 adapter: Meson I2C adapter
[ 14.711027@3]- dvb_meson dvb: ts0: parallel
[ 14.711314@3]- dvb_meson dvb: ts0_control: 0x0
[ 14.711430@3]- dvb_meson dvb: dev_name=dvb
[ 15.950570@2]- dvb_meson dvb: DVB demod detection for i2c-1 (Meson I2C adapter)ā¦
[ 17.164616@1]- dvb_meson dvb: Checking for Availink AVL6862 DVB-S2/T2/C demod ā¦
[ 17.164734@0]- i2c i2c-1: dvb_meson: i2c wr failed=-6 len=3
[ 17.164807@0]- i2c i2c-1: dvb_meson: i2c rd failed=-6 len=4
[ 17.164874@0]- i2c i2c-1: dvb_meson: i2c wr failed=-6 len=3
[ 17.164935@0]- i2c i2c-1: dvb_meson: i2c rd failed=-6 len=4
[ 17.164941@0]- i2c i2c-1: dvb_meson: attach failed reading id
[ 17.164950@0]- dvb_meson dvb: Failed to find AVL6862 demod!
[ 18.380579@1]- dvb_meson dvb: Checking for AVL6211 DVB-S/S2 demod ā¦
[ 18.380996@0]- i2c i2c-1: AVL6211+AV2011 DVB-S/S2 successfully attached
[ 18.381010@0]- dvb_meson dvb: Total DVB modules found: 1
[ 18.394152@0]- dvbdev: DVB: registering new adapter (dvb_meson)
[ 18.403883@2]- dvb_meson dvb: DVB: registering adapter 0 frontend 0 (Availink AVL6211+AV2011 DVB-S/S2)ā¦
[ 18.404369@2]- Meson DVB frontend(s) registered successfully.
CoreELEC:~ # ls /dev/dvb/
adapter0
After installing Tvheadend Server 4.3 DVB tuner is detected but couldnāt get any signal, tried some DVB Tools commands :
CoreELEC:~ # dvb-fe-tool -a 0 --femon (0x00) (0x00) (0x00) ^CERROR FE_SET_VOLTAGE: Operation not permitted
After trying to manually decompile android box dtb.img to a dts which I got from a zip update file and decompiling dtb.img from CoreELEC to try to match them but knowing that different kernel and different mapping used on both so couldnāt find a way to actually achieve this.
In the attached files the box hardware layout, the decompiled files of both CoreELEC gxl_p231_2g_dvb.dts, CoreELEC gxl_p231_2g_dvb_ser.dts and original_android.dts, Iāve tried everything I can think of DTS editing, DTB conversions, comparing Android and CoreELEC trees, testing older CoreELEC builds, and cross-checking board variants (gxl_p212, etc.). But the tuner (AVL6211) still isnāt detected properly.
If someone with deeper knowledge of Amlogic DVBS/DVBS-2 drivers, DTBs, or CoreELEC kernel quirks can step in, your help could solve this once and for all.
Thanks in advance to anyone who can take a look.




