• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1;/**************************************************************************/
2;2010-06-09
3;Sam
4;image config
5;/**************************************************************************/
6
7;Main type, 8 bytes
8[MAIN_TYPE]
9ITEM_COMMON         = "COMMON  "
10ITEM_INFO           = "INFO    "
11ITEM_BOOTROM        = "BOOTROM "
12ITEM_FES            = "FES     "
13ITEM_FET            = "FET     "
14ITEM_FED            = "FED     "
15ITEM_FEX            = "FEX     "
16ITEM_BOOT           = "BOOT    "
17ITEM_ROOTFSFAT12    = "RFSFAT12"
18ITEM_ROOTFSFAT16    = "RFSFAT16"
19ITEM_ROOTFSFAT32    = "FFSFAT32"
20ITEM_USERFSFAT12    = "UFSFAT12"
21ITEM_USERFSFAT16    = "UFSFAT16"
22ITEM_USERFSFAT32    = "UFSFAT32"
23ITEM_PHOENIX_SCRIPT = "PXSCRIPT"
24ITEM_PHOENIX_TOOLS  = "PXTOOLS "
25ITEM_AUDIO_DSP      = "AUDIODSP"
26ITEM_VIDEO_DSP      = "VIDEODSP"
27ITEM_FONT           = "FONT    "
28ITEM_FLASH_DRV      = "FLASHDRV"
29ITEM_OS_CORE        = "OS_CORE "
30ITEM_DRIVER         = "DRIVER  "
31ITEM_PIC            = "PICTURE "
32ITEM_AUDIO          = "AUDIO   "
33ITEM_VIDEO          = "VIDEO   "
34ITEM_APPLICATION    = "APP     "
35
36;Sub type, 16 bytes, this is a demo, you can define your own sub type here
37[SUB_TYPE]
38SUBTYPEdemo1 = "071228HWSXXXX100"
39;-->071228 2007-12-28
40;-->HWS hardware scan
41;-->XXXX define by yourself
42;-->100 version 1.00
43
44;Dir
45[DIR_DEF]
46INPUT_DIR = "..\\"
47
48;Filelist
49[FILELIST]
50;------------------------------Attention!Don't change the maintype and subtype-----------------------------;
51    ;----------------------------------------publish part--------------------------------------------------;
52
53    ;--> Necessary,don't touch
54    {filename = "sys_config.fex",   maintype = ITEM_COMMON,       subtype = "SYS_CONFIG100000",},
55    {filename = "board.fex",        maintype = ITEM_COMMON,       subtype ="BOARD_CONFIG_BIN",},
56    {filename = "config.fex",       maintype = ITEM_COMMON,       subtype = "SYS_CONFIG_BIN00",},
57    {filename = "split_xxxx.fex",   maintype = ITEM_COMMON,       subtype = "SPLIT_0000000000",},
58    {filename = "sys_partition.fex",maintype = ITEM_COMMON,       subtype = "SYS_CONFIG000000",},
59    {filename = "sunxi.fex",        maintype = ITEM_COMMON,       subtype = "DTB_CONFIG000000",},
60
61    ;--> Files for boot
62    {filename = "boot0_nand.fex",   maintype = ITEM_BOOT,         subtype = "BOOT0_0000000000",},
63    {filename = "boot0_sdcard.fex", maintype = "12345678",        subtype = "1234567890BOOT_0",},
64    {filename = "u-boot.fex",   	maintype = "12345678",        subtype = "UBOOT_0000000000",},
65    {filename = "u-boot-crash.fex", maintype = "12345678",        subtype = "UBOOT_CRASH_0000",},
66    {filename = "toc1.fex",     	maintype = "12345678",        subtype = "TOC1_00000000000",},
67    {filename = "toc0.fex",     	maintype = "12345678",        subtype = "TOC0_00000000000",},
68    {filename = "fes1.fex",         maintype = ITEM_FES,          subtype = "FES_1-0000000000",},
69    {filename = "boot_package.fex", maintype = "12345678",        subtype = "BOOTPKG-00000000",},
70
71    ;------------------------------------------usb part----------------------------------------------------;
72    ;--> Some tools
73    {filename = "usbtool.fex",      maintype = "PXTOOLSB",        subtype = "xxxxxxxxxxxxxxxx",},
74    {filename = "usbtool_crash.fex",maintype = "PXTOOLCH",        subtype = "xxxxxxxxxxxxxxxx",},
75    {filename = "aultools.fex",     maintype = "UPFLYTLS",        subtype = "xxxxxxxxxxxxxxxx",},
76    {filename = "aultls32.fex",     maintype = "UPFLTL32",        subtype = "xxxxxxxxxxxxxxxx",},
77
78    ;------------------------------------------card part---------------------------------------------------;
79    ;--> Tools for PC,don't touch
80    {filename = "cardtool.fex",     maintype = "12345678",        subtype = "1234567890cardtl",},
81    {filename = "cardscript.fex",   maintype = "12345678",        subtype = "1234567890script",},
82
83    ;--> Files for burn into the card
84    {filename = "sunxi_mbr.fex",       maintype = "12345678",        subtype = "1234567890___MBR",},
85    {filename = "dlinfo.fex",          maintype = "12345678",        subtype = "1234567890DLINFO",},
86    {filename = "arisc.fex",           maintype = "12345678",        subtype = "1234567890ARISC" ,},
87    ;-------------------------------------------others-----------------------------------------------------;
88
89;------------------------------Attention!Don't change the maintype and subtype-----------------------------;
90
91;Messages of the image
92[IMAGE_CFG]
93version = 0x100234                ;-->Image version
94pid = 0x00001234                  ;-->Product ID
95vid = 0x00008743                  ;-->Supplier ID
96hardwareid = 0x100                ;-->Hardware ID bootrom
97firmwareid = 0x100                ;-->Firmware ID bootrom
98bootromconfig = "bootrom_071203_00001234.cfg"
99rootfsconfig = "rootfs.cfg"
100;;imagename = "ePDKv100_nand.img"
101filelist = FILELIST
102imagename = ..\sun4i_test_evb.img
103encrypt = 0                       ;-->Set 1 to enable encrypt
104
105