add(system): Add new borad H13_PV.

This commit is contained in:
kangjun
2024-06-07 10:44:51 +08:00
parent 461754dd60
commit af06caa161
68 changed files with 18914 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[package]
;item=Item_TOC_name, Item_filename,
;item=scp, scp.fex
;item=optee, optee.fex
;item=u-boot, u-boot.fex
item=dtb, sunxi.fex
;item=logo, bootlogo.bmp.lzma
;item=shutdowncharge, bempty.bmp.lzma
;item=androidcharge, battery_charge.bmp.lzma

View File

@@ -0,0 +1,10 @@
[package]
;item=Item_TOC_name, Item_filename,
;item=scp, scp.fex
;item=optee, optee.fex
;item=u-boot, u-boot-spinor.fex
item=dtb, sunxi.fex
item=melis-elf, riscv.fex
;item=logo, bootlogo.bmp.lzma
;item=shutdowncharge, bempty.bmp.lzma
;item=androidcharge, battery_charge.bmp.lzma

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
root_partition=rootfs
boot_partition=boot
extend_partition=extend

View File

@@ -0,0 +1,97 @@
;/**************************************************************************/
;2010-06-09
;Sam
;image
;/**************************************************************************/
[MAIN_TYPE]
ITEM_COMMON = "COMMON "
ITEM_INFO = "INFO "
ITEM_BOOTROM = "BOOTROM "
ITEM_FES = "FES "
ITEM_FET = "FET "
ITEM_FED = "FED "
ITEM_FEX = "FEX "
ITEM_BOOT = "BOOT "
ITEM_ROOTFSFAT12 = "RFSFAT12"
ITEM_ROOTFSFAT16 = "RFSFAT16"
ITEM_ROOTFSFAT32 = "FFSFAT32"
ITEM_USERFSFAT12 = "UFSFAT12"
ITEM_USERFSFAT16 = "UFSFAT16"
ITEM_USERFSFAT32 = "UFSFAT32"
ITEM_PHOENIX_SCRIPT = "PXSCRIPT"
ITEM_PHOENIX_TOOLS = "PXTOOLS "
ITEM_AUDIO_DSP = "AUDIODSP"
ITEM_VIDEO_DSP = "VIDEODSP"
ITEM_FONT = "FONT "
ITEM_FLASH_DRV = "FLASHDRV"
ITEM_OS_CORE = "OS_CORE "
ITEM_DRIVER = "DRIVER "
ITEM_PIC = "PICTURE "
ITEM_AUDIO = "AUDIO "
ITEM_VIDEO = "VIDEO "
ITEM_APPLICATION = "APP "
[SUB_TYPE]
SUBTYPEdemo1 = "071228HWSXXXX100"
;-->071228 2007-12-28
;-->HWS hardware scan
;-->100 version 1.00
[DIR_DEF]
INPUT_DIR = "..\\"
[FILELIST]
;-->constant
{filename = "sys_config.fex", maintype = ITEM_COMMON, subtype = "SYS_CONFIG100000",},
{filename = "config.fex", maintype = ITEM_COMMON, subtype = "SYS_CONFIG_BIN00",},
{filename = "split_xxxx.fex", maintype = ITEM_COMMON, subtype = "SPLIT_0000000000",},
{filename = "sys_partition.fex",maintype = ITEM_COMMON, subtype = "SYS_CONFIG000000",},
{filename = "sunxi.fex", maintype = ITEM_COMMON, subtype = "DTB_CONFIG000000",},
;-->boot files
{filename = "boot0_sdcard.fex", maintype = "12345678", subtype = "1234567890BOOT_0",},
{filename = "boot0_spinor.fex", maintype = "12345678", subtype = "1234567890BNOR_0",},
{filename = "u-boot.fex", maintype = "12345678", subtype = "UBOOT_0000000000",},
{filename = "u-boot-crash.fex", maintype = "12345678", subtype = "UBOOT_CRASH_0000",},
{filename = "toc1.fex", maintype = "12345678", subtype = "TOC1_00000000000",},
{filename = "toc0.fex", maintype = "12345678", subtype = "TOC0_00000000000",},
{filename = "fes1.fex", maintype = ITEM_FES, subtype = "FES_1-0000000000",},
{filename = "boot_package.fex", maintype = "12345678", subtype = "BOOTPKG-00000000",},
{filename = "boot_package_nor.fex", maintype = "12345678", subtype = "BOOTPKG-NOR00000",},
{filename = "fastbootpkg_cardproduct.fex", maintype = "12345678",subtype = "BOOTPKG-CARDPROD",},
;-------------------------------usb download part-------------------------------------;
;-->usb tools
{filename = "usbtool.fex", maintype = "PXTOOLSB", subtype = "xxxxxxxxxxxxxxxx",},
{filename = "usbtool_crash.fex",maintype = "PXTOOLCH", subtype = "xxxxxxxxxxxxxxxx",},
{filename = "aultools.fex", maintype = "UPFLYTLS", subtype = "xxxxxxxxxxxxxxxx",},
{filename = "aultls32.fex", maintype = "UPFLTL32", subtype = "xxxxxxxxxxxxxxxx",},
;-------------------------------card download part----------------------------------------;
;-->card tools
{filename = "cardtool.fex", maintype = "12345678", subtype = "1234567890cardtl",},
{filename = "cardscript.fex", maintype = "12345678", subtype = "1234567890script",},
;-->other
{filename = "sunxi_gpt.fex", maintype = "12345678", subtype = "1234567890___GPT",},
{filename = "sunxi_mbr_nor.fex", maintype = "12345678", subtype = "1234567890___MBR",},
{filename = "dlinfo.fex", maintype = "12345678", subtype = "1234567890DLINFO",},
{filename = "arisc.fex", maintype = "12345678", subtype = "1234567890ARISC" ,},
[IMAGE_CFG]
version = 0x100234
pid = 0x00001234
vid = 0x00008743
hardwareid = 0x100
firmwareid = 0x100
bootromconfig = "bootrom_071203_00001234.cfg"
rootfsconfig = "rootfs.cfg"
;;imagename = "ePDKv100_nand.img"
filelist = FILELIST
imagename = ..\sun4i_test_evb.img
encrypt = 0

