(盈鹏飞嵌入式SBC-T113全志T113-i主板)-Linux系统镜像编译、生成

SBC-T113产品特性:

• 采用Allwinner公司Cortex-A7双核T113-i处理器,运行最高速度为1.2GHZ;

• 内置64位玄铁C906 RISC-V CPU和 DSP,提供高效的计算能力;

• 支持1080P 视频编码,多格式1080P 60fps视频解码 (H.265,H.264, MPEG-1/2/4)

• 支持LVDS/MIPI-DSI,分辨率最高1920x1080;

• 支持512-1G  Bytes DDR3 SDRAM;

• 支持SPI NAND启动和存储(256MB默认;512MB可选);可选EMMC启动和存储( 4G默认;8GB可选);

• 支持4路USB2.0 HOST和1路OTG,1路I2C,6路UART(RS232), 1路PWM(应用于背光)

• 支持双路CAN BUS通信

• 支持双路以太网,一路10/100M;一路10/100/1000M;

• 标准3.5寸主板, 尺寸为:146*102MM

SBC-T113功能评估图:

Linux系统镜像编译、生成:

编译指令的简要介绍:

T113的SDK有几个常用的指令,介绍如下:

                             表7 常用SDK指令说明

                                                                                                                                   指令序号SDK相关命令作用

需要强调的是这些指令不需要root权限即可执行,以下步骤是我们使用表中指令进行相关编译的具体操作。

清理编译环境:

进入T113-i_v1.0(SDK所在目录)目录执行如下命令,清除所有编译和配置生成文件。

Host$  cdT113-i_v1.0/

Host$  ./build.shdistclean

embfly@embfly-virtual-machine:~/T113$cd T113-i_v1.0/

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$./build.sh distclean

ACTIONList: mkdistclean;

Execute command: mkdistclean

INFO:clean kernel

INFO:Prepare toolchain ..

toolchain_archtvedir=/hone/embfly/T113/T113-i_v1.0/build/toolchain/gcc-linaro

5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz

INFO:clean kernel OK.

INFO:clean buildroot .

INFO:clean buildroot OK.

INFO:clean entires output dir ..

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$

配置编译环境变量:

执行如下命令,配置Linux内核、内核版本、处理器型号、主板型号(sbc-t113_nand)、显示方式、编译器等信息。

Host$ ./build.shconfig

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$./build.sh config

Welcometo mkscript setup progress

Allavailable platform

0.linux

Choice[linux]: 0

Allavailable linux dev:

o.bsp

1.dragonboard

2.longan

3.tinyos

Choice[longan]: 2

Allavatlable kern ver:

0.linux-5.4

Choice[linux-5.4]:0

Allavailable ic

0.t113

1.t113 i

Choice[t113_i]:1

Allavailable board

0.evb1

1.evb1 auto

2.evb1_auto nand

3.evb1_auto_nor

4.sbc-t113_emmc

5.sbc-t113_nand

Choice[sbc-t113_nand]: 5

Allavatlable output _configs

0.hdmi

1.lvds-lcd

2.mipi-lcd

3.tft-lcd

4.cvbs

Choice[tft-lcd]: 3

Allavatlable flash:

0.default

1.nor

Choice[default]: 0

Allavailable build root

0.butldroot-201902

1.ubuntu

Choice[buildroot-201902]: 0

Allavatlable gnueabt:

0.gnueabi

1.gnueabihf

Choice[gnueabi]: 0

INFo:Preparetoolchain ...

Config具体配置如下:

Welcome to mkscriptsetup progress

All availableplatform:

0. linux

Choice [linux]: 0

All availablelinux_dev:

0. bsp

1. dragonboard

2. longan

3. tinyos

Choice [longan]: 2

All availablekern_ver:

0. linux-5.4

Choice [linux-5.4]: 0

All available ic:

0. t113

1. t113_i

Choice [t113_i]: 1

All available board:

0. evb1

1. evb1_auto

2. evb1_auto_nand

3. evb1_auto_nor

4. sbc-t113_emmc

5. sbc-t113_nand

Choice [sbc-t113_nand]:5

All availableoutput_configs:

0. hdmi

1. lvds-lcd

2. mipi-lcd

3. tft-lcd

4. cvbs

Choice [tft-lcd]: 3

All available flash:

0. default

1. nor

Choice [default]: 0

All availablebuild_root:

0.buildroot-201902

1. ubuntu

Choice[buildroot-201902]: 0

All available gnueabi:

0.gnueabi              //选择gnueabi将配置为软浮点编译器

1. gnueabihf            //选择gnueabihf将配置为硬浮点编译器

Choice [gnueabi]: 0

备注:( 1)若选择gnueabi软浮点编译器,编译生成支持软浮点的Linux系统镜像后,如需切换为gnueabihf硬浮点编译器,请先删除"/out/"目录,再重新编译生成Linux系统镜像使用。反之亦然。

(2)由于音视频等多媒体功能不支持硬浮点编译工具链,因此编译生成支持硬浮点的Linux系统镜像将不支持部分音视频等多媒体功能,例如:aplay音频播放工具

(3)这里是选择主控IC,全志T113系列中有T113-S3,也有T113-I,两者的区别是T113-I需要外扩内存DDR3,而T113-S3内部集成128MB内存。SBC-T113采用的是T113-I处理器,因此选择T113-I。

Allavailable ic

0.t113

1.t113 i

(4)这里是选择主板型号,我司主板型号是sbc-t113系列,该主板根据启动的flash不同,分为emmc启动或者nand启动,请根据您手中的具体flash做选择。

Allavailable board:

0.evb1

1.evb1_auto

2.evb1_auto_nand

3.evb1_auto_nor

4.sbc-t113_emmc

5. sbc-t113_nand

(5)显示输出设备,选择哪个就对应哪个DTS。具体可参考2.2章节《dts简要介绍》。

Allavailable output_configs:

0. hdmi

1.lvds-lcd

2.mipi-lcd

3.tft-lcd

4.cvbs

(6)这个根据板卡上的flash进行选择,如果是nor flash,那么选择1;如果是nand或者emmc,则选择0。

All available flash:

0. default

1. nor

选择完毕后,编译的环境变量就配置完成了。以下是配置过程中的信息:

toolchain_archivedir=/home/embfly/T113/T113-i_v1.0/butld/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz

INFO:kernel defconfig: generate /home/embfly/T113/T113-i_v1.0/out/kernel/build/.configby /home/embfly/1113/T113-_v1.0/kernel/linux-5.4/arch/arm/configs/sun8iw20p1smp_auto_nand_defconfig

INFO:Prepare toolchain ...

toolchatn_archtvedtr=/home/embfly/T113/T113-i_v1.0/build/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz

make:

Enteringdirectory '/home/embfly/T113/T113-i_v1.0/kernel/linux-5.4

make[1]:Entering directory '/home/embfly/T113/T113-i_v1.0/out/kernel/build

GENMakefille

HOSTCCscripts/basic/fixdep

HOSTCCscripts/kconfig/conf.o

HosTCCscripts/kconfig/confdata.o

HOSTCOscripts/kconfig/expr.c

LEXscripts/kconfig/lexer.lex.c

YACCscripts/kconfig/parser.tab.[ch]

HOSTCCscripts/kconfig/lexer.lex.o

HOsTCCscripts/kconfig/parser.tab.o

HOSTCCscripts/kconfig/preprocess.o

HOSTCCscripts/kconfig/symbol.o

HOSTLDscripts/kconfig/conf

Defaultconftguration is based on 'sun8iw20p1smp_auto_nand_defconfig

可以看到nand启动时,内核默认的配置文件是sun8iw20p1smp_auto_nand_defconfig

#

#configuration written to .config

#

make[1]:Leaving directory '/home/embfly/T113/T113-i_v1.0/out/kernel/build

make:Leaving directory '/home/embfly/T113/T113-i_v1.0/kernel/linux-5.4

make:Entering directory

'/home/embfly/T113/T113-i_v1.0/buildroot/buildroot-201902'

mkdir-p /home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buitldroot/buitld/butldroot-config/lxdialog

PKG_CONFIG_PATH=""make CC="/usr/btn/gcc" HOSTCC="/usr/btn/gcc" \

obj=/home/embfly/T113/T113-i_v1.o/out/t113_it/sbc-t113_nand/longan/butldroot/butld/buildroot-config-C

support/kconfig-f Makefile.br conf

/usr/bin/gcc-DCURSES_LOC=""-DLOCALE -I/home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/butld/buildroot-config-DCONFIG_=\"\" -MM *.c > /home/embfly/T113/T113-t_v1.0/out/t113

i/sbc-t113_nand/longan/buitldroot/build/buildroot-config/.depend2>/dev/null Il

/usr/bin/gcc-DCURSES_ LOC="" -DLOCALE

