Jump to content


Photo

Any chance of compiling mono for ARM?


  • Please log in to reply
25 replies to this topic

#1 doglover

  • Rytec EPG Team
  • 17,004 posts

+637
Excellent

Posted 21 July 2022 - 09:37

The mono project runs these days on ARM processors. See:

https://www.mono-pro...-platforms/arm/

 

Is there any chance of compiling mono for ARM-enigma2 receivers?

I am using a Maxytec - Multibox SE with an ARM processor.

So are many other receiver (I believe the VU+ 4K models too)

 

I am interested in this to run Webgrab++ directly on the receiver.

For this mono is needed.

It will be slow, but for something like 100 channels it would be sufficient.

 

I cannot figure out how to do this myself.

Help is appreciated.


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Any chance of compiling mono for ARM? #2 WanWizard

  • PLi® Core member
  • 68,528 posts

+1,736
Excellent

Posted 21 July 2022 - 15:02

Doesn't look to be too complicated.

should do it.

 

It's a big one, here it's still busy compiling after 25 minutes...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Any chance of compiling mono for ARM? #3 WanWizard

  • PLi® Core member
  • 68,528 posts

+1,736
Excellent

Posted 21 July 2022 - 15:25

NOTE: Tasks Summary: Attempted 1279 tasks of which 1083 didn't need to be rerun and all succeeded.

real	43m50.679s
user	0m1.947s
sys	0m0.462s

compiles fine, but takes even longer than building Kodi.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Any chance of compiling mono for ARM? #4 doglover

  • Rytec EPG Team
  • 17,004 posts

+637
Excellent

Posted 21 July 2022 - 16:59

Any chance I can get your ipk?


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Any chance of compiling mono for ARM? #5 WanWizard

  • PLi® Core member
  • 68,528 posts

+1,736
Excellent

Posted 21 July 2022 - 17:11

It is not "an ipk", it is an entire list of ipk's, so you need the entire image, including a feed. And I've ran a test compile for the hd66se, the only box I have a hardknott build environment for.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Any chance of compiling mono for ARM? #6 doglover

  • Rytec EPG Team
  • 17,004 posts

+637
Excellent

Posted 22 July 2022 - 13:16

Tried to set-up myown build environment.

Ran into the first problem:

willy@willy-K95VM:~$ git clone git@github.com:OpenPLi/openpli-oe-core.git
Cloning into 'openpli-oe-core'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
willy@willy-K95VM:~$

 


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Any chance of compiling mono for ARM? #7 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 22 July 2022 - 13:25

Tried to set-up myown build environment.
Ran into the first problem:

willy@willy-K95VM:~$ git clone git@github.com:OpenPLi/openpli-oe-core.git
Cloning into 'openpli-oe-core'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
willy@willy-K95VM:~$

You need to use https:

git clone https://github.com/OpenPLi/openpli-oe-core.git

Sorry to inform you this member, my brother, passed away.

Re: Any chance of compiling mono for ARM? #8 doglover

  • Rytec EPG Team
  • 17,004 posts

+637
Excellent

Posted 22 July 2022 - 14:41

OK that worked.

 

But tried to follow https://wiki.openpli..._your_own_build

 

Next error:  No rule for making image.

 

and:

 

MACHINE=multiboxse bitbake -c build -p mono

 

bitbake not found.


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Any chance of compiling mono for ARM? #9 WanWizard

  • PLi® Core member
  • 68,528 posts

+1,736
Excellent

Posted 22 July 2022 - 14:45

It could be my instructions were wrong, I never build using the native cli tools myself.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Any chance of compiling mono for ARM? #10 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 22 July 2022 - 15:26

The instructions work for me (with different MACHINE).


Sorry to inform you this member, my brother, passed away.

Re: Any chance of compiling mono for ARM? #11 doglover

  • Rytec EPG Team
  • 17,004 posts

+637
Excellent

Posted 23 July 2022 - 08:11

OK.  tried again.

First: tried starting but after 30 minutes.failed with a long list of errors.

 

What the .....

 

