yes. updated the first post with it.
Posts by nvdias
-
-
...
The compilation of LibreELEC13 devel, commit from today with TBS patches worked just fine.
But ... The patches are different from thes one i've previosly shared.
In fact I've changed the patches with the help of smp and forgot to update the last version.
The last version is already available in the first post.
Thanks
-
The master branch on github now seems to started LibreELEC 13 development.
There may be some changes at the kernel level that could create issues with TBS patches.
Give me some days to look at it.
Meanwhile you can checkout a previous commit - I'm currently using commit 4513878 from April 29th, which compiles tbs patches just fine.
-
ok. sorry. I am not trying to do anything
I was just looking into /var/log and noticed that there is a ssh-tunnel.log
with repeated lines. All of them with "Host key verification failed."
Once per minute a new line is added to ssh-tunnel.log.
---
The only configuration I have made for ssh was adding a public key for the server in /storage/.ssh/authorized_keys.
And disabled SSH PASSWORD authentication in :
Settings >> Libreelec >> Services >> Disable ssh password
Also note that /storage/.ssh/known-hosts is empty.
-
Basically What I have is /var/log/ssh-tunnel.log full with thousands of lines with "Host key verification failed." - 1 new line per minute.
I've already confirmed that /storage/.ssh/known_hosts is empty.
thanks
-
hi,
Thank you for the question
it is working ok with both LE11 and LE12.
Sorry ... forgot that you need to download the updated add-on for LE11 and LE12
version 1.0.9.:
https://mega.nz/file/EOAhCYDb#WtSj0s5-jXdcuqftXOD0IOUGaBV-UxjhrpF3_T8EsRQ
please post your results.
thanks
-
28/05/2024 - Attached to this post:
a) the patches ;
b) a link to a compilation of LE13-devel with TBS drivers (17th May 2024):
https://mega.nz/file/AThB1SYb#wU_CaHmyc6MYnmvMEsynjnalV20DuXE4oYg44ZcUFgoFollowing the compiled drivers for TBS 5520 SE DVB receiver for LE10 on RPI4 (available here: LE10 & TBS 5520SE on RPi4 // updated drivers [SOLVED])
I've created this thread to share the source code of the patches to apply, compatible with LE11 and LE12 and LE13 current source code from GITHUB.
The patches were made by smp (thank you
).
I've just made some small offset adjustments to go on with kernel source code updates.
- 2 patch files are included :
a) lepatch_prepare_tbs_module_enable.patch - to enable tbs5520se module compilation in kernel;
b) lepatch_code_changes_tbs5520se.patch - to add tbs5520se needed source code;
- how to apply these patches for RPi4:
download and go into LibreELEC git source local copy:
copy the attached patches to LibreELEC git source directory:
then run:
Codecp lepatch_code_changes_tbs5520se.patch projects/RPi/devices/RPi4/patches/linux git apply lepatch_prepare_tbs_module_enable.patch
- if later on git complains about branches mismatch or similar on updating sources
then, re-apply the patches.
Goodluck !
-
a) drivers update for kernel 6.1.0
b ) patches code adjusted to support some LibreELEC toolchain updates.
-
I've just updated the patches ... there were a lot of chenges in order to compile the tbs drivers with the new kernel version.
during the weekend I will also upload the fresh compiled drivers .
-
Got it!
Some trouble patching dvb_frontend.c, but did it by hand. Everything looks ok now. Don't have source signal here to test the tuning, but will do so during the weekend and let you know.
Thanks for the help.
Regards,
MNO
Great !
how about sharing those patch changes ?
(it seems there are some changes to be made in other files for the last source updates ...)
-
The link in post #28 it is working fine:
https://mega.nz/folder/cbwCARoR#jPgzah63psSCOtrwbt9gnQIt points to a folder with compiled drivers for Rpi4.
I've added the patches files into a zip file and uploaded it into that same folder.
le-tbs5520se-patches-220927.zip
The patches are generic for the drivers compilation.
You need to edit the module activation patch to you project (RPi2 ?) as it expects the RPi4 project.
Good luck.
And post your results here.
-
The patch was updated for One of the latest kernel versions.
Please try one of the last links some posts above.
If not, I will re-upload the patch later.
-
Hi,
Trying to replicate for RPi2. Its building ok, but TBS5520 is not installing. Shows on lsusb, but not on lsmod.
Any help appreciated.
Thanks in advance.
MNO
Have you adjusted the tbs5520se patches to be applied into rpi2 project / device ?
-
LibreELEC-Generic.x86_64-10.0.2 (Linux Kernel 5.10.76), could you help to compile drivers for this? Thank you!
Hi. Sorry. But at the moment I can only maintain compilations for RPi4.
If you want to yourself for x86_64, just create the compilation environment and toolchain. following official instructions:
https://wiki.libreelec.tv/development-1/build-basics
Once you are able to create a LE image, came back here. I will help inject the patches for x86_64.
-
I've made some new tests with debian buster image in a docker container running within libreelec RPI.
followed instructions from libreelec github:
LibreELEC.tv/tools/docker at master · LibreELEC/LibreELEC.tvJust enough OS for KODI. Contribute to LibreELEC/LibreELEC.tv development by creating an account on GitHub.github.combut the same:
Error: unknown architecture `armv8-a+crypto'
It seems that libelec project forces:
FLOAT: hard
But docker container is running with software float.
Is it possible to force the compilation with FLOAT: soft ?
or any trick in "docker run" to allow FLOAT_hard within running containers ?
thanks
-
I'm now with LE11 form quite some time.
not using LE10 anymore.
I have the drivers compiled for LE11 kernel 5.15.45. It should be compatible with LE10 if you are in the same kernel version:
(confirm with "uname -a")
Available in the same folder:
-
https://wiki.libreelec.tv/development-1/building-windows-wsl
works and is similar fast compared to native building
That's great !
Thanks' I will definitively try it.
Anyway it would be great to use the RPi I have with LE.
Afterall I have it turned on 24/7 and available most of the time.
I usually compile overnight (But I need to insert the SD with UBUNTU).
The ability to compile inside a docker container running inside LE itself would be fantastic.
Is there a way of solving the error I get in the container ?
crypto/aes/aesv8-armx.S:4: Error: unknown architecture `armv8-a+crypto'
Thank you very much
-
I've been making my LibreELEC 11 for RPI4 testing compilations using a Ubuntu VM in Windows.
Have also successfully compiled in Ubuntu for Raspberry Pi - takes hours .... but it compiles 😁
New test:
Inside LibreELEC.
Pulled an Ubuntu docker image into LibreELEC
prepared the compilation environment, created a specific user in the docker container (libreelec does not compile as root)
As usual, started compilation with:
PROJECT=RPi DEVICE=RPi4 ARCH=arm make image
But is stops with error:
crypto/aes/aesv8-armx.S:4: Error: unknown architecture `armv8-a+crypto'
Any suggestions to turn-around this ?
Thanks