dragonboard: add m64_hdmi target and fix dts pack warning
Signed-off-by: August <mingxin.android@gmail.com>
This commit is contained in:
parent
655e737934
commit
952fb9ce7d
9 changed files with 3866 additions and 1 deletions
|
@ -4,7 +4,8 @@ dtb-$(CONFIG_ARCH_SUN50IW3P1) += sun50iw3p1-fpga.dtb sun50iw3p1-soc.dtb \
|
|||
|
||||
dtb-$(CONFIG_ARCH_SUN50IW1P1) += sun50iw1p1-fpga.dtb sun50iw1p1-perf1_v1_0.dtb \
|
||||
sun50iw1p1-perf2_v1_0.dtb sun50iw1p1-t1.dtb \
|
||||
sun50iw1p1-sata.dtb sun50iw1p1-soc.dtb
|
||||
sun50iw1p1-sata.dtb sun50iw1p1-soc.dtb \
|
||||
sun50iw1p1-m64_hdmi.dtb sun50iw1p1-m64.dtb
|
||||
|
||||
dtb-$(CONFIG_ARCH_SUN50IW6P1) += sun50iw6p1-soc.dtb
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Allwinner Technology CO., Ltd. sun50iw1p1 fpga board.
|
||||
*
|
||||
* fpga board support.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sun50iw1p1.dtsi"
|
||||
|
||||
/{
|
||||
|
||||
soc@01c00000 {
|
||||
|
||||
};
|
||||
};
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Allwinner Technology CO., Ltd. sun50iw1p1 fpga board.
|
||||
*
|
||||
* fpga board support.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sun50iw1p1.dtsi"
|
||||
|
||||
/{
|
||||
|
||||
soc@01c00000 {
|
||||
|
||||
};
|
||||
};
|
BIN
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/bootlogo.bmp
Executable file
BIN
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/bootlogo.bmp
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.5 MiB |
1648
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/sys_config.fex
Normal file
1648
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/sys_config.fex
Normal file
File diff suppressed because it is too large
Load diff
1655
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/sys_config_linux-4.9.fex
Executable file
1655
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/sys_config_linux-4.9.fex
Executable file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,134 @@
|
|||
;---------------------------------------------------------------------------------------------------
|
||||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
; 固件下载参数配置
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
;***************************************************************************************************
|
||||
; mbr的大小, 以Kbyte为单位
|
||||
;***************************************************************************************************
|
||||
[mbr]
|
||||
size = 16384
|
||||
|
||||
;***************************************************************************************************
|
||||
; 分区配置
|
||||
;
|
||||
;
|
||||
; 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]
|
||||
|
||||
;------------------------------>mmcblk0p2/nanda
|
||||
[partition]
|
||||
name = bootloader
|
||||
size = 65536
|
||||
downloadfile = "boot-resource.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>mmcblk0p5/nandb
|
||||
[partition]
|
||||
name = env
|
||||
size = 32768
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>mmcblk0p6/nandc
|
||||
[partition]
|
||||
name = boot
|
||||
size = 65536
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>mmcblk0p7/nandd
|
||||
[partition]
|
||||
name = system
|
||||
size = 3145728
|
||||
downloadfile = "system.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>
|
||||
[partition]
|
||||
name = vendor
|
||||
size = 614400
|
||||
downloadfile = "vendor.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>
|
||||
[partition]
|
||||
name = misc
|
||||
size = 32768
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>
|
||||
[partition]
|
||||
name = recovery
|
||||
size = 65536
|
||||
downloadfile = "recovery.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>
|
||||
[partition]
|
||||
name = cache
|
||||
size = 1048576
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>store encryptable
|
||||
[partition]
|
||||
name = metadata
|
||||
size = 32768
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>data image private
|
||||
[partition]
|
||||
name = private
|
||||
size = 32768
|
||||
ro = 0
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>frp
|
||||
[partition]
|
||||
name = frp
|
||||
size = 1024
|
||||
ro = 0
|
||||
user_type = 0x8000
|
||||
keydata = 0x8000
|
||||
|
||||
;------------------------------>empty
|
||||
[partition]
|
||||
name = empty
|
||||
size = 31744
|
||||
ro = 0
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>device tree overlay
|
||||
[partition]
|
||||
name = dto
|
||||
size = 32768
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>media_data
|
||||
[partition]
|
||||
name = media_data
|
||||
size = 32768
|
||||
user_type = 0x8000
|
||||
|
||||
;------------------------------>UDISK
|
||||
[partition]
|
||||
name = UDISK
|
||||
user_type = 0x8100
|
||||
|
395
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/test_config.fex
Executable file
395
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/test_config.fex
Executable file
|
@ -0,0 +1,395 @@
|
|||
;-------------------------------------------------------------------------------
|
||||
; 测试模块配置示例
|
||||
;
|
||||
; [example]
|
||||
; display_name= "Example"
|
||||
; activated = 1
|
||||
; program = "example.sh"
|
||||
; category = 0
|
||||
; run_type = 1
|
||||
;
|
||||
; display_name
|
||||
; 显示到界面的名称,字符串类型,如果需要显示双引号,可以使用以下语法:
|
||||
; display_name= string:"Example"
|
||||
; 区别在于后者会显示"string:"后面所有的字符,包括空格和制表符。该项能够容纳
|
||||
; 64个英文字符,32个中文字符。如果display_name为空,测试程序不会运行。
|
||||
;
|
||||
; activated
|
||||
; 0: 不测试该模块
|
||||
; 1: 测试该模块
|
||||
;
|
||||
; program
|
||||
; 模块的测试程序,该项能够容纳16个英文字符。
|
||||
;
|
||||
; category
|
||||
; 0: 自动化测试模块
|
||||
; 1: 手动测试模块
|
||||
;
|
||||
; run_type
|
||||
; 0: 等待当前模块的测试程序执行完毕再运行下一个模块的测试程序
|
||||
; 1: 不等待当前模块的测试程序执行完毕
|
||||
; 一般为了提高整体的测试速度,对于耗时较长的测试程序建议填0,反之填1;注意,当
|
||||
; category = 1,即手动测试模块时,该项无效。
|
||||
;-------------------------------------------------------------------------------
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; test_size
|
||||
; unit: MB
|
||||
;-------------------------------------------------------------------------------
|
||||
[dram]
|
||||
display_name= "内存"
|
||||
activated = 1
|
||||
program = "memtester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
dram_size = 1024
|
||||
test_size = 8
|
||||
platform = "sun50iw1p1"
|
||||
|
||||
[rtc]
|
||||
display_name= "时钟"
|
||||
activated = 1
|
||||
program = "rtctester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; module_path: The full path of wifi module file
|
||||
; module_args: The arguments of wifi module (brcm module need this arg)
|
||||
;-------------------------------------------------------------------------------
|
||||
[wifi]
|
||||
display_name= "网络"
|
||||
activated = 1
|
||||
program = "wifitester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
module_count= 1
|
||||
module_path = "/system/vendor/modules/bcmdhd.ko"
|
||||
module_args = "nvram_path=/system/vendor/modules/nvram_ap6212.txt"
|
||||
|
||||
[ethernet]
|
||||
display_name= "乙太網"
|
||||
activated = 1
|
||||
program = "nettester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
module_path =
|
||||
module_args =
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; module_path
|
||||
; The full path of g-sensor module file.
|
||||
; device_name
|
||||
; The name of g-sensor device.
|
||||
;-------------------------------------------------------------------------------
|
||||
[gsensor]
|
||||
display_name= "重力感应器"
|
||||
activated = 0
|
||||
program = "gsensortester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
module_count= 1
|
||||
module1_path= "/system/vendor/modules/bma250.ko"
|
||||
device_name = "bma250"
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; module_path
|
||||
; The full path of gyro module file.
|
||||
; device_name
|
||||
; The name of gyro device.
|
||||
;-------------------------------------------------------------------------------
|
||||
[gyro]
|
||||
display_name= "陀螺仪"
|
||||
activated = 0
|
||||
program = "gyrotester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
module_count= 1
|
||||
module1_path= "/system/vendor/modules/lsm9ds0_gyr.ko"
|
||||
device_name = "lsm9ds0_gyr"
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; module_path
|
||||
; The full path of e-compass module file.
|
||||
; device_name
|
||||
; The name of e-compass device.
|
||||
;-------------------------------------------------------------------------------
|
||||
[compass]
|
||||
display_name= "指南针"
|
||||
activated = 0
|
||||
program = "compasstester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
module_count= 1
|
||||
module1_path=
|
||||
device_name = "lsm9ds0_mag"
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; test_size
|
||||
; Test size for nand read and write test.
|
||||
;-------------------------------------------------------------------------------
|
||||
[nand]
|
||||
display_name= "闪存"
|
||||
activated = 0
|
||||
program = "nandtester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
module_path= "/system/vendor/modules/nand.ko"
|
||||
test_size = 16
|
||||
|
||||
[emmc]
|
||||
display_name= "emmc闪存"
|
||||
activated = 1
|
||||
program = "emmctester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
test_size = 128
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; dst_bt: The destination bt device to search when run test (not essential)
|
||||
; module_path: The full path of bt module file (brcm module need this arg)
|
||||
; device_node: The AP's hardware communication port to bt module
|
||||
; baud_rate: The baud_rate of bt module when run test (not essential)
|
||||
; bt_vnd: The bt module vendor, support broadcom/realtek
|
||||
; rtk_bt_chip: The bt chip name (rtk module need this arg)
|
||||
;-------------------------------------------------------------------------------
|
||||
[bluetooth]
|
||||
display_name= "蓝牙"
|
||||
activated = 1
|
||||
program = "bttester.sh"
|
||||
test_time = 3
|
||||
category = 0
|
||||
dst_bt = ":"
|
||||
run_type = 1
|
||||
module_path = "/system/vendor/modules/bcm43438a1.hcd"
|
||||
device_node = "/dev/ttyS1"
|
||||
baud_rate = 1500000
|
||||
bt_vnd = "broadcom"
|
||||
;rtk_bt_chip = "rtl8723cs_xx"
|
||||
|
||||
[mmc]
|
||||
display_name= "SDCard"
|
||||
activated = 1
|
||||
program = "mmctester.sh"
|
||||
category = 1
|
||||
run_type = 1
|
||||
|
||||
[udisk]
|
||||
display_name= "U盘"
|
||||
activated = 1
|
||||
program = "udisktester.sh"
|
||||
category = 1
|
||||
run_type = 1
|
||||
|
||||
[Usb_HOST1]
|
||||
display_name= "USB主机1"
|
||||
activated = 0
|
||||
program = "host1tester.sh"
|
||||
category = 1
|
||||
run_type = 1
|
||||
|
||||
[Usb_HOST2]
|
||||
display_name= "USB主机2"
|
||||
activated = 0
|
||||
program = "host2tester.sh"
|
||||
category = 1
|
||||
run_type = 1
|
||||
|
||||
[Usb_OTG]
|
||||
display_name= "USB_OTG"
|
||||
activated = 0
|
||||
program = "otgtester.sh"
|
||||
category = 1
|
||||
run_type = 1
|
||||
;-------------------------------------------------------------------------------
|
||||
; sound_file
|
||||
; The full path of sound file.
|
||||
; samplerate
|
||||
; The samplerate of sound file.
|
||||
; support_mode
|
||||
; 0 : 480I
|
||||
; 1 : 576I
|
||||
; 2 : 480P
|
||||
; 3 : 576P
|
||||
; 4 : 720P 50HZ
|
||||
; 5 : 720P 60HZ
|
||||
; 6 : 1080I 50HZ
|
||||
; 7 : 1080I 60HZ
|
||||
; 8 : 1080P 24HZ
|
||||
; 9 : 1080P 50HZ
|
||||
; 10: 1080P 60HZ
|
||||
;-------------------------------------------------------------------------------
|
||||
[hdmi]
|
||||
display_name= "HDMI"
|
||||
activated = 0
|
||||
program = "hdmitester.sh"
|
||||
category = 1
|
||||
run_type = 1
|
||||
sound_file = "/dragonboard/data/test48000.pcm"
|
||||
samplerate = 48000
|
||||
support_mode= 2
|
||||
module_count= 1
|
||||
module1_path= "/system/vendor/modules/hdmi.ko"
|
||||
;-------------------------------------------------------------------------------
|
||||
; module_path
|
||||
; The full path of key module file.
|
||||
;-------------------------------------------------------------------------------
|
||||
[key]
|
||||
display_name= "按键"
|
||||
activated = 0
|
||||
program = "keytester"
|
||||
category = 1
|
||||
run_type = 1
|
||||
module_path =
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; module_path
|
||||
; The full path of ir module file.
|
||||
;-------------------------------------------------------------------------------
|
||||
[ir]
|
||||
display_name= "红外"
|
||||
activated = 1
|
||||
program = "irtester"
|
||||
category = 1
|
||||
run_type = 1
|
||||
module_path = "/system/vendor/modules/sunxi-ir-rx.ko"
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; delay
|
||||
; delay ? second before recording
|
||||
; volume:
|
||||
; the output volume,range from 0 to 63
|
||||
; music_playtime:
|
||||
; music playback time in secend before recording
|
||||
; sound_file:
|
||||
; the sound_file you want to play
|
||||
; samplerate:
|
||||
; the sound file samplerate
|
||||
; micx_gain:
|
||||
; input gain for mic1 or mic2
|
||||
; 0:0db,1:35db;2:38db;3:41db
|
||||
; micx_used:
|
||||
; the mic you want to test
|
||||
; micx_threshold:
|
||||
; the mic data threshold.the test will be pass when the capture data above this value
|
||||
;------------------------------------------------------------------------------------
|
||||
[mic]
|
||||
display_name= "录音耳机"
|
||||
activated = 1
|
||||
program = "mictester"
|
||||
category = 1
|
||||
run_type = 1
|
||||
delay = 3
|
||||
volume = 40
|
||||
music_playtime =10
|
||||
music_file = "/dragonboard/data/test48000.pcm"
|
||||
samplerate = 48000
|
||||
mic1_used = 1
|
||||
mic2_used = 0
|
||||
mic1_gain = 1
|
||||
mic2_gain = 1
|
||||
mic1_threshold =8191
|
||||
mic2_threshold =8191
|
||||
;-------------------------------------------------------------------------------
|
||||
; type
|
||||
; 0: rtp
|
||||
; 1: ctp
|
||||
; module_path
|
||||
; The full path of tp module.
|
||||
;-------------------------------------------------------------------------------
|
||||
[tp]
|
||||
display_name= "触摸"
|
||||
type = 0
|
||||
module_path = "/system/vendor/modules/gt9xxnew_ts.ko"
|
||||
device_name = "gt9xxnew_ts"
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; module_count
|
||||
; The number of module need to be insmod.
|
||||
; modulex_path
|
||||
; 'x' is the index of module, starts from 0.
|
||||
;-------------------------------------------------------------------------------
|
||||
[camera]
|
||||
activated = 1
|
||||
module_count= 7
|
||||
module1_path= "/system/vendor/modules/videobuf2-core.ko"
|
||||
module2_path= "/system/vendor/modules/videobuf2-memops.ko"
|
||||
module3_path= "/system/vendor/modules/videobuf2-v4l2.ko"
|
||||
module4_path= "/system/vendor/modules/videobuf2-dma-contig.ko"
|
||||
module5_path= "/system/vendor/modules/vfe_io.ko"
|
||||
module6_path= "/system/vendor/modules/ov5640.ko"
|
||||
module7_path= "/system/vendor/modules/vfe_v4l2.ko"
|
||||
dev_cnt = 1
|
||||
csi_cnt = 1
|
||||
fps = 10
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; manual_menu_name
|
||||
; manual test case menu name, 32bytes.
|
||||
; auto_menu_name
|
||||
; auto test case menu name, 32bytes.
|
||||
; clear_button_name
|
||||
; clear screen button name, 8bytes.
|
||||
; font_size
|
||||
; test case font display size, valid value: 20pixel(default), 24pixel.
|
||||
;
|
||||
; Color Index
|
||||
; 0: White
|
||||
; 1: Yellow
|
||||
; 2: Green
|
||||
; 3: Cyan
|
||||
; 4: Magenta
|
||||
; 5: Red
|
||||
; 6: Blue
|
||||
; 7: Black
|
||||
; 8: Beauty
|
||||
; menu_bgcolor
|
||||
; The background color index of test case category menu.
|
||||
; menu_fgcolor
|
||||
; The foreground color index of test case category menu.
|
||||
; item_init_bgcolor
|
||||
; The background color index of test case item init status.
|
||||
; item_init_fgcolor
|
||||
; The foreground color index of test case item init status.
|
||||
; item_ok_bgcolor
|
||||
; The background color index of test case item OK status.
|
||||
; item_ok_fgcolor
|
||||
; The foreground color index of test case item OK status.
|
||||
; item_fail_bgcolor
|
||||
; The background color index of test case item fail status.
|
||||
; item_fail_fgcolor
|
||||
; The foreground color index of test case item fail status.
|
||||
;
|
||||
; pass_str
|
||||
; The string display after test case display_name when test OK.
|
||||
; fail_str
|
||||
; The string display after test case display_name when test Fail.
|
||||
;-------------------------------------------------------------------------------
|
||||
[df_view]
|
||||
tv_scale_factor = 95
|
||||
manual_menu_name = "手动测试项"
|
||||
auto_menu_name = "自动测试项"
|
||||
clear_button_name = "清屏"
|
||||
wifi_menu_name = "wifi热点列表"
|
||||
font_size = 20
|
||||
menu_bgcolor = 1
|
||||
menu_fgcolor = 7
|
||||
|
||||
item_init_bgcolor = 7
|
||||
item_init_fgcolor = 0
|
||||
item_ok_bgcolor = 7
|
||||
item_ok_fgcolor = 6
|
||||
item_fail_bgcolor = 7
|
||||
item_fail_fgcolor = 5
|
||||
tp_draw_color = 0
|
||||
|
||||
;item_init_bgcolor = 0
|
||||
;item_init_fgcolor = 7
|
||||
;item_ok_bgcolor = 0
|
||||
;item_ok_fgcolor = 6
|
||||
;item_fail_bgcolor = 0
|
||||
;item_fail_fgcolor = 5
|
||||
;tp_draw_color = 7
|
||||
|
||||
pass_str = "通过"
|
||||
fail_str = "失败"
|
BIN
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/warnings.bmp
Executable file
BIN
lichee/tools/pack/chips/sun50iw1p1/configs/m64_hdmi/warnings.bmp
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.9 MiB |
Loading…
Add table
Add a link
Reference in a new issue