View File

@@ -0,0 +1,83 @@
;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
;---------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------
; 固件下载参数配置
;--------------------------------------------------------------------------------------------------
;****************************************************
; mbr的大小, 以Kbyte为单位
;****************************************************
[mbr]
size = 4096
;********************************************************************************************************
; 分区配置
;
;
; partition 定义范例:
; [partition] ; //表示是一个分区
; name = USERFS2 ; //分区名称
; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
; downloadfile = "123.fex" ; //下载文件的路径和名称可以使用相对路径相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
; keydata = 1 ; //私有数据分区,重新量产数据将不丢失
; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
; user_type = ? ; //私有用法
; verify = 1 ; //要求量产完成后校验是否正确
;
; 注1、name唯一, 不允许同名
; 2、name最大12个字符
; 3、size = 0, 将创建一个无大小的空分区
; 4、为了安全和效率考虑分区大小最好保证为16M字节的整数倍
;********************************************************************************************************
[partition_start]
[partition]
name = boot-res
size = 1024
downloadfile = "boot-resource.fex"
user_type = 0x8000
[partition]
name = env
size = 512
downloadfile = "env.fex"
user_type = 0x8000
[partition]
name = boot
;size = 4096
size = 12288
downloadfile = "boot.fex"
user_type = 0x8000
[partition]
name = rootfs
size = 18432
downloadfile = "rootfs.fex"
user_type = 0x8000
[partition]
name = rootfs_data
size = 102400
user_type = 0x8000
;[partition]
; name = recovery
; size = 12288
; user_type = 0x8000
;
;[partition]
; name = misc
; size = 512
; user_type = 0x8000
;
;[partition]
; name = private
; size = 512
; user_type = 0x8000
[partition]
name = UDISK
user_type = 0x8100

View File

@@ -0,0 +1,130 @@
;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
;---------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------
; 固件下载参数配置
;--------------------------------------------------------------------------------------------------
;****************************************************
; mbr的大小, 以Kbyte为单位
;****************************************************
[mbr]
size = 16
;********************************************************************************************************
; 分区配置
;
;
; partition 定义范例:
; [partition] ; //表示是一个分区
; name = USERFS2 ; //分区名称
; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
; downloadfile = "123.fex" ; //下载文件的路径和名称可以使用相对路径相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
; keydata = 1 ; //私有数据分区,重新量产数据将不丢失
; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
; user_type = ? ; //私有用法
; verify = 1 ; //要求量产完成后校验是否正确
;
; 注1、name唯一, 不允许同名
; 2、name最大12个字符
; 3、size = 0, 将创建一个无大小的空分区
; 4、为了安全和效率考虑分区大小最好保证为16M字节的整数倍
;********************************************************************************************************
[partition_start]
[partition]
name = env
size = 128
downloadfile = "env.fex"
user_type = 0x8000
[partition]
name = env-redund
size = 128
downloadfile = "env.fex"
user_type = 0x8000
[partition]
name = boot
size = 6016
downloadfile = "boot.fex"
user_type = 0x8000
[partition]
name = rootfs
size = 4608
downloadfile = "rootfs.fex"
user_type = 0x8000
[partition]
name = extend
size = 11520
downloadfile = "usr.fex"
user_type = 0x8000
;[partition]
; name = recovery
; size = 6400
; downloadfile = "recovery.fex"
; user_type = 0x8000
[partition]
name = rootfs_data
size = 1024
user_type = 0x8000
;[partition]
; name = env
; size = 128
; downloadfile = "env.fex"
; user_type = 0x8000
;
;[partition]
; name = boot
; size = 5760
; downloadfile = "boot.fex"
; user_type = 0x8000
;
;[partition]
; name = boot_backup
; size = 5760
; downloadfile = "boot.fex"
; user_type = 0x8000
;
;[partition]
; name = rootfs
; size = 5120
; downloadfile = "rootfs.fex"
; user_type = 0x8000
;
;[partition]
; name = rootfs_backup
; size = 5120
; downloadfile = "rootfs.fex"
; user_type = 0x8000
;
;[partition]
; name = extend
; size = 13056
; downloadfile = "usr.fex"
; user_type = 0x8000
;
;[partition]
; name = extend_backup
; size = 13056
; downloadfile = "usr.fex"
; user_type = 0x8000
;
;;[partition]
;; name = recovery
;; size = 6400
;; downloadfile = "recovery.fex"
;; user_type = 0x8000
;
;[partition]
; name = rootfs_data
; size = 1024
; user_type = 0x8000