全志A33平台编译linux(分色排版)sina33
全志A33平台编译linux
大文实验室/大文哥
壹捌陆捌零陆捌捌陆捌贰
21504965 AT qq.com
完成时间:2017/12/12 17:36
版本:V1.0
Xshell 5 (Build 0964)
Copyright (c) 2002-2016 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
[c:\~]$
Connecting to 192.168.0.88:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-24-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Tue Dec 12 15:10:50 2017 from 192.168.0.43
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ cd /home/rediron/a33/a33
rootroot@cm-System-Product-Name:/home/rediron/a33/a33$ ll
总用量 5339260
-rw------- 1 rootroot rootroot 1048576000 5月 22 2017 android.tar.bz2.aa
-rw------- 1 rootroot rootroot 1048576000 5月 22 2017 android.tar.bz2.ab
-rw------- 1 rootroot rootroot 1048576000 5月 22 2017 android.tar.bz2.ac
-rw------- 1 rootroot rootroot 1048505135 5月 22 2017 android.tar.bz2.ad
-rw------- 1 rootroot rootroot 1273122860 5月 22 2017 lichee.tar.gz
drwx------ 2 rootroot rootroot 4096 6月 19 10:10 Linux
rootroot@cm-System-Product-Name:/home/rediron/a33/a33$
rootroot@cm-System-Product-Name:/home/rediron/a33/a33$ tar zxvf lichee.tar.gz
rootroot@cm-System-Product-Name:/home/rediron/a33/a33$
rootroot@cm-System-Product-Name:/home/rediron/a33/a33$ cd lichee/
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$ ll
总用量 24
drwxr-xr-x 10 rootroot rootroot 4096 9月 4 2014 brandy
drwxr-xr-x 15 rootroot rootroot 4096 9月 4 2014 buildroot
-r-xr-xr-x 1 rootroot rootroot 55 9月 4 2014 build.sh
drwxr-xr-x 26 rootroot rootroot 4096 9月 4 2014 linux-3.4
-r--r--r-- 1 rootroot rootroot 232 9月 4 2014 README
drwxr-xr-x 7 rootroot rootroot 4096 9月 4 2014 tools
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$ ./build.sh config
Welcome to mkscript setup progress
All available chips:
0. sun8iw5p1
Choice: 0
All available platforms:
0. android
1. dragonboard
2. linux
Choice: 2
All available kernel:
0. linux-3.4
Choice: 0
All available boards:
0. evb
1. maple
2. redwood
3. y2
4. y3
Choice: 4
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$ ./build.sh
错误1:
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''NEXT_WCTYPE_H''@|<wctype.h>|g' \
-e 's/@''HAVE_ISWBLANK''@/1/g' \
-e 's/@''HAVE_ISWCNTRL''@/1/g' \
-e 's/@''HAVE_WINT_T''@/1/g' \
-e 's/@''REPLACE_ISWCNTRL''@/0/g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./wctype.in.h; \
} > wctype.h-t && \
mv wctype.h-t wctype.h
/usr/bin/make all-am
make[4]: Entering directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/lib'
/usr/bin/gcc -std=gnu99 -I. -O2 -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT gl_avltree_oset.o -MD -MP -MF .deps/gl_avltree_oset.Tpo -c -o gl_avltree_oset.o gl_avltree_oset.c
/usr/bin/gcc -std=gnu99 -I. -O2 -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT c-ctype.o -MD -MP -MF .deps/c-ctype.Tpo -c -o c-ctype.o c-ctype.c
/usr/bin/gcc -std=gnu99 -I. -O2 -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT c-stack.o -MD -MP -MF .deps/c-stack.Tpo -c -o c-stack.o c-stack.c
/usr/bin/gcc -std=gnu99 -I. -O2 -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT clean-temp.o -MD -MP -MF .deps/clean-temp.Tpo -c -o clean-temp.o clean-temp.c
/usr/bin/gcc -std=gnu99 -I. -O2 -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o execute.c
/usr/bin/gcc -std=gnu99 -I. -O2 -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT exitfail.o -MD -MP -MF .deps/exitfail.Tpo -c -o exitfail.o exitfail.c
In file included from clean-temp.h:22:0,
from clean-temp.c:23:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
mv -f .deps/exitfail.Tpo .deps/exitfail.Po
/usr/bin/gcc -std=gnu99 -I. -O2 -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT fatal-signal.o -MD -MP -MF .deps/fatal-signal.Tpo -c -o fatal-signal.o fatal-signal.c
mv -f .deps/c-ctype.Tpo .deps/c-ctype.Po
/usr/bin/gcc -std=gnu99 -I. -O2 -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT fd-safer-flag.o -MD -MP -MF .deps/fd-safer-flag.Tpo -c -o fd-safer-flag.o fd-safer-flag.c
make[4]: *** [clean-temp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/execute.Tpo .deps/execute.Po
mv -f .deps/c-stack.Tpo .deps/c-stack.Po
mv -f .deps/fd-safer-flag.Tpo .deps/fd-safer-flag.Po
mv -f .deps/fatal-signal.Tpo .deps/fatal-signal.Po
mv -f .deps/gl_avltree_oset.Tpo .deps/gl_avltree_oset.Po
make[4]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15'
make[1]: *** [all] 错误 2
make[1]:正在离开目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15'
make: *** [/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/.stamp_built] 错误 2
make:离开目录“/home/rediron/a33/a33/lichee/buildroot”
ERROR: build buildroot Failed
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$ find . -name stdio.h
./out/sun8iw5p1/linux/common/buildroot/external-toolchain/arm-linux-gnueabi/libc/usr/include/arm-linux-gnueabi/bits/stdio.h
./out/sun8iw5p1/linux/common/buildroot/external-toolchain/arm-linux-gnueabi/libc/usr/include/stdio.h
./out/sun8iw5p1/linux/common/buildroot/external-toolchain/arm-linux-gnueabi/include/c++/4.6.3/tr1/stdio.h
./out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/lib/stdio.h
./out/sun8iw5p1/linux/common/buildroot/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/arm-linux-gnueabi/bits/stdio.h
./out/sun8iw5p1/linux/common/buildroot/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/stdio.h
./linux-3.4/arch/powerpc/boot/stdio.h
./brandy/gcc-linaro/arm-linux-gnueabi/libc/usr/include/arm-linux-gnueabi/bits/stdio.h
./brandy/gcc-linaro/arm-linux-gnueabi/libc/usr/include/stdio.h
./brandy/gcc-linaro/arm-linux-gnueabi/include/c++/4.6.3/tr1/stdio.h
./brandy/u-boot-2011.09/include/stdio.h
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
Q:\a33\a33\lichee\out\sun8iw5p1\linux\common\buildroot\build\host-m4-1.4.15\lib\stdio.h
/* It is very rare that the developer ever has full control of stdin,
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
#undef gets
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
修改为:
/* It is very rare that the developer ever has full control of stdin,
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
#undef gets
// 2017/5/2 14:13 wenyuanbo add!!!!
//_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif
错误2:
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$ ./build.sh
"/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf/autotest" || /bin/mkdir -p "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf/autotest"
/usr/bin/install -c -m 644 autotest.m4 general.m4 specific.m4 '/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf/autotest'
/usr/bin/install -c -m 644 autotest.m4f '/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf/autotest'
make[5]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/autotest'
make[4]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/autotest'
Making install in autoscan
make[4]: Entering directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/autoscan'
make[5]: Entering directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/autoscan'
make[5]: Nothing to be done for `install-exec-am'.
test -z "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf/autoscan" || /bin/mkdir -p "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf/autoscan"
/usr/bin/install -c -m 644 autoscan.list '/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf/autoscan'
make[5]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/autoscan'
make[4]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/autoscan'
Making install in emacs
make[4]: Entering directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/emacs'
make[5]: Entering directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/emacs'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/emacs'
make[4]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib/emacs'
make[4]: Entering directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib'
make[5]: Entering directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib'
make[5]: Nothing to be done for `install-exec-am'.
test -z "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf" || /bin/mkdir -p "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf"
/usr/bin/install -c -m 644 autom4te.cfg '/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/share/autoconf'
make[5]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib'
make[4]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib'
make[3]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib'
Making install in doc
make[3]: Entering directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
for f in autoconf.info autoconf.info-[0-9] autoconf.info-[0-9][0-9] autoconf.i[0-9] autoconf.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/build-aux/missing --run makeinfo --no-split -I . \
-o autoconf.info autoconf.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./autoconf.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
conftest.c:14625: must be after `@defmac' to use `@defmacx'
make[3]: *** [autoconf.info] Error 1
make[3]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/doc'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65'
make[1]: *** [install] 错误 2
make[1]:正在离开目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65'
make: *** [/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/.stamp_host_installed] 错误 2
make:离开目录“/home/rediron/a33/a33/lichee/buildroot”
ERROR: build buildroot Failed
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
Q:\a33\a33\lichee\out\sun8iw5p1\linux\common\buildroot\build\host-autoconf-2.65\doc\autoconf.texi
@c @ovar(ARG)
@c ----------
@c The ARG is an optional argument. To be used for macro arguments in
@c their documentation (@defmac).
@macro ovar{varname}
@r{[}@var{\varname\}@r{]}@c
@end macro
@c @dvar(ARG, DEFAULT)
@c -------------------
@c The ARG is an optional argument, defaulting to DEFAULT. To be used
@c for macro arguments in their documentation (@defmac).
@macro dvar{varname, default}
@r{[}@var{\varname\} = @samp{\default\}@r{]}@c
@end macro
修改为:
@c @ovar(ARG)
@c ----------
@c The ARG is an optional argument. To be used for macro arguments in
@c their documentation (@defmac).
@macro ovar{varname}
@r{[}@var{\varname\}@r{]}
@end macro
@c @dvar(ARG, DEFAULT)
@c -------------------
@c The ARG is an optional argument, defaulting to DEFAULT. To be used
@c for macro arguments in their documentation (@defmac).
@macro dvar{varname, default}
@r{[}@var{\varname\} = @samp{\default\}@r{]}
@end macro
错误3:
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$ ./build.sh
make[1]:正在离开目录 `/home/rediron/a33/a33/lichee/linux-3.4'
if cat ../../.config|grep "CONFIG_ARCH_SUN8IW1P1=y" >/dev/null 2>&1;then \
cp sun8iw1p1/nand.ko /home/rediron/a33/a33/lichee/linux-3.4/output/lib/modules/3.4.39/;\
fi
if cat ../../.config|grep "CONFIG_ARCH_SUN8IW3P1=y" >/dev/null 2>&1;then \
cp sun8iw3p1/nand.ko /home/rediron/a33/a33/lichee/linux-3.4/output/lib/modules/3.4.39/;\
fi
if cat ../../.config|grep "CONFIG_ARCH_SUN9IW1P1=y" >/dev/null 2>&1;then \
cp sun9iw1p1/nand.ko /home/rediron/a33/a33/lichee/linux-3.4/output/lib/modules/3.4.39/;\
fi
if cat ../../.config|grep "CONFIG_ARCH_SUN8IW5P1=y" >/dev/null 2>&1;then \
cp sun8iw5p1/nand.ko /home/rediron/a33/a33/lichee/linux-3.4/output/lib/modules/3.4.39/;\
fi
if cat ../../.config|grep "CONFIG_ARCH_SUN8IW6P1=y" >/dev/null 2>&1;then \
cp sun8iw6p1/nand.ko /home/rediron/a33/a33/lichee/linux-3.4/output/lib/modules/3.4.39/;\
fi
make:离开目录“/home/rediron/a33/a33/lichee/linux-3.4/modules/nand”
make:进入目录'/home/rediron/a33/a33/lichee/linux-3.4/modules/aw_schw'
cp libschw libschw.a
/home/rediron/a33/a33/lichee/linux-3.4
make -C /home/rediron/a33/a33/lichee/linux-3.4 M=/home/rediron/a33/a33/lichee/linux-3.4/modules/aw_schw
make[1]: 正在进入目录 `/home/rediron/a33/a33/lichee/linux-3.4'
LD /home/rediron/a33/a33/lichee/linux-3.4/modules/aw_schw/built-in.o
CC [M] /home/rediron/a33/a33/lichee/linux-3.4/modules/aw_schw/sunxi_schw_base.o
LD [M] /home/rediron/a33/a33/lichee/linux-3.4/modules/aw_schw/sunxi_schw.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/rediron/a33/a33/lichee/linux-3.4/modules/aw_schw/sunxi_schw.mod.o
LD [M] /home/rediron/a33/a33/lichee/linux-3.4/modules/aw_schw/sunxi_schw.ko
make[1]:正在离开目录 `/home/rediron/a33/a33/lichee/linux-3.4'
cp sunxi_schw.ko /home/rediron/a33/a33/lichee/linux-3.4/output/lib/modules/3.4.39/
make:离开目录“/home/rediron/a33/a33/lichee/linux-3.4/modules/aw_schw”
build gpu module for sun8iw5 linux
make: Entering directory `/home/rediron/a33/a33/lichee/linux-3.4/modules/mali'
/home/rediron/a33/a33/lichee/linux-3.4
if [ 1 -eq 1 ]; then \
make -C DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/ump CONFIG=ca8-virtex820-m400-1 BUILD=release KDIR=/home/rediron/a33/a33/lichee/linux-3.4; \
fi
make[1]: Entering directory `/home/rediron/a33/a33/lichee/linux-3.4/modules/mali/DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/ump'
make -C /home/rediron/a33/a33/lichee/linux-3.4 M=/home/rediron/a33/a33/lichee/linux-3.4/modules/mali/DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/ump modules
make[2]: Entering directory `/home/rediron/a33/a33/lichee/linux-3.4'
/home/rediron/a33/a33/lichee/linux-3.4/modules/mali/DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/ump/Kbuild:17: Current directory is /home/rediron/a33/a33/lichee/linux-3.4/modules/mali/DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/ump
/home/rediron/a33/a33/lichee/linux-3.4/modules/mali/DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/ump/Kbuild:18: *** No configuration found for config ca8-virtex820-m400-1. Check that arch-ca8-virtex820-m400-1/config.h exists. Stop.
make[2]: *** [_module_/home/rediron/a33/a33/lichee/linux-3.4/modules/mali/DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/ump] Error 2
make[2]: Leaving directory `/home/rediron/a33/a33/lichee/linux-3.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rediron/a33/a33/lichee/linux-3.4/modules/mali/DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/ump'
make: *** [build] Error 2
make: Leaving directory `/home/rediron/a33/a33/lichee/linux-3.4/modules/mali'
ERROR: build kernel Failed
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
拷贝自:
Q:\a33\a33\lichee\linux-3.4\modules\mali\DX910-SW-99002-r3p2-01rel2\driver\src\devicedrv\ump\arch-ca8-virtex820-m400-1\config.h
Q:\a33\a33\lichee\linux-3.4\modules\mali\DX910-SW-99002-r4p0-00rel0\driver\src\devicedrv\ump\arch-ca8-virtex820-m400-1\config.h
#ifndef __ARCH_CONFIG_H__
#define __ARCH_CONFIG_H__
#define ARCH_UMP_BACKEND_DEFAULT 1
#define ARCH_UMP_MEMORY_ADDRESS_DEFAULT 0x5E000000
#define ARCH_UMP_MEMORY_SIZE_DEFAULT 512UL * 1024UL * 1024UL
#endif /* __ARCH_CONFIG_H__ */
拷贝自(可选):
Q:\a33\a33\lichee\linux-3.4\modules\mali\DX910-SW-99002-r3p2-01rel2\driver\src\devicedrv\ump\arch\config.h
Q:\a33\a33\lichee\linux-3.4\modules\mali\DX910-SW-99002-r4p0-00rel0\driver\src\devicedrv\ump\arch\config.h
#ifndef __ARCH_CONFIG_H__
#define __ARCH_CONFIG_H__
#define ARCH_UMP_BACKEND_DEFAULT 1
#define ARCH_UMP_MEMORY_ADDRESS_DEFAULT 0x5E000000
#define ARCH_UMP_MEMORY_SIZE_DEFAULT 512UL * 1024UL * 1024UL
#endif /* __ARCH_CONFIG_H__ */
错误4;
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$ ./build.sh
make[3]: 没有什么可以做的为 `install-exec-am'。
make[3]: 没有什么可以做的为 `install-data-am'。
make[3]:正在离开目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5/test'
make[2]:正在离开目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5/test'
make[2]: 正在进入目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5'
CONFIG_FILES= CONFIG_HEADERS= /bin/sh ./config.status
config.status: executing depfiles commands
config.status: executing libtool commands
make[3]: 正在进入目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5'
CONFIG_FILES= CONFIG_HEADERS= /bin/sh ./config.status
make[3]: 没有什么可以做的为 `install-data-am'。
config.status: executing depfiles commands
config.status: executing libtool commands
test -z "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib" || /bin/mkdir -p "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libfakeroot.la' '/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib/libfakeroot.la'
libtool: install: /usr/bin/install -c .libs/libfakeroot-0.so /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib/libfakeroot-0.so
libtool: install: (cd /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib && { ln -s -f libfakeroot-0.so libfakeroot.so || { rm -f libfakeroot.so && ln -s libfakeroot-0.so libfakeroot.so; }; })
libtool: install: /usr/bin/install -c .libs/libfakeroot.lai /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib/libfakeroot.la
libtool: install: /usr/bin/install -c .libs/libfakeroot.a /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib/libfakeroot.a
libtool: install: chmod 644 /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib/libfakeroot.a
libtool: install: ranlib /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib/libfakeroot.a
libtool: finish: PATH="/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/bin:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/external-toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/arm-linux-androideabi/bin:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/opt/jdk1.6.0_45/bin:/opt/jdk1.6.0_45/jre/bin:/sbin" ldconfig -n /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin" || /bin/mkdir -p "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'faked' '/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/faked'
libtool: install: /usr/bin/install -c faked /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/faked
make[3]:正在离开目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5'
make[2]:正在离开目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5'
make[1]:正在离开目录 `/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5'
rm -rf /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs
mkdir /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs
cp package/makedevs/makedevs.c /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs
cc -Wall -Werror -O2 /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs.c -o /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs
/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs.c: In function ‘main’:
/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs.c:374:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
int ret = EXIT_SUCCESS;
^
cc1: all warnings being treated as errors
make: *** [/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs] 错误 1
make:离开目录“/home/rediron/a33/a33/lichee/buildroot”
ERROR: build rootfs Failed
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
错误5:
Q:\a33\a33\lichee\out\sun8iw5p1\linux\common\buildroot\build\host-makedevs\makedevs.c
int main(int argc, char **argv)
{
int opt;
FILE *table = stdin;
char *rootdir = NULL;
char *line = NULL;
int linenum = 0;
int ret = EXIT_SUCCESS;
bb_applet_name = basename(argv[0]);
while ((opt = getopt(argc, argv, "d:")) != -1) {
switch(opt) {
case 'd':
table = bb_xfopen((line=optarg), "r");
break;
default:
bb_show_usage();
}
}
if (optind >= argc || (rootdir=argv[optind])==NULL) {
bb_error_msg_and_die("root directory not speficied");
}
if (chdir(rootdir) != 0) {
bb_perror_msg_and_die("Couldnt chdir to %s", rootdir);
}
umask(0);
printf("rootdir=%s\n", rootdir);
if (line) {
printf("table='%s'\n", line);
} else {
printf("table=<stdin>\n");
}
while ((line = bb_get_chomped_line_from_file(table))) {
char type;
unsigned int mode = 0755;
unsigned int major = 0;
unsigned int minor = 0;
unsigned int count = 0;
unsigned int increment = 0;
unsigned int start = 0;
char name[41];
char user[41];
char group[41];
char *full_name;
uid_t uid;
gid_t gid;
linenum++;
if ((2 > sscanf(line, "%40s %c %o %40s %40s %u %u %u %u %u", name,
&type, &mode, user, group, &major,
&minor, &start, &increment, &count)) ||
((major | minor | start | count | increment) > 0xfffff))
{
if (*line=='\0' || *line=='#' || isspace(*line))
continue;
bb_error_msg("line %d invalid: '%s'\n", linenum, line);
ret = EXIT_FAILURE;
continue;
}
if (name[0] == '#') {
continue;
}
if (*group) {
gid = get_ug_id(group, my_getgrnam);
} else {
gid = getgid();
}
if (*user) {
uid = get_ug_id(user, my_getpwnam);
} else {
uid = getuid();
}
full_name = concat_path_file(rootdir, name);
if (type == 'd') {
bb_make_directory(full_name, mode | S_IFDIR, FILEUTILS_RECUR);
if (chown(full_name, uid, gid) == -1) {
bb_perror_msg("line %d: chown failed for %s", linenum, full_name);
ret = EXIT_FAILURE;
goto loop;
}
if ((mode != -1) && (chmod(full_name, mode) < 0)){
bb_perror_msg("line %d: chmod failed for %s", linenum, full_name);
ret = EXIT_FAILURE;
goto loop;
}
} else if (type == 'f') {
struct stat st;
if ((stat(full_name, &st) < 0 || !S_ISREG(st.st_mode))) {
bb_perror_msg("line %d: regular file '%s' does not exist", linenum, full_name);
ret = EXIT_FAILURE;
goto loop;
}
if (chown(full_name, uid, gid) == -1) {
bb_perror_msg("line %d: chown failed for %s", linenum, full_name);
ret = EXIT_FAILURE;
goto loop;
}
if ((mode != -1) && (chmod(full_name, mode) < 0)){
bb_perror_msg("line %d: chmod failed for %s", linenum, full_name);
ret = EXIT_FAILURE;
goto loop;
}
} else
{
dev_t rdev;
if (type == 'p') {
mode |= S_IFIFO;
}
else if (type == 'c') {
mode |= S_IFCHR;
}
else if (type == 'b') {
mode |= S_IFBLK;
} else {
bb_error_msg("line %d: Unsupported file type %c", linenum, type);
ret = EXIT_FAILURE;
goto loop;
}
if (count > 0) {
int i;
char *full_name_inc;
full_name_inc = xmalloc(strlen(full_name) + 8);
for (i = 0; i < count; i++) {
sprintf(full_name_inc, "%s%d", full_name, start + i);
rdev = makedev(major, minor + i * increment);
if (mknod(full_name_inc, mode, rdev) == -1) {
bb_perror_msg("line %d: Couldnt create node %s", linenum, full_name_inc);
ret = EXIT_FAILURE;
}
else if (chown(full_name_inc, uid, gid) == -1) {
bb_perror_msg("line %d: chown failed for %s", linenum, full_name_inc);
ret = EXIT_FAILURE;
}
if ((mode != -1) && (chmod(full_name_inc, mode) < 0)){
bb_perror_msg("line %d: chmod failed for %s", linenum, full_name_inc);
ret = EXIT_FAILURE;
}
}
free(full_name_inc);
} else {
rdev = makedev(major, minor);
if (mknod(full_name, mode, rdev) == -1) {
bb_perror_msg("line %d: Couldnt create node %s", linenum, full_name);
ret = EXIT_FAILURE;
}
else if (chown(full_name, uid, gid) == -1) {
bb_perror_msg("line %d: chown failed for %s", linenum, full_name);
ret = EXIT_FAILURE;
}
if ((mode != -1) && (chmod(full_name, mode) < 0)){
bb_perror_msg("line %d: chmod failed for %s", linenum, full_name);
ret = EXIT_FAILURE;
}
}
}
loop:
free(line);
free(full_name);
}
fclose(table);
printf("Warning: skip syncing\n");
#if 0
if (system("/bin/sync"))
bb_error_msg("sync failed, continuing anyway");
#endif
//return 0;
return ret;
}
编译完成:
rm -f /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs
touch /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/.fakeroot.00000
cat /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/.fakeroot* > /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs
echo "chown -R 0:0 /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/target" >> /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs
echo "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/makedevs -d target/generic/device_table.txt /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/target" >> /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs
echo " PATH="/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/bin:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/sbin/:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/external-toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/arm-linux-androideabi/bin:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/opt/jdk1.6.0_45/bin:/opt/jdk1.6.0_45/jre/bin" fs/ext4/genext2fs.sh -d /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/target /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/images/rootfs.ext4 ; tune2fs -j -O extents,uninit_bg,dir_index /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/images/rootfs.ext4 ; fsck.ext4 -y /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/images/rootfs.ext4 ; echo busybox directfb directfb-examples divine dosfstools e2fsprogs ethtool ext4-utils freetype fsck-msdos fuse-exfat libfuse i2c-tools input-tools iostat iperf iw jpeg libnl libpcap libpng memstat memtester ntfs-3g openssh openssl portmap strace stress sysstat szrz tcpdump tiobench tslib udev which wireless_tools wpa_supplicant zlib target-generic-hostname target-generic-issue target-generic-getty-busybox target-finalize target-purgelocales ; echo "/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/bin:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/sbin/:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/external-toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/arm-linux-androideabi/bin:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/opt/jdk1.6.0_45/bin:/opt/jdk1.6.0_45/jre/bin"" >> /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs
chmod a+x /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs
/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/fakeroot -- /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs
rootdir=/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/target
table='target/generic/device_table.txt'
Warning: skip syncing
-d /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/target /home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/images/rootfs.ext4 -N 1434 -b 42899
tune2fs 1.42.9 (4-Feb-2014)
Creating journal inode: 完成
This filesystem will be automatically checked every 20 mounts or
0 days, whichever comes first. Use tune2fs -c or -i to override.
e2fsck 1.42.9 (4-Feb-2014)
文件系统缺少UUID;正在生成一个。
Adding dirhash hint to 文件系统.
/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/images/rootfs.ext4: clean, 1044/1440 files, 38293/42899 blocks
busybox directfb directfb-examples divine dosfstools e2fsprogs ethtool ext4-utils freetype fsck-msdos fuse-exfat libfuse i2c-tools input-tools iostat iperf iw jpeg libnl libpcap libpng memstat memtester ntfs-3g openssh openssl portmap strace stress sysstat szrz tcpdump tiobench tslib udev which wireless_tools wpa_supplicant zlib target-generic-hostname target-generic-issue target-generic-getty-busybox target-finalize target-purgelocales
/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/bin:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/sbin/:/home/rediron/a33/a33/lichee/out/sun8iw5p1/linux/common/buildroot/external-toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/arm-linux-androideabi/bin:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/opt/jdk1.6.0_45/bin:/opt/jdk1.6.0_45/jre/bin
make:离开目录“/home/rediron/a33/a33/lichee/buildroot”
INFO: build rootfs OK.
INFO: ----------------------------------------
INFO: build lichee OK.
INFO: ----------------------------------------
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$ find . -name *.img
./out/sun8iw5p1/linux/common/boot.img
./linux-3.4/output/boot.img
./linux-3.4/drivers/staging/ft1000/ft1000-pcmcia/ft1000.img
./linux-3.4/drivers/staging/ft1000/ft1000-usb/ft3000.img
rootroot@cm-System-Product-Name:/home/rediron/a33/a33/lichee$
全志A33平台编译linux(分色排版)sina33的更多相关文章
- 全志A33平台编译linux(分色排版)V1.1
全志A33平台编译linux 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 21504965 AT qq.com 完成时间:2017/12/13 10:41 版本:V1.1 (一)解压缩lichee备用 ...
- 04全志R58平台编译内核需要选择的配置
04全志R58平台编译内核需要选择的配置 2018/11/6 14:19 版本:V1.0 开发板:SC5806 1.系统编译:(略) 每次系统编译/内核的时候都需要选3次N: * * Xtables ...
- 全志A33开发板Linux内核定时器编程
开发平台 * 芯灵思SinlinxA33开发板 淘宝店铺: https://sinlinx.taobao.com/ 嵌入式linux 开发板交流 QQ:641395230 Linux 内核定时器是内核 ...
- 全志A33 lichee怎样编译镜像
对于全志A33 lichee编译镜像文件需要先搭建好交叉编译环境,这个搭建环境可以看之前的文档 "SINA33开发板怎样创建编译环境" 开发平台 * 芯灵思SinlinxA33开发 ...
- 全志A33 lichee 开发板 Linux中断编程原理说明
开发平台 * 芯灵思SinlinxA33开发板 淘宝店铺: https://sinlinx.taobao.com/ 嵌入式linux 开发板交流 QQ:641395230 本节实验目标实现按键触发中断 ...
- 全志A33 linux led驱动编程(附实测参考代码)
开发平台 * 芯灵思SinlinxA33开发板 淘宝店铺: https://sinlinx.taobao.com/ 嵌入式linux 开发板交流 QQ:641395230 开发平台 * 芯灵思Sinl ...
- 009全志R16平台tinav3.0下编译不过的问题
009全志R16平台tinav3.0下编译不过的问题 2018/11/13 11:39 版本:V1.0 开发板:SC3817R SDK:tina v3.0 1.01原始编译全志r16平台tinav3. ...
- 001原始编译全志r6平台tinav3.0.2系统
001原始编译全志r6平台tinav3.0.2系统 2018/6/8 11:32 版本:V1.0 开发板:R6 SDK:tina v3.0.2 1.01原始编译全志r16平台tinav3.0系统: r ...
- jsoncpp linux平台编译和arm移植
下载 http://sourceforge.net/projects/jsoncpp/ 或者 http://download.csdn.net/detail/chinaeran/8631141 Lin ...
随机推荐
- openstack setup demo 前言
我们搭建一套三节点的openstanck集群.一个controller节点,两个compute节点.操作系统采用Centos7,操作系统版本信息如下. [root@controller01 ~]# c ...
- Chains (链 )
Indy 中的工作队列系统,调度器,和链引擎都被叫做链. 当使用链的时候,一个基于链的 IOHandler 存储工作项目到有关的工作队列中.在一个工作单元被完成以前,执行这个工作单元的纤程是无法做其它 ...
- Python学习系列之异常处理
什么是异常处理 python内置了一套try···except···finally的错误处理机制 当程序出错的时候进行捕捉,然后根据捕捉到的错误信息进行响相应的处理 常用的内建异常 初识异常处理 如例 ...
- Tutorial: Synchronizing State with Mutexes in Go
go语言中用mutex实现状态同步. 原文:https://kylewbanks.com/blog/tutorial-synchronizing-state-with-mutexes-golang - ...
- iOS_开发中遇到的那些问题_1
[自编号:60][AutoLayout中,怎样让ImageView保持固定的宽高比?比如1:1] 先将imageViewframe手动写成:宽20,高20,再勾选Aspect Ratio加入宽高比约束 ...
- 字符串匹配之KMP算法(续)---还原next数组
相信通过今天的文章,你会对KMP的认识更加深入一层,不止停留在知道怎样计算的层面上了,废话不多说,開始. 通过前面的第一篇文章,知道了怎么求next数组,相信非常多喜欢刨根问底的人就会问,我依照你的做 ...
- FunctionGraph无缝集成Express应用
Express APP 作为一个Node.js开发者,相信大家都可能会使用Express框架,无论是构建后端服务,或是搭建一个前端的开发态服务器,Express都是一个很流行的选择.构建Express ...
- CGlib小记
CGlib是一个强大的代码生成包.常被用于各种AOP框架,提供"拦截"功能. JDK本身就为控制要訪问的对象提供了一 种途径,动态代理Proxy. 可是被代理的累必须实现一个或多个 ...
- 【HNOI模拟By lyp】Day1
1 xlk1.1 题目描述 给定一棵大小为 n 的无根树,求满足以下条件的四元组 (a, b, c, d) 的个数: 1. 1 ≤ a < b ≤ n 2. 1 ≤ c < d ≤ n 3 ...
- ssh服务常见问题及其解决办法
1 统一解决办法 执行sshd -t,这样就可以指出是哪里出问题了. 所有的服务都应该有这个测试选项,否则出错了都不知道在哪里出的问题. 2 root用户登录,密码是对的,但是报“Permission ...