-I/home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/butld/buildroot-config-DcoNFIG_=\"\" -c conf.c -o /home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/build/buildroot-conftg/conf.o

/usr/bin/gcc-DCURSES_L0C=""-DLOCALE -I/home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/butld/buildroot-config-DCONFIG_=\"\" -I. -c /home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/build/butldroot-conftg/zconf.tab.c-o /home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/build/buildroot-config/zconf.tab.c

/usr/btn/gcc-DCURSES_LOC=""

-DLOCALE-I/home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/build/buildroot-confg-DCONFIG_=\"\" /home/emblfy/T113/T113-i_v1.0/out/t113_i/sbc-

t113-nand/longan/buildroot/build/buildroot-conftg/conf.o/home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113

-nand/longan/buildroot/build/buildroot-config/zconf.tab.o-o /home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/butld/buildroot-config/conf

rm/home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/build/buildroot-config/zconf.tab.CGEN/home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/Makefile

Config.in.legacy:1769:warning:choice value used outside its choice group

#

#configuration written to /home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/.config

#

make:Leaving directory /home/embfly/T113/T113-i_v1.0/buildroot/buildroot-201902

INF0:buildroot defconfig is sun8iw20p1_t113_i_nand_defconfig

embfly@embfly-virtual-machine:~/T113/T113-iv1.0S

可以看到nand启动时,buildroot默认的配置文件是sun8iw20p1_t113_i_nand_defconfig

配置完成后,在SDK目录下会生成.buildconfig文件,使用ls –a指令可以查看:

embfly@embfly-virtual-machine:~/T113$ls –a T113-i_v1.0/

brandybuildroot device platform test build build.sh kerneL rtos-dsp tools.buildconfig

embfly@embfly-virtual-machine:~/T113$

通过该文件我们可以了解当前相关编译的环境变量,以下是该文件的内容(可以用vi指令查看):

exportLICHEE_PRODUCT=

exportLICHEE_BRANDY_VER=2.0

exportLICHEE_BRANDY_DEFCONF=sun8iw20p1_auto_t113_i_nand_defconfig

exportLICHEE_CROSS_COMPILER=arm-linux-gnueabi

exportLICHEE_COMPILER_TAR=gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz

exportLICHEE_ROOTFS=target-arm-linaro-5.3.tar.bz2

exportLICHEE_BUSSINESS=

exportLICHEE_TOP_DIR=/home/embfly/workespace/T113-i_v1.0

exportLICHEE_BRANDY_DIR=/home/embfly/workespace/T113-i_v1.0/brandy/brandy-2.0

exportLICHEE_BUILD_DIR=/home/embfly/workespace/T113-i_v1.0/build

exportLICHEE_BR_DIR=/home/embfly/workespace/T113-i_v1.0/buildroot/buildroot-201902

exportLICHEE_DEVICE_DIR=/home/embfly/workespace/T113-i_v1.0/device

exportLICHEE_KERN_DIR=/home/embfly/workespace/T113-i_v1.0/kernel/linux-5.4

exportLICHEE_PLATFORM_DIR=/home/embfly/workespace/T113-i_v1.0/platform

exportLICHEE_SATA_DIR=/home/embfly/workespace/T113-i_v1.0/test/SATA

exportLICHEE_DRAGONBAORD_DIR=/home/embfly/workespace/T113-i_v1.0/test/dragonboard

exportLICHEE_TOOLS_DIR=/home/embfly/workespace/T113-i_v1.0/tools

exportLICHEE_COMMON_CONFIG_DIR=/home/embfly/workespace/T113-i_v1.0/device/config/common

exportLICHEE_CHIP_CONFIG_DIR=/home/embfly/workespace/T113-i_v1.0/device/config/chips/t113_i

exportLICHEE_BOARD_CONFIG_DIR=/home/embfly/workespace/T113-i_v1.0/device/config/chips/t113_i/configs/sbc-t113_nand

exportLICHEE_PRODUCT_CONFIG_DIR=/home/embfly/workespace/T113-i_v1.0/device/target/

exportLICHEE_OUT_DIR=/home/embfly/workespace/T113-i_v1.0/out

exportLICHEE_BRANDY_OUT_DIR=/home/embfly/workespace/T113-i_v1.0/device/config/chips/t113_i/bin

exportLICHEE_BR_OUT=/home/embfly/workespace/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot

exportLICHEE_PACK_OUT_DIR=/home/embfly/workespace/T113-i_v1.0/out/pack_out

