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系统:

rootroot@cm88:/home/wwt/tina_v3.0.2$

扫描二维码关注公众号,回复: 2982800 查看本文章

rootroot@cm88:/home/wwt/tina_v3.0.2$ ll

总用量 104

drwxrwxr-x  4 rootroot rootroot  4096  8月 30 15:22 build

drwxrwxr-x  3 rootroot rootroot  4096  8月 30 15:22 config

lrwxrwxrwx  1 rootroot rootroot    20  8月 30 15:22 Config.in -> config/top_config.in

drwxrwxr-x  3 rootroot rootroot 36864  8月 30 15:22 dl

drwxrwxr-x  3 rootroot rootroot  4096  8月 30 15:22 docs

drwxrwxr-x  7 rootroot rootroot  4096  8月 30 15:23 lichee

lrwxrwxrwx  1 rootroot rootroot    17  8月 30 15:22 Makefile -> build/top_main.mk

drwxrwxr-x 26 rootroot rootroot  4096  8月 30 15:23 package

drwxrwxr-x  4 rootroot rootroot  4096  8月 30 15:23 prebuilt

-rwxrwxr-x  1 rootroot rootroot 27842  1月 15  2018 repo

lrwxrwxrwx  1 rootroot rootroot    14  8月 30 15:22 rules.mk -> build/rules.mk

drwxrwxr-x  6 rootroot rootroot  4096  8月 30 15:23 scripts

drwxrwxr-x  7 rootroot rootroot  4096  8月 30 15:23 target

drwxrwxr-x 12 rootroot rootroot  4096  8月 30 15:23 toolchain

drwxrwxr-x 67 rootroot rootroot  4096  8月 30 15:23 tools

rootroot@cm88:/home/wwt/tina_v3.0.2$

rootroot@cm88:/home/wwt/tina_v3.0.2$

rootroot@cm88:/home/wwt/tina_v3.0.2$ source build/envsetup.sh 

including target/allwinner/astar-dm2/vendorsetup.sh

including target/allwinner/astar-dm/vendorsetup.sh

including target/allwinner/astar-evb/vendorsetup.sh

including target/allwinner/astar-noma/vendorsetup.sh

including target/allwinner/astar-parrot/vendorsetup.sh

including target/allwinner/astar-spk/vendorsetup.sh

including target/allwinner/azalea-evb/vendorsetup.sh

including target/allwinner/azalea-m2ultraservers/vendorsetup.sh

including target/allwinner/azalea-m2ultra/vendorsetup.sh

including target/allwinner/azalea-perf1/vendorsetup.sh

including target/allwinner/azalea-perf2/vendorsetup.sh

including target/allwinner/azalea-perf3/vendorsetup.sh

including target/allwinner/banjo-dh/vendorsetup.sh

including target/allwinner/banjo-GW/vendorsetup.sh

including target/allwinner/banjo-kudrone/vendorsetup.sh

including target/allwinner/banjo-mic/vendorsetup.sh

including target/allwinner/banjo-perf1/vendorsetup.sh

including target/allwinner/banjo-R11_pref1/vendorsetup.sh

including target/allwinner/banjo-R11_sc3866r/vendorsetup.sh

including target/allwinner/banjo-R7_pref1/vendorsetup.sh

including target/allwinner/banjo-v3s/vendorsetup.sh

including target/allwinner/bassoon-perf1/vendorsetup.sh

including target/allwinner/boobam-perf1/vendorsetup.sh

including target/allwinner/cello-perf1/vendorsetup.sh

including target/allwinner/cello-pro/vendorsetup.sh

including target/allwinner/generic/vendorsetup.sh

including target/allwinner/koto-carp/vendorsetup.sh

including target/allwinner/koto-perf1/vendorsetup.sh

including target/allwinner/koto-perf2/vendorsetup.sh

including target/allwinner/koto-std/vendorsetup.sh

including target/allwinner/mandolin-perf1/vendorsetup.sh

including target/allwinner/nuclear-dev/vendorsetup.sh

including target/allwinner/octopus-dev/vendorsetup.sh

including target/allwinner/octopus-sch/vendorsetup.sh

including target/allwinner/organ-perf1/vendorsetup.sh

including target/allwinner/sitar-cuckoo/vendorsetup.sh

including target/allwinner/sitar-db/vendorsetup.sh

including target/allwinner/sitar-evb/vendorsetup.sh

including target/allwinner/sitar-mic2/vendorsetup.sh

including target/allwinner/sitar-mic/vendorsetup.sh

including target/allwinner/sitar-pd4/vendorsetup.sh

including target/allwinner/sitar-perf1/vendorsetup.sh

including target/allwinner/sitar-perf2/vendorsetup.sh

including target/allwinner/sitar-perf3/vendorsetup.sh

including target/allwinner/tulip-d1nor/vendorsetup.sh