So, I restarted the image build again (with the same command).  And this finished without a hitch. 2 hours later I had a home build image.

 

But this was not what I wanted.

I wanted to build mono.

 

so tried:

 

MACHINE=multiboxse bitbake -c build -p mono

and

MACHINE=multiboxse bitbake -c build -p mono-master

 

(it is called meta-mono-master on my download)

 

No result: 

bitbake: opdracht niet gevonden  (not found)

 

Tried to install bitbake.  But no result.  (package not found)

What am I doing wrong?

 

PS: there is a bitbake folder in the openpli-oe-core folder


Edited by doglover, 23 July 2022 - 08:13.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Any chance of compiling mono for ARM? #12 doglover

  • Rytec EPG Team
  • 17,004 posts

+637
Excellent

Posted 23 July 2022 - 09:09

Trying to build the feed:

willy@willy-K95VM:~/openpli-oe-core$ MACHINE=multiboxse make feed
Building feed for multiboxse
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/willy/openpli-oe-core/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 2700 at 2022-07-23 10:02:34.368751 ---
ERROR: Layer mono is not compatible with the core layer which only supports these series: zeus (layer is compatible with gatesgarth kirkstone honister dunfell hardknott)

Makefile:133: recipe for target 'feed' failed
make: *** [feed] Error 1

Edit:  Needed to download the zeus branche.  (I think)


Edited by doglover, 23 July 2022 - 09:16.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Any chance of compiling mono for ARM? #13 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,790 posts

+186
Excellent

Posted 23 July 2022 - 09:43

Maybe switch to hardknott-py3

(private㉿kali)-[~/OpenPLi/openpli-oe-core]
└─$ ls                
bitbake     meta-axasuhd   meta-gigablue      meta-openpli  meta-vuplus        openembedded-core
build       meta-dream     meta-local         meta-qt5      meta-xp            README
LICENSE     meta-edision   meta-maxytec       meta-qviart   meta-xpeedc        site.conf
Makefile    meta-formuler  meta-miraclebox    meta-sab      meta-xsarius.pli5
meta-abcom  meta-gfutures  meta-octagon       meta-spycat   meta-xtrend
meta-amiko  meta-gi        meta-openembedded  meta-uclan    meta-zgemma
                                                                                                    
┌──(private㉿kali)-[~/OpenPLi/openpli-oe-core]
└─$ git branch -r             
  origin/HEAD -> origin/develop
  origin/develop
  origin/develop-skin
  origin/hardknott
  origin/hardknott-py3
  origin/release-4
  origin/release-6.0
  origin/release-6.1
  origin/release-6.2
  origin/release-7.0
  origin/release-7.1
  origin/release-7.2
  origin/release-7.3
  origin/release-8.0
  origin/release-8.1
  origin/release-8.2
                                                                                                    
┌──(private㉿kali)-[~/OpenPLi/openpli-oe-core]
└─$ 

──(private㉿kali)-[~/OpenPLi/openpli-oe-core]
└─$ git checkout hardknott-py3
M       bitbake
M       meta-abcom
M       meta-amiko
M       meta-axasuhd
M       meta-dream
M       meta-edision
M       meta-formuler
M       meta-gfutures
M       meta-gigablue
M       meta-maxytec
M       meta-miraclebox
M       meta-octagon
M       meta-openembedded
M       meta-qt5
M       meta-qviart
M       meta-sab
M       meta-spycat
M       meta-uclan
M       meta-vuplus
M       meta-xpeedc
M       meta-xsarius.pli5
M       meta-xtrend
M       meta-zgemma
M       openembedded-core
branch 'hardknott-py3' set up to track 'origin/hardknott-py3'.
Switched to a new branch 'hardknott-py3'
                                                                                                    
┌──(private㉿kali)-[~/OpenPLi/openpli-oe-core]
└─$ 5~exit


 


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

Many answers to your question can be found in our new and improved wiki

Note: I do not provide support via PM !.


Re: Any chance of compiling mono for ARM? #14 WanWizard

  • PLi® Core member
  • 68,528 posts

+1,736
Excellent

Posted 23 July 2022 - 13:30

