T113-s3 开发笔记

1 篇文章 0 订阅
1 篇文章 0 订阅

t113-s3 开发笔记

ubuntu 20.04 编译 longan sdk

安装编译需要的依赖软件包

git clone https://gerrit-googlesource.lug.ustc.edu.cn/git-repo
cd git-repo/ 
#然后编辑用户目录下的.profile 增加一条: PATH="$HOME/git-repo:$PATH" 
source .profile 
#使用tar xvf 解压sdk到linux中
repo sync -l  # 检出
source build/envsetup.sh
# 依次选择:

#    0.Linux
#    2.longan
#    0.linux-5.4
#    0.t113
#    1.evb1_auto
#    0.default
#    0.gnueabi


./build.sh

除了 gcc,ncurse,bison,autoconf,wget,patch,texinfo,zlib,dos2unix 之外需要安装如下:

sudo apt-get install git
sudo apt-get install gnupg
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install gperf
sudo apt-get install build-essential
sudo apt-get install zip
sudo apt-get install curl
sudo apt-get install libc6-dev
sudo apt-get install libncurses5-dev:i386
sudo apt-get install x11proto-core-dev
sudo apt-get install libx11-dev:i386
sudo apt-get install libreadline6-dev:i386
sudo apt-get install libgl1-mesa-glx:i386
sudo apt-get install libgl1-mesa-dev
sudo apt-get install g++-multilib
sudo apt-get install mingw32
sudo apt-get install tofrodos
sudo apt-get install python-markdown
sudo apt-get install libxml2-utils
sudo apt-get install xsltproc
sudo apt-get install zlib1g-dev:i386
sudo apt-get install gawk
sudo dpkg-reconfigure dash 选择no
sudo apt-get install libgl1-mesa-dev:i386
sudo apt install u-boot-tools

参照官方文档《T113_Longan_Linux_SDK开发环境配置手册.pdf》进行编译主要差异如下

  1. 增加这一句 sudo apt-get install libgl1-mesa-dev:i386 同时,最后有一条ln -s 没有照做。
  2. 编译过程遇到报错,具体看下面的参考文档一节
  3. “mkimage” command not found - U-Boot images will not be built —> sudo apt install u-boot-tools

编译过程如下:

source ./build/envsetup.sh
.........

./build.sh
.......
media/qotone/Dev/SW/sdk/t113-longan/platform/framework/auto/kernel/xr829/Makefile:19: CROSS_COMPILE: arm-linux-gnueabi-
  Building modules, stage 2.
  MODPOST 1 modules
  CC [M]  /media/qotone/Dev/SW/sdk/t113-longan/platform/framework/auto/kernel/xr829/xr829.mod.o
  LD [M]  /media/qotone/Dev/SW/sdk/t113-longan/platform/framework/auto/kernel/xr829/xr829.ko
make[1]: Leaving directory '/media/qotone/Dev/SW/sdk/t113-longan/out/kernel/build'
'/media/qotone/Dev/SW/sdk/t113-longan/platform/framework/auto/kernel/xr829/xr829.ko' -> '/media/qotone/Dev/SW/sdk/t113-longan/platform/../out/t113/evb1_auto/longan/buildroot/target/lib/modules/5.4.61/xr829.ko'
PARTITION_FEX=/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/configs/evb1_auto/longan/sys_partition.fex
ROOTFS_FEX_LINE=64
ROOTFS_FEX_STR=    size         = 2097152
ROOTFS_FEX_SIZE= 2097152
EXT4_SIZE=1073741824(1073741824/1024/1024)
/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/configs/evb1_auto/longan/sys_partition.fex rootfs.fex size is  2097152
EXT4_SIZE= 2097152*512=1073741824
Creating filesystem with parameters:
    Size: 1073741824
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 4096
    Label: 
    Blocks: 262144
    Block groups: 8
    Reserved blocks: 0
    Reserved block group size: 63
