|
发表于 2018-11-12 22:09:53
只看该作者
地板
再更新,编译似乎没问题了,打包没成功?
- >>> host-makedevs Installing to host directory
- /usr/bin/install -D -m 755 /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/host-makedevs/makedevs /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin/makedevs
- >>> Finalizing target directory
- mkdir -p /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc
- echo "buildroot" > /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/hostname
- /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/hosts
- mkdir -p /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc
- echo "Welcome to Buildroot" > /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/issue
- mkdir -p /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/network/
- ( echo "# interface file auto-generated by buildroot"; echo ; echo "auto lo"; echo "iface lo inet loopback"; ) > /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/network/interfaces
- /bin/sed -i -e s,^root:[^:]*:,root::, /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/shadow
- ln -sf busybox /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/bin/sh
- /bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/inittab
- /bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/inittab
- rm -f /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/locales.nopurge
- for i in C en_US locale-archive; do echo $i >> /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/locales.nopurge; done
- for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/locales.nopurge || rm -rf $langdir; fi done; done
- if [ -d /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/X11/locale/locale.dir; fi
- rm -rf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/include /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/aclocal \
- /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/lib/pkgconfig /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/pkgconfig \
- /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/lib/cmake /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/cmake
- find /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f
- find /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/lib /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/lib /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/libexec \
- \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
- find: `/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/libexec': 没有那个文件或目录
- rm -rf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/gdb
- rm -rf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/bash-completion
- rm -rf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/zsh
- rm -rf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/man /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/man
- rm -rf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/info /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/info
- rm -rf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/doc /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/doc
- rm -rf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share/gtk-doc
- rmdir /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/usr/share 2>/dev/null
- Makefile:617: recipe for target 'target-finalize' failed
- make[1]: [target-finalize] Error 1 (ignored)
- find /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin/i586-buildroot-linux-uclibc-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true
- if test -d /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/lib/modules; then \
- find /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/lib/modules -type f -name '*.ko' -print0 | \
- xargs -0 -r /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin/i586-buildroot-linux-uclibc-strip --remove-section=.comment --remove-section=.note --strip-unneeded; fi
- find /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/lib -type f -name 'libpthread*.so*' | \
- xargs -r /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin/i586-buildroot-linux-uclibc-strip --remove-section=.comment --remove-section=.note --strip-debug
- find /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/lib -type f -name 'ld-*.so*' | \
- xargs -r /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin/i586-buildroot-linux-uclibc-strip --remove-section=.comment --remove-section=.note --strip-debug
- test -f /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/ld.so.conf && \
- { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true
- test -d /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/ld.so.conf.d && \
- { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true
- mkdir -p /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc
- ( \
- echo "NAME=Buildroot"; \
- echo "VERSION=2016.08.1-g5c2cd40"; \
- echo "ID=buildroot"; \
- echo "VERSION_ID=2016.08.1"; \
- echo "PRETTY_NAME=\"Buildroot 2016.08.1\"" \
- ) > /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/etc/os-release
- >>> Generating root filesystem image rootfs.tar
- rm -f /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- rm -f /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
- rm -f /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_users_table.txt
- echo '#!/bin/sh' > /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- echo "set -e" >> /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- echo "chown -h -R 0:0 /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target" >> /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- printf ' \n' >> /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_users_table.txt
- PATH="/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/bin:/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/sbin:/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin:/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" /root/linux/linux-sdk/buildroot/support/scripts/mkusers /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_users_table.txt /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target >> /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- cat system/device_table.txt > /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_device_table.txt
- printf ' /bin/busybox f 4755 0 0 - - - - -\n /dev/console c 622 0 0 5 1 - - -\n\n' >> /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_device_table.txt
- echo "/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin/makedevs -d /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_device_table.txt /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target" >> /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- printf ' tar -cf /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/images/rootfs.tar --numeric-owner -C /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target .\n' >> /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- chmod a+x /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- PATH="/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/bin:/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/sbin:/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin:/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/host/usr/bin/fakeroot -- /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_fakeroot.fs
- rootdir=/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target
- table='/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/build/_device_table.txt'
- /usr/bin/install -m 0644 support/misc/target-dir-warning.txt /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
- ====Build recovery ok!====
- pack recovery image...usage: mkbootimg [-h] --kernel KERNEL [--ramdisk RAMDISK] [--second SECOND]
- [--recovery_dtbo RECOVERY_DTBO] [--cmdline CMDLINE]
- [--base BASE] [--kernel_offset KERNEL_OFFSET]
- [--ramdisk_offset RAMDISK_OFFSET]
- [--second_offset SECOND_OFFSET] [--os_version OS_VERSION]
- [--os_patch_level OS_PATCH_LEVEL] [--tags_offset TAGS_OFFSET]
- [--board BOARD] [--pagesize {2048,4096,8192,16384}] [--id]
- [--header_version HEADER_VERSION] -o OUTPUT
- mkbootimg: error: argument --ramdisk: can't open '/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/images/rootfs.cpio.gz': [Errno 2] No such file or directory: '/root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/images/rootfs.cpio.gz'
- done.
- you take 18:15.11 to build recovery
- ====Build recovery ok!====
- error: /root/linux/linux-sdk/rootfs/ubuntu1604armhf-rootfs.img not found!
- create parameter...done.
- error: /root/linux/linux-sdk/buildroot/output/rockchip_rk3288_recovery/images/recovery.img not found!
- create misc.img...done.
- create oem.img...SIZE = 8192
- genext2fs -b 8192 -N 2048 -d /root/linux/linux-sdk/device/rockchip/oem/oem_normal /root/linux/linux-sdk/rockdev/oem.img
- e2fsck 1.42.13 (17-May-2015)
- 文件系统缺少UUID;正在生成一个。
- 第一步: 检查inode,块,和大小
- 第二步: 检查目录结构
- 第3步: 检查目录连接性
- Pass 4: Checking reference counts
- 第5步: 检查簇概要信息
- /root/linux/linux-sdk/rockdev/oem.img: 16/2048 files (0.0% non-contiguous), 6599/8192 blocks
- done.
- create userdata.img...SIZE = 3072
- genext2fs -b 3072 -N 768 -d /root/linux/linux-sdk/device/rockchip/userdata/userdata_normal /root/linux/linux-sdk/rockdev/userdata.img
- e2fsck 1.42.13 (17-May-2015)
- 文件系统缺少UUID;正在生成一个。
- 第一步: 检查inode,块,和大小
- 第二步: 检查目录结构
- 第3步: 检查目录连接性
- Pass 4: Checking reference counts
- 第5步: 检查簇概要信息
- /root/linux/linux-sdk/rockdev/userdata.img: 14/768 files (0.0% non-contiguous), 525/3072 blocks
- done.
- create uboot.img...done.
- error: /root/linux/linux-sdk/u-boot/idbloader.img not found!
- create trust.img...done.
- create loader...done.
- create boot.img...done.
- Image: image in rockdev is ready
- Make image ok!
- Make update.img
- start to make update.img...
- Error:No found package-file!
- mv: 无法获取'/root/linux/linux-sdk/tools/linux/Linux_Pack_Firmware/rockdev/update.img' 的文件状态(stat): 没有那个文件或目录
- Make update image failed!
复制代码 |
|