including target/allwinner/tulip-d1/vendorsetup.sh

including target/allwinner/tulip-hena/vendorsetup.sh

including target/allwinner/tulip-m64/vendorsetup.sh

including target/allwinner/tulip-mozart/vendorsetup.sh

including target/allwinner/tulip-noma/vendorsetup.sh

including target/allwinner/tulip-perf1/vendorsetup.sh

including target/allwinner/tulip-pine64/vendorsetup.sh

including target/allwinner/tulip-sgw/vendorsetup.sh

including target/allwinner/violin-F1C200s/vendorsetup.sh

rootroot@cm88:/home/wwt/tina_v3.0.2$ lunch

You're building on Linux

Lunch menu... pick a combo:

     1. astar_dm2-tina

     2. astar_dm-tina

     3. astar_evb-tina

     4. astar_noma-tina

     5. astar_parrot-tina

     6. astar_spk-tina

     7. azalea_evb-tina

     8. azalea_m2ultraservers-tina

     9. azalea_m2ultra-tina

     10. azalea_perf1-tina

     11. azalea_perf2-tina

     12. azalea_perf3-tina

     13. banjo_dh-tina

     14. banjo_GW-tina

     15. banjo_kudrone-tina

     16. banjo_mic-tina

     17. banjo_perf1-tina

     18. banjo_R11_pref1-tina

     19. banjo_R11_sc3866r-tina

     20. banjo_R7_pref1-tina

     21. banjo_v3s-tina

     22. bassoon_perf1-tina

     23. boobam_perf1-tina

     24. cello_perf1-tina

     25. cello_pro-tina

     26. koto_carp-tina

     27. koto_perf1-tina

     28. koto_perf2-tina

     29. koto_std-tina

     30. mandolin_perf1-tina

     31. nuclear_dev-tina

     32. octopus_dev-tina

     33. octopus_sch-tina

     34. organ_perf1-tina

     35. sitar_cuckoo-tina

     36. sitar_db-tina

     37. sitar_evb-tina

     38. sitar_mic2-tina

     39. sitar_mic-tina

     40. sitar_pd4-tina

     41. sitar_perf1-tina

     42. sitar_perf2-tina

     43. sitar_perf3-tina

     44. tulip_d1nor-tina

     45. tulip_d1-tina

     46. tulip_hena-tina

     47. tulip_m64-tina

     48. tulip_mozart-tina

     49. tulip_noma-tina

     50. tulip_perf1-tina

     51. tulip_pine64-tina

     52. tulip_sgw-tina

     53. violin_F1C200s-tina

Which would you like?43

============================================

PLATFORM_VERSION_CODENAME=Neptune

PLATFORM_VERSION=3.0.2

PRODUCT_VERSION=v2.1

TARGET_PRODUCT=sitar_perf3

TARGET_BUILD_VARIANT=tina

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=arm926ej-s

TARGET_CPU_VARIANT=arm926ej-s

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=5B593BC6

TARGET_OUT_DIR=out/sitar-perf3

============================================

rootroot@cm88:/home/wwt/tina_v3.0.2$ make -j12

  INSTALL include/uapi (0 file)

  INSTALL include/asm (33 files)

make[5]: Leaving directory `/home/wwt/tina_v3.0.2/lichee/linux-3.10'

. /home/wwt/tina_v3.0.2/build/shell.sh; grep '=[ym]' /home/wwt/tina_v3.0.2/out/sitar-perf3/compile_dir/target/linux-sitar-perf3/linux-3.10.65/.config.set | LC_ALL=C sort | md5s > /home/wwt/tina_v3.0.2/out/sitar-perf3/compile_dir/target/linux-sitar-perf3/linux-3.10.65/.vermagic

touch /home/wwt/tina_v3.0.2/out/sitar-perf3/compile_dir/target/linux-sitar-perf3/linux-3.10.65/.configured

rm -f /home/wwt/tina_v3.0.2/out/sitar-perf3/compile_dir/target/linux-sitar-perf3/linux-3.10.65/vmlinux /home/wwt/tina_v3.0.2/out/sitar-perf3/compile_dir/target/linux-sitar-perf3/linux-3.10.65/System.map

make -C /home/wwt/tina_v3.0.2/out/sitar-perf3/compile_dir/target/linux-sitar-perf3/linux-3.10.65 HOSTCFLAGS="-O2 -I/home/wwt/tina_v3.0.2/out/host/include -I/home/wwt/tina_v3.0.2/out/host/usr/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="arm-openwrt-linux-gnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" CONFIG_SHELL="bash" V=''  CC="arm-openwrt-linux-gnueabi-gcc" modules

make[5]: Entering directory `/home/wwt/tina_v3.0.2/lichee/linux-3.10'

  HOSTCC  scripts/kconfig/conf.o

  SHIPPED scripts/kconfig/zconf.tab.c

  SHIPPED scripts/kconfig/zconf.lex.c

  SHIPPED scripts/kconfig/zconf.hash.c

  HOSTCC  scripts/kconfig/zconf.tab.o

  HOSTLD  scripts/kconfig/conf

scripts/kconfig/conf --silentoldconfig Kconfig

*

* Restart config...

*

*

* System Type

*

MMU-based Paged Memory Management Support (MMU) [Y/n/?] y

ARM system type

  1. Allow multiple platforms to be selected (ARCH_MULTIPLATFORM)

  2. ARM Ltd. Integrator family (ARCH_INTEGRATOR)

  3. ARM Ltd. RealView family (ARCH_REALVIEW)

  4. ARM Ltd. Versatile family (ARCH_VERSATILE)

> 5. Allwinner Ltd. SUNXI family (ARCH_SUNXI)

  6. Atmel AT91 (ARCH_AT91)

  7. Cirrus Logic CLPS711x/EP721x/EP731x-based (ARCH_CLPS711X)

  8. Cortina Systems Gemini (ARCH_GEMINI)

  9. EBSA-110 (ARCH_EBSA110)

  10. EP93xx-based (ARCH_EP93XX)

  11. FootBridge (ARCH_FOOTBRIDGE)

  12. Hilscher NetX based (ARCH_NETX)

  13. IOP13xx-based (ARCH_IOP13XX)

  14. IOP32x-based (ARCH_IOP32X)

  15. IOP33x-based (ARCH_IOP33X)

  16. IXP4xx-based (ARCH_IXP4XX)

  17. Marvell Dove (ARCH_DOVE)

  18. Marvell Kirkwood (ARCH_KIRKWOOD)

  19. Marvell MV78xx0 (ARCH_MV78XX0)

  20. Marvell Orion (ARCH_ORION5X)

  21. Marvell PXA168/910/MMP2 (ARCH_MMP)

  22. Micrel/Kendin KS8695 (ARCH_KS8695)

  23. Nuvoton W90X900 CPU (ARCH_W90X900)

  24. NXP LPC32XX (ARCH_LPC32XX)

  25. PXA2xx/PXA3xx-based (ARCH_PXA)

  26. Qualcomm MSM (ARCH_MSM)

  27. Renesas SH-Mobile / R-Mobile (ARCH_SHMOBILE)

  28. RiscPC (ARCH_RPC)

  29. SA1100-based (ARCH_SA1100)

  30. Samsung S3C24XX SoCs (ARCH_S3C24XX)

  31. Samsung S3C64XX (ARCH_S3C64XX)

  32. Samsung S5P6440 S5P6450 (ARCH_S5P64X0)

  33. Samsung S5PC100 (ARCH_S5PC100)

  34. Samsung S5PV210/S5PC110 (ARCH_S5PV210)

  35. Samsung EXYNOS (ARCH_EXYNOS)

  36. Shark (ARCH_SHARK)

  37. ST-Ericsson U300 Series (ARCH_U300)

  38. TI DaVinci (ARCH_DAVINCI)

  39. TI OMAP1 (ARCH_OMAP1)

choice[1-39]: 5

Select the architecture of SoC

  1. Allwinner A7 smp SoCs (ARCH_SUN8I)

  2. Allwinner A53 smp SoCs (ARCH_SUN50I)

> 3. Allwinner arm926ejs socs(sun3i) (ARCH_SUN3I)

choice[1-3?]: 3

Allwinner development Board

  1. FPGAv4 board (FPGA_V4_PLATFORM)

  2. FPGAv7 board (FPGA_V7_PLATFORM)

> 3. EVB board (EVB_PLATFORM)

choice[1-3]: 3

Select the wafer with arch sun3i

> 1. Allwinner sun3iw1 SOC (ARCH_SUN3IW1)

choice[1]: 1

Select the Soc with wafer sun3iw1

> 1. Allwinner sun3iw1p1 SoC (ARCH_SUN3IW1P1)

choice[1]: 1

Select the target board with sun3iw1p1

  1. Allwinner sun3iw1p1 C600 (ARCH_SUN3IW1P1_C600)

  2. Allwinner sun3iw1p1 F1C200s (ARCH_SUN3IW1P1_F1C200s) (NEW)

> 3. Allwinner sun3iw1p1 R6 (ARCH_SUN3IW1P1_R6)

choice[1-3?]: 3

Select the target board with sun3iw1p1

  1. Allwinner sun3iw1p1 C600 (ARCH_SUN3IW1P1_C600)

  2. Allwinner sun3iw1p1 F1C200s (ARCH_SUN3IW1P1_F1C200s) (NEW)

> 3. Allwinner sun3iw1p1 R6 (ARCH_SUN3IW1P1_R6)

choice[1-3?]: 3

Allwinner sunxi alarm (SUNXI_ALARM) [N/y/?] (NEW) n

Select the target board with sun3iw1p1

  1. Allwinner sun3iw1p1 C600 (ARCH_SUN3IW1P1_C600)

  2. Allwinner sun3iw1p1 F1C200s (ARCH_SUN3IW1P1_F1C200s) (NEW)

> 3. Allwinner sun3iw1p1 R6 (ARCH_SUN3IW1P1_R6)

choice[1-3?]: 3

Allwinner sunxi alarm (SUNXI_ALARM) [N/y/?] (NEW) n

SUNXI trustzone security (SUNXI_TRUSTZONE) [N/y/?] n

Homlet platform Features (HOMLET_PLATFORM) [N/y/?] n

The name of SUNXI SoC (SUNXI_SOC_NAME) [Sun3iw1p1] Sun3iw1p1

*

* Processor Type

*

*

* Processor Features

*

Support Thumb user binaries (ARM_THUMB) [Y/n/?] y

Disable I-Cache (I-bit) (CPU_ICACHE_DISABLE) [N/y/?] n

Disable D-Cache (C-bit) (CPU_DCACHE_DISABLE) [N/y/?] n

Force write through D-cache (CPU_DCACHE_WRITETHROUGH) [N/y/?] n

Round robin I and D cache replacement algorithm (CPU_CACHE_ROUND_ROBIN) [N/y/?] n

*

* ALSA for SoC audio support

*

ALSA for SoC audio support (SND_SOC) [Y/n/m/?] y

  SoC Audio for the Atmel System-on-Chip (SND_ATMEL_SOC) [N/m/y/?] n

  Synopsys I2S Device Driver (SND_DESIGNWARE_I2S) [N/m/y/?] n

  Build all ASoC CODEC drivers (SND_SOC_ALL_CODECS) [N/m/y/?] n

  AC101 Codec (SND_SOC_AC101) [N/m/y/?] (NEW) n

可选修改:

W:\tina_v3.0.2\target\allwinner\sitar-perf3\config-3.10

CONFIG_ARCH_SUN3I=y

CONFIG_ARCH_SUN3IW1=y

CONFIG_ARCH_SUN3IW1P1=y

# CONFIG_ARCH_SUN3IW1P1_C600 is not set

CONFIG_ARCH_SUN3IW1P1_R6=y

# CONFIG_ARCH_SUN50I is not set

# CONFIG_ARCH_SUN8I is not set

CONFIG_ARCH_SUNXI=y

修改为:

CONFIG_ARCH_SUN3I=y

CONFIG_ARCH_SUN3IW1=y

CONFIG_ARCH_SUN3IW1P1=y

# CONFIG_ARCH_SUN3IW1P1_C600 is not set

# CONFIG_ARCH_SUN3IW1P1_F1C200s is not set

CONFIG_ARCH_SUN3IW1P1_R6=y

# CONFIG_ARCH_SUN50I is not set

# CONFIG_ARCH_SUN8I is not set

CONFIG_ARCH_SUNXI=y

另外两个选项加到最后面即可:

CONFIG_ZBOOT_ROM_BSS=0

CONFIG_ZBOOT_ROM_TEXT=0

CONFIG_ZONE_DMA_FLAG=0

# CONFIG_SUNXI_ALARM is not set

# CONFIG_SND_SOC_AC101 is not set

继续编译:

Number of duplicate files found 4

Number of inodes 779

Number of files 348

Number of fragments 17

Number of symbolic links  184

Number of device nodes 185

Number of fifo nodes 0

Number of socket nodes 0

Number of directories 62

Number of ids (unique uids + gids) 1

Number of uids 1

root (0)

Number of gids 1

root (0)

rm -f /home/wwt/tina_v3.0.2/out/sitar-perf3/rootfs.img

rm -f /home/wwt/tina_v3.0.2/out/sitar-perf3/usr.img

dd if=/home/wwt/tina_v3.0.2/out/sitar-perf3/compile_dir/target/linux-sitar-perf3/root.squashfs of=/home/wwt/tina_v3.0.2/out/sitar-perf3/rootfs.img bs=128k conv=sync

27+1 records in

28+0 records out

3670016 bytes (3.7 MB) copied, 0.00590717 s, 621 MB/s

( cd /home/wwt/tina_v3.0.2/out/sitar-perf3 ; find -maxdepth 1 -type f \! -name 'md5sums'  -printf "%P\n" | sort | xargs md5sum --binary > md5sums )

( cd /home/wwt/tina_v3.0.2/out/sitar-perf3 ; find -maxdepth 1 -type f \! -name 'md5sums'  -printf "%P\n" | sort | xargs openssl dgst -sha256 > sha256sums )

make[5]: Leaving directory `/home/wwt/tina_v3.0.2/target/allwinner/generic/image'

make[4]: Leaving directory `/home/wwt/tina_v3.0.2/target/allwinner/sitar-perf3'

make[3]: Leaving directory `/home/wwt/tina_v3.0.2/target/allwinner'

make[2]: Leaving directory `/home/wwt/tina_v3.0.2'

export MAKEFLAGS= ;make -w -r package/index

make[2]: Entering directory `/home/wwt/tina_v3.0.2'

Generating package index...

Signing key has not been configured

make[2]: Leaving directory `/home/wwt/tina_v3.0.2'

make[1]: Leaving directory `/home/wwt/tina_v3.0.2'

#### make completed successfully (10:03 (mm:ss)) ####

rootroot@cm88:/home/wwt/tina_v3.0.2$ pack -d

No kernel param, parse it from sitar

copying tools file

copying configs file

storage_type value is 5

rm /home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition_nor.fex

rm /home/wwt/tina_v3.0.2/out/sitar-perf3/image/image_nor.cfg

image/aultls32.fex

image/aultools.fex

image/boot_package.cfg

image/boot_package.fex

image/boot_package_nor.cfg

image/cardscript.fex

image/cardscript_secure.fex

image/cardtool.fex

image/diskfs.fex

image/env-3.4.cfg

image/env-4.4.cfg

image/env-4.9.cfg

image/env_burn.cfg

image/env.cfg

image/image.cfg

image/image_linux.cfg

image/split_xxxx.fex

image/sunxi.fex

image/sys_config.fex

image/sys_partition_dump.fex

image/sys_partition.fex

image/sys_partition_nor_gui.fex

image/sys_partition_private.fex

image/toc0.fex

image/toc1.fex

image/usbtool.fex

image/usbtool_test.fex

image/writable.fex

/home/wwt/tina_v3.0.2

copying boot resource

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03

copying boot file

uart -> card0

make user resource for : /home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition.fex

handle partition user-res

no user resource partitions

mbr count = 1

partitation file Path=/home/wwt/tina_v3.0.2/sys_partition_tmp.bin

mbr_name file Path=/home/wwt/tina_v3.0.2/sunxi_mbr_tmp.fex

download_name file Path=/home/wwt/tina_v3.0.2/dlinfo.fex

mbr size = 4096

mbr magic softw411

disk name=boot-res

disk name=env

disk name=boot

disk name=rootfs

disk name=rootfs_data

disk name=recovery

disk name=misc

disk name=private

disk name=UDISK

this is not a partition key

update_for_part_info 0

crc 0 = 9fae2c66

update mbr file ok

sys_config exist

Multiconfig num:0

copying tools file

copying configs file

storage_type value is 5

rm /home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition_nor.fex

rm /home/wwt/tina_v3.0.2/out/sitar-perf3/image/image_nor.cfg

image/aultls32.fex

image/aultools.fex

image/boot0_nand.fex

image/boot0_sdcard.fex

image/boot0_spinor.fex

image/boot_package.cfg

image/boot_package.fex

image/boot_package_nor.cfg

image/cardscript.fex

image/cardscript_secure.fex

image/cardtool.fex

image/diskfs.fex

image/env-3.4.cfg

image/env-4.4.cfg

image/env-4.9.cfg

image/env_burn.cfg

image/env.cfg

image/fes1.fex

image/image.cfg

image/image_linux.cfg

image/split_xxxx.fex

image/sunxi.fex

image/sys_config.fex

image/sys_partition_dump.fex

image/sys_partition.fex

image/sys_partition_nor_gui.fex

image/sys_partition_private.fex

image/toc0.fex

image/toc1.fex

image/u-boot.fex

image/u-boot-spinor.fex

image/usbtool.fex

image/usbtool_test.fex

image/writable.fex

/home/wwt/tina_v3.0.2

copying boot resource

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03

copying boot file

uart -> card0

make user resource for : /home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition.fex

handle partition user-res

no user resource partitions

mbr count = 1

partitation file Path=/home/wwt/tina_v3.0.2/sys_partition_tmp.bin

mbr_name file Path=/home/wwt/tina_v3.0.2/sunxi_mbr_tmp.fex

download_name file Path=/home/wwt/tina_v3.0.2/dlinfo.fex

mbr size = 4096

mbr magic softw411

disk name=boot-res

disk name=env

disk name=boot

disk name=rootfs

disk name=rootfs_data

disk name=recovery

disk name=misc

disk name=private

disk name=UDISK

this is not a partition key

update_for_part_info 0

crc 0 = 9fae2c66

update mbr file ok

Script_to_dts: Can not find [sun3iw1p1-sitar-perf3.dts]. Will use common dts file instead.

p=soc c=product state=0

p=soc c=platform state=0

p=soc c=target state=0

p=soc c=norflash state=0

p=soc c=power_sply state=0

p=soc c=power_ctrl state=0

p=soc c=card_boot state=0

p=soc c=pm_para state=0

p=soc c=card0_boot_para state=0

p=soc c=card2_boot_para state=0

p=soc c=twi_para state=0

p=soc c=uart_para state=0

p=soc c=jtag_para state=0

p=soc c=dram state=0

p=soc c=twi0 state=0

p=soc c=twi1 state=0

p=soc c=twi2 state=0

p=soc c=io_expand state=0

p=soc c=ir state=0

p=soc c=uart0 state=0

p=soc c=uart1 state=0

p=soc c=spi0 state=0

p=soc c=spi1 state=0

p=soc c=mmc_slot state=0

p=soc c=rtp_para state=0

p=soc c=ctp state=0

p=soc c=tkey_para state=0

p=soc c=motor_para state=0

p=soc c=nand0 state=0

p=soc c=disp state=0

p=soc c=lcd0 state=0

p=soc c=pwm0_para state=0

p=soc c=pwm1_para state=0

p=soc c=vip0 state=0

p=soc c=tvout_para state=0

p=soc c=tvin_para state=0

p=soc c=di state=0

p=soc c=sdc0 state=0

p=soc c=sdc1 state=0

p=soc c=smc state=0

p=soc c=usbc0 state=0

p=soc c=gsensor_para state=0

p=soc c=gps_para state=0

p=soc c=wlan state=0

p=soc c=gy_para state=0

p=soc c=ls_para state=0

p=soc c=compass_para state=0

p=soc c=bt_para state=0

p=soc c=audiospdif state=0

p=soc c=spdif_machine state=0

p=soc c=audiohdmi state=0

p=soc c=hdmi_machine state=0

p=soc c=pmu0 state=0

p=soc c=pmu0_regu state=0

p=soc c=dvfs_table state=0

p=soc c=Vdevice state=0

p=soc c=fel_key state=0

p=soc c=partitions state=0

p=partitions c=boot-res state=0

p=partitions c=env state=0

p=partitions c=boot state=0

p=partitions c=rootfs state=0

p=partitions c=rootfs_data state=0

p=partitions c=recovery state=0

p=partitions c=misc state=0

p=partitions c=private state=0

p=partitions c=UDISK state=0

Conver script to dts ok.

pack boot package

GetPrivateProfileSection read to end

content_count=3

toc1 file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/boot_package.fex

script file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_config.bin

cant get board_id_enable

script update toc1 ok

packing for tina linux

normal

mbr count = 4

partitation file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition.bin

mbr_name file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/sunxi_mbr.fex

download_name file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/dlinfo.fex

mbr size = 4096

mbr magic softw411

disk name=boot-res

filename = boot-resource.fex

dl_file_size = 160 sector

part_size = 1024 sector

disk name=env

filename = env.fex

dl_file_size = 256 sector

part_size = 512 sector

disk name=boot

filename = boot.fex

dl_file_size = 6144 sector

part_size = 12288 sector

disk name=rootfs

filename = rootfs.fex

dl_file_size = 7168 sector

part_size = 16384 sector

disk name=rootfs_data

disk name=recovery

disk name=misc

disk name=private

disk name=UDISK

this is not a partition key

update_for_part_info 0

crc 0 = 6376917b

crc 1 = f6cbc026

crc 2 = 937d3580

crc 3 = 6c064dd

update mbr file ok

/home/wwt/tina_v3.0.2/out/host/bin/

/home/wwt/tina_v3.0.2/out/sitar-perf3/image

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=14000Add 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=300000Add partion rootfs.fex ROOTFS_FEX000000

Add partion very rootfs.fex ROOTFS_FEX000000

FilePath: rootfs.fex

FileLength=380000sys_config.fex Len: 0xafac

config.fex Len: 0x7400

split_xxxx.fex Len: 0x200

sys_partition.fex Len: 0xbdb

sunxi.fex Len: 0xc200

boot0_nand.fex Len: 0x4000

boot0_sdcard.fex Len: 0x8000

boot0_spinor.fex Len: 0x4000

u-boot.fex Len: 0xa0000

toc1.fex Len: 0x8

toc0.fex Len: 0x8

fes1.fex Len: 0x2d80

boot_package.fex Len: 0xb4000

usbtool.fex Len: 0x23600

aultools.fex Len: 0x2847b

aultls32.fex Len: 0x24d23

cardtool.fex Len: 0x11c00

cardscript.fex Len: 0x6de

sunxi_mbr.fex Len: 0x10000

dlinfo.fex Len: 0x4000

boot-resource.fex Len: 0x14000

Vboot-resource.fex Len: 0x4

env.fex Len: 0x20000

Venv.fex Len: 0x4

boot.fex Len: 0x300000

Vboot.fex Len: 0x4

rootfs.fex Len: 0x380000

Vrootfs.fex Len: 0x4

BuildImg 0

Dragon execute image.cfg SUCCESS !

----------image is at----------

/home/wwt/tina_v3.0.2/out/sitar-perf3/tina_sitar-perf3_card0.img

pack finish

rootroot@cm88:/home/wwt/tina_v3.0.2$ pack

No kernel param, parse it from sitar

copying tools file

copying configs file

storage_type value is 5

rm /home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition_nor.fex

rm /home/wwt/tina_v3.0.2/out/sitar-perf3/image/image_nor.cfg

image/aultls32.fex

image/aultools.fex

image/boot_package.cfg

image/boot_package.fex

image/boot_package_nor.cfg

image/cardscript.fex

image/cardscript_secure.fex

image/cardtool.fex

image/diskfs.fex

image/env-3.4.cfg

image/env-4.4.cfg

image/env-4.9.cfg

image/env_burn.cfg

image/env.cfg

image/image.cfg

image/image_linux.cfg

image/split_xxxx.fex

image/sunxi.fex

image/sys_config.fex

image/sys_partition_dump.fex

image/sys_partition.fex

image/sys_partition_nor_gui.fex

image/sys_partition_private.fex

image/toc0.fex

image/toc1.fex

image/usbtool.fex

image/usbtool_test.fex

image/writable.fex

/home/wwt/tina_v3.0.2

copying boot resource

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03

copying boot file

make user resource for : /home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition.fex

handle partition user-res

no user resource partitions

mbr count = 1

partitation file Path=/home/wwt/tina_v3.0.2/sys_partition_tmp.bin

mbr_name file Path=/home/wwt/tina_v3.0.2/sunxi_mbr_tmp.fex

download_name file Path=/home/wwt/tina_v3.0.2/dlinfo.fex

mbr size = 4096

mbr magic softw411

disk name=boot-res

disk name=env

disk name=boot

disk name=rootfs

disk name=rootfs_data

disk name=recovery

disk name=misc

disk name=private

disk name=UDISK

this is not a partition key

update_for_part_info 0

crc 0 = 9fae2c66

update mbr file ok

sys_config exist

Multiconfig num:0

copying tools file

copying configs file

storage_type value is 5

rm /home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition_nor.fex

rm /home/wwt/tina_v3.0.2/out/sitar-perf3/image/image_nor.cfg

image/aultls32.fex

image/aultools.fex

image/boot0_nand.fex

image/boot0_sdcard.fex

image/boot0_spinor.fex

image/boot_package.cfg

image/boot_package.fex

image/boot_package_nor.cfg

image/cardscript.fex

image/cardscript_secure.fex

image/cardtool.fex

image/diskfs.fex

image/env-3.4.cfg

image/env-4.4.cfg

image/env-4.9.cfg

image/env_burn.cfg

image/env.cfg

image/fes1.fex

image/image.cfg

image/image_linux.cfg

image/split_xxxx.fex

image/sunxi.fex

image/sys_config.fex

image/sys_partition_dump.fex

image/sys_partition.fex

image/sys_partition_nor_gui.fex

image/sys_partition_private.fex

image/toc0.fex

image/toc1.fex

image/u-boot.fex

image/u-boot-spinor.fex

image/usbtool.fex

image/usbtool_test.fex

image/writable.fex

/home/wwt/tina_v3.0.2

copying boot resource

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03

copying boot file

make user resource for : /home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition.fex

handle partition user-res

no user resource partitions

mbr count = 1

partitation file Path=/home/wwt/tina_v3.0.2/sys_partition_tmp.bin

mbr_name file Path=/home/wwt/tina_v3.0.2/sunxi_mbr_tmp.fex

download_name file Path=/home/wwt/tina_v3.0.2/dlinfo.fex

mbr size = 4096

mbr magic softw411

disk name=boot-res

disk name=env

disk name=boot

disk name=rootfs

disk name=rootfs_data

disk name=recovery

disk name=misc

disk name=private

disk name=UDISK

this is not a partition key

update_for_part_info 0

crc 0 = 9fae2c66

update mbr file ok

Script_to_dts: Can not find [sun3iw1p1-sitar-perf3.dts]. Will use common dts file instead.

p=soc c=product state=0

p=soc c=platform state=0

p=soc c=target state=0

p=soc c=norflash state=0

p=soc c=power_sply state=0

p=soc c=power_ctrl state=0

p=soc c=card_boot state=0

p=soc c=pm_para state=0

p=soc c=card0_boot_para state=0

p=soc c=card2_boot_para state=0

p=soc c=twi_para state=0

p=soc c=uart_para state=0

p=soc c=jtag_para state=0

p=soc c=dram state=0

p=soc c=twi0 state=0

p=soc c=twi1 state=0

p=soc c=twi2 state=0

p=soc c=io_expand state=0

p=soc c=ir state=0

p=soc c=uart0 state=0

p=soc c=uart1 state=0

p=soc c=spi0 state=0

p=soc c=spi1 state=0

p=soc c=mmc_slot state=0

p=soc c=rtp_para state=0

p=soc c=ctp state=0

p=soc c=tkey_para state=0

p=soc c=motor_para state=0

p=soc c=nand0 state=0

p=soc c=disp state=0

p=soc c=lcd0 state=0

p=soc c=pwm0_para state=0

p=soc c=pwm1_para state=0

p=soc c=vip0 state=0

p=soc c=tvout_para state=0

p=soc c=tvin_para state=0

p=soc c=di state=0

p=soc c=sdc0 state=0

p=soc c=sdc1 state=0

p=soc c=smc state=0

p=soc c=usbc0 state=0

p=soc c=gsensor_para state=0

p=soc c=gps_para state=0

p=soc c=wlan state=0

p=soc c=gy_para state=0

p=soc c=ls_para state=0

p=soc c=compass_para state=0

p=soc c=bt_para state=0

p=soc c=audiospdif state=0

p=soc c=spdif_machine state=0

p=soc c=audiohdmi state=0

p=soc c=hdmi_machine state=0

p=soc c=pmu0 state=0

p=soc c=pmu0_regu state=0

p=soc c=dvfs_table state=0

p=soc c=Vdevice state=0

p=soc c=fel_key state=0

p=soc c=partitions state=0

p=partitions c=boot-res state=0

p=partitions c=env state=0

p=partitions c=boot state=0

p=partitions c=rootfs state=0

p=partitions c=rootfs_data state=0

p=partitions c=recovery state=0

p=partitions c=misc state=0

p=partitions c=private state=0

p=partitions c=UDISK state=0

Conver script to dts ok.

pack boot package

GetPrivateProfileSection read to end

content_count=3

toc1 file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/boot_package.fex

script file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_config.bin

cant get board_id_enable

script update toc1 ok

packing for tina linux

normal

mbr count = 4

partitation file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/sys_partition.bin

mbr_name file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/sunxi_mbr.fex

download_name file Path=/home/wwt/tina_v3.0.2/out/sitar-perf3/image/dlinfo.fex

mbr size = 4096

mbr magic softw411

disk name=boot-res

filename = boot-resource.fex

dl_file_size = 160 sector

part_size = 1024 sector

disk name=env

filename = env.fex

dl_file_size = 256 sector

part_size = 512 sector

disk name=boot

filename = boot.fex

dl_file_size = 6144 sector

part_size = 12288 sector

disk name=rootfs

filename = rootfs.fex

dl_file_size = 7168 sector

part_size = 16384 sector

disk name=rootfs_data

disk name=recovery

disk name=misc

disk name=private

disk name=UDISK

this is not a partition key

update_for_part_info 0

crc 0 = 6376917b

crc 1 = f6cbc026

crc 2 = 937d3580

crc 3 = 6c064dd

update mbr file ok

/home/wwt/tina_v3.0.2/out/host/bin/

/home/wwt/tina_v3.0.2/out/sitar-perf3/image

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=14000Add 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=300000Add partion rootfs.fex ROOTFS_FEX000000

Add partion very rootfs.fex ROOTFS_FEX000000

FilePath: rootfs.fex

FileLength=380000sys_config.fex Len: 0xb009

config.fex Len: 0x7400

split_xxxx.fex Len: 0x200

sys_partition.fex Len: 0xbdb

sunxi.fex Len: 0xc200

boot0_nand.fex Len: 0x4000

boot0_sdcard.fex Len: 0x8000

boot0_spinor.fex Len: 0x4000

u-boot.fex Len: 0xa0000

toc1.fex Len: 0x8

toc0.fex Len: 0x8

fes1.fex Len: 0x2d80

boot_package.fex Len: 0xb4000

usbtool.fex Len: 0x23600

aultools.fex Len: 0x2847b

aultls32.fex Len: 0x24d23

cardtool.fex Len: 0x11c00

cardscript.fex Len: 0x6de

sunxi_mbr.fex Len: 0x10000

dlinfo.fex Len: 0x4000

boot-resource.fex Len: 0x14000

Vboot-resource.fex Len: 0x4

env.fex Len: 0x20000

Venv.fex Len: 0x4

boot.fex Len: 0x300000

Vboot.fex Len: 0x4

rootfs.fex Len: 0x380000

Vrootfs.fex Len: 0x4

BuildImg 0

Dragon execute image.cfg SUCCESS !

----------image is at----------

/home/wwt/tina_v3.0.2/out/sitar-perf3/tina_sitar-perf3_uart0.img

pack finish

rootroot@cm88:/home/wwt/tina_v3.0.2$

rootroot@cm88:/home/wwt/tina_v3.0.2$

rootroot@cm88:/home/wwt/tina_v3.0.2$

猜你喜欢

转载自www.cnblogs.com/wb4916/p/9566465.html