You have to select the correct mono layer, the one that matches the OE you are using. For develop, you need "zeus", for python3, you need "hardknott".

Like I wrote:

 

 

don't use master or mono-master.

 

 

If the bitbake binary is not in your path, use

cd /your/local/oe/directory
MACHINE=<machine> bitbake/bin/bitbake ...

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Any chance of compiling mono for ARM? #15 doglover

  • Rytec EPG Team
  • 17,004 posts

+637
Excellent

Posted 23 July 2022 - 14:24

The next error:

willy@willy-K95VM:~/openpli-oe-core$ MACHINE=multiboxse bitbake/bin/bitbake -c build -p mono-zeus
ERROR: Unable to find conf/bblayers.conf or conf/bitbake.conf. BBPATH is unset and/or not in a build directory?
willy@willy-K95VM:~/openpli-oe-core$ MACHINE=multiboxse bitbake/bin/bitbake -c build -p mono
ERROR: Unable to find conf/bblayers.conf or conf/bitbake.conf. BBPATH is unset and/or not in a build directory?
willy@willy-K95VM:~/openpli-oe-core$ MACHINE=multiboxse bitbake/bin/bitbake -c build -p mono
ERROR: Unable to find conf/bblayers.conf or conf/bitbake.conf. BBPATH is unset and/or not in a build directory?
willy@willy-K95VM:~/openpli-oe-core$ MACHINE=multiboxse bitbake/bin/bitbake -c build -p mono-zeus
ERROR: Unable to find conf/bblayers.conf or conf/bitbake.conf. BBPATH is unset and/or not in a build directory?

Both files do exist.

bblayers.conf in build/conf

bitbake.conf in bitbake/conf


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Any chance of compiling mono for ARM? #16 WanWizard

  • PLi® Core member
  • 68,528 posts

+1,736
Excellent

Posted 23 July 2022 - 14:43

No idea what goes wrong in your build environment, maybe someone with a plain bitbake setup can comment.

 

And there is no package called "mono-zeus", the package is always called "mono", zeus (or hardknott) is the branch checked out in meta-mono.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Any chance of compiling mono for ARM? #17 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,790 posts

+186
Excellent

Posted 23 July 2022 - 14:46

Is everything configured/installed right, in the build enviroment, so for this moment forget about "mono", can you build any machine for OpenPLi, lets say develop?


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

Many answers to your question can be found in our new and improved wiki

Note: I do not provide support via PM !.


Re: Any chance of compiling mono for ARM? #18 WanWizard

  • PLi® Core member
  • 68,528 posts

+1,736
Excellent

Posted 23 July 2022 - 15:04

I think the issue is the environment isn't prepped because make hasn't been run.

 

So to recap, all steps, based on hardknott:

mkdir ~/some-dir
cd ~/some-dir
git clone https://github.com/OpenPLi/openpli-oe-core.git -b hardknott-py3
cd openpli-oe-core
git clone https://github.com/DynamicDevices/meta-mono.git -b hardknott
make

and then to only build mono:

cd ~/some-dir
source env.source
MACHINE=<yourbox> bitbake -c build -p mono 

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Any chance of compiling mono for ARM? #19 doglover

  • Rytec EPG Team
  • 17,004 posts

+637
Excellent

Posted 23 July 2022 - 17:19

I have build the image and feed with make.
(Develop)
Finished finally without errors.

But I had to resort to downloading mono manual via a zip file.
Because the git clone failed for mono. Problems with logging in.
It said user and password are not enough. Token was required. No idea how to get this token.

Will try tomorrow the hardknott route.

Pls. Understand this is all new to me.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Any chance of compiling mono for ARM? #20 el bandido

  • Senior Member
  • 363 posts

+13
Neutral

Posted 23 July 2022 - 20:09

I don't have the Multibox SE receiver to check my homebuild image. You may try it and see how it works as I would expect it to load and boot but cannot guarantee any result because I do not have that receiver. Mono is compiled in it.

http://162.216.113.2...iboxse-python3/


Edited by el bandido, 23 July 2022 - 20:10.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users