Created filesystem with 7384/65536 inodes and 54559/262144 blocks
/media/qotone/Dev/SW/sdk/t113-longan/build/bin/make_ext4fs -s -l 1073741824 /media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/rootfs.ext4  /media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/buildroot/target
INFO: pack rootfs ok ...
INFO: ----------------------------------------
INFO: build lichee OK.
INFO: ----------------------------------------
/build.sh pack
ACTION List: mkpack ;========
Execute command: mkpack  
INFO: packing firmware ...
INFO: Use BIN_PATH: /media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin
copying tools file
copying configs file
copying product configs file
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/aultls32.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/aultools.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot_package.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot_package.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot_package_nor.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/cardscript.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/cardscript_secure.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/cardtool.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/diskfs.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/dragon_toc.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/env-recovery.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/env.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/env_ab.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/env_burn.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/env_dragon.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/env_nor.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/esm.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/image.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/image_crashdump.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/image_linux.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/image_nor.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/parameter.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/split_xxxx.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sunxi.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sw-subimgs-ab-rdiff.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sw-subimgs-ab.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sw-subimgs-recovery.cfg
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sys_config.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sys_partition-recovery.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sys_partition.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sys_partition_ab.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sys_partition_dump.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sys_partition_nor.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sys_partition_private.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sysrecovery.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/toc0.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/toc1.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/usbtool.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/usbtool_crash.fex
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/usbtool_test.fex
copying boot resource
copying boot file
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/boot0_nand_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_nand.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/boot0_sdcard_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_sdcard.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/boot0_spinor_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_spinor.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/fes1_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/fes1.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/u-boot-sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/u-boot.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/dsp0.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/dsp0.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/optee_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/optee.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/boot0_nand_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_nand.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/boot0_sdcard_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_sdcard.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/boot0_spinor_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_spinor.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/fes1_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/fes1.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/u-boot-sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/u-boot.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113//bin/dsp0.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/dsp0.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/bin/optee_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/optee.fex'
copying boot file 2.0
'/media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/boot0_nand_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_nand.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/boot0_sdcard_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_sdcard.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/boot0_spinor_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/boot0_spinor.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/fes1_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/fes1.fex'
'/media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/sboot_sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sboot.bin'
'/media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/u-boot-sun8iw20p1.bin' -> '/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/u-boot.fex'
copying additional files
/media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/.sunxi.dts: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-'
dbg1 pack 
/media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/dtc  -W no-unit_address_vs_reg -W no-simple_bus_reg -W no-unique_unit_address -W no-cooling_device_property -W no-unit_address_format -I dtb -O dts -o /media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/.sunxi.dts /media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/sunxi.dtbs
update optee

sboot file Path=/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sboot.bin
script file Path=/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out/sys_config.bin

extd_head.select_mode:0
magic:$�� ��
script update sboot ok
pack boot package
GetPrivateProfileSection read to end
content_count=3
--mkenvimage create redundant env data!--
--redundant env data size 0x20000---
packing for linux
normal
this is not a partition key
gpt_head->header_crc32 = 0x3e898e5f
GPT----part num 8---
gpt_entry: 128
gpt_header: 92
GPT:boot-resource: 8000          10685       
GPT:env         : 10686         10e85       
GPT:env-redund  : 10e86         11685       
GPT:boot        : 11686         1a005       
GPT:rootfs      : 1a006         21a005      
GPT:dsp0        : 21a006        21a805      
GPT:private     : 21a806        222805      
GPT:UDISK       : 222806        222815      
update gpt file ok
update mbr file ok
/media/qotone/Dev/SW/sdk/t113-longan/tools/pack/pctools/linux/eDragonEx/
/media/qotone/Dev/SW/sdk/t113-longan/out/pack_out
Begin Parse sys_partion.fex
Add partion boot-resource.fex BOOT-RESOURCE_FEX
Add partion very boot-resource.fex BOOT-RESOURCE_FEX
FilePath: boot-resource.fex
FileLength=dad400Add partion env.fex ENV_FEX000000000
Add partion very env.fex ENV_FEX000000000
FilePath: env.fex
FileLength=20000Add partion env.fex ENV_FEX000000000
Add partion very env.fex ENV_FEX000000000
FilePath: env.fex
FileLength=20000Add partion boot.fex BOOT_FEX00000000
Add partion very boot.fex BOOT_FEX00000000
FilePath: boot.fex
FileLength=10db000Add partion rootfs.fex ROOTFS_FEX000000
Add partion very rootfs.fex ROOTFS_FEX000000
FilePath: rootfs.fex
FileLength=c636270Add partion dsp0.fex DSP0_FEX00000000
Add partion very dsp0.fex DSP0_FEX00000000
FilePath: dsp0.fex
FileLength=3fc78sys_config.fex Len: 0x2355
board.fex Len: 0x400
config.fex Len: 0x1400
split_xxxx.fex Len: 0x200
sys_partition.fex Len: 0xc21
sunxi.fex Len: 0xe800
boot0_nand.fex Len: 0xc000
boot0_sdcard.fex Len: 0xc000
u-boot.fex Len: 0xec000
u-boot-crash.fex Len: 0x25
toc1.fex Len: 0x8
toc0.fex Len: 0x8
fes1.fex Len: 0x4bc0
boot_package.fex Len: 0x140000
usbtool.fex Len: 0x2d200
usbtool_crash.fex Len: 0x1ec00
aultools.fex Len: 0x288b7
aultls32.fex Len: 0x2511f
cardtool.fex Len: 0x11e00
cardscript.fex Len: 0x6de
sunxi_gpt.fex Len: 0x2000
sunxi_mbr.fex Len: 0x10000
dlinfo.fex Len: 0x4000
arisc.fex Len: 0x6
vmlinux.fex Len: 0x36ba88b
boot-resource.fex Len: 0xdad400
Vboot-resource.fex Len: 0x4
env.fex Len: 0x20000
Venv.fex Len: 0x4
env.fex Len: 0x20000
Venv.fex Len: 0x4
boot.fex Len: 0x10db000
Vboot.fex Len: 0x4
rootfs.fex Len: 0xc636270
Vrootfs.fex Len: 0x4
dsp0.fex Len: 0x3fc78
Vdsp0.fex Len: 0x4
BuildImg 0
Dragon execute image.cfg SUCCESS !
----------image is at----------

