$ ./build.sh pack
generate rootfs now, it will takes several minutes and log in out/
generate rootfs has finished!
Start packing for Lichee system
All valid chips:
0. sun6i
Please select a chip:0
All valid platforms:
0. android
1. dragonboard
2. linux
Please select a platform:2
All valid boards:
0. aw_w01
1. aw_w02
2. evb
3. melea1000g
4. melem7
5. qc
Please select a board:4
sun6i linux melem7
!!!Packing for linux!!!
‘chips/sun6i/configs/linux/default/env.cfg’ -> ‘out/env.cfg’
‘chips/sun6i/configs/linux/default/image.cfg’ -> ‘out/image.cfg’
‘chips/sun6i/configs/linux/default/sys_partition.fex’ -> ‘out/sys_partition.fex’
‘chips/sun6i/configs/linux/default/sys_partition_private.fex’ -> ‘out/sys_partition_private.fex’
‘chips/sun6i/configs/linux/melem7/sys_config.fex’ -> ‘out/sys_config.fex’
‘/home/rah/pengpod/sdk-3.2/lichee/out/u-boot.bin’ -> ‘bootfs/linux/u-boot.bin’
argc = 2
input name sys_config.fex
Script 1 source file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_config.fex
Script 1 bin file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_config.bin
parser 1 file ok
argc = 2
input name sys_partition.fex
Script 1 source file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_partition.fex
Script 1 bin file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_partition.bin
parser 1 file ok
boot0 file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/boot0_nand.bin
script file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_config.bin
script update boot0 ok
boot0 file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/boot0_sdcard.fex
script file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_config.bin
script update boot0 ok
uboot file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/boot1_nand.fex
script file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_config.bin
boot1 length = 68000
total length = 74000
checksum=ed38423d
uboot file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/boot1_sdcard.fex
script file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_config.bin
boot1 length = 40000
total length = 4c000
checksum=b8e99751
mbr count = 4
partitation file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sys_partition.bin
mbr_name file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/sunxi_mbr.fex
download_name file Path=/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/dlinfo.fex
mbr size = 16384
mbr magic softw411
disk name=bootloader
disk name=env
disk name=boot
disk name=rootfs
this is not a partition key
update_for_part_info 0
crc 0 = 88d1a49b
crc 1 = 1d6cf5c6
crc 2 = 78da0060
crc 3 = ed67513d
update mbr file ok
disk : c
CopyRootToFS(/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out/bootfs)
c:\magic.bin
find magic !!
RealLen=0x1E3C00
CPlugin Free lib
CPlugin Free lib
/store/rah/pengpod/sdk-3.2/lichee/tools/pack/pctools/linux/eDragonEx/
/store/rah/pengpod/sdk-3.2/lichee/tools/pack/out
Begin Parse sys_partion.fex
Add partion bootloader.fex BOOTLOADER_FEX00
Add partion very bootloader.fex BOOTLOADER_FEX00
FilePath: bootloader.fex
FileLength=1e3c00 FileSizeHigh=0
Add partion env.fex ENV_FEX000000000
Add partion very env.fex ENV_FEX000000000
FilePath: env.fex
FileLength=20000 FileSizeHigh=0
Add partion boot.fex BOOT_FEX00000000
Add partion very boot.fex BOOT_FEX00000000
FilePath: boot.fex
FileLength=bc1000 FileSizeHigh=0
Add partion rootfs.fex ROOTFS_FEX000000
Add partion very rootfs.fex ROOTFS_FEX000000
FilePath: rootfs.fex
FileLength=2755400 FileSizeHigh=0
BuildImg 0
Dragon execute image.cfg SUCCESS !
---------image is at-------------
[0;31;1m
/home/rah/pengpod/sdk-3.2/lichee/tools/pack/sun6i_linux_melem7.img
[0m
rah@myrtle-ubu:~/pengpod/sdk-3.2/lichee$ ls -l tools/pack/out/bootfs
total 1669
-rwxrwxr-x 1 rah rah 85700 Sep 14 21:43 boot.axf
-rwxrwxr-x 1 rah rah 106 Sep 14 21:43 boot.ini
-rwxrwxr-x 1 rah rah 296936 Sep 14 21:43 drv_de.drv
-rwxrwxr-x 1 rah rah 344813 Sep 14 21:43 font24.sft
-rwxrwxr-x 1 rah rah 357443 Sep 14 21:43 font32.sft
drwxrwxr-x 2 rah rah 144 Sep 14 21:43 linux
drwxrwxr-x 2 rah rah 776 Sep 14 21:43 os_show
-rwxrwxr-x 1 rah rah 247544 Sep 14 21:43 prvt.axf
-rw-rw-r-- 1 rah rah 35168 Sep 14 21:43 script.bin
-rwxrwxr-x 1 rah rah 320220 Sep 14 21:43 sprite.axf
rah@myrtle-ubu:~/pengpod/sdk-3.2/lichee$ ls /media/rah/Volumn/ -l
total 1662
-rw-r--r-- 1 rah rah 85700 Jan 1 1980 boot.axf
-rw-r--r-- 1 rah rah 106 Jan 1 1980 boot.ini
-rw-r--r-- 1 rah rah 296936 Jan 1 1980 drv_de.drv
-rw-r--r-- 1 rah rah 344813 Jan 1 1980 font24.sft
-rw-r--r-- 1 rah rah 357443 Jan 1 1980 font32.sft
-rw-r--r-- 1 rah rah 144 Jan 1 1980 linux
-rw-r--r-- 1 rah rah 512 Jan 1 1980 magic.bin
-rw-r--r-- 1 rah rah 776 Jan 1 1980 os_show
-rw-r--r-- 1 rah rah 247544 Jan 1 1980 prvt.axf
-rw-r--r-- 1 rah rah 35168 Jan 1 1980 script.bin
-rw-r--r-- 1 rah rah 320220 Jan 1 1980 sprite.axf
rah@myrtle-ubu:~/pengpod/sdk-3.2/lichee$ hexdump -C /media/rah/Volumn/linux
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000090
rah@myrtle-ubu:~/pengpod/sdk-3.2/lichee$ hexdump -C /media/rah/Volumn/os_show
00000000 01 00 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 |................|
00000010 00 00 00 00 05 00 00 00 05 00 00 00 01 00 00 00 |................|
00000020 ff ff ff ff ff ff ff ff 01 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 05 00 00 00 04 00 00 00 01 00 00 00 |................|
00000040 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 |................|
00000050 05 00 00 00 05 00 00 00 01 00 00 00 ff ff ff ff |................|
00000060 ff ff ff ff 01 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 01 00 00 00 02 00 00 00 04 00 00 00 |................|
00000090 06 00 00 00 02 00 00 00 02 00 00 00 01 00 00 00 |................|
000000a0 02 00 00 00 ff ff ff ff 06 00 00 00 03 00 00 00 |................|
000000b0 02 00 00 00 01 00 00 00 02 00 00 00 ff ff ff ff |................|
000000c0 06 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 |................|
000000d0 02 00 00 00 ff ff ff ff 06 00 00 00 00 00 00 00 |................|
000000e0 02 00 00 00 01 00 00 00 02 00 00 00 ff ff ff ff |................|
000000f0 06 00 00 00 05 00 00 00 02 00 00 00 01 00 00 00 |................|
00000100 02 00 00 00 ff ff ff ff 06 00 00 00 04 00 00 00 |................|
00000110 02 00 00 00 01 00 00 00 02 00 00 00 ff ff ff ff |................|
00000120 01 00 00 00 08 00 00 00 06 00 00 00 01 00 00 00 |................|
00000130 02 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 6e 6f 6e 65 00 00 00 00 04 00 00 00 |....none........|
00000150 04 00 00 00 07 00 00 00 00 00 00 00 02 00 00 00 |................|
00000160 01 00 00 00 02 00 00 00 ff ff ff ff 07 00 00 00 |................|
00000170 01 00 00 00 02 00 00 00 01 00 00 00 02 00 00 00 |................|
00000180 ff ff ff ff 07 00 00 00 02 00 00 00 02 00 00 00 |................|
00000190 01 00 00 00 02 00 00 00 ff ff ff ff 07 00 00 00 |................|
000001a0 03 00 00 00 02 00 00 00 01 00 00 00 02 00 00 00 |................|
000001b0 ff ff ff ff 07 00 00 00 04 00 00 00 02 00 00 00 |................|
000001c0 01 00 00 00 02 00 00 00 ff ff ff ff 07 00 00 00 |................|
000001d0 05 00 00 00 02 00 00 00 01 00 00 00 02 00 00 00 |................|
000001e0 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 01 00 00 00 6e 6f 6e 65 00 00 00 00 03 00 00 00 |....none........|
00000200 08 00 00 00 03 00 00 00 07 00 00 00 03 00 00 00 |................|
00000210 01 00 00 00 02 00 00 00 ff ff ff ff 03 00 00 00 |................|
00000220 06 00 00 00 03 00 00 00 01 00 00 00 02 00 00 00 |................|
00000230 ff ff ff ff 03 00 00 00 08 00 00 00 03 00 00 00 |................|
00000240 01 00 00 00 02 00 00 00 ff ff ff ff 03 00 00 00 |................|
00000250 09 00 00 00 03 00 00 00 01 00 00 00 02 00 00 00 |................|
00000260 ff ff ff ff 03 00 00 00 0a 00 00 00 03 00 00 00 |................|
00000270 01 00 00 00 02 00 00 00 ff ff ff ff 03 00 00 00 |................|
00000280 0b 00 00 00 03 00 00 00 01 00 00 00 02 00 00 00 |................|
00000290 ff ff ff ff 03 00 00 00 0c 00 00 00 03 00 00 00 |................|
000002a0 01 00 00 00 02 00 00 00 ff ff ff ff 03 00 00 00 |................|
000002b0 0d 00 00 00 03 00 00 00 01 00 00 00 02 00 00 00 |................|
000002c0 ff ff ff ff 03 00 00 00 0e 00 00 00 03 00 00 00 |................|
000002d0 01 00 00 00 02 00 00 00 ff ff ff ff 03 00 00 00 |................|
000002e0 0f 00 00 00 03 00 00 00 01 00 00 00 02 00 00 00 |................|
000002f0 ff ff ff ff 03 00 00 00 18 00 00 00 03 00 00 00 |................|
00000300 01 00 00 00 02 00 00 00 |........|
00000308