ET4000 - CPU without FPU and toolchain for Hardware float?
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #21
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #22
Posted 30 November 2015 - 20:40
/build-enviroment/builds/openpli/release/et4x00/tmp/sysroots/i686-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux-gcc --sysroot=/build-enviroment/builds/openatv/release/et4x00/tmp/sysroots/et4x00 -o softfloat -O2 -msoft-float softfloattest.c
Error
Edited by samsamsam, 30 November 2015 - 20:42.
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #23
Posted 30 November 2015 - 20:55
Hi SSS,
OpenPLi fixed that, for all receivers it supports. See DEFAULTTUNE = "mips32el-nf".
https://github.com/X...ine/et4x00.conf
Most probably you are using OE-A build https://github.com/o...lude/etxx00.inc, https://github.com/o...ine/et4x00.conf
They can fix it at any time, since they keep their own BSP layer.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #24
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #25
Posted 30 November 2015 - 21:13
OpenPLi does not use buids folder but build folder.
cd /build-enviroment
git remote show origin
Will show information what exacly is cloned under build-environment.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #26
Posted 30 November 2015 - 21:33
* remote originFetch URL: git://github.com/oe-alliance/build-enviroment.gitPush URL: git://github.com/oe-alliance/build-enviroment.gitHEAD branch: 3.2Remote branches:1.0 tracked2.0 tracked2.1 tracked2.2 tracked2.3 tracked3.0 tracked3.1 tracked3.2 trackednext trackedLocal branch configured for 'git pull':3.2 merges with remote 3.2Local ref configured for 'git push':3.2 pushes to 3.2 (local out of date)
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #27
Posted 30 November 2015 - 21:42
git clone https://github.com/OpenPLi/openpli-oe-core /openpli cd /openpli make MACHINE=et4x00 make imageThat will setup your environment and will build image for et4x00.
Then if you have a bitbake that builds your plugin you can build it like this:
cd /openpli/build source env.source MACHINE=et4x00 bitbake package-name
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #28
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #29
Posted 30 November 2015 - 22:37
Here is a bitbake for ffmpeg: http://git.yoctoproj...7.12.bb?h=danny
If you want to use just grab ffmpeg_0.7.12.bb and ffmpeg.inc and place them under meta-local/recipes-local/ffmpeg/ffmpeg.inc and meta-local/recipes-local/ffmpeg/ffmpeg_0.7.12.bb
Then if you like to build ffmpeg for et4x00 you do the following:
cd build source env.source MACHINE=et4x00 bitbake ffmpeg
Edited by athoik, 30 November 2015 - 22:37.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #30
Posted 30 November 2015 - 22:48
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #31
Posted 30 November 2015 - 22:51
Why I have to build ffmpeg with bb?
I can build it using my own bash script and only use generated by bb toolchain.
And this configuration: "http://git.yoctoproj...7.12.bb?h=danny" is wrong.
Thank you for the help
You have to use bitbake because it makes everything simple and clear. What ever you are doing with your shell script bitbake can do as well even better.
The above bitbake is just a sample to start, you can adjust it based on your parameters.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #32
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #33
Posted 1 December 2015 - 11:49
Every way off build has advantages or disadvantages.
But bitbake is in my opinion the best if You build for a stb. (certainly for pli4) .
Thank's to a couple off good devs by openpli particularly MiLo which spend a tremendous amount off time to have the base build (linux-core) and basic oe in function off stb correctly compiled versus architecture and cpu.
By using bb the build is first configured to the optimum off the targets device. And you squeeze all out off it.
Result is.
Very stable.
Very performant and ussually even low cpu load.
Optimum use off cpu threads.
Optimum use off chipset.
Take also note that for an stb the base dvb drivers are closed source. but the manufacturer will have them compiled with the optimum cpu/arch settings.
If You write an app for that stb and do not use the correct cpu/arch settings you will create self an unstable app.
Well bb does that for You.
You always can use other ways perhaps you prefer them do know them better but still then You will have to set the wright compile options in function off the stb. (think about the driver).
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #34
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #35
Posted 1 December 2015 - 15:45
And then not even from our OE...
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #36
Posted 1 December 2015 - 19:56
Sorry I do not like bb and I will not use it.
You could have saved everyone a lot of time if you just posted that at the beginning. Thank you for wasting our time. Good luck with your project.
Probably you understood me wrong. I will use bb from OpenPLI repo to build toolchain (gcc, standard libs, .etc), but I do not know this build system and what I read about (short recognize about yocto, bb and so on) it is not good for my purpose ...
Re: ET4000 - CPU without FPU and toolchain for Hardware float? #37
Posted 2 December 2015 - 00:29
Then ...
git clone https://github.com/OpenPLi/openpli-oe-core /openpli cd /openpli make MACHINE=et4x00 make imageThat will setup your environment and will build image for et4x00.
Then if you have a bitbake that builds your plugin you can build it like this:cd /openpli/build source env.source MACHINE=et4x00 bitbake package-name
Thank you. Now it works OK
sulge@ubuntu-VirtualBox:/mnt/new/e2/simpleeplayer3/tmp/softfloattest$ /mnt/new2/softFPU/openpli/build/tmp/sysroots/i686-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux-gcc --sysroot=/mnt/new2/softFPU/openpli/build/tmp/sysroots/et4x00/ -o softfloat -O2 -msoft-float softfloat.csulge@ubuntu-VirtualBox:/mnt/new/e2/simpleeplayer3/tmp/softfloattest$ echo $?0sulge@ubuntu-VirtualBox:/mnt/new/e2/simpleeplayer3/tmp/softfloattest$
Thank you very much.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users