size:288M  /media/qotone/Dev/SW/sdk/t113-longan/out/t113_linux_evb1_auto_uart0.img

pack finish

修改调试串口

# 1. u-boot 设置 uart3 --> uart0
gedit /media/qotone/Dev/SW/sdk/t113-longan/brandy/brandy-2.0/u-boot-2018/configs/sun8iw20p1_auto_defconfig
## Serial drivers
CONFIG_BAUDRATE=115200
CONFIG_SPECIFY_CONSOLE_INDEX=y
CONFIG_CONS_INDEX=1 # 4

# 2. kernel 设置
gedit /media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/configs/evb1_auto/linux-5.4/board.dts
diff board.dts.bak board.dts
152c152
< 		pins = "PF2", "PF4";
---
> 		pins = "PE2", "PE3";
159c159
< 		pins = "PF2", "PF4";
---
> 		pins = "PE2", "PE3";
523c523
< 	status = "disabled";
---
> 	status = "okay";

gedit /media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/configs/evb1_auto/longan/env.cfg
diff env.cfg.bak env.cfg
5c5
< console=ttyS3,115200
---
> console=ttyS0,115200

# 3. boot0

gedit /media/qotone/Dev/SW/sdk/t113-longan/device/config/chips/t113/configs/evb1_auto/sys_config.fex
diff sys_config.fex.bak sys_config.fex
211,213c211,213
< uart_debug_port = 3
< uart_debug_tx   = port:PG08<5><1><default><default>
< uart_debug_rx   = port:PG09<5><1><default><default>
---
> uart_debug_port = 0
> uart_debug_tx   = port:PE02<6><1><default><default>
> uart_debug_rx   = port:PE03<6><1><default><default>

添加无线网卡

buildroot 编译后的crosscompile-tool: /media/qotone/Dev/SW/sdk/t113-longan/out/t113/evb1_auto/longan/buildroot/host/bin/arm-linux-gnueabi-gcc

  1. insmod 8189fs.ko
  2. wpa_supplicant -Dnl80211 -iwlan0 -c /etc/wifi/wpa_supplicant.conf -B
  3. udhcpc -i wlan0

一键编译buildroot

