Did you make any progress regarding the drivers ?
Astrometa DVB-T/T2/C MN88472/MN88473
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #21
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #22
Posted 25 November 2014 - 00:30
I made a very little step about the drivers meanwhile i'm waiting for receive by mail the device.
At first: devshell isn't enough to build the drivers because doesn't provide the kernel sources. Is mandatory to build the image in order to have the required sources (or maybe run bitbake with an option that i don't known).
When i run make menuconfig i get an error
Created default (all yes) .config file /home/davide/openpli_4.0/openpli-oe-core/build/tmp/sysroots/vusolo2/usr/src/kernel//scripts/kconfig/mconf ./Kconfig ./Kconfig:491: syntax error ./Kconfig:490: unknown option "Say" ./Kconfig:491: unknown option "To" ./Kconfig:492: unknown option "called" ./Kconfig:495: syntax error ./Kconfig:494:warning: multi-line strings not supported ./Kconfig:494: unknown option "If" ./Kconfig:762: syntax error ./Kconfig:761: unknown option "Say" ./Kconfig:762: unknown option "which" ./Kconfig:763: unknown option "The" ./Kconfig:766: syntax error ./Kconfig:765:warning: multi-line strings not supported ./Kconfig:765: unknown option "If"
So i'm stuck...
If i run make - j 4 (without run before menuconfig)
LD [M] /home/davide/dtt/media_build/v4l/zr364xx.ko LD [M] /home/davide/dtt/media_build/v4l/zl10353.ko make[3]: Leaving directory '/home/davide/openpli_4.0/openpli-oe-core/build/tmp/sysroots/vusolo2/usr/src/kernel' make[2]: Leaving directory '/home/davide/openpli_4.0/openpli-oe-core/build/tmp/sysroots/vusolo2/usr/src/kernel' ./scripts/rmmod.pl check found 447 modules
but is't a good way.
So i'm stuck...
P.S. it's not important, but with the opendreambox 2.0 environment i'm able to run make menuconfig
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #23
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #24
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #25
Posted 25 November 2014 - 18:48
In order to follow the guide for media_build from here http://forums.openpl...73/#entry455694, you need first to build your image!
That means the first step is the following:
cd /opt git clone git://git.code.sf.net/p/openpli/openpli-oe-core openpli4 cd /opt/openpli4 make #### setup your sources dir here... eg /opt/sources MACHINE=dm800se make imageThen you can follow the guide.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #26
Posted 25 November 2014 - 19:54
One thing more. Drivers are experimental, so anyone want to compile them need to enable staging by running:
make menuconfig
Or editing config when you clone the repository.
--
Sorry, I just saw that you mentioned that in the post.
Edited by amm8990, 25 November 2014 - 19:59.
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #27
Posted 26 November 2014 - 08:34
Hello,
In order to follow the guide for media_build from here http://forums.openpl...73/#entry455694, you need first to build your image!
That means the first step is the following:
cd /opt git clone git://git.code.sf.net/p/openpli/openpli-oe-core openpli4 cd /opt/openpli4 make #### setup your sources dir here... eg /opt/sources MACHINE=dm800se make imageThen you can follow the guide.
Hi, if is related to my question, as i said in my previous post
At first: devshell isn't enough to build the drivers because doesn't provide the kernel sources. Is mandatory to build the image in order to have the required sources (or maybe run bitbake with an option that i don't known).
P.S. it's not important, but with the opendreambox 2.0 environment i'm able to run make menuconfig
i built an image but i got an error when i run make menuconfig.
Could you reproduce the error?
Or maybe could be a problem with vu+ environment? I have to build a dm image? If yes, what is missing in a vu+ environment?
Thanks
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #28
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #29
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #30
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #31
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #32
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #33
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #34
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #35
Posted 8 December 2014 - 16:13
I got the device mn88472, on my pc (archlinux 3.17.4) works fine dvb-t and dab. I can check dvb-t2 signal
What kernel version?
Pc archlinux 3.17.4
Opendreambox (that run make menuconfig) 3.2
Openpli 3.3.8 with the problem posted above when i run make menuconfig
Openvix same problem as openpli but kernel 3.13.5
So in my opinion isn't a problem related to os.
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #36
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #37
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #38
Posted 13 December 2014 - 14:04
The problem, is that the kernel version on http://git.linuxtv.org/ is version 3.18 which has no broadcom/mips extensions.
I also tried to take some of the files to the 3.13.5 kernel (VU+), but so far no success.
drivers/media/dvb-frontends/Kconfig
drivers/media/dvb-frontends/Makefile
drivers/media/dvb-frontends/mn88472.c
drivers/media/dvb-frontends/mn88472.h
drivers/media/dvb-frontends/mn88472_priv.h
drivers/media/dvb-frontends/mn88473.c
drivers/media/dvb-frontends/mn88473.h
drivers/media/dvb-frontends/mn88473_priv.h
drivers/media/dvb-frontends/rtl2832.c
drivers/media/dvb-frontends/rtl2832.h
drivers/media/dvb-frontends/rtl2832_priv.h
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
drivers/media/usb/dvb-usb-v2/rtl28xxu.h
drivers/media/tuners/r820t.c
drivers/media/tuners/r820t.h
drivers/media/dvb-core/dvb-usb-ids.h
It goes wrong compiling:
| drivers/media/usb/dvb-usb-v2/rtl28xxu.c: In function 'rtl2832u_tuner_attach':
| drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1085:5: error: unknown field 'fe' specified in initializer
| .fe = adap->fe[0],
You can build a kernel like this (OpenPli uses slightly other directories)
make -j 4 ARCH=mips CROSS_COMPILE=/data2/oe-alliance.23/builds/openatv/vusolo2/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux- menuconfig make -j 4 ARCH=mips CROSS_COMPILE=/data2/oe-alliance.23/builds/openatv/vusolo2/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux- vmlinux make -j 4 ARCH=mips CROSS_COMPILE=/data2/oe-alliance.23/builds/openatv/vusolo2/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux- modules
Amiko8240, DM500HD, DM800, DM800SE, DM800SESR4, DM800SEV2, VU+ SoloSEV2, VU+ UnoSE
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #39
Posted 28 December 2014 - 17:18
I did some more work, but still no working drivers.
I build the drivers with the following, also have a look at: http://blog.palosaar...393781628365454
cd /data2
mkdir -p openpli4_kernel/dm800se
cd openpli4_kernel/dm800se
wget https://www.kernel.o...inux-3.2.tar.gz
wget https://www.kernel.o...patch-3.2.60.gz
wget http://sources.dream...6f5523c6e.patch
untar the kernel and apply the patches
cd /data2
git clone --depth=1 git://linuxtv.org/media_build.git
cd media_build
ARCH=mips \
CROSS_COMPILE=/home/gertjan/openpli-oe-core.upstream/build/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux- \
DIR=/data2/openpli4_kernel/dm800se/linux/ \
make cleanall
ARCH=mips \
CROSS_COMPILE=/home/gertjan/openpli-oe-core.upstream/build/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux- \
DIR=/data2/openpli4_kernel/dm800se/linux/ \
make download untar
vi v4l/versions.txt (edit the file)
#[3.15.0]
# needs reset_control_get_optional
#RC_ST
#[3.10.0]
# needs include/linux/mfd/syscon.h
#IR_HIX5HD2
vi v4l/Makefile (edit the file)
EXTRA_CFLAGS += -Werror-implicit-function-declaration -Wno-implicit
ARCH=mips \
CROSS_COMPILE=/home/gertjan/openpli-oe-core.upstream/build/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux- \
DIR=/data2/openpli4_kernel/dm800se/linux/ \
make menuconfig
ARCH=mips \
CROSS_COMPILE=/home/gertjan/openpli-oe-core.upstream/build/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux- \
DIR=/data2/openpli4_kernel/dm800se/linux/ \
make -j 4
Somehow all modules get a vermagic=3.2.60-dm800se SMP mod_unload MIPS32_R1 32BIT, I created a little patcher to set it to 3.2-dm800se SMP mod_unload MIPS32_R1 32BIT
#!/bin/sh
for m in $(find /tmp/v4l -name "*.ko")
do
grep -q "3.2.60" $m && {
echo "patching vermagic ${m}"
sed -i 's/3.2.60-dm800se SMP mod_unload MIPS32_R1 32BIT /3.2-dm800se SMP mod_unload MIPS32_R1 32BIT \x00\x00\x00/g' $m || exit 1
}
done
exit 0
}
But I can't use drivers. I can't load dvb-usb-rtl28xxu.ko / rtl2832.ko / dvb_usb_v2.ko / dvb-core.ko / mn88472.ko / mn88473.ko
dvb_core: exports duplicate symbol dvb_ca_en50221_camchange_irq (owned by kernel)
dvb_usb_rtl28xxu: Unknown symbol dvb_usbv2_reset_resume (err 0)
dvb_usb_rtl28xxu: Unknown symbol rtl2832_get_private_i2c_adapter (err 0)
dvb_usb_rtl28xxu: Unknown symbol dvb_usbv2_suspend (err 0)
dvb_usb_rtl28xxu: Unknown symbol rtl2832_get_i2c_adapter (err 0)
dvb_usb_rtl28xxu: Unknown symbol dvb_usbv2_disconnect (err 0)
dvb_usb_rtl28xxu: Unknown symbol dvb_usbv2_probe (err 0)
dvb_usb_rtl28xxu: Unknown symbol dvb_usbv2_resume (err 0)
dvb_usb_rtl28xxu: Unknown symbol rtl2832_enable_external_ts_if (err 0)
dvb_usb_v2: Unknown symbol dvb_dmx_swfilter_raw (err 0)
dvb_usb_v2: Unknown symbol dvb_frontend_resume (err 0)
dvb_usb_v2: Unknown symbol dvb_frontend_suspend (err 0)
mn88472: Unknown symbol regmap_write (err 0)
mn88472: Unknown symbol regmap_init_i2c (err 0)
mn88472: Unknown symbol regmap_read (err 0)
mn88472: Unknown symbol regmap_bulk_write (err 0)
mn88472: Unknown symbol regmap_exit (err 0)
mn88473: Unknown symbol regmap_write (err 0)
mn88473: Unknown symbol regmap_init_i2c (err 0)
mn88473: Unknown symbol regmap_read (err 0)
mn88473: Unknown symbol regmap_bulk_write (err 0)
mn88473: Unknown symbol regmap_exit (err 0)
I can load:
root@dm800se:~# lsmod
Module Size Used by
xc5000 16224 0
xc4000 21210 0
tuner_xc2028 21209 0
tuner_simple 13777 0
tda9887 8669 0
tda8290 12658 0
rtl2830 6729 0
qt1010 4504 0
mxl5005s 38566 0
mt20xx 11240 0
mt2060 4070 0
mc44s803 2926 0
fc2580 5769 0
fc0013 5991 0
fc0012 4852 0
tuner_types 8241 1 tuner_simple
r820t 17324 0
Amiko8240, DM500HD, DM800, DM800SE, DM800SESR4, DM800SEV2, VU+ SoloSEV2, VU+ UnoSE
Re: Astrometa DVB-T/T2/C MN88472/MN88473 #40
Posted 28 December 2014 - 17:28
Also there is a patch that removes the sublevel from kernel. You should apply this one also.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
7 user(s) are reading this topic
0 members, 7 guests, 0 anonymous users