exportLICHEE_TOOLCHAIN_PATH=/home/embfly/workespace/T113-i_v1.0/out/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi

exportLICHEE_PLAT_OUT=/home/embfly/workespace/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan

exportLICHEE_BOARDCONFIG_PATH="/home/embfly/workespace/T113-i_v1.0/device/config/chips/t113_i/configs/default/BoardConfig.mk/home/embfly/workespace/T113-i_v1.0/device/config/chips/t113_i/configs/sbc-t113_nand/BoardConfig.mk/home/embfly/workespace/T113-i_v1.0/device/config/chips/t113_i/configs/sbc-t113_nand/longan/BoardConfig.mk"

exportLICHEE_REDUNDANT_ENV_SIZE=0x20000

exportANDROID_CLANG_PATH=

exportLICHEE_COMPRESS=

exportANDROID_TOOLCHAIN_PATH=

exportAW_QT_VER=5.12.5

exportQT_INSTALL_DIR=/home/embfly/workespace/T113-i_v1.0/platform/framework/qt/qt-everywhere-src-5.12.5/Qt_5.12.5

exportQT_RUN_DIR=/usr/local/Qt_5.12.5

exportQT_TARGET_DIR=/home/embfly/workespace/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan/buildroot/target//usr/local/Qt_5.12.5

exportLICHEE_OUTPUT_CONFIGS=hdmi

通过观察该文件可以判断配置是否正确。

快速编译LinuxSDK:

在T113-i_v1.0目录下执行如下命令,一个指令就可以编译SPL、U-Boot、Linux内核和buildroot文件系统。

Host$   ./build.sh

备注:

(1)首次执行"./build.sh"命令编译LinuxSDK,需再执行一次"./build.sh"命令,否则会出现打包生成的Linux系统镜像在主板无法正常启动的现象。

(2)执行"./build.sh distclean"清除命令后,需执行两次"./build.sh"命令,否则会出现打包生成的Linux系统镜像在主板无法正常启动的现象。

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$./build.sh

ACTIONList: mklichee

Executecommand: mklichee

INFO:

INFo:build lichee

INFO:chip:sun8iw20p1

INFO:platform: linux

INFO:kernel:linux-5.4

INFO:board: sbc-t113_nand

INF0:output:/home/embfly/T113/T113-i_v1.0/out/t113_i/sbc-t113_nand/longan

INFO:

INFO:build buildroot

Preparebr toolchain gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabt.tar.xz

make:Entering directory '/home/embfly/T113/T113-i_v1.0/buildroot/buildroot-201902

预计耗时约30min编译完成后,生成SPL、U-Boot、Linux内核和buildroot文件系统镜像文件,镜像文件需转化为.fex格式后使用。

/home/embfly/T113/T113t_v1.0/platform/framework/auto/kernetl/xr829/Makeftle:19:CROSS_COMPILE: arm Linux-gnueabi

Buildingmodules, stage 2

MODPOST1 modules

cc[M]/home/embfly/T113/T113-_v1.0/platform/framework/auto/kernel/xr829/xr829.mod.o

LD[M] /home/embfly/T113/T113-i_v1.0/platform/framework/auto/kernel/xr829/xr829.ko

make[1]:Leaving directory '/home/embfly/T113/T113-i_v1.0/out/kernel/build'

'/home/embfly/T113/T113-i_v1.0/platform/framework/auto/kernel/xr829/xr829.ko'->'/home/embfly/T

113/T113-i_v1.0/platform/../out/t113_i/sbc-t113_nand/longan/buildroot/target/lib/modules/5.4.61-rt37/xr829.ko

INFO:pack rootfs ok

INFO:

INFO:build lichee OK

INFO:

embfly@embfly-virtual-machine:~

/T113/T113-iV1.0$

(1)生成SPL镜像文件为"out/t113_i/sbc-t113_nand/longan/"目录下的boot0_nand_sun8iw20p1.bin、boot0_sdcard_sun8iw20p1.bin和boot0_spinor_sun8iw20p1.bin。

embfly@embfly-virtual-machine:~/T113/T113-t_v1.0$ls out/t113_i/sbc-t113_nand/longan/

ariscboot.img lib u-boot-sun8iw20p1.bin

bImagebuildroot rootfs.cpio.gz uImage

boot0_nand_sun8iw20p1.bindist rootfs.ubifs vmlinux

booto_sdcard_sun8iw20p1.bindtc sboot_sun8iw20p1.bin vmlinux.tar.bz2

boot0_spinor_sun8iw20p1.binfes1_sun8iw20p1.binsunxi.dtb zImage

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$

(2)生成U-Boot镜像文件为"out/t113_i/sbc-t113_nand/longan/u-boot-sun8iw20p1.bin"。

embfly@embfly-virtual-machine:~/T113/T113-iv1.0$ ls out/t113 i/sbc-t113_nand/longan/

ariscboot.img lb u-boot-sun8iw20p1.bin

bImagebuildroot rootfs.cpio.gz umage

boot0_nand_sun8iw20p1.bindist rootfs.ubifs vmlinux

booto_sdcard_sun8iw20p1.bindtc sboot_sun8iw20p1.bin vmlinux.tar.bz2

booto_spinor_sun8iw20p1.binfes1_sun8iw20p1.bin sunxi.dtb zImage

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$

(3)生成Linux内核镜像文件为"out/t113_i/sbc-t113_nand/longan/boot.img"。

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$ls out/t113_i/sbc-t113_nand/longan/

arisc             boot.img      lib       u-boot-sun8iw20p1.bin

bImage                    butldroot rootfs.cpio.gz         uImage

boot0_nand_sun8iw20p1.bin  dist    rootfs.ubifs           vmlinux

boot0_sdcard_sun8iw20p1.bindtc    sboot_sun8iw20p1.bin vmlinux.tar.bz2

boot0_spinor_sun8iw20p1.binfes1_sun8iw20p1.bin sunxi.dtb zImage

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$

(4)生成文件系统镜像文件"out/t113_i/sbc-t113_nand/longan/rootfs.ubifs"和"out/t113_i/sbc-t113_nand/longan/buildroot/images/rootfs.ext4"。其中rootfs.ubifs为UBIFS格式,适用于NAND FLASH;rootfs.ext4为EXT4格式,适用于Micro SD卡。

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$ls out/t113_i/sbc-t113_nand/longan/

ariscboot.img lb u-boot-sun8iw20p1.bin

bImagebuildroot rootfs.cpio.gz uImage

boot0nand sun8iw20p1.bin dist rootfs.ubifs vmlinux

boot0_sdcard_sun8iw20p1.bindtc sboot_sun8iw20p1.bin vmlinux.tar.bz2

boot0_spinor_sun8iw20p1.binfes1 _sun8iw20p1.bin sunxi.dtb zImage

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$ls out/t113_i/sbc-t113_nand/longan/buildroot

/images

rootfs.ext2rootfs.ext4 rootfs.tar

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$

编译生成Linux系统镜像:

执行如下命令,打包生成Linux系统镜像文件。

备注:若已执行过"./build.sh

qt"命令编译Qt库,则生成Linux系统镜像文件支持Qt功能,否则不支持Qt功能。

Host$  ./build.sh pack

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$./build.sh pack

ACTIONList:mkpack ;

Executecommand: mkpack

INFO:packingfirmware

INFO:UseBIN PATH: /home/embfly/T113/T113-i_v1.0/device/config/chips/t113_i/bin

copyingtools file

copyingconfigs file

copyingproduct configs file

/home/embfly/T113/T113-i_v1.0/out/pack_out/aultls32.fex

/home/embfly/T113/T113-i_v1.0/out/pack_out/aultools.fex

/home/embfly/T113/T113-i_v1.0/out/pack_out/boot_package.cfg

/home/embfly/T113/T113-i_v1.0/out/pack_out/boot_package.fex

/home/embfly/T113/T113-i_v1.0/out/pack_out/boot_package_nor.cfg

/home/embfly/T113/T113-i_v1.0/out/pack_out/cardscript.fex

/home/embfly/T113/T113-i_v1.0/out/pack_out/cardscript_secure.fex

/home/embfly/T113/T113-i_v1.0/out/pack_out/cardtool.fex

/home/embfly/T113/T113-i_v1.0/out/pack_out/diskfs.fex

/home/embfly/T113/T113-i_v1.0/out/pack_out/dragon_toc.cfg

/home/embfly/T113/T113-i_v1.0/out/pack_out/env.cfg

/home/embfly/T113/T113-i_v1.0/out/pack_out/env_burn.cfg

/home/embfly/T113/T113-i_v1.0/out/pack_out/env_dragon.cfg

/home/embfly/T113/T113-i_v1.0/out/pack_out/esm.fex

……

vmlinux.fexLen: 0x3d78b64

boot-resource.fexLen:0x4cc400

vboot-resource.fexLen: ex4

env.fexLen: 0x20000

Venv.fexLen: 0x4

env.fexLen: 0x20000

Venv.fexLen: 0x4

boot.fexLen: 0xea5000

Vboot.fexLen: 0x4

rootfs-ubifs.fexLen: 0x4c89000

Vrootfs-ubifs.fexLen: 0x4

dsp0.fexLen: 0x3fc78

vdsp0.fexLen: ox4

Building0

Dragonexecute image.cfg SUccess !

----imageis at-..-....

size:162M/home/embfly/T113/T113-i_v1.0/out/t113_i_linux_sbc-t113_nand_uart0.ing

packfinish

本次操作会将SPL镜像(boot0_nand_sun8iw20p1.bin、boot0_sdcard_sun8iw20p1.bin和boot0_spinor_sun8iw20p1.bin)转化为boot0_sdcard.fex、boot0_nand.fex、boot0_spinor.fex文件;

将U-Boot镜像(u-boot-sun8iw20p1.bin)、设备树镜像、sys_config配置文件合并生成boot_package.fex文件;

将Linux内核镜像(boot.img)转化为boot.fex文件;将文件系统镜像文件转化为rootfs-ubifs.fex文件和rootfs-sdboot.fex文件。

最后将boot0_sdcard.fex、boot0_nand.fex、boot0_spinor.fex、boot_package.fex、boot.fex、rootfs-ubifs.fex等文件,打包生成"out/t113_i_linux_sbc-t113_nand_uart0.img"Linux系统镜像文件;

将boot0_sdcard.fex、boot0_nand.fex、boot0_spinor.fex、boot_package.fex、boot.fex、rootfs-sdboot.fex等文件,打包生成"out/t113_i_linux_sbc-t113_nand-sdboot_uart0.img"Linux系统镜像文件。

其中t113_i_linux_sbc-t113_nand_uart0.img适用于NAND FLASH配置主板,仅支持NAND FLASH启动;t113_i_linux_sbc-t113_nand-sdboot_uart0.img适用于NAND FLASH配置主板,仅支持Micro SD启动。

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0$cd out/pack_out/

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0/out/pack_out$ls

arisc.fexcardtool.fex sunxi_gpt.fex

aultls32.fexconfig.fex sunxi mbr.fex

aultools.fexdefault.awlic sys_config.bin

battery_charge.bmpdiskfs.fex sys_config.fex

battery_charge.bmp.lzmadlinfo.fex sys_partition.bin

bempty.bmpdragon_toc.cfg sys_partition_dump.fex

bempty.bmp.lzmadsp0.fex sys_partition.fex

boardconfig.bin env_burn.cfg sys_partition_nor.fex

board_config.fexenv.cfg sys_partition_private.fex

BoardConfig.mkenv_dragon.cfg sys_partition sdboot.bin

Boardconfig_nor.mkenv.fex sys_partition _sdboot.fex

board.fexesm.fex sysrecovery.fex

bootonand.fex fes1.fex toc0.fex

boot0sdcard.fex fit-image.its toc1.fex

boot0spinor.fex image.cfg u-boot-crash.fex

boot.feximage_crashdump.cfg u-boot.fex

bootlogo.bmpimage_linux.cfg u-boot-spinor.fex

bootlogo.bmp.lzmaimage_nor.cfg usbtool crash.fex

bootlogo.bmp.lzma.headkernel.fex usbtool.fex

bootlogo.fexoptee.fex usbtool_test.fex

boot_package.cfgparameter.fex vboot.fex

bootpackage.fex rootfs.fex vboot-resource.fex

boot_package_nor.cfgrootfs nor.fex vdsp0.fex

boot-resourcerootfs-sdboot.fex venv.fex

boot-resource.fexrootfs-ubifs.fex version base.mk

boot-resource.inisboot.bin vmlinux.fex

cardscript.fexsplit_xxxx.fex vrootfs-sdboot.fex

cardscript_secure.fex sunxi.fex Vrootfs-ubifs.fex

embfly@embfly-virtual-machine:~/T113/T113-i_v1.0/out/pack_out$

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 200,961评论 5 473
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 84,444评论 2 377
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 148,009评论 0 333
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,082评论 1 272
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,101评论 5 363
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,271评论 1 278
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,738评论 3 393
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,395评论 0 255
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,539评论 1 294
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,434评论 2 317
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,481评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,160评论 3 317
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,749评论 3 303
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,816评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,038评论 1 256
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 42,548评论 2 346
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,140评论 2 341

推荐阅读更多精彩内容