Kernel: arch/arm/boot/zImage is ready
PATH="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin:/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/qotone/App/gcc_embed/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin:/home/qotone/git-repo" PKG_CONFIG="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib/pkgconfig:/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/share/pkgconfig" BR_BINARIES_DIR=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images /usr/bin/make  HOSTCC="/usr/bin/gcc -O2 -I/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/include -L/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib -Wl,-rpath,/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib" ARCH=arm INSTALL_MOD_PATH=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target CROSS_COMPILE="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-" DEPMOD=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin/depmod INSTALL_MOD_STRIP=1 -C /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master zImage
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
PATH="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin:/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/qotone/App/gcc_embed/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin:/home/qotone/git-repo" PKG_CONFIG="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib/pkgconfig:/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/share/pkgconfig" BR_BINARIES_DIR=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images /usr/bin/make  HOSTCC="/usr/bin/gcc -O2 -I/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/include -L/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib -Wl,-rpath,/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib" ARCH=arm INSTALL_MOD_PATH=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target CROSS_COMPILE="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-" DEPMOD=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin/depmod INSTALL_MOD_STRIP=1 -C /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master sun8i-mangopi-mq-dual-linux.dtb
>>> linux origin_master Installing to target
# Install modules and remove symbolic links pointing to build
# directories, not relevant on the target
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
  INSTALL drivers/media/common/videobuf2/videobuf2-dma-contig.ko
  INSTALL drivers/media/common/videobuf2/videobuf2-memops.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/actuator/actuator.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/c2590_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/gc030a_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/gc0310_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/gc2385_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/gc5025_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/imx278_2lane_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/imx278_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/imx386_2lane_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/imx386_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/nvp6158/nvp6158.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/ov2680_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/ov5640.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/ov8858_r2a_4lane.ko
  INSTALL drivers/media/platform/sunxi-vin/modules/sensor/sp5409_mipi.ko
  INSTALL drivers/media/platform/sunxi-vin/vin_io.ko
  INSTALL drivers/media/platform/sunxi-vin/vin_v4l2.ko
  INSTALL drivers/soc/sunxi/vf-test.ko
  INSTALL net/ipv6/netfilter/nf_log_ipv6.ko
  INSTALL net/ipv6/netfilter/nf_reject_ipv6.ko
  INSTALL net/netfilter/nf_log_common.ko
  DEPMOD  5.4.61
# Installing dtc (device tree compiler) as host tool, if selected
if grep -q "CONFIG_DTC=y" /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master/.config; then /usr/bin/install -D -m 0755 /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master/scripts/dtc/dtc /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/linux-dtc ;  fi
>>> linux origin_master Installing to images directory
/usr/bin/install -m 0644 -D /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master/arch/arm/boot/zImage /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/zImage
# dtbs moved from arch/<ARCH>/boot to arch/<ARCH>/boot/dts since 3.8-rc1
install -D /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master/arch/arm/boot/dts/sun8i-mangopi-mq-dual-linux.dtb /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/sun8i-mangopi-mq-dual-linux.dtb
>>>   Finalizing host directory
>>>   Finalizing target directory
mkdir -p /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/etc/meson
sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CXXFLAGS@%g"         -e "s%@TARGET_CC@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_STRIP@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%cortex-a7%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_CFLAGS@%%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%%g" -e "s%@PKGCONF_HOST_BINARY@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot%g" -e "s%@STATIC@%false%g" /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/support/misc/cross-compilation.conf.in > /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/etc/meson/cross-compilation.conf.in
sed         -e "s%@TARGET_CC@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_STRIP@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%cortex-a7%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@PKGCONF_HOST_BINARY@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot%g" -e "s%@STATIC@%false%g" /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/support/misc/cross-compilation.conf.in > /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/etc/meson/cross-compilation.conf
grep -qsE '^/bin/bash$' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shells || echo "/bin/bash" >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shells
/usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~ttyS0::respawn:/sbin/getty -L  ttyS0 115200 vt100 #~' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/inittab
/usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/inittab
if grep -q CONFIG_ASH=y /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/busybox-1.35.0/.config; then grep -qsE '^/bin/ash$' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shells || echo "/bin/ash" >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shells; fi
if grep -q CONFIG_HUSH=y /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/busybox-1.35.0/.config; then grep -qsE '^/bin/hush$' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shells || echo "/bin/hush" >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shells; fi
/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/udevadm hwdb --update --root /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target
mkdir -p /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc
echo "mangopi" > /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/hostname
/usr/bin/sed -i -e '$a \127.0.1.1\tmangopi' -e '/^127.0.1.1/d' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/hosts
mkdir -p /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc
echo "Welcome to MangoPi Dual" > /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/issue
/usr/bin/sed -i -e s,^root:[^:]*:,root::, /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shadow
grep -qsE '^/bin/sh$' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shells || echo "/bin/sh" >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/shells
ln -sf bash /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/bin/sh
/usr/bin/sed -i -e '/^root:/s,[^/]*$,bash,' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/passwd
if [ -x /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/sbin/swapon -a -x /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/inittab; fi
if test -d /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/lib/modules/`MAKEFLAGS='-j4 --jobserver-auth=3,4 --no-print-directory --' /usr/bin/make  HOSTCC="/usr/bin/gcc -O2 -I/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/include -L/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib -Wl,-rpath,/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib" ARCH=arm INSTALL_MOD_PATH=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target CROSS_COMPILE="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-" DEPMOD=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin/depmod INSTALL_MOD_STRIP=1 -C /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master --no-print-directory -s kernelrelease 2>/dev/null` && grep -q "CONFIG_MODULES=y" /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master/.config; then /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin/depmod -a -b /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target `MAKEFLAGS='-j4 --jobserver-auth=3,4 --no-print-directory --' /usr/bin/make  HOSTCC="/usr/bin/gcc -O2 -I/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/include -L/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib -Wl,-rpath,/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/lib" ARCH=arm INSTALL_MOD_PATH=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target CROSS_COMPILE="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-" DEPMOD=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin/depmod INSTALL_MOD_STRIP=1 -C /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/linux-origin_master --no-print-directory -s kernelrelease 2>/dev/null`; fi
printf '%s\n' C en_US locale-archive > /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/locales.nopurge
for dir in /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/locale /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/X11/locale /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/lib/locale; do if [ ! -d $dir ]; then continue; fi; for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/locales.nopurge || rm -rf $langdir; fi done; done
if [ -d /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/X11/locale/locale.dir; fi
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/include /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/aclocal \
	/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/lib/pkgconfig /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/pkgconfig \
	/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/lib/cmake /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/cmake \
	/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/doc
find /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f
find /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/lib/ /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/lib/ /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/libexec/ \
	\( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/gdb
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/zsh
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/man /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/man
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/info /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/info
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/doc /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/doc
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share/gtk-doc
rmdir /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/share 2>/dev/null || true
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/lib/debug /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/lib/debug
find /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target   -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true
find /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target   \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/arm-linux-gnueabi-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true
test -f /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/ld.so.conf && \
	{ echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true
test -d /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc/ld.so.conf.d && \
	{ echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true
mkdir -p /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc
( \
	echo "NAME=Buildroot"; \
	echo "VERSION=-g5ac6188e"; \
	echo "ID=buildroot"; \
	echo "VERSION_ID=2022.02"; \
	echo "PRETTY_NAME=\"Buildroot 2022.02\"" \
) >  /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr/lib/os-release
ln -sf ../usr/lib/os-release /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/etc
>>>   Sanitizing RPATH in target tree
PER_PACKAGE_DIR=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/per-package /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/support/scripts/fix-rpath target
>>>   Executing post-build script board/allwinner-generic/sun8i-generic/scripts/post-build.sh
Target binary dir board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/bin/boot0_sdcard.fex' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot0_sdcard.fex'
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/bin/boot_package.cfg' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot_package.cfg'
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/bin/boot-resource.fex' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot-resource.fex'
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/bin/dragonsecboot' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/dragonsecboot'
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/bin/env.cfg' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/env.cfg'
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/bin/env.fex' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/env.fex'
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/bin/optee.fex' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/optee.fex'
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/bin/ramdisk.img' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/ramdisk.img'
'board/allwinner-generic/sun8i-generic/scripts/../../sun8i-t113/../sunxi-generic/bin/dragonsecboot' -> '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/dragonsecboot'
GetPrivateProfileSection read to end
content_count=3
touch /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/usr
>>>   Generating root filesystems common tables
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs
mkdir -p /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs
printf '   	dbus -1 dbus -1 * /run/dbus - dbus DBus messagebus user\n 	- - input -1 * - - - Input device group\n	- - render -1 * - - - DRI rendering nodes\n	- - kvm -1 * - - - kvm nodes\n\n' >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/full_users_table.txt
printf '   	/bin/busybox                     f 4755 0  0 - - - - -\n 	/usr/libexec/dbus-daemon-launch-helper f 4750 0 dbus - - - - -\n 	/usr/bin/fusermount f 4755 0 0 - - - - -\n\n' > /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/full_devices_table.txt
cat system/device_table.txt >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/full_devices_table.txt
>>>   Generating filesystem image rootfs.ext2
mkdir -p /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images
rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2
mkdir -p /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2
rsync -auH --exclude=/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/target/ /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target
echo '#!/bin/sh' > /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
echo "set -e" >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
echo "chown -h -R 0:0 /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target" >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
PATH="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin:/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/qotone/App/gcc_embed/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin:/home/qotone/git-repo" /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/support/scripts/mkusers /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/full_users_table.txt /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
echo "/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/makedevs -d /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/full_devices_table.txt /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target" >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
printf '   	rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target//etc/udev/hwdb.d/\n' >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
echo "rm -rf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target/run/* /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target/run/.[^.]* /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target/tmp/* /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target/tmp/.[^.]*" >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
printf '   \n' >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
printf '   \n' >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
printf '   	rm -f /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/rootfs.ext2\n	/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin/mkfs.ext4 -d /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target -r 1 -N 0 -m 5 -L "" -O ^64bit /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/rootfs.ext2 "256M" || { ret=$?; echo "*** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)" 1>&2; exit $ret; }\n' >> /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
chmod a+x /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
PATH="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin:/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/qotone/App/gcc_embed/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin:/home/qotone/git-repo" FAKEROOTDONTTRYCHOWN=1 /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/bin/fakeroot -- /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/fakeroot
rootdir=/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/ext2/target
table='/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/buildroot-fs/full_devices_table.txt'
mke2fs 1.46.5 (30-Dec-2021)
Creating regular file /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/rootfs.ext2
64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.
Creating filesystem with 262144 1k blocks and 65536 inodes
Filesystem UUID: 18cbca89-1909-45f7-83fc-d7ba36ecfe14
Superblock backups stored on blocks: 
	8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done 

ln -sf rootfs.ext2 /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/rootfs.ext4
ln -snf /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot /media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/staging
>>>   Executing post-image script support/scripts/genimage.sh
INFO: cmd: "mkdir -p "/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/genimage.tmp"/*" (stderr):
INFO: cmd: "mkdir -p "/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/genimage.tmp"" (stderr):
INFO: cmd: "cp -a "/tmp/tmp.Z6mR6g7Oxh" "/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/genimage.tmp/root"" (stderr):
INFO: cmd: "find '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/genimage.tmp/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.Z6mR6g7Oxh/{}' '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/build/genimage.tmp/root/{}'" (stderr):
INFO: cmd: "mkdir -p "/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images"" (stderr):
INFO: vfat(boot.vfat): cmd: "dd if=/dev/zero of="/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot.vfat" seek=33554432 count=0 bs=1 2>/dev/null" (stderr):
INFO: vfat(boot.vfat): cmd: "mkdosfs   '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot.vfat'" (stderr):
INFO: vfat(boot.vfat): adding file 'boot.img' as 'boot.img' ...
INFO: vfat(boot.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -sp -i '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot.vfat' '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot.img' '::'" (stderr):
INFO: vfat(boot.vfat): adding file 'zImage' as 'zImage' ...
INFO: vfat(boot.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -sp -i '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot.vfat' '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/zImage' '::'" (stderr):
INFO: vfat(boot.vfat): adding file 'sun8i-mangopi-mq-dual-linux.dtb' as 'sun8i-mangopi-mq-dual-linux.dtb' ...
INFO: vfat(boot.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -sp -i '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/boot.vfat' '/media/qotone/Dev/SW/project_work/buildroot/Buildroot-YuzukiSBC/buildroot/output/images/sun8i-mangopi-mq-dual-linux.dtb' '::'" (stderr):
INFO: hdimage(sdcard.img): adding partition 'boot0' from 'boot0_sdcard.fex' ...
INFO: hdimage(sdcard.img): adding partition 'boot-packages' from 'boot_package.fex' ...
INFO: hdimage(sdcard.img): adding partition 'boot-resource' (in MBR) from 'boot-resource.fex' ...
INFO: hdimage(sdcard.img): adding partition 'env' (in MBR) from 'env.fex' ...
INFO: hdimage(sdcard.img): adding partition 'env-redund' (in MBR) from 'env.fex' ...
INFO: hdimage(sdcard.img): adding partition 'boot' (in MBR) from 'boot.vfat' ...
INFO: hdimage(sdcard.img): adding partition 'rootfs' (in MBR) from 'rootfs.ext4' ...
INFO: hdimage(sdcard.img): adding partition '[MBR]' ...
INFO: hdimage(sdcard.img): adding partition '[GPT header]' ...
INFO: hdimage(sdcard.img): adding partition '[GPT array]' ...
INFO: hdimage(sdcard.img): adding partition '[GPT backup]' ...
INFO: hdimage(sdcard.img): writing GPT
INFO: hdimage(sdcard.img): writing hybrid MBR

使用过程中遇到的问题

  1. 使用官方windows烧录工具烧写tf卡默认是选择的量产卡,应该选择启动卡

参考文档

来自网络关于T113-S3的相关资料汇总

  • 2
    点赞
  • 11
    收藏
  • 打赏
    打赏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页
评论 3

打赏作者

飞行的鱼

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值