Neutrino-MP for Mips STBs

Entwicklung
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Neutrino-MP for Mips STBs

Beitrag von lilo74 »

Hi seife, look error:

carlos@carlos-desktop:~/poky/mybuilds$ runqemu qemumips core-minimal-image
ERROR: Traceback (most recent call last):
File "/home/carlos/poky/bitbake/lib/bb/cookerdata.py", line 179, in wrapped
return func(fn, *args)
File "/home/carlos/poky/bitbake/lib/bb/cookerdata.py", line 203, in parse_config_file
return bb.parse.handle(fn, data, include)
File "/home/carlos/poky/bitbake/lib/bb/parse/__init__.py", line 113, in handle
return h['handle'](fn, data, include)
File "/home/carlos/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 124, in handle
abs_fn = resolve_file(fn, data)
File "/home/carlos/poky/bitbake/lib/bb/parse/__init__.py", line 136, in resolve_file
raise IOError(errno.ENOENT, "file %s not found" % fn)
IOError: [Errno 2] file /home/user/poky/meta-azbox/conf/layer.conf not found

ERROR: Unable to parse /home/user/poky/meta-azbox/conf/layer.conf: [Errno 2] file /home/user/poky/meta-azbox/conf/layer.conf not found
Error: this script needs to be run from your build directory, or you need
to explicitly set OE_TMPDIR and DEPLOY_DIR_IMAGE in your environment
carlos@carlos-desktop:~/poky/mybuilds$


use yokto and meta-azbox , meta-neutrino-mp, library-stb-hal.(all seife-metas)
Zuletzt geändert von lilo74 am Donnerstag 30. August 2018, 23:39, insgesamt 4-mal geändert.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

???
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

seife this is cof.


bblayers.conf:

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= "/home/carlos/poky/meta-neutrino-mp \"

BBLAYERS ?= " \
/home/carlos/poky/meta \
/home/carlos/poky/meta-poky \
/home/carlos/poky/meta-yocto-bsp \
/home/user/poky/meta-azbox \
/home/carlos/poky/meta-neutrino-mp \


local.cof:

# azboxme covers also azboxminime boxes
MACHINE ??= "azboxme"
...
PACKAGE_CLASSES ?= "package_ipk"


it's wrong???all conf. in poky/build-azbox o build o mybuilds

is runqemux qemux86 core-image-minimal
o
runqemux qemuxmips core-image-minimal
o

bitbake core-image-minimal???
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

seife look:

carlos@carlos-desktop:~/poky/build-azbox$ bitbake core-image-minimal
WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 1363 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:02
Parsing of 923 .bb files complete (917 cached, 6 parsed). 1367 targets, 228 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "mipsel-poky-linux"
MACHINE = "azboxme"
DISTRO = "poky"
DISTRO_VERSION = "2.1.3"
TUNE_FEATURES = "o32 fpu-hard mips32"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "krogoth:444dc2e99b3c3967d9f83380c34bb99077a6ffa8"
meta-neutrino-mp = "master:8a321a5e944cb89c0005b128ad330574dacd7572"
meta-azbox = "master:a7cc13f64a73de42f7d9225836e3ec285cd424ea"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: automake-native-1.15-r0 do_compile: oe_runmake failed
ERROR: automake-native-1.15-r0 do_compile: Function failed: do_compile (log file is located at /home/carlos/poky/build-azbox/tmp/work/i686-linux/automake-native/1.15-r0/temp/log.do_compile.21597)
ERROR: Logfile of failure stored in: /home/carlos/poky/build-azbox/tmp/work/i686-linux/automake-native/1.15-r0/temp/log.do_compile.21597
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 2
| : && /bin/mkdir -p doc && { PATH='/home/carlos/poky/build-azbox/tmp/work/i686-linux/automake-native/1.15-r0/build/t/wrap:'$PATH && export PATH; } && /usr/bin/perl ../automake-1.15/doc/help2man --output=doc/automake-1.15.1 automake-1.15
| help2man: can't get `--help' info from automake-1.15
| Try `--no-discard-stderr' if option outputs to stderr
| Makefile:3687: recipe for target 'doc/automake-1.15.1' failed
| make: *** [doc/automake-1.15.1] Error 255
| ERROR: oe_runmake failed
| WARNING: /home/carlos/poky/build-azbox/tmp/work/i686-linux/automake-native/1.15-r0/temp/run.do_compile.21597:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/carlos/poky/build-azbox/tmp/work/i686-linux/automake-native/1.15-r0/temp/log.do_compile.21597)
ERROR: Task 232 (virtual:native:/home/carlos/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 65 tasks of which 63 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
virtual:native:/home/carlos/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
carlos@carlos-desktop:~/poky/build-azbox$


help???
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

Azbox is crap anyway, not worth the effort.
I just tried to use it a year ago for someone from my family, and it crashed or malfunctioned several times per week. I ended up getting an Amiko Alien Mini which works just fine.

All the interesting stuff (playback, multimedia) does not work with azbox anyway, only Live TV.

But I'm right now running a test build to see if the yocto layer still builds.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

It does not finish.

Code: Alles auswählen

git clone https://github.com/seife/yocto-poky.git
cd yocto-poky/
git checkout krogoth-backport 
git clone https://github.com/seife/meta-azbox.git
git clone https://github.com/seife/meta-neutrino-mp.git
. oe-init-build-env build-az
vi conf/bblayers.conf        # add meta-azbox and meta-neutrino-mp
vi conf/local.conf           # see below

# sed -n '/^CONF_VERSION/,$p' conf/local.conf
CONF_VERSION = "1"
ASSUME_PROVIDED += "libsdl-native"
PACKAGE_CLASSES = "package_ipk"
EXTRA_IMAGE_FEATURES += "package-management"
DISTRO_FEATURES_remove = "bluetooth irda pcmcia usbgadget zeroconf pci 3g nfc x11 opengl ptest multiarch wayland pulseaudio bluez5"
MACHINE="azboxme"

time bitbake neutrino-image
This fails when building ffmpeg because pkgconfig does not seem to work. If I fix this, it fails with assembler errors.
No Idea if this ever worked.

I'll try now if core-image-minimal works (but that will be mostly useless)
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

core-image-minimal also does not finish (something about qemu-native).

But I don't think I ever actually flashed one of those images, even at times when they might actually have built successfully (I don't remember the details).
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

Thanks Seife ,I'll do and I'll tell you :up:

seife:All the interesting stuff (playback, multimedia) does not work with azbox anyway, only Live TV.

only I'm interested Live Tv. :up:
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

error bitbake neutrino-image:


ERROR: Task 782 (/home/carlos/yocto-poky/meta-neutrino-mp/recipes-local/ffmpeg/ffmpeg_2.7.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 734 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/carlos/yocto-poky/meta-neutrino-mp/recipes-local/ffmpeg/ffmpeg_2.7.bb, do_configure
Summary: There were 7 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
carlos@carlos-desktop:~/yocto-poky/build-az$
Zuletzt geändert von lilo74 am Dienstag 4. September 2018, 14:25, insgesamt 1-mal geändert.
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

new error in bitbake core-image-minimal:

ERROR: Task 457 (virtual:native:/home/carlos/yocto-poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb, do_compile) failed with exit code '1'
Currently 1 running tasks (786 of 1507):
0: linux-azbox-3.9.2-r0 do_compile (pid 23767)
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

As I wrote, build does not finish. I also do not think that if it finished, it would produce usable images.

And even "only Live-TV" does not work well.
The box is just not really usable.
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

I can try???you can continue to help??I appreciate it a lot. Thanks


(you say you made an image AZbox Me for a family member,if you still have it send please.)

Ok Thaks for all and Regards,try to compile for STBs Mips AZBox Me,but I see in all the forums,who do not want to know about AZbox in Neutrino.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

The box did not work well, so I had no use for the image.
I also don't know where I put the box.

It is just wasted effort with the available drivers.
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

seife in your META-AZBOX missing multimedia recipes?when in meta-azbox E2 if you have them(example:OpenPLi)
postscript:(I already understood why he says what will not work,because simply in your META-NEUTRINO-MP all recipes-local recipes-custom,recipes-images,recipes-neutrino. not included AZbox.(only add,raspberry,tripledragon,coolstream,spark) never work lost time,I would have mentioned it from the beginning.I do not understand why to create META-AZBOX,if it does not work with NEUTRINO-MP.???
Thanks friend
Zuletzt geändert von lilo74 am Mittwoch 5. September 2018, 20:55, insgesamt 1-mal geändert.
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

seife ,if we add this manually in conf.local : # Additional image features :EXTRA_IMAGE_INSTALL += "ffmpeg"

and we eliminate in your META-NEUTRINO-MP, file ffmpeg?I'll try to run like that and I'll tell you.

bitbake neutrino-image error:

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: ffmpeg-3.0-r0 do_configure: Function failed: do_configure (log file is located at /home/carlos/yocto-poky/build-az/tmp/work/mips32el-poky-linux/ffmpeg/3.0-r0/temp/log.do_configure.23756)
ERROR: Logfile of failure stored in: /home/carlos/yocto-poky/build-az/tmp/work/mips32el-poky-linux/ffmpeg/3.0-r0/temp/log.do_configure.23756


I'm going to compile for my Coolstream Zee,I'll tell you if there's an error
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

carlos@carlos-desktop:~/yocto-poky/build-zee$ bitbake neutrino-image
WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 32 entries from dependency cache.
ERROR: ParseError at /home/carlos/yocto-poky/meta-neutrino-mp/recipes-local/ffmpeg/ffmpeg.inc:49: unparsed line: 'TARGET_PREFIX-"pkgconfig"'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
carlos@carlos-desktop:~/yocto-poky/build-zee$

this is Coolstream Zee

run now:

Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 32 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:02:00
Parsing of 924 .bb files complete (0 cached, 924 parsed). 1366 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "coolstream"
DISTRO = "poky"
DISTRO_VERSION = "2.1.3"
TUNE_FEATURES = "arm armv6"
TARGET_FPU = "soft"
meta
meta-poky
meta-yocto-bsp = "krogoth-backport:2eae64646c62c2093be2baa685c3e975cafa63f1"
meta-coolstream = "master:8ac1274bceb77d7c7ba3f1c7144f4915125d21eb"
meta-neutrino-mp = "master:8a321a5e944cb89c0005b128ad330574dacd7572"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: libmpc-native-1.0.3-r0 do_fetch: Failed to fetch URL http://www.multiprecision.org/mpc/downl ... 0.3.tar.gz, attempting MIRRORS if available
WARNING: bzip2-native-1.0.6-r5 do_fetch: Checksum mismatch for local file /home/carlos/yocto-poky/build-zee/downloads/bzip2-1.0.6.tar.gz
Cleaning and trying again.
WARNING: bzip2-native-1.0.6-r5 do_fetch: Renaming /home/carlos/yocto-poky/build-zee/downloads/bzip2-1.0.6.tar.gz to /home/carlos/yocto-poky/build-zee/downloads/bzip2-1.0.6.tar.gz_bad-checksum_b4546795f6f481bc46d807d2b5b9d3ec
WARNING: bzip2-native-1.0.6-r5 do_fetch: Checksum failure encountered with download of http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz - will attempt other sources if available
WARNING: byacc-native-20150711-r0 do_fetch: Failed to fetch URL ftp://invisible-island.net/byacc/byacc-20150711.tgz, attempting MIRRORS if available
Currently 2 running tasks (289 of 1855):
0: gcc-cross-initial-arm-4.9.3-r0 do_compile (pid 13609)
1: db-native-6.0.30-r0 do_compile (pid 8570)
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

seife added this in ffmpeg.inc

EXTRA_FFCONF_armv7a = "--cpu=cortex-a8"
EXTRA_FFCONF ?= "mips"


EXTRA_OECONF_append_azboxme = " \
--arch=mips \
--cpu=sigma \
--disable-striping \
--enable-pic \
--enable-shared \
--enable-pthreads \
--enable--hardcoded_tables \
--disable-decoder=dpx \
--disable-encoder=dpx \
--disable-parser=dpx \
--disable-doc \
--disable-xlib \
--disable-libxcb \
--enable-postproc \
--disable-static \
--disable-bzlib \
--disable-libfaac \
--enable-gnutls \
--disable-indev=jack \
--disable-libmp3lame \
--disable-libschroedinger \
--disable-libvpx \
--disable-x11grab \
--disable-libx264 \

that I would miss????to keep running. Thanks and regards
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

I have no idea.
It is wasted effort.

The yocto built images will most likely not work anyway.
I never actually booted one of those.
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

carlos@carlos-desktop:~/yocto-poky/build-zee$ bitbake neutrino-image
WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 1361 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:03
Parsing of 922 .bb files complete (918 cached, 4 parsed). 1364 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "coolstream"
DISTRO = "poky"
DISTRO_VERSION = "2.1.3"
TUNE_FEATURES = "arm armv6"
TARGET_FPU = "soft"
meta
meta-poky
meta-yocto-bsp = "krogoth-backport:2eae64646c62c2093be2baa685c3e975cafa63f1"
meta-coolstream = "master:8ac1274bceb77d7c7ba3f1c7144f4915125d21eb"
meta-neutrino-mp = "master:8a321a5e944cb89c0005b128ad330574dacd7572"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: qemu-native-2.5.0-r1 do_compile: oe_runmake failed
ERROR: qemu-native-2.5.0-r1 do_compile: Function failed: do_compile (log file is located at /home/carlos/yocto-poky/build-zee/tmp/work/i686-linux/qemu-native/2.5.0-r1/temp/log.do_compile.7140)
ERROR: Logfile of failure stored in: /home/carlos/yocto-poky/build-zee/tmp/work/i686-linux/qemu-native/2.5.0-r1/temp/log.do_compile.7140

Coolstream Zee
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

Ok, just saw that I disabled qemu-native with

Code: Alles auswählen

ASSUME_PROVIDED += "qemu-native"
But then you need to make sure that qemu-arm, qemu-mips etc are actually available on your build machine ;-)
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

Thanks Seife,I will try and tell you , :up:

It's weird, because image OpenPLi 6 for AZBox Me,if I have it without ERROR. compile fine
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

seife look:

ERROR: ffmpeg-2.7.4-r4 do_configure: Function failed: do_configure (log file is located at /home/carlos/yocto-poky/build-az/tmp/work/mips32el-poky-linux/ffmpeg/2.7.4-r4/temp/log.do_configure.11596)
ERROR: Logfile of failure stored in: /home/carlos/yocto-poky/build-az/tmp/work/mips32el-poky-linux/ffmpeg/2.7.4-r4/temp/log.do_configure.11596
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 'common-glibc', 'mipsel-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 'common-glibc', 'mipsel-linux', 'common']
| DEBUG: Executing shell function do_configure
| ERROR: gnutls not found using pkg-config
|
| If you think configure made a mistake, make sure you are using the latest
| version from Git. If the latest version fails, report the problem to the
| ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
| Include the log file "config.log" produced by configure as this will help
| solve the problem.


same mistake :(
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

How often did I say that it does not work? Why don't you believe me? :D
The qemu workaround makes the coolstream image build.

It is apparently possible to build a "core-image-minimal", but even there you need to create tmp/deploy/images/azboxme manually.
And I don't think it will work the way you like it.

I remember that I created the azbox meta layer to build a kernel to be booted via network and an image that then will then start from the USB stick. But it was not really useful after all.
lilo74
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 21. Juni 2015, 02:32
Image: openspa

Re: Neutrino-MP for Mips STBs

Beitrag von lilo74 »

Hi Seife,one last question you can still build Martiis-buildsystem-cs for mips????
Thanks and Regards
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Neutrino-MP for Mips STBs

Beitrag von seife »

I never built martiis buildsystem, so I have no idea.