编译环境 ubuntu 20.04
离线
whycan@ubuntu:/opt/D1/tina_d1_open$ pack
--==========--
PACK_CHIP sun20iw1p1
PACK_PLATFORM tina
PACK_BOARD d1-f133evb1_rgb800x480
PACK_KERN
PACK_DEBUG uart0
PACK_SIG none
PACK_SECURE none
PACK_MODE normal
PACK_FUNC android
PACK_PROGRAMMER none
PACK_TAR_IMAGE none
PACK_TOPDIR /opt/D1/tina_d1_open
--==========--
No kernel param, parse it from d1
copying tools file
copying configs file
storage_type value is 1
rm /opt/D1/tina_d1_open/out/d1-f133evb1_rgb800x480/image/sys_partition_nor.fex
rm /opt/D1/tina_d1_open/out/d1-f133evb1_rgb800x480/image/image_nor.cfg
copying boot resource
LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
copying boot file
make user resource for : /opt/D1/tina_d1_open/out/d1-f133evb1_rgb800x480/image/sys_partition.fex
handle partition user-res
no user resource partitions
APP_PART_DOWNLOAD_FILE = /opt/D1/tina_d1_open/out/d1-f133evb1_rgb800x480/image/app.fex
Need size of filesystem
no data resource partitions
don't build dtbo ...
update_chip
pack boot package
GetPrivateProfileSection read to end
content_count=3
LICHEE_REDUNDANT_ENV_SIZE config in BoardConfig.mk
--mkenvimage create redundant env data!--
---redundant env data size 0x20000---
packing for tina linux
normal
this is not a partition key
gpt_head->header_crc32 = 0x5277aea2
GPT----part num 8---
gpt_entry: 128
gpt_header: 92
GPT:boot-resource: 1f8 2177
GPT:env : 2178 236f
GPT:env-redund : 2370 2567
GPT:boot : 2568 761f
GPT:rootfs : 7620 11597
GPT:dsp0 : 11598 11987
GPT:recovery : 11988 187c7
GPT:UDISK : 187c8 187d7
update gpt file ok
update mbr file ok
====================================
show "sys_partition_for_dragon.fex" message
------------------------------------
[mbr]
mbr_size : 252 Kbyte
------------------------------------
partition_name : boot-resource
partition_size : 8064
downloadfile : boot-resource.fex
boot-resource.fex size : 343K byte
------------------------------------
partition_name : env
partition_size : 504
downloadfile : env.fex
env.fex size : 128K byte
------------------------------------
partition_name : env-redund
partition_size : 504
downloadfile : env.fex
env.fex size : 128K byte
------------------------------------
partition_name : boot
partition_size : 20664
downloadfile : boot.fex
boot.fex -> /opt/D1/tina_d1_open/out/d1-f133evb1_rgb800x480/boot.img
boot.img size : 9.2M byte
------------------------------------
partition_name : rootfs
partition_size : 40824
downloadfile : rootfs.fex
rootfs.fex -> /opt/D1/tina_d1_open/out/d1-f133evb1_rgb800x480/rootfs.img
rootfs.img size : 17M byte
------------------------------------
partition_name : dsp0
partition_size : 1008
downloadfile : dsp0.fex
dsp0.fex size : 258K byte
------------------------------------
partition_name : recovery
partition_size : 28224
------------------------------------
/opt/D1/tina_d1_open/out/host/bin/
/opt/D1/tina_d1_open/out/d1-f133evb1_rgb800x480/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=55c00Add 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=926000Add partion rootfs.fex ROOTFS_FEX000000
Add partion very rootfs.fex ROOTFS_FEX000000
FilePath: rootfs.fex
FileLength=1040000Add partion dsp0.fex DSP0_FEX00000000
Add partion very dsp0.fex DSP0_FEX00000000
FilePath: dsp0.fex
FileLength=4059csys_config.fex Len: 0x4ec6
config.fex Len: 0x6c00
board.fex Len: 0x400
split_xxxx.fex Len: 0x200
sys_partition.fex Len: 0xbe3
sunxi.fex Len: 0xd200
boot0_nand.fex Len: 0x10000
boot0_sdcard.fex Len: 0x10000
u-boot.fex Len: 0xdc000
u-boot-crash.fex Len: 0x25
toc1.fex Len: 0x8
toc0.fex Len: 0x8
fes1.fex Len: 0xa560
boot_package.fex Len: 0xfc000
usbtool.fex Len: 0x24e00
usbtool_crash.fex Len: 0x1ec00
aultools.fex Len: 0x28a73
aultls32.fex Len: 0x25205
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: 0xf
vmlinux.fex Len: 0x8
tinaconf.fex Len: 0xe2a3
boot-resource.fex Len: 0x55c00
Vboot-resource.fex Len: 0x4
env.fex Len: 0x20000
Venv.fex Len: 0x4
env.fex Len: 0x20000
Venv.fex Len: 0x4
boot.fex Len: 0x926000
Vboot.fex Len: 0x4
rootfs.fex Len: 0x1040000
Vrootfs.fex Len: 0x4
dsp0.fex Len: 0x4059c
Vdsp0.fex Len: 0x4
BuildImg 0
Dragon execute image.cfg SUCCESS !
----------image is for nand/emmc----------
----------image is at----------
/opt/D1/tina_d1_open/out/d1-f133evb1_rgb800x480/tina_d1-f133evb1_rgb800x480_uart0.img
pack finish
离线
执行 mkernel , 看有没有生成上面缺的 dtb 文件?
没有生成,我打算再重新试一次!
最近编辑记录 来一颗糖 (2021-10-15 13:30:42)
离线
//吗,不是/ ? //在linux中代表什么,我不懂
离线
来一颗糖 说://吗,不是/ ? //在linux中代表什么,我不懂
这个路径确实有问题,但是我能 cd 进去,然后里面确实没有这个 board.dtb 文件。:o
离线
OK 了,换 ubuntu14 。
离线