Cross Compile for beginners :-/ #143
-
Sorry for the lame nature of this request but I have gone round in a few circles and I think I need an experienced hand on my shoulder. I have used satpi extensively on my pi based streaming servers for some years, but stuck with some elderly minisatip binaries on my enigma2 boxes. I would like to migrate to satpi compiled for these environments (dm800 mips, Vu se mips2 BCM7346B, + hopefully zgemma ARMv7 BCM7251S ). My compilation environment is Ubuntu 20.02 based. I have repeatedly installed the Broadcom tool chain as per the readme, but do not understand the bit about "get the sys root like headers and libraries for your device". My efforts so far get the predictable errors about missing files. I am not sure whether I need access to the source repository for my box(es) or my firmware variant, or whether these are binaries from my box. If it is the rep, any clues as to where in the directory tree? My skill level is: Linux, scripting and s/w development, etc - competent; "Make" scripting - basic; gcc etc intermediate, cross-compilation basic but well versed with the concepts. Any pointers or a pointer to the Faq that has clearly eluded me for some years would be very much gratefully received. Many thanks Rob |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 14 replies
-
Hi @robbieb43 Thanks for you interest in SatPI. Where did you "install" Here is the wiki on how to build SatPI: commands:
These scripts use Broadcom Toolchain in "get the sys root like headers and libraries for your device" this is not needed if you use Broadcom Toolchain Kind regards |
Beta Was this translation helpful? Give feedback.
-
Thanks Marc - I think I need to start from scratch again with a clean VM as I cannot even answer your question reliably. Thanks for the FAQ and I think the bit about not needing the headers is the piece of key info that I needed. I will have another go from scratch and report back. thanks for a great project. Rob |
Beta Was this translation helpful? Give feedback.
-
If someone can modificate this builder to make SATPI
this will solve lot of STB platforms building |
Beta Was this translation helpful? Give feedback.
-
@Barracuda09 Hi Marc - this worked. With a clean VM I installed the toolchain in its default location (/opt/vu/toolchains etc) which for simplicity I then copied to my user home directory (~/vu/opt/toolchains etc) and it worked without further intervention. So far I have created an executable for my zgemma ARM based box and its appears to be working, and a MIPS one, that on my VU clone and DM800 are asking for various dependencies. Sadly as they are a couple of thousand miles away I do not want to risk to much experimentation on them at the moment, so will need to fire-up a local MIPS box as test platform. The fact that they were able to report the dependency issue suggests a compatible architecture build though. Many thanks Rob. |
Beta Was this translation helpful? Give feedback.
-
Be sure to open a different terminal for |
Beta Was this translation helpful? Give feedback.
-
with this you can check which libs you need
|
Beta Was this translation helpful? Give feedback.
-
you can grab them from |
Beta Was this translation helpful? Give feedback.
-
What is actually not working on the MIPSEL version? |
Beta Was this translation helpful? Give feedback.
-
Hi @robbieb43 Thanks for your effort so far. Did you check this HowTo maybe this will work: |
Beta Was this translation helpful? Give feedback.
-
Many thanks for this.
It might provide a solution for my original problem as my remote DM800 is a genuine box and so I hopefully can get a version of OpenATV 6.3/4/5 for it. That sadly will have to wait until the spring when I will be able to upgrade it. In the meantime I might explore unpacking a firmware image to find out their feed url and see about getting hold of the executable. If I make any advances, I will let you know.
Thanks again for all the help.
Rob
…Sent from my iPad
On 7 Dec 2021, at 09:46, Marc ***@***.***> wrote:
Hi @robbieb43
Thanks for your effort so far. Did you check this HowTo maybe this will work:
https://www.opena.tv/howtos/54527-satpi-satip-server-im-openatv-image.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
Hi @robbieb43
Thanks for you interest in SatPI.
Where did you "install"
https://github.com/Broadcom/stbgcc-8.3/releases
I have 'installed' it in
~/vu/opt/toolchains/stbgcc-8.3-0.4/
so in my Home directoryHere is the wiki on how to build SatPI:
https://github.com/Barracuda09/SATPI/wiki/Build-SatPI
commands:
source env.sh
is for ARM based chips using the Broadcom Toolchainsource envMIPS.sh
is for MIPS based chips using the Broadcom ToolchainThese scripts use Broadcom Toolchain in
~/vu/opt/toolchains/stbgcc-8.3-0.4
"get the sys root like headers and libraries for your device" this is not needed if you use Broadcom Toolchain
Kind regards
Marc