Build Yocto Linux on S32V234

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build Yocto Linux on S32V234

3,634 Views
william_kim
Contributor I

Hello NXP team,

I'm trying to build Yocto Linux on MicroSys SBC-S32V234 board.

so I already registered on NXP account. I downloaded related documents and files in my local PC.

I have referred to  "Auto_Linux_BSP_17.0_HF1_User_Manual.pdf" document.

But I got a problem to fail build Yocto Linux.

It is always repeated.

NOTE: My Ubuntu machine version is 14.04 LTS.

Here is summary:

kim@wkim:~/projects/Linux/fsl-auto-yocto-bsp$ source nxp-setup-alb.sh -m s32v234sbc
Configuring for s32v234sbc and distro fsl-auto...

Proprietary and third party software is subject to agreement and compliance
with, NXP's End User License Agreement. To have the right to use these
binaries in your images, you must read and accept the following terms. If
there are conflicting terms embedded in the software, the terms embedded in
the Software will control.

In all cases, open source software is licensed under the terms of the
applicable open source license(s), such as the BSD License, Apache License or
the GNU Lesser General Public License. Your use of the open source software
is subject to the terms of each applicable license. You must agree to the
terms of each applicable license, or you cannot use the open source software.

LA_OPT_BASE_LICENSE v20 June 2017

IMPORTANT. Read the following NXP Software License Agreement
(“Agreement”) completely. By selecting the “I Accept” button at the end of
this page, you indicate that you accept the terms of the Agreement and you
acknowledge that you have the authority, for yourself or on behalf of your
company, to bind your company to these terms. You may then download or install
the file.

NXP SOFTWARE LICENSE AGREEMENT

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

wkim@wkim:~/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc$ bitbake fsl-image-auto
WARNING: Host distribution "ubuntu-14.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.
Parsing recipes: 100% |###########################################################| Time: 0:01:17
Parsing of 2504 .bb files complete (0 cached, 2504 parsed). 3412 targets, 206 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-14.04"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "s32v234sbc"
DISTRO = "fsl-auto"
DISTRO_VERSION = "1.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:c770664d3125a0a0e73444a3a2a97418b7c0d7a5"
meta-oe
meta-multimedia
meta-python
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl
meta-xfce = "HEAD:6e3fc5b8d904d06e3aa77e9ec9968ab37a798188"
meta-virtualization = "HEAD:4277759428e96605b8dbe95a43891e217ae8d399"
meta-freescale = "HEAD:bf7fd9cfe0788fe2f819a4ae2cc7db8327fe161a"
meta-alb = "HEAD:3d4bf950ef690bb7656473e77c3fbb680512f187"
meta-linaro-toolchain = "HEAD:30f0f5e158ba29c4b1ccfdd66f0368726e4179e0"

NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/1.7/x86_64-nativesdk-libc.tar.bz2;sha256sum=ed0...
Initialising tasks: 100% |########################################################| Time: 0:00:06
Checking sstate mirror object availability: 100% |################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: libpng-native-1.6.31-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.31/libpng-1.6.31.tar.xz, attempting MIRRORS if available
WARNING: coreutils-8.27-r0 do_fetch: Failed to fetch URL http://distfiles.gentoo.org/distfiles/coreutils-8.27-man.tar.xz;name=manpages, attempting MIRRORS if available
WARNING: ca-certificates-20170717-r0 do_fetch: Failed to fetch URL git://anonscm.debian.org/collab-maint/ca-certificates.git, attempting MIRRORS if available
WARNING: gcc-source-linaro-6.3-linaro-6.3-r2017.02 do_fetch: Failed to fetch URL git://git.linaro.org/toolchain/gcc;protocol=https;nobranch=1, attempting MIRRORS if available
ERROR: gcc-source-linaro-6.3-linaro-6.3-r2017.02 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-tgPOSmJ8Ee"; export SSH_AUTH_SOCK="/run/user/1000/keyring-NnrB7b/ssh"; export PATH="/home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/sources/poky/scripts:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/work-shared/gcc-linaro-6.3-r2017.02/recipe-sysroot-native/usr/bin/aarch64-fsl-linux:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/work-shared/gcc-linaro-6.3-r2017.02/recipe-sysroot/usr/bin/crossscripts:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/work-shared/gcc-linaro-6.3-r2017.02/recipe-sysroot-native/usr/sbin:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/work-shared/gcc-linaro-6.3-r2017.02/recipe-sysroot-native/usr/bin:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/work-shared/gcc-linaro-6.3-r2017.02/recipe-sysroot-native/sbin:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/work-shared/gcc-linaro-6.3-r2017.02/recipe-sysroot-native/bin:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/sources/poky/bitbake/bin:/home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/hosttools"; export HOME="/home/wkim"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://git.linaro.org/toolchain/gcc /home/wkim/projects/Linux/fsl-auto-yocto-bsp/downloads/git2/git.linaro.org.toolchain.gcc --progress failed with exit code 128, output:
Cloning into bare repository '/home/wkim/projects/Linux/fsl-auto-yocto-bsp/downloads/git2/git.linaro.org.toolchain.gcc'...
remote: Enumerating objects: 2504646, done.
remote: Counting objects: 100% (2504646/2504646), done.
remote: Compressing objects: 100% (1466102/1466102), done.
error: RPC failed; result=56, HTTP code = 2001 GiB | 611.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

ERROR: gcc-source-linaro-6.3-linaro-6.3-r2017.02 do_fetch: Fetcher failure for URL: 'git://git.linaro.org/toolchain/gcc;protocol=https;nobranch=1'. Unable to fetch URL from any source.
ERROR: gcc-source-linaro-6.3-linaro-6.3-r2017.02 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/wkim/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc/tmp/work-shared/gcc-linaro-6.3-r2017.02/temp/log.do_fetch.21782
ERROR: Task (/home/wkim/projects/Linux/fsl-auto-yocto-bsp/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-source_linaro-6.3.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2138 tasks of which 6 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/wkim/projects/Linux/fsl-auto-yocto-bsp/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-source_linaro-6.3.bb:do_fetch
Summary: There were 5 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
wkim@wkim:~/projects/Linux/fsl-auto-yocto-bsp/build_s32v234sbc$

I don't know what the problem is ...

Could you please help me?

Regards,

William.

Labels (1)
0 Kudos
3 Replies

2,486 Views
lemficb
Contributor II

Hi Woo Jung Kim,

      My problem is the same with you and also use 'Auto_Linux_BSP_17.0_HF1_User_Manual.pdf'.Did you solve this problem? If yes ,Could you give me some advices? Thanks.

    Jun

    Best regards

0 Kudos

2,486 Views
paulvlase
NXP Employee
NXP Employee

Hi william.kim@windriver.com‌,

It seems to be a connection problem. Could you try again?

If the problem persist, I recommend you to ask on S32 Design Studio or create a request at www.nxp.com/support using Support Requests option. The NXP Model-Based Design Tools for VISION community offers support only for Matlab toolbox related issues.

0 Kudos

2,486 Views
tkcheng01
Contributor III

You can try to start from Quick-start-guide-sbc-s32v234-R4.pdf

0 Kudos