Перейти к содержанию
    

i.MX 8M Mini (Buildroot / Yocto)

Кто нибудь собирал buildroot или yocto  для плат на основе i.MX 8M Mini? У меня MaaXBoard Mini.

https://boundarydevices.com/buildroot-2021-05-for-imx-platforms/ - здесь заявлена поддержка в данной версий. Я его скачал

nitrogen8mm_qt5_gst1_defconfig там нету. 

Сделал

make ARCH=arm64 nitrogen8mm_defconfig

make ARCH=arm64 

Получил

Spoiler

[7m>>> uclibc 1.0.38 Building[27m
/usr/bin/make -j9 -C /home/niyaz/nxp/buildroot-2021.05/output/build/uclibc-1.0.38 ARCH="" CROSS_COMPILE="/home/niyaz/nxp/buildroot-2021.05/output/host/bin/arm64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS="" HOSTCC="/usr/bin/gcc" headers
make[1]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/uclibc-1.0.38'
make[1]: 'headers' is up to date.
make[1]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/uclibc-1.0.38'
/usr/bin/make -j9 -C /home/niyaz/nxp/buildroot-2021.05/output/build/uclibc-1.0.38 ARCH="" CROSS_COMPILE="/home/niyaz/nxp/buildroot-2021.05/output/host/bin/arm64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS="" HOSTCC="/usr/bin/gcc"
make[1]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/uclibc-1.0.38'
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h
In file included from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/linux/posix_types.h:36,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm-generic/socket.h:5,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/socket.h:1,
                 from ./include/bits/socket.h:360,
                 from ./include/sys/socket.h:39,
                 from ./include/netinet/in.h:24,
                 from ./include/resolv.h:57,
                 from ./libpthread/nptl/descr.h:36,
                 from ./libpthread/nptl/pthreadP.h:25,
                 from <stdin>:2:
/home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/posix_types.h:23:25: error: conflicting types for '__kernel_mode_t'
   23 | typedef unsigned short  __kernel_mode_t;
      |                         ^~~~~~~~~~~~~~~
In file included from ./include/bits/types.h:30,
                 from ./include/bits/byteswap-common.h:27,
                 from ./include/bits/byteswap.h:1,
                 from ./include/byteswap.h:22,
                 from ./include/endian.h:71,
                 from ./include/pthread.h:23,
                 from ./libpthread/nptl/pthreadP.h:21,
                 from <stdin>:2:
./include/bits/kernel_types.h:12:23: note: previous declaration of '__kernel_mode_t' was here
   12 | typedef unsigned int  __kernel_mode_t;
      |                       ^~~~~~~~~~~~~~~
In file included from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/linux/posix_types.h:36,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm-generic/socket.h:5,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/socket.h:1,
                 from ./include/bits/socket.h:360,
                 from ./include/sys/socket.h:39,
                 from ./include/netinet/in.h:24,
                 from ./include/resolv.h:57,
                 from ./libpthread/nptl/descr.h:36,
                 from ./libpthread/nptl/pthreadP.h:25,
                 from <stdin>:2:
/home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/posix_types.h:26:25: error: conflicting types for '__kernel_ipc_pid_t'
   26 | typedef unsigned short  __kernel_ipc_pid_t;
      |                         ^~~~~~~~~~~~~~~~~~
In file included from ./include/bits/types.h:30,
                 from ./include/bits/byteswap-common.h:27,
                 from ./include/bits/byteswap.h:1,
                 from ./include/byteswap.h:22,
                 from ./include/endian.h:71,
                 from ./include/pthread.h:23,
                 from ./libpthread/nptl/pthreadP.h:21,
                 from <stdin>:2:
./include/bits/kernel_types.h:16:16: note: previous declaration of '__kernel_ipc_pid_t' was here
   16 | typedef int    __kernel_ipc_pid_t;
      |                ^~~~~~~~~~~~~~~~~~
In file included from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/linux/posix_types.h:36,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm-generic/socket.h:5,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/socket.h:1,
                 from ./include/bits/socket.h:360,
                 from ./include/sys/socket.h:39,
                 from ./include/netinet/in.h:24,
                 from ./include/resolv.h:57,
                 from ./libpthread/nptl/descr.h:36,
                 from ./libpthread/nptl/pthreadP.h:25,
                 from <stdin>:2:
/home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/posix_types.h:29:25: error: conflicting types for '__kernel_uid_t'
   29 | typedef unsigned short  __kernel_uid_t;
      |                         ^~~~~~~~~~~~~~
In file included from ./include/bits/types.h:30,
                 from ./include/bits/byteswap-common.h:27,
                 from ./include/bits/byteswap.h:1,
                 from ./include/byteswap.h:22,
                 from ./include/endian.h:71,
                 from ./include/pthread.h:23,
                 from ./libpthread/nptl/pthreadP.h:21,
                 from <stdin>:2:
./include/bits/kernel_types.h:17:23: note: previous declaration of '__kernel_uid_t' was here
   17 | typedef unsigned int  __kernel_uid_t;
      |                       ^~~~~~~~~~~~~~
In file included from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/linux/posix_types.h:36,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm-generic/socket.h:5,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/socket.h:1,
                 from ./include/bits/socket.h:360,
                 from ./include/sys/socket.h:39,
                 from ./include/netinet/in.h:24,
                 from ./include/resolv.h:57,
                 from ./libpthread/nptl/descr.h:36,
                 from ./libpthread/nptl/pthreadP.h:25,
                 from <stdin>:2:
/home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/posix_types.h:30:25: error: conflicting types for '__kernel_gid_t'
   30 | typedef unsigned short  __kernel_gid_t;
      |                         ^~~~~~~~~~~~~~
In file included from ./include/bits/types.h:30,
                 from ./include/bits/byteswap-common.h:27,
                 from ./include/bits/byteswap.h:1,
                 from ./include/byteswap.h:22,
                 from ./include/endian.h:71,
                 from ./include/pthread.h:23,
                 from ./libpthread/nptl/pthreadP.h:21,
                 from <stdin>:2:
./include/bits/kernel_types.h:18:23: note: previous declaration of '__kernel_gid_t' was here
   18 | typedef unsigned int  __kernel_gid_t;
      |                       ^~~~~~~~~~~~~~
In file included from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/linux/posix_types.h:36,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm-generic/socket.h:5,
                 from /home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/socket.h:1,
                 from ./include/bits/socket.h:360,
                 from ./include/sys/socket.h:39,
                 from ./include/netinet/in.h:24,
                 from ./include/resolv.h:57,
                 from ./libpthread/nptl/descr.h:36,
                 from ./libpthread/nptl/pthreadP.h:25,
                 from <stdin>:2:
/home/niyaz/nxp/buildroot-2021.05/output/build/linux-headers-custom/usr/include/asm/posix_types.h:33:25: error: conflicting types for '__kernel_old_dev_t'
   33 | typedef unsigned short  __kernel_old_dev_t;
      |                         ^~~~~~~~~~~~~~~~~~
In file included from ./include/bits/types.h:30,
                 from ./include/bits/byteswap-common.h:27,
                 from ./include/bits/byteswap.h:1,
                 from ./include/byteswap.h:22,
                 from ./include/endian.h:71,
                 from ./include/pthread.h:23,
                 from ./libpthread/nptl/pthreadP.h:21,
                 from <stdin>:2:
./include/bits/kernel_types.h:34:23: note: previous declaration of '__kernel_old_dev_t' was here
   34 | typedef unsigned int  __kernel_old_dev_t;
      |                       ^~~~~~~~~~~~~~~~~~
libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.commonarch:135: recipe for target 'libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h' failed
make[1]: *** [libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h] Error 1
make[1]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/uclibc-1.0.38'
package/pkg-generic.mk:247: recipe for target '/home/niyaz/nxp/buildroot-2021.05/output/build/uclibc-1.0.38/.stamp_built' failed
make: *** [/home/niyaz/nxp/buildroot-2021.05/output/build/uclibc-1.0.38/.stamp_built] Error 2
 

 

Сменил на glibc

Spoiler

[7m>>> glibc 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2 Building[27m
PATH="/home/niyaz/nxp/buildroot-2021.05/output/host/bin:/home/niyaz/nxp/buildroot-2021.05/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"  /usr/bin/make -j9  -C /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build
make[1]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build'
/usr/bin/make -r PARALLELMFLAGS="" -C /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2 objdir=`pwd` all
make[2]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2'

type "make help" for help with common glibc makefile targets

/usr/bin/make  subdir=csu -C csu ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/csu'
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/csu'
/usr/bin/make  subdir=iconv -C iconv ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/iconv'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/iconv'
/usr/bin/make  subdir=locale -C locale ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/locale'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/locale'
/usr/bin/make  subdir=localedata -C localedata ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedata'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedata'
/usr/bin/make  subdir=iconvdata -C iconvdata ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/iconvdata'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/iconvdata'
/usr/bin/make  subdir=assert -C assert ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/assert'
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/assert'
/usr/bin/make  subdir=ctype -C ctype ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/ctype'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/ctype'
/usr/bin/make  subdir=intl -C intl ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/intl'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/intl'
/usr/bin/make  subdir=catgets -C catgets ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/catgets'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/catgets'
/usr/bin/make  subdir=math -C math ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/math'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/math'
/usr/bin/make  subdir=setjmp -C setjmp ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/setjmp'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/setjmp'
/usr/bin/make  subdir=signal -C signal ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/signal'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/signal'
/usr/bin/make  subdir=stdlib -C stdlib ..=../ subdir_lib
make[3]: Entering directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/stdlib'
python3 -B ../scripts/gen-as-const.py --cc="/home/niyaz/nxp/buildroot-2021.05/output/host/bin/arm64-buildroot-linux-gnu-gcc -std=gnu11 -fgnu89-inline  -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -Wstrict-prototypes -Wold-style-definition -fmath-errno     -ftls-model=initial-exec      -I../include -I/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/stdlib  -I/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build  -I../sysdeps/unix/sysv/linux/aarch64  -I../sysdeps/aarch64/nptl  -I../sysdeps/unix/sysv/linux/generic  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/aarch64/fpu  -I../sysdeps/aarch64/multiarch  -I../sysdeps/aarch64  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754/ldbl-128  -I../sysdeps/ieee754/dbl-64/wordsize-64  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /home/niyaz/nxp/buildroot-2021.05/output/host/lib/gcc/arm64-buildroot-linux-gnu/10.3.0/include -isystem /home/niyaz/nxp/buildroot-2021.05/output/host/lib/gcc/arm64-buildroot-linux-gnu/10.3.0/include-fixed -isystem /home/niyaz/nxp/buildroot-2021.05/output/host/arm64-buildroot-linux-gnu/sysroot/usr/include  -D_LIBC_REENTRANT -include /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS \
           -MD -MP -MF /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.h.dT \
           -MT '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.h.d /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.h'" \
      ../sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym > /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.hT
<stdin>: In function 'dummy':
<stdin>:16:89: error: invalid application of 'sizeof' to incomplete type 'struct fpsimd_context'
In file included from <stdin>:3:
<stdin>:34:33: error: invalid use of undefined type 'struct fpsimd_context'
<stdin>:35:67: note: in expansion of macro 'fpsimd_context'
<stdin>:34:33: error: invalid use of undefined type 'struct fpsimd_context'
<stdin>:36:65: note: in expansion of macro 'fpsimd_context'
<stdin>:34:33: error: invalid use of undefined type 'struct fpsimd_context'
<stdin>:37:67: note: in expansion of macro 'fpsimd_context'
<stdin>:34:33: error: invalid use of undefined type 'struct fpsimd_context'
<stdin>:38:67: note: in expansion of macro 'fpsimd_context'
<stdin>:39:30: error: invalid use of undefined type 'struct _aarch64_ctx'
<stdin>:40:68: note: in expansion of macro 'aarch64_ctx'
<stdin>:39:30: error: invalid use of undefined type 'struct _aarch64_ctx'
<stdin>:41:67: note: in expansion of macro 'aarch64_ctx'
<stdin>:42:74: error: 'FPSIMD_MAGIC' undeclared (first use in this function)
<stdin>:42:74: note: each undeclared identifier is reported only once for each function it appears in
Traceback (most recent call last):
  File "../scripts/gen-as-const.py", line 120, in <module>
    main()
  File "../scripts/gen-as-const.py", line 116, in main
    consts = glibcextract.compute_c_consts(sym_data, args.cc)
  File "/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/scripts/glibcextract.py", line 62, in compute_c_consts
    subprocess.check_call(cmd, shell=True)
  File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/home/niyaz/nxp/buildroot-2021.05/output/host/bin/arm64-buildroot-linux-gnu-gcc -std=gnu11 -fgnu89-inline  -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -Wstrict-prototypes -Wold-style-definition -fmath-errno     -ftls-model=initial-exec      -I../include -I/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/stdlib  -I/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build  -I../sysdeps/unix/sysv/linux/aarch64  -I../sysdeps/aarch64/nptl  -I../sysdeps/unix/sysv/linux/generic  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/aarch64/fpu  -I../sysdeps/aarch64/multiarch  -I../sysdeps/aarch64  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754/ldbl-128  -I../sysdeps/ieee754/dbl-64/wordsize-64  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /home/niyaz/nxp/buildroot-2021.05/output/host/lib/gcc/arm64-buildroot-linux-gnu/10.3.0/include -isystem /home/niyaz/nxp/buildroot-2021.05/output/host/lib/gcc/arm64-buildroot-linux-gnu/10.3.0/include-fixed -isystem /home/niyaz/nxp/buildroot-2021.05/output/host/arm64-buildroot-linux-gnu/sysroot/usr/include  -D_LIBC_REENTRANT -include /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS            -MD -MP -MF /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.h.dT            -MT '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.h.d /home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.h' -S -o /tmp/tmp1jdis0p6/test.s -x c - < /tmp/tmp1jdis0p6/test.c' returned non-zero exit status 1.
../Makerules:271: recipe for target '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.h' failed
make[3]: *** [/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build/ucontext_i.h] Error 1
make[3]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/stdlib'
Makefile:470: recipe for target 'stdlib/subdir_lib' failed
make[2]: *** [stdlib/subdir_lib] Error 2
make[2]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2'
Makefile:9: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/build'
package/pkg-generic.mk:247: recipe for target '/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/.stamp_built' failed
make: *** [/home/niyaz/nxp/buildroot-2021.05/output/build/glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/.stamp_built] Error 2
 

Дальше yocto пробывал собрать по этой инструкции: https://www.hackster.io/monica/building-your-own-yocto-for-maaxboard-7301ad

На этой команде:

DISTRO=fsl-imx-wayland MACHINE=imx8mmevk source fsl-setup-release.sh -b imx8mmevk

я получаю что нет скрипта fsl-setup-release.sh. Не понял где этот скрипт должен быть, я его не нашел

Изменено пользователем Niyaz

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

×
×
  • Создать...