added mq_r mq_pro platform files
No files matched your search
@@ -0,0 +1,32 @@
|
||||
|
||||
[system]
|
||||
ver=100
|
||||
date=2009-7-03
|
||||
ID=937ae0d0-50e3-43c2-9b84-bfef0cd21a41
|
||||
|
||||
[fsinfo]
|
||||
disccnt=1
|
||||
disc0=c
|
||||
;-------------------------------------------------------------------------------------------------------------
|
||||
;
|
||||
;-------------------------------------------------------------------------------------------------------------
|
||||
[c]
|
||||
;�ļ�ϵͳ�̷�
|
||||
disc=c
|
||||
|
||||
;�ļ�ϵͳ��������
|
||||
fsname=.\boot-resource.fex
|
||||
|
||||
;�ļ�ϵͳ����
|
||||
format=fat16
|
||||
|
||||
;�ļ�ϵͳsize(k)
|
||||
size=131072
|
||||
|
||||
;�ļ�ϵͳ����
|
||||
attr=0
|
||||
|
||||
;root location and counter define
|
||||
rootcnt=1
|
||||
root0=.\boot-resource
|
||||
|
||||
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 337 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 300 KiB |
@@ -0,0 +1,14 @@
|
||||
LICHEE_CHIP:=sun20iw1p1
|
||||
LICHEE_PRODUCT:=
|
||||
LICHEE_BOARD:=
|
||||
LICHEE_FLASH:=
|
||||
LICHEE_ARCH:=riscv
|
||||
LICHEE_BRANDY_VER:=2.0
|
||||
LICHEE_BRANDY_DEFCONF:=sun20iw1p1_defconfig
|
||||
LICHEE_KERN_VER:=5.4
|
||||
LICHEE_KERN_DEFCONF:=sun20iw1p1_defconfig
|
||||
LICHEE_BUILDING_SYSTEM:=buildroot
|
||||
LICHEE_BR_VER:=201902
|
||||
LICHEE_BR_DEFCONF:=sun20i_defconfig
|
||||
LICHEE_COMPILER_TAR:=riscv64-glibc-gcc-thead_20200702.tar.xz
|
||||
LICHEE_REDUNDANT_ENV_SIZE:=0x20000
|
||||
@@ -0,0 +1,15 @@
|
||||
LICHEE_CHIP:=sun20iw1p1
|
||||
LICHEE_PRODUCT:=
|
||||
LICHEE_BOARD:=
|
||||
LICHEE_ARCH:=riscv
|
||||
LICHEE_FLASH:=nor
|
||||
LICHEE_BRANDY_VER:=2.0
|
||||
LICHEE_BRANDY_DEFCONF:=sun20iw1p1_defconfig
|
||||
LICHEE_KERN_VER:=5.4
|
||||
LICHEE_KERN_DEFCONF:=sun20iw1p1_defconfig
|
||||
LICHEE_BUILDING_SYSTEM:=
|
||||
LICHEE_BR_VER:=
|
||||
LICHEE_BR_DEFCONF:=sun20i_defconfig
|
||||
LICHEE_COMPILER_TAR:=riscv64-linux-x86_64-20200528.tar.xz
|
||||
LICHEE_ROOTFS:=target_riscv.tar.bz2
|
||||
LICHEE_REDUNDANT_ENV_SIZE:=0x20000
|
||||
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
;item=Item_TOC_name, Item_filename,
|
||||
;item=scp, scp.fex
|
||||
item=opensbi, opensbi.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
|
||||
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
;item=Item_TOC_name, Item_filename,
|
||||
;item=scp, scp.fex
|
||||
item=opensbi, opensbi.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
|
||||
@@ -0,0 +1,29 @@
|
||||
;/////////////////////////////////////////////////////////////////////////////
|
||||
;[key_ras]
|
||||
;/////////////////////////////////////////////////////////////////////////////
|
||||
[key_rsa]
|
||||
key=Trustkey
|
||||
key=NOTWORLD_KEY
|
||||
key=PRIMARY_DEBUG_KEY
|
||||
key=SCPFirmwareContentCertPK
|
||||
key=SecondaryDebugCertPK
|
||||
key=SoCFirmwareContentCert_KEY
|
||||
key=TrustedFirmwareContentCertPK
|
||||
key=TWORLD_KEY
|
||||
key=NonTrustedFirmwareContentCertPK
|
||||
|
||||
|
||||
[toc0]
|
||||
;item=Item_TOC_name, Item_filename, Key_Name
|
||||
item=toc0, sboot.bin, Trustkey
|
||||
|
||||
[toc1]
|
||||
;item=Item_TOC_name, Item_filename, Key_Name
|
||||
rootkey=rootkey, rootkey.der, Trustkey
|
||||
item=scp, scp.fex, SCPFirmwareContentCertPK
|
||||
onlykey=boot, boot.fex, SCPFirmwareContentCertPK
|
||||
item=u-boot, u-boot.fex, NonTrustedFirmwareContentCertPK
|
||||
onlydata=soc-cfg, config.fex NULL
|
||||
onlydata=dtb, sunxi.fex NULL
|
||||
onlydata=board-cfg, board.fex NULL
|
||||
|
||||
@@ -20,8 +20,8 @@ specialstr=
|
||||
keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3
|
||||
dsp0_partition=dsp0
|
||||
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
|
||||
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} memblock=debug bootmem_debug=1 clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} memblock=debug bootmem_debug=1 clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nor=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
#nand command syntax: sunxi_flash read address partition_name read_bytes
|
||||
@@ -0,0 +1,6 @@
|
||||
bootdelay=0
|
||||
bootcmd=run user_data_burn
|
||||
user_data_burn=pburn 1
|
||||
#kernel command arguments
|
||||
console=ttyS0,115200
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
;/**************************************************************************/
|
||||
;2010-06-09
|
||||
;Sam
|
||||
;image>���������
|
||||
;/**************************************************************************/
|
||||
|
||||
;��Ҫ���� 8�ֽ��ַ���
|
||||
[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 "
|
||||
|
||||
;������ʽ�����ο����������ⶨ�壬��ȱ���Ϊ16�ֽ�
|
||||
[SUB_TYPE]
|
||||
SUBTYPEdemo1 = "071228HWSXXXX100"
|
||||
;-->071228 2007-12-28
|
||||
;-->HWS hardware scan
|
||||
;-->XXXX �û�����
|
||||
;-->100 version 1.00
|
||||
|
||||
;·������
|
||||
[DIR_DEF]
|
||||
INPUT_DIR = "..\\"
|
||||
|
||||
;�ļ��б�
|
||||
[FILELIST]
|
||||
;----------------------------------------------------maintype��subtype���ɸı�----------------------------------------------;
|
||||
;-------------------------------��������---------------------------------------;
|
||||
|
||||
;-->�̶������
|
||||
{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�ļ�
|
||||
{filename = "boot0_nand.fex", maintype = ITEM_BOOT, subtype = "BOOT0_0000000000",},
|
||||
{filename = "boot0_sdcard.fex", maintype = "12345678", subtype = "1234567890BOOT_0",},
|
||||
{filename = "u-boot.fex", maintype = "12345678", subtype = "UBOOT_0000000000",},
|
||||
{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",},
|
||||
|
||||
;-------------------------------usb��������-------------------------------------;
|
||||
;-->tools�ļ�
|
||||
{filename = "usbtool.fex", maintype = "PXTOOLSB", subtype = "xxxxxxxxxxxxxxxx",},
|
||||
{filename = "aultools.fex", maintype = "UPFLYTLS", subtype = "xxxxxxxxxxxxxxxx",},
|
||||
{filename = "aultls32.fex", maintype = "UPFLTL32", subtype = "xxxxxxxxxxxxxxxx",},
|
||||
|
||||
;-------------------------------����������----------------------------------------;
|
||||
;-->�̶������PCʹ��
|
||||
{filename = "cardtool.fex", maintype = "12345678", subtype = "1234567890cardtl",},
|
||||
{filename = "cardscript.fex", maintype = "12345678", subtype = "1234567890script",},
|
||||
|
||||
;-->��Ҫ��д�����ϵ��ļ�
|
||||
{filename = "sunxi_mbr.fex", maintype = "12345678", subtype = "1234567890___MBR",},
|
||||
{filename = "dlinfo.fex", maintype = "12345678", subtype = "1234567890DLINFO",},
|
||||
{filename = "arisc.fex", maintype = "12345678", subtype = "1234567890ARISC" ,},
|
||||
;-------------------------------����----------------------------------------------;
|
||||
|
||||
;-------------------------------------------maintype��subtype���ɸı�-------------------------------------------------------;
|
||||
|
||||
;����������Ϣ
|
||||
[IMAGE_CFG]
|
||||
version = 0x100234 ;-->Image�İ汾
|
||||
pid = 0x00001234 ;-->��ƷID
|
||||
vid = 0x00008743 ;-->��Ӧ��ID
|
||||
hardwareid = 0x100 ;-->Ӳ��ID bootrom
|
||||
firmwareid = 0x100 ;-->�̼�ID bootrom
|
||||
bootromconfig = "bootrom_071203_00001234.cfg"
|
||||
rootfsconfig = "rootfs.cfg"
|
||||
;;imagename = "ePDKv100_nand.img"
|
||||
filelist = FILELIST
|
||||
imagename = ..\sun4i_test_evb.img
|
||||
encrypt = 0 ;-->�������Ҫ���ܽ���������Ϊ0 ����������Ϊ1
|
||||
|
||||
@@ -0,0 +1,108 @@
|
||||
;/**************************************************************************/
|
||||
;2010-06-09
|
||||
;Sam
|
||||
;image>配置文件内容
|
||||
;/**************************************************************************/
|
||||
|
||||
;主要类型 8字节字符串
|
||||
[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 "
|
||||
|
||||
;子类型格式,供参考,可以另外定义,最大长度必须为16字节
|
||||
[SUB_TYPE]
|
||||
SUBTYPEdemo1 = "071228HWSXXXX100"
|
||||
;-->071228 2007-12-28
|
||||
;-->HWS hardware scan
|
||||
;-->XXXX 用户定义
|
||||
;-->100 version 1.00
|
||||
|
||||
;路径定义
|
||||
[DIR_DEF]
|
||||
INPUT_DIR = "..\\"
|
||||
|
||||
;文件列表
|
||||
[FILELIST]
|
||||
;----------------------------------------------------maintype与subtype不可改变----------------------------------------------;
|
||||
;-------------------------------公共部分---------------------------------------;
|
||||
|
||||
;-->固定不变的
|
||||
{filename = "sys_config.fex", maintype = ITEM_COMMON, subtype = "SYS_CONFIG100000",},
|
||||
{filename = "config.fex", maintype = ITEM_COMMON, subtype = "SYS_CONFIG_BIN00",},
|
||||
{filename = "board.fex", maintype = ITEM_COMMON, subtype = "BOARD_CONFIG_BIN",},
|
||||
{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文件
|
||||
{filename = "boot0_nand.fex", maintype = ITEM_BOOT, subtype = "BOOT0_0000000000",},
|
||||
{filename = "boot0_sdcard.fex", maintype = "12345678", subtype = "1234567890BOOT_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",},
|
||||
|
||||
;-------------------------------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",},
|
||||
|
||||
|
||||
;-------------------------------卡量产部分----------------------------------------;
|
||||
;-->固定不变的PC使用
|
||||
{filename = "cardtool.fex", maintype = "12345678", subtype = "1234567890cardtl",},
|
||||
{filename = "cardscript.fex", maintype = "12345678", subtype = "1234567890script",},
|
||||
|
||||
;-->需要烧写到卡上的文件
|
||||
{filename = "sunxi_gpt.fex", maintype = "12345678", subtype = "1234567890___GPT",},
|
||||
{filename = "sunxi_mbr.fex", maintype = "12345678", subtype = "1234567890___MBR",},
|
||||
{filename = "dlinfo.fex", maintype = "12345678", subtype = "1234567890DLINFO",},
|
||||
{filename = "arisc.fex", maintype = "12345678", subtype = "1234567890ARISC" ,},
|
||||
|
||||
;-------------------------------其他----------------------------------------------;
|
||||
{filename = "vmlinux.fex", maintype = "12345678", subtype = "123456789VMLINUX",},
|
||||
|
||||
;-------------------------------------------maintype与subtype不可改变-------------------------------------------------------;
|
||||
|
||||
;镜像配置信息
|
||||
[IMAGE_CFG]
|
||||
version = 0x100234 ;-->Image的版本
|
||||
pid = 0x00001234 ;-->产品ID
|
||||
vid = 0x00008743 ;-->供应商ID
|
||||
hardwareid = 0x100 ;-->硬件ID bootrom
|
||||
firmwareid = 0x100 ;-->固件ID bootrom
|
||||
bootromconfig = "bootrom_071203_00001234.cfg"
|
||||
rootfsconfig = "rootfs.cfg"
|
||||
;;imagename = "ePDKv100_nand.img"
|
||||
filelist = FILELIST
|
||||
imagename = ..\sun4i_test_evb.img
|
||||
encrypt = 0 ;-->如果不需要加密将此项设置为0 ,否则设置为1
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
;/**************************************************************************/
|
||||
;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",},
|
||||
;-------------------------------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
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
; 固件下载参数配置
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
;***************************************************************************************************
|
||||
; mbr的大小, 以Kbyte为单位
|
||||
;***************************************************************************************************
|
||||
[mbr]
|
||||
size = 16384
|
||||
|
||||
;***************************************************************************************************
|
||||
; 分区配置
|
||||
;
|
||||
;
|
||||
; partition 定义范例:
|
||||
; [partition] ; //表示是一个分区
|
||||
; name = USERFS2 ; //分区名称
|
||||
; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
|
||||
; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
|
||||
; keydata = 1 ; //私有数据分区,重新量产数据将不丢失
|
||||
; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
|
||||
; = ? ; //私有用法
|
||||
; verify = 1 ; //要求量产完成后校验是否正确
|
||||
;
|
||||
; 注:1、name唯一, 不允许同名
|
||||
; 2、name最大12个字符
|
||||
; 3、size = 0, 将创建一个无大小的空分区
|
||||
; 4、为了安全和效率考虑,分区大小最好保证为leb_size的整数倍
|
||||
; (leb_size = super_block_size - 2 * single_page_size)
|
||||
;***************************************************************************************************
|
||||
[partition_start]
|
||||
|
||||
[partition]
|
||||
name = boot-resource
|
||||
size = 12600
|
||||
downloadfile = "boot-resource.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = env
|
||||
size = 16632
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = env-redund
|
||||
size = 2048
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = boot
|
||||
size = 33264
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs
|
||||
size = 1048576
|
||||
downloadfile = "rootfs.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
;--------------------------------------------------------------------------------------------------
|
||||
; 固件下载参数配置
|
||||
;--------------------------------------------------------------------------------------------------
|
||||
;****************************************************
|
||||
; 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 = boot-resource
|
||||
size = 1024
|
||||
downloadfile = "boot-resource.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = env
|
||||
size = 512
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = env-redund
|
||||
size = 512
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = boot
|
||||
size = 12288
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs
|
||||
size = 8192
|
||||
downloadfile = "rootfs.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
#kernel command arguments
|
||||
earlyprintk=sunxi-uart,0x02500000
|
||||
initcall_debug=0
|
||||
console=ttyS0,115200
|
||||
nand_root=/dev/ubiblock0_5
|
||||
mmc_root=/dev/mmcblk0p5
|
||||
nor_root=/dev/mtdblock5
|
||||
mtd_name=sys
|
||||
rootfstype=squashfs
|
||||
root_partition=rootfs
|
||||
boot_partition=boot
|
||||
init=/sbin/init
|
||||
loglevel=8
|
||||
cma=0M
|
||||
mac=
|
||||
wifi_mac=
|
||||
bt_mac=
|
||||
specialstr=
|
||||
#keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3
|
||||
dsp0_partition=dsp0
|
||||
rootdelay=2
|
||||
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
|
||||
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nor=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
#nand command syntax: sunxi_flash read address partition_name read_bytes
|
||||
#0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k)
|
||||
boot_dsp0=sunxi_flash read 45000000 ${dsp0_partition};bootr 45000000 0 0
|
||||
boot_normal=sunxi_flash read 41000000 ${boot_partition};bootm 41000000
|
||||
boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000
|
||||
boot_fastboot=fastboot
|
||||
|
||||
#uboot system env config
|
||||
bootdelay=1
|
||||
#default bootcmd, will change at runtime according to key press
|
||||
#default nand boot
|
||||
bootcmd=run setargs_mmc boot_normal
|
||||
@@ -0,0 +1 @@
|
||||
linux-5.4
|
||||
@@ -45,7 +45,7 @@
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
regulator-enable-ramp-delay = <1000>;
|
||||
gpio = <&pio PB 3 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&pio PB 10 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
};
|
||||
};
|
||||
@@ -142,15 +142,15 @@
|
||||
function = "clk_fanout1";
|
||||
};
|
||||
|
||||
uart0_pins_a: uart0_pins@0 { /* For EVB1 board */
|
||||
pins = "PE2", "PE3";
|
||||
uart0_pins_a: uart0_pins@0 { /* For mq_pro board */
|
||||
pins = "PB8", "PB9";
|
||||
function = "uart0";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
uart0_pins_b: uart0_pins@1 { /* For EVB1 board */
|
||||
pins = "PE2", "PE3";
|
||||
uart0_pins_b: uart0_pins@1 { /* For mq_pro board */
|
||||
pins = "PB8", "PB9";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
@@ -186,19 +186,6 @@
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
|
||||
uart4_pins_a: uart4_pins@0 { /* For EVB pro board */
|
||||
pins = "PG2", "PG3";
|
||||
function = "uart4";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
uart4_pins_b: uart4_pins@1 { /* For EVB pro board */
|
||||
pins = "PG2", "PG3";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
twi0_pins_a: twi0@0 {
|
||||
pins = "PB10", "PB11"; /*sck sda*/
|
||||
function = "twi0";
|
||||
@@ -244,19 +231,19 @@
|
||||
};
|
||||
|
||||
gmac_pins_a: gmac@0 {
|
||||
pins = "PG0", "PG1", "PG2", "PG3",
|
||||
"PG4", "PG5", "PG6", "PG7",
|
||||
"PG8", "PG9", "PG10", "PG11",
|
||||
"PG12", "PG13", "PG14", "PG15";
|
||||
pins = "PE0", "PE1", "PE2", "PE3",
|
||||
"PE4", "PE5", "PE6", "PE7",
|
||||
"PE8", "PE9", "PE10", "PE11",
|
||||
"PE12", "PE13", "PE14", "PE15";
|
||||
function = "gmac0";
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
gmac_pins_b: gmac@1 {
|
||||
pins = "PG0", "PG1", "PG2", "PG3",
|
||||
"PG4", "PG5", "PG6", "PG7",
|
||||
"PG8", "PG9", "PG10", "PG11",
|
||||
"PG12", "PG13", "PG14", "PG15";
|
||||
pins = "PE0", "PE1", "PE2", "PE3",
|
||||
"PE4", "PE5", "PE6", "PE7",
|
||||
"PE8", "PE9", "PE10", "PE11",
|
||||
"PE12", "PE13", "PE14", "PE15";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
@@ -493,13 +480,6 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&uart4_pins_a>;
|
||||
pinctrl-1 = <&uart4_pins_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&soc {
|
||||
card0_boot_para@2 {
|
||||
/*
|
||||
@@ -542,7 +522,7 @@
|
||||
power_en;
|
||||
pinctrl-0 = <&wlan_pins_a>;
|
||||
pinctrl-names = "default";
|
||||
status = "diabled"
|
||||
status = "okay";
|
||||
|
||||
wlan: wlan@0 {
|
||||
compatible = "allwinner,sunxi-wlan";
|
||||
@@ -616,7 +596,7 @@
|
||||
cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
/*non-removable;*/
|
||||
/*broken-cd;*/
|
||||
/*cd-inverted;*/
|
||||
cd-inverted;
|
||||
/*data3-detect;*/
|
||||
/*card-pwr-gpios = <&pio PH 14 1 1 2 0xffffffff>;*/
|
||||
cd-used-24M;
|
||||
@@ -635,7 +615,7 @@
|
||||
/*vdmmc33sw-supply = <®_dcdc1>;*/
|
||||
/*vqmmc18sw-supply = <®_eldo1>;*/
|
||||
/*vdmmc18sw-supply = <®_eldo1>;*/
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdc1 {
|
||||
@@ -655,7 +635,7 @@
|
||||
ignore-pm-notify;
|
||||
max-frequency = <150000000>;
|
||||
ctl-spec-caps = <0x8>;
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
@@ -771,7 +751,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
pinctrl-names = "default","sleep";
|
||||
pinctrl-0 = <&dmic_pins_a>;
|
||||
pinctrl-1 = <&dmic_pins_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&dmic_codec {
|
||||
@@ -929,10 +909,12 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
drvvbus-supply = <®_usb1_vbus>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci1 {
|
||||
drvvbus-supply = <®_usb1_vbus>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -965,7 +947,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
pinctrl-names = "default", "sleep";
|
||||
dmas = <&dma 45>, <&dma 45>;
|
||||
dma-names = "tx", "rx";
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
|
||||
/* pcf8574-usage:
|
||||
* only use gpio0~7, 0 means PP0.
|
||||
@@ -992,7 +974,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
compatible = "allwinner,goodix";
|
||||
device_type = "ctp";
|
||||
reg = <0x14>;
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
ctp_name = "gt9xxnew_ts";
|
||||
ctp_twi_id = <0x2>;
|
||||
ctp_twi_addr = <0x14>;
|
||||
@@ -1023,10 +1005,10 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
pinctrl-0 = <&gmac_pins_a>;
|
||||
pinctrl-1 = <&gmac_pins_b>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
phy-rst = <&pio PF 4 GPIO_ACTIVE_HIGH>;
|
||||
tx-delay = <5>; /*2~4*/
|
||||
phy-rst = <&pio PE 16 GPIO_ACTIVE_HIGH>;
|
||||
tx-delay = <3>; /*2~4*/
|
||||
rx-delay = <0>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
@@ -1101,86 +1083,6 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* camera csi */
|
||||
&vind0 {
|
||||
csi_top = <336000000>;
|
||||
csi_isp = <327000000>;
|
||||
status = "disabled";
|
||||
|
||||
actuator0: actuator@5809450 {
|
||||
device_type = "actuator0";
|
||||
actuator0_name = "ad5820_act";
|
||||
actuator0_slave = <0x18>;
|
||||
actuator0_af_pwdn = <>;
|
||||
actuator0_afvdd = "afvcc-csi";
|
||||
actuator0_afvdd_vol = <2800000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
flash0: flash@5809460 {
|
||||
device_type = "flash0";
|
||||
flash0_type = <2>;
|
||||
flash0_en = <>;
|
||||
flash0_mode = <>;
|
||||
flash0_flvdd = "";
|
||||
flash0_flvdd_vol = <>;
|
||||
device_id = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sensor0:sensor@5809470 {
|
||||
device_type = "sensor0";
|
||||
sensor0_mname = "ov5640";
|
||||
sensor0_twi_cci_id = <2>;
|
||||
sensor0_twi_addr = <0x78>;
|
||||
sensor0_mclk_id = <0>;
|
||||
sensor0_pos = "rear";
|
||||
sensor0_isp_used = <0>;
|
||||
sensor0_fmt = <0>;
|
||||
sensor0_stby_mode = <0>;
|
||||
sensor0_vflip = <0>;
|
||||
sensor0_hflip = <0>;
|
||||
sensor0_iovdd-supply = <>;
|
||||
sensor0_iovdd_vol = <3300000>;
|
||||
sensor0_avdd-supply = <>;
|
||||
sensor0_avdd_vol = <1200000>;
|
||||
sensor0_dvdd-supply = <>;
|
||||
sensor0_dvdd_vol = <1200000>;
|
||||
sensor0_power_en = <>;
|
||||
sensor0_reset = <&pio PG 0 GPIO_ACTIVE_LOW>;
|
||||
sensor0_pwdn = <&pio PG 1 GPIO_ACTIVE_LOW>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sensor1:sensor@5809480 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vinc0:vinc@5809000 {
|
||||
vinc0_csi_sel = <0>;
|
||||
vinc0_mipi_sel = <0xff>;
|
||||
vinc0_isp_sel = <0>;
|
||||
vinc0_isp_tx_ch = <0>;
|
||||
vinc0_tdm_rx_sel = <0xff>;
|
||||
vinc0_rear_sensor_sel = <0>;
|
||||
vinc0_front_sensor_sel = <0>;
|
||||
vinc0_sensor_list = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vinc1:vinc@5809200 {
|
||||
vinc1_csi_sel = <0>;
|
||||
vinc1_mipi_sel = <0xff>;
|
||||
vinc1_isp_sel = <0>;
|
||||
vinc1_isp_tx_ch = <0>;
|
||||
vinc1_tdm_rx_sel = <0xff>;
|
||||
vinc1_rear_sensor_sel = <0>;
|
||||
vinc1_front_sensor_sel = <1>;
|
||||
vinc1_sensor_list = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
/*----------------------------------------------------------------------------------
|
||||
disp init configuration
|
||||
|
||||
@@ -1317,85 +1219,27 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
;For lvds1: use lvds1_pins_a and lvds1_pins_b instead
|
||||
;For lvds0: use lvds0_pins_a and lvds0_pins_b instead
|
||||
;----------------------------------------------------------------------------------*/
|
||||
/*
|
||||
&lcd0 {
|
||||
lcd_used = <0>;
|
||||
|
||||
lcd_driver_name = "tft08006";
|
||||
lcd_backlight = <100>;
|
||||
lcd_if = <4>;
|
||||
|
||||
lcd_x = <800>;
|
||||
lcd_y = <1280>;
|
||||
lcd_width = <52>;
|
||||
lcd_height = <52>;
|
||||
lcd_dclk_freq = <70>;
|
||||
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <2>;
|
||||
lcd_pwm_freq = <1000>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_pwm_max_limit = <255>;
|
||||
|
||||
lcd_hbp = <32>;
|
||||
lcd_ht = <868>;
|
||||
lcd_hspw = <4>;
|
||||
lcd_vbp = <12>;
|
||||
lcd_vt = <1311>;
|
||||
lcd_vspw = <4>;
|
||||
|
||||
lcd_dsi_if = <0>;
|
||||
lcd_dsi_lane = <4>;
|
||||
lcd_lvds_if = <0>;
|
||||
lcd_lvds_colordepth = <0>;
|
||||
lcd_lvds_mode = <0>;
|
||||
lcd_frm = <0>;
|
||||
lcd_hv_clk_phase = <0>;
|
||||
lcd_hv_sync_polarity= <0>;
|
||||
lcd_io_phase = <0x0000>;
|
||||
lcd_gamma_en = <0>;
|
||||
lcd_bright_curve_en = <0>;
|
||||
lcd_cmap_en = <0>;
|
||||
lcd_fsync_en = <0>;
|
||||
lcd_fsync_act_time = <1000>;
|
||||
lcd_fsync_dis_time = <1000>;
|
||||
lcd_fsync_pol = <0>;
|
||||
|
||||
deu_mode = <0>;
|
||||
lcdgamma4iep = <22>;
|
||||
smart_color = <90>;
|
||||
|
||||
lcd_gpio_0 = <&pio PG 13 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-0 = <&dsi4lane_pins_a>;
|
||||
pinctrl-1 = <&dsi4lane_pins_b>;
|
||||
};
|
||||
*/
|
||||
|
||||
/* RGB 800 480 */
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
|
||||
lcd_driver_name = "default_lcd";
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <0>;
|
||||
|
||||
lcd_x = <800>;
|
||||
lcd_y = <480>;
|
||||
lcd_width = <150>;
|
||||
lcd_height = <94>;
|
||||
lcd_dclk_freq = <48>;
|
||||
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <500>;
|
||||
lcd_pwm_pol = <0>;
|
||||
|
||||
lcd_hbp = <55>;
|
||||
lcd_ht = <1240>;
|
||||
lcd_hspw = <20>;
|
||||
lcd_vbp = <35>;
|
||||
lcd_vt = <650>;
|
||||
lcd_vspw = <10>;
|
||||
|
||||
lcd_lvds_if = <0>;
|
||||
lcd_lvds_colordepth = <1>;
|
||||
lcd_lvds_mode = <0>;
|
||||
@@ -1404,16 +1248,19 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
lcd_gamma_en = <0>;
|
||||
lcd_bright_curve_en = <0>;
|
||||
lcd_cmap_en = <0>;
|
||||
|
||||
deu_mode = <0>;
|
||||
lcdgamma4iep = <22>;
|
||||
smart_color = <90>;
|
||||
|
||||
pinctrl-0 = <&rgb18_pins_a>;
|
||||
pinctrl-1 = <&rgb18_pins_b>;
|
||||
};
|
||||
|
||||
/* LVDS 1280 800 */
|
||||
/*
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
lcd_driver_name = "default_lcd";
|
||||
lcd_backlight = <150>;
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <3>;
|
||||
|
||||
lcd_x = <1280>;
|
||||
@@ -1426,7 +1273,7 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <50000>;
|
||||
lcd_pwm_pol = <1>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_pwm_max_limit = <255>;
|
||||
|
||||
lcd_hbp = <20>;
|
||||
@@ -1455,8 +1302,13 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
|
||||
pinctrl-0 = <&lvds0_pins_a>;
|
||||
pinctrl-1 = <&lvds0_pins_b>;
|
||||
lcd_bl_en = <&pio PD 20 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
lcd_bl_en = <&pio PD 20 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
*/
|
||||
/* MIPI 800 1280 */
|
||||
/*
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
lcd_driver_name = "he0801a068";
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <4>;
|
||||
@@ -1470,7 +1322,7 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <50000>;
|
||||
lcd_pwm_pol = <1>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_pwm_max_limit = <255>;
|
||||
|
||||
lcd_hbp = <149>;
|
||||
@@ -1499,8 +1351,8 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
pinctrl-0 = <&dsi4lane_pins_a>;
|
||||
pinctrl-1 = <&dsi4lane_pins_b>;
|
||||
lcd_gpio_0 = <&pio PD 20 GPIO_ACTIVE_HIGH>;
|
||||
*/
|
||||
};
|
||||
*/
|
||||
|
||||
&pwm0 {
|
||||
pinctrl-names = "active", "sleep";
|
||||
@@ -1553,15 +1405,15 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
channel1_compare_lowdata = <460000>;
|
||||
channel1_compare_higdata = <1200000>;
|
||||
key_cnt = <5>;
|
||||
key0_vol = <210>;
|
||||
key0_val = <0x19c>;
|
||||
key1_vol = <410>;
|
||||
key1_val = <0x197>;
|
||||
key2_vol = <590>;
|
||||
key2_val = <158>;
|
||||
key3_vol = <750>;
|
||||
key3_val = <28>;
|
||||
key4_vol = <880>;
|
||||
key0_vol = <255>;
|
||||
key0_val = <115>;
|
||||
key1_vol = <480>;
|
||||
key1_val = <114>;
|
||||
key2_vol = <670>;
|
||||
key2_val = <412>;
|
||||
key3_vol = <820>;
|
||||
key3_val = <407>;
|
||||
key4_vol = <900>;
|
||||
key4_val = <28>;
|
||||
status = "okay";
|
||||
wakeup-source;
|
||||
@@ -87,7 +87,7 @@ CONFIG_RCU_NEED_SEGCBLIST=y
|
||||
CONFIG_IKCONFIG=y
|
||||
# CONFIG_IKCONFIG_PROC is not set
|
||||
# CONFIG_IKHEADERS is not set
|
||||
CONFIG_LOG_BUF_SHIFT=17
|
||||
CONFIG_LOG_BUF_SHIFT=13
|
||||
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13
|
||||
CONFIG_GENERIC_SCHED_CLOCK=y
|
||||
|
||||
@@ -131,9 +131,7 @@ CONFIG_AIO=y
|
||||
CONFIG_IO_URING=y
|
||||
CONFIG_ADVISE_SYSCALLS=y
|
||||
CONFIG_MEMBARRIER=y
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_KALLSYMS_BASE_RELATIVE=y
|
||||
# CONFIG_KALLSYMS is not set
|
||||
# CONFIG_BPF_SYSCALL is not set
|
||||
# CONFIG_USERFAULTFD is not set
|
||||
# CONFIG_EMBEDDED is not set
|
||||
@@ -147,11 +145,14 @@ CONFIG_HAVE_PERF_EVENTS=y
|
||||
# end of Kernel Performance Events And Counters
|
||||
|
||||
CONFIG_VM_EVENT_COUNTERS=y
|
||||
# CONFIG_SLUB_DEBUG is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
# CONFIG_SLAB is not set
|
||||
# CONFIG_SLUB is not set
|
||||
CONFIG_SLOB=y
|
||||
CONFIG_SLUB=y
|
||||
# CONFIG_SLOB is not set
|
||||
CONFIG_SLAB_MERGE_DEFAULT=y
|
||||
# CONFIG_SLAB_FREELIST_RANDOM is not set
|
||||
# CONFIG_SLAB_FREELIST_HARDENED is not set
|
||||
# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set
|
||||
CONFIG_PROFILING=y
|
||||
# end of General setup
|
||||
@@ -343,6 +344,7 @@ CONFIG_MSDOS_PARTITION=y
|
||||
CONFIG_EFI_PARTITION=y
|
||||
# end of Partition Types
|
||||
|
||||
CONFIG_BLK_MQ_VIRTIO=y
|
||||
CONFIG_BLK_PM=y
|
||||
|
||||
#
|
||||
@@ -446,16 +448,13 @@ CONFIG_IP_MULTIPLE_TABLES=y
|
||||
# CONFIG_IP_PNP is not set
|
||||
# CONFIG_NET_IPIP is not set
|
||||
# CONFIG_NET_IPGRE_DEMUX is not set
|
||||
CONFIG_NET_IP_TUNNEL=y
|
||||
# CONFIG_IP_MROUTE is not set
|
||||
# CONFIG_SYN_COOKIES is not set
|
||||
# CONFIG_NET_IPVTI is not set
|
||||
# CONFIG_NET_FOU is not set
|
||||
# CONFIG_NET_FOU_IP_TUNNELS is not set
|
||||
# CONFIG_INET_AH is not set
|
||||
# CONFIG_INET_ESP is not set
|
||||
# CONFIG_INET_IPCOMP is not set
|
||||
CONFIG_INET_TUNNEL=y
|
||||
CONFIG_INET_DIAG=y
|
||||
CONFIG_INET_TCP_DIAG=y
|
||||
# CONFIG_INET_UDP_DIAG is not set
|
||||
@@ -472,11 +471,8 @@ CONFIG_IPV6=y
|
||||
# CONFIG_INET6_ESP is not set
|
||||
# CONFIG_INET6_IPCOMP is not set
|
||||
# CONFIG_IPV6_MIP6 is not set
|
||||
# CONFIG_IPV6_ILA is not set
|
||||
# CONFIG_IPV6_VTI is not set
|
||||
CONFIG_IPV6_SIT=y
|
||||
# CONFIG_IPV6_SIT_6RD is not set
|
||||
CONFIG_IPV6_NDISC_NODETYPE=y
|
||||
# CONFIG_IPV6_SIT is not set
|
||||
# CONFIG_IPV6_TUNNEL is not set
|
||||
# CONFIG_IPV6_MULTIPLE_TABLES is not set
|
||||
# CONFIG_IPV6_MROUTE is not set
|
||||
@@ -484,168 +480,7 @@ CONFIG_IPV6_NDISC_NODETYPE=y
|
||||
# CONFIG_IPV6_SEG6_HMAC is not set
|
||||
# CONFIG_NETWORK_SECMARK is not set
|
||||
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_NETFILTER_ADVANCED=y
|
||||
|
||||
#
|
||||
# Core Netfilter Configuration
|
||||
#
|
||||
# CONFIG_NETFILTER_INGRESS is not set
|
||||
CONFIG_NETFILTER_NETLINK=y
|
||||
# CONFIG_NETFILTER_NETLINK_ACCT is not set
|
||||
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
|
||||
# CONFIG_NETFILTER_NETLINK_LOG is not set
|
||||
# CONFIG_NETFILTER_NETLINK_OSF is not set
|
||||
CONFIG_NF_CONNTRACK=y
|
||||
# CONFIG_NF_LOG_NETDEV is not set
|
||||
CONFIG_NF_CONNTRACK_MARK=y
|
||||
# CONFIG_NF_CONNTRACK_ZONES is not set
|
||||
CONFIG_NF_CONNTRACK_PROCFS=y
|
||||
CONFIG_NF_CONNTRACK_EVENTS=y
|
||||
CONFIG_NF_CONNTRACK_TIMEOUT=y
|
||||
CONFIG_NF_CONNTRACK_TIMESTAMP=y
|
||||
# CONFIG_NF_CONNTRACK_LABELS is not set
|
||||
# CONFIG_NF_CT_PROTO_DCCP is not set
|
||||
# CONFIG_NF_CT_PROTO_SCTP is not set
|
||||
# CONFIG_NF_CT_PROTO_UDPLITE is not set
|
||||
# CONFIG_NF_CONNTRACK_AMANDA is not set
|
||||
# CONFIG_NF_CONNTRACK_FTP is not set
|
||||
# CONFIG_NF_CONNTRACK_H323 is not set
|
||||
# CONFIG_NF_CONNTRACK_IRC is not set
|
||||
# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
|
||||
# CONFIG_NF_CONNTRACK_SNMP is not set
|
||||
# CONFIG_NF_CONNTRACK_PPTP is not set
|
||||
# CONFIG_NF_CONNTRACK_SANE is not set
|
||||
# CONFIG_NF_CONNTRACK_SIP is not set
|
||||
# CONFIG_NF_CONNTRACK_TFTP is not set
|
||||
CONFIG_NF_CT_NETLINK=y
|
||||
CONFIG_NF_CT_NETLINK_TIMEOUT=y
|
||||
CONFIG_NF_NAT=y
|
||||
CONFIG_NF_NAT_REDIRECT=y
|
||||
# CONFIG_NF_TABLES is not set
|
||||
CONFIG_NETFILTER_XTABLES=y
|
||||
|
||||
#
|
||||
# Xtables combined modules
|
||||
#
|
||||
# CONFIG_NETFILTER_XT_MARK is not set
|
||||
CONFIG_NETFILTER_XT_CONNMARK=y
|
||||
|
||||
#
|
||||
# Xtables targets
|
||||
#
|
||||
# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_HL is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_HMARK is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_LED is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_LOG is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_MARK is not set
|
||||
# CONFIG_NETFILTER_XT_NAT is not set
|
||||
CONFIG_NETFILTER_XT_TARGET_NETMAP=y
|
||||
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
|
||||
CONFIG_NETFILTER_XT_TARGET_REDIRECT=y
|
||||
# CONFIG_NETFILTER_XT_TARGET_MASQUERADE is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
|
||||
|
||||
#
|
||||
# Xtables matches
|
||||
#
|
||||
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_BPF is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
|
||||
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_ECN is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_HELPER is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_HL is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_L2TP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_MAC is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_MARK is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_QUOTA2 is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_SOCKET is not set
|
||||
CONFIG_NETFILTER_XT_MATCH_STATE=y
|
||||
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_STRING is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_TIME is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
|
||||
# end of Core Netfilter Configuration
|
||||
|
||||
# CONFIG_IP_SET is not set
|
||||
# CONFIG_IP_VS is not set
|
||||
|
||||
#
|
||||
# IP: Netfilter Configuration
|
||||
#
|
||||
CONFIG_NF_DEFRAG_IPV4=y
|
||||
# CONFIG_NF_SOCKET_IPV4 is not set
|
||||
# CONFIG_NF_TPROXY_IPV4 is not set
|
||||
# CONFIG_NF_DUP_IPV4 is not set
|
||||
# CONFIG_NF_LOG_ARP is not set
|
||||
# CONFIG_NF_LOG_IPV4 is not set
|
||||
CONFIG_NF_REJECT_IPV4=y
|
||||
CONFIG_IP_NF_IPTABLES=y
|
||||
# CONFIG_IP_NF_MATCH_AH is not set
|
||||
# CONFIG_IP_NF_MATCH_ECN is not set
|
||||
# CONFIG_IP_NF_MATCH_RPFILTER is not set
|
||||
# CONFIG_IP_NF_MATCH_TTL is not set
|
||||
# CONFIG_IP_NF_FILTER is not set
|
||||
# CONFIG_IP_NF_TARGET_SYNPROXY is not set
|
||||
# CONFIG_IP_NF_NAT is not set
|
||||
CONFIG_IP_NF_MANGLE=y
|
||||
# CONFIG_IP_NF_TARGET_CLUSTERIP is not set
|
||||
# CONFIG_IP_NF_TARGET_ECN is not set
|
||||
# CONFIG_IP_NF_TARGET_TTL is not set
|
||||
# CONFIG_IP_NF_RAW is not set
|
||||
# CONFIG_IP_NF_ARPTABLES is not set
|
||||
# end of IP: Netfilter Configuration
|
||||
|
||||
#
|
||||
# IPv6: Netfilter Configuration
|
||||
#
|
||||
# CONFIG_NF_SOCKET_IPV6 is not set
|
||||
# CONFIG_NF_TPROXY_IPV6 is not set
|
||||
# CONFIG_NF_DUP_IPV6 is not set
|
||||
# CONFIG_NF_REJECT_IPV6 is not set
|
||||
# CONFIG_NF_LOG_IPV6 is not set
|
||||
# CONFIG_IP6_NF_IPTABLES is not set
|
||||
# end of IPv6: Netfilter Configuration
|
||||
|
||||
CONFIG_NF_DEFRAG_IPV6=y
|
||||
# CONFIG_NF_CONNTRACK_BRIDGE is not set
|
||||
# CONFIG_NETFILTER is not set
|
||||
# CONFIG_BPFILTER is not set
|
||||
# CONFIG_IP_DCCP is not set
|
||||
# CONFIG_IP_SCTP is not set
|
||||
@@ -694,7 +529,20 @@ CONFIG_BQL=y
|
||||
# CONFIG_AF_RXRPC is not set
|
||||
# CONFIG_AF_KCM is not set
|
||||
CONFIG_FIB_RULES=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
# CONFIG_NL80211_TESTMODE is not set
|
||||
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
|
||||
CONFIG_CFG80211_CERTIFICATION_ONUS=y
|
||||
# CONFIG_CFG80211_REQUIRE_SIGNED_REGDB is not set
|
||||
# CONFIG_CFG80211_REG_CELLULAR_HINTS is not set
|
||||
# CONFIG_CFG80211_REG_RELAX_NO_IR is not set
|
||||
CONFIG_CFG80211_DEFAULT_PS=y
|
||||
# CONFIG_CFG80211_DEBUGFS is not set
|
||||
# CONFIG_CFG80211_CRDA_SUPPORT is not set
|
||||
# CONFIG_CFG80211_WEXT is not set
|
||||
# CONFIG_MAC80211 is not set
|
||||
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
|
||||
# CONFIG_WIMAX is not set
|
||||
# CONFIG_RFKILL is not set
|
||||
# CONFIG_NET_9P is not set
|
||||
@@ -704,8 +552,6 @@ CONFIG_FIB_RULES=y
|
||||
# CONFIG_PSAMPLE is not set
|
||||
# CONFIG_NET_IFE is not set
|
||||
# CONFIG_LWTUNNEL is not set
|
||||
CONFIG_DST_CACHE=y
|
||||
CONFIG_GRO_CELLS=y
|
||||
# CONFIG_FAILOVER is not set
|
||||
CONFIG_HAVE_EBPF_JIT=y
|
||||
|
||||
@@ -843,6 +689,7 @@ CONFIG_AW_SPINAND_SECURE_STORAGE=y
|
||||
# CONFIG_AW_SPINAND_PSTORE_MTD_PART is not set
|
||||
# CONFIG_AW_SPINAND_ENABLE_PHY_CRC16 is not set
|
||||
CONFIG_AW_SPINAND_SIMULATE_MULTIPLANE=y
|
||||
# CONFIG_AW_MTD_SPINAND_OOB_RAW_SPARE is not set
|
||||
# end of sunxi-nand
|
||||
|
||||
#
|
||||
@@ -868,7 +715,6 @@ CONFIG_OF_KOBJ=y
|
||||
CONFIG_OF_ADDRESS=y
|
||||
CONFIG_OF_IRQ=y
|
||||
CONFIG_OF_NET=y
|
||||
CONFIG_OF_MDIO=y
|
||||
CONFIG_OF_RESERVED_MEM=y
|
||||
# CONFIG_OF_OVERLAY is not set
|
||||
# CONFIG_PARPORT is not set
|
||||
@@ -881,6 +727,7 @@ CONFIG_BLK_DEV=y
|
||||
# CONFIG_BLK_DEV_RAM is not set
|
||||
# CONFIG_CDROM_PKTCDVD is not set
|
||||
# CONFIG_ATA_OVER_ETH is not set
|
||||
# CONFIG_VIRTIO_BLK is not set
|
||||
# CONFIG_BLK_DEV_RBD is not set
|
||||
|
||||
#
|
||||
@@ -975,6 +822,7 @@ CONFIG_BLK_DEV=y
|
||||
|
||||
# CONFIG_ECHO is not set
|
||||
# CONFIG_MISC_RTSX_USB is not set
|
||||
CONFIG_SUNXI_RFKILL=y
|
||||
CONFIG_SUNXI_ADDR_MGT=y
|
||||
# CONFIG_SUNXI_BOOTEVENT is not set
|
||||
|
||||
@@ -1028,7 +876,6 @@ CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_MD is not set
|
||||
# CONFIG_TARGET_CORE is not set
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_NET_CORE=y
|
||||
# CONFIG_BONDING is not set
|
||||
# CONFIG_DUMMY is not set
|
||||
@@ -1044,6 +891,7 @@ CONFIG_NET_CORE=y
|
||||
# CONFIG_TUN is not set
|
||||
# CONFIG_TUN_VNET_CROSS_LE is not set
|
||||
# CONFIG_VETH is not set
|
||||
# CONFIG_VIRTIO_NET is not set
|
||||
# CONFIG_NLMON is not set
|
||||
|
||||
#
|
||||
@@ -1055,108 +903,40 @@ CONFIG_NET_CORE=y
|
||||
#
|
||||
# end of Distributed Switch Architecture drivers
|
||||
|
||||
CONFIG_ETHERNET=y
|
||||
CONFIG_NET_VENDOR_ALACRITECH=y
|
||||
CONFIG_NET_VENDOR_ALLWINNER=y
|
||||
# CONFIG_SUN4I_EMAC is not set
|
||||
CONFIG_SUNXI_GMAC=y
|
||||
CONFIG_SUNXI_EXT_PHY=y
|
||||
# CONFIG_ALTERA_TSE is not set
|
||||
# CONFIG_NET_VENDOR_AMAZON is not set
|
||||
# CONFIG_NET_VENDOR_AQUANTIA is not set
|
||||
# CONFIG_NET_VENDOR_ARC is not set
|
||||
# CONFIG_NET_VENDOR_AURORA is not set
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CADENCE is not set
|
||||
# CONFIG_NET_VENDOR_CAVIUM is not set
|
||||
# CONFIG_NET_VENDOR_CORTINA is not set
|
||||
# CONFIG_DNET is not set
|
||||
# CONFIG_NET_VENDOR_EZCHIP is not set
|
||||
# CONFIG_NET_VENDOR_GOOGLE is not set
|
||||
# CONFIG_NET_VENDOR_HUAWEI is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MELLANOX is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_MICROSEMI is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_NETRONOME is not set
|
||||
# CONFIG_NET_VENDOR_NI is not set
|
||||
# CONFIG_ETHOC is not set
|
||||
# CONFIG_NET_VENDOR_PENSANDO is not set
|
||||
# CONFIG_NET_VENDOR_QUALCOMM is not set
|
||||
# CONFIG_NET_VENDOR_RENESAS is not set
|
||||
# CONFIG_NET_VENDOR_ROCKER is not set
|
||||
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SOLARFLARE is not set
|
||||
# CONFIG_NET_VENDOR_SOCIONEXT is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
# CONFIG_NET_VENDOR_SYNOPSYS is not set
|
||||
# CONFIG_NET_VENDOR_VIA is not set
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
CONFIG_MDIO_DEVICE=y
|
||||
CONFIG_MDIO_BUS=y
|
||||
# CONFIG_MDIO_BCM_UNIMAC is not set
|
||||
# CONFIG_MDIO_BITBANG is not set
|
||||
# CONFIG_MDIO_BUS_MUX_GPIO is not set
|
||||
# CONFIG_MDIO_BUS_MUX_MMIOREG is not set
|
||||
# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set
|
||||
# CONFIG_MDIO_HISI_FEMAC is not set
|
||||
# CONFIG_MDIO_MSCC_MIIM is not set
|
||||
# CONFIG_MDIO_OCTEON is not set
|
||||
# CONFIG_MDIO_SUN4I is not set
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_SWPHY=y
|
||||
CONFIG_LED_TRIGGER_PHY=y
|
||||
|
||||
#
|
||||
# MII PHY device drivers
|
||||
#
|
||||
# CONFIG_ADIN_PHY is not set
|
||||
# CONFIG_AMD_PHY is not set
|
||||
# CONFIG_AQUANTIA_PHY is not set
|
||||
# CONFIG_AX88796B_PHY is not set
|
||||
# CONFIG_AT803X_PHY is not set
|
||||
# CONFIG_BCM7XXX_PHY is not set
|
||||
# CONFIG_BCM87XX_PHY is not set
|
||||
# CONFIG_BROADCOM_PHY is not set
|
||||
# CONFIG_CICADA_PHY is not set
|
||||
# CONFIG_CORTINA_PHY is not set
|
||||
# CONFIG_DAVICOM_PHY is not set
|
||||
# CONFIG_DP83822_PHY is not set
|
||||
# CONFIG_DP83TC811_PHY is not set
|
||||
# CONFIG_DP83848_PHY is not set
|
||||
# CONFIG_DP83867_PHY is not set
|
||||
CONFIG_FIXED_PHY=y
|
||||
# CONFIG_ICPLUS_PHY is not set
|
||||
# CONFIG_INTEL_XWAY_PHY is not set
|
||||
# CONFIG_LSI_ET1011C_PHY is not set
|
||||
# CONFIG_LXT_PHY is not set
|
||||
# CONFIG_MARVELL_PHY is not set
|
||||
# CONFIG_MARVELL_10G_PHY is not set
|
||||
# CONFIG_MICREL_PHY is not set
|
||||
# CONFIG_MICROCHIP_PHY is not set
|
||||
# CONFIG_MICROCHIP_T1_PHY is not set
|
||||
# CONFIG_MICROSEMI_PHY is not set
|
||||
# CONFIG_NATIONAL_PHY is not set
|
||||
# CONFIG_NXP_TJA11XX_PHY is not set
|
||||
# CONFIG_QSEMI_PHY is not set
|
||||
# CONFIG_REALTEK_PHY is not set
|
||||
# CONFIG_RENESAS_PHY is not set
|
||||
# CONFIG_ROCKCHIP_PHY is not set
|
||||
# CONFIG_RTL8363_NB is not set
|
||||
# CONFIG_SMSC_PHY is not set
|
||||
# CONFIG_STE10XP is not set
|
||||
# CONFIG_TERANETICS_PHY is not set
|
||||
# CONFIG_VITESSE_PHY is not set
|
||||
# CONFIG_XILINX_GMII2RGMII is not set
|
||||
# CONFIG_ETHERNET is not set
|
||||
# CONFIG_MDIO_DEVICE is not set
|
||||
# CONFIG_PHYLIB is not set
|
||||
# CONFIG_MICREL_KS8995MA is not set
|
||||
# CONFIG_PPP is not set
|
||||
# CONFIG_SLIP is not set
|
||||
# CONFIG_USB_NET_DRIVERS is not set
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_WLAN=y
|
||||
# CONFIG_WIRELESS_WDS is not set
|
||||
# CONFIG_WLAN_VENDOR_ADMTEK is not set
|
||||
# CONFIG_WLAN_VENDOR_ATH is not set
|
||||
# CONFIG_WLAN_VENDOR_ATMEL is not set
|
||||
# CONFIG_WLAN_VENDOR_BROADCOM is not set
|
||||
# CONFIG_WLAN_VENDOR_CISCO is not set
|
||||
# CONFIG_WLAN_VENDOR_INTEL is not set
|
||||
# CONFIG_WLAN_VENDOR_INTERSIL is not set
|
||||
# CONFIG_WLAN_VENDOR_MARVELL is not set
|
||||
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
|
||||
# CONFIG_WLAN_VENDOR_RALINK is not set
|
||||
# CONFIG_WLAN_VENDOR_REALTEK is not set
|
||||
# CONFIG_WLAN_VENDOR_RSI is not set
|
||||
# CONFIG_WLAN_VENDOR_ST is not set
|
||||
# CONFIG_WLAN_VENDOR_TI is not set
|
||||
# CONFIG_WLAN_VENDOR_ZYDAS is not set
|
||||
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
|
||||
# CONFIG_XR829_WLAN is not set
|
||||
CONFIG_XR819S_WLAN=m
|
||||
# CONFIG_RTL8821CS is not set
|
||||
# CONFIG_RTL8723DS is not set
|
||||
# CONFIG_SPARD_WLAN_SUPPORT is not set
|
||||
# CONFIG_BCMDHD is not set
|
||||
# CONFIG_AIC_WLAN_SUPPORT is not set
|
||||
# CONFIG_USB_NET_RNDIS_WLAN is not set
|
||||
# CONFIG_VIRT_WIFI is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
@@ -1171,7 +951,6 @@ CONFIG_FIXED_PHY=y
|
||||
# Input device support
|
||||
#
|
||||
CONFIG_INPUT=y
|
||||
# CONFIG_INPUT_LEDS is not set
|
||||
# CONFIG_INPUT_FF_MEMLESS is not set
|
||||
# CONFIG_INPUT_POLLDEV is not set
|
||||
# CONFIG_INPUT_SPARSEKMAP is not set
|
||||
@@ -1248,7 +1027,6 @@ CONFIG_TOUCHSCREEN_PROPERTIES=y
|
||||
# CONFIG_TOUCHSCREEN_SILEAD is not set
|
||||
# CONFIG_TOUCHSCREEN_SIS_I2C is not set
|
||||
# CONFIG_TOUCHSCREEN_ST1232 is not set
|
||||
# CONFIG_TOUCHSCREEN_STMFTS is not set
|
||||
# CONFIG_TOUCHSCREEN_SUN4I is not set
|
||||
# CONFIG_TOUCHSCREEN_SUNXI is not set
|
||||
# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set
|
||||
@@ -1331,6 +1109,7 @@ CONFIG_SERIAL_SUNXI_CONSOLE=y
|
||||
# CONFIG_SERIAL_DEV_BUS is not set
|
||||
# CONFIG_TTY_PRINTK is not set
|
||||
# CONFIG_HVC_RISCV_SBI is not set
|
||||
# CONFIG_VIRTIO_CONSOLE is not set
|
||||
# CONFIG_IPMI_HANDLER is not set
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_RAW_DRIVER is not set
|
||||
@@ -1640,6 +1419,7 @@ CONFIG_HWMON=y
|
||||
# CONFIG_SENSORS_F71805F is not set
|
||||
# CONFIG_SENSORS_F71882FG is not set
|
||||
# CONFIG_SENSORS_F75375S is not set
|
||||
# CONFIG_SENSORS_FTSTEUTATES is not set
|
||||
# CONFIG_SENSORS_GL518SM is not set
|
||||
# CONFIG_SENSORS_GL520SM is not set
|
||||
# CONFIG_SENSORS_G760A is not set
|
||||
@@ -1711,6 +1491,8 @@ CONFIG_HWMON=y
|
||||
# CONFIG_SENSORS_SMSC47M1 is not set
|
||||
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||
# CONFIG_SENSORS_SCH5627 is not set
|
||||
# CONFIG_SENSORS_SCH5636 is not set
|
||||
# CONFIG_SENSORS_STTS751 is not set
|
||||
# CONFIG_SENSORS_SMM665 is not set
|
||||
# CONFIG_SENSORS_ADC128D818 is not set
|
||||
@@ -1739,7 +1521,35 @@ CONFIG_HWMON=y
|
||||
# CONFIG_SENSORS_W83627HF is not set
|
||||
# CONFIG_SENSORS_W83627EHF is not set
|
||||
# CONFIG_THERMAL is not set
|
||||
# CONFIG_WATCHDOG is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_WATCHDOG_CORE=y
|
||||
# CONFIG_WATCHDOG_NOWAYOUT is not set
|
||||
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
|
||||
CONFIG_WATCHDOG_OPEN_TIMEOUT=0
|
||||
# CONFIG_WATCHDOG_SYSFS is not set
|
||||
|
||||
#
|
||||
# Watchdog Pretimeout Governors
|
||||
#
|
||||
# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set
|
||||
|
||||
#
|
||||
# Watchdog Device Drivers
|
||||
#
|
||||
# CONFIG_SOFT_WATCHDOG is not set
|
||||
# CONFIG_GPIO_WATCHDOG is not set
|
||||
# CONFIG_XILINX_WATCHDOG is not set
|
||||
# CONFIG_ZIIRAVE_WATCHDOG is not set
|
||||
# CONFIG_CADENCE_WATCHDOG is not set
|
||||
# CONFIG_DW_WATCHDOG is not set
|
||||
CONFIG_SUNXI_WATCHDOG=y
|
||||
# CONFIG_MAX63XX_WATCHDOG is not set
|
||||
# CONFIG_MEN_A21_WDT is not set
|
||||
|
||||
#
|
||||
# USB-based Watchdog Cards
|
||||
#
|
||||
# CONFIG_USBPCWATCHDOG is not set
|
||||
CONFIG_SSB_POSSIBLE=y
|
||||
# CONFIG_SSB is not set
|
||||
CONFIG_BCMA_POSSIBLE=y
|
||||
@@ -1897,16 +1707,12 @@ CONFIG_MEDIA_SUPPORT=y
|
||||
#
|
||||
# Multimedia core support
|
||||
#
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
# CONFIG_MEDIA_CAMERA_SUPPORT is not set
|
||||
# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
|
||||
# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
|
||||
# CONFIG_MEDIA_RADIO_SUPPORT is not set
|
||||
# CONFIG_MEDIA_SDR_SUPPORT is not set
|
||||
# CONFIG_MEDIA_CEC_SUPPORT is not set
|
||||
# CONFIG_MEDIA_CONTROLLER is not set
|
||||
CONFIG_VIDEO_DEV=y
|
||||
CONFIG_VIDEO_V4L2=y
|
||||
CONFIG_VIDEO_V4L2_I2C=y
|
||||
# CONFIG_VIDEO_ADV_DEBUG is not set
|
||||
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
|
||||
|
||||
@@ -1914,144 +1720,16 @@ CONFIG_VIDEO_V4L2_I2C=y
|
||||
# Media drivers
|
||||
#
|
||||
# CONFIG_MEDIA_USB_SUPPORT is not set
|
||||
# CONFIG_V4L_PLATFORM_DRIVERS is not set
|
||||
# CONFIG_SUNXI_PLATFORM_DRIVERS is not set
|
||||
# CONFIG_V4L_MEM2MEM_DRIVERS is not set
|
||||
# CONFIG_V4L_TEST_DRIVERS is not set
|
||||
|
||||
#
|
||||
# Supported MMC/SDIO adapters
|
||||
#
|
||||
# CONFIG_CYPRESS_FIRMWARE is not set
|
||||
CONFIG_VIDEOBUF2_CORE=y
|
||||
CONFIG_VIDEOBUF2_V4L2=y
|
||||
|
||||
#
|
||||
# Media ancillary drivers (tuners, sensors, i2c, spi, frontends)
|
||||
#
|
||||
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
|
||||
|
||||
#
|
||||
# I2C Encoders, decoders, sensors and other helper chips
|
||||
#
|
||||
|
||||
#
|
||||
# Audio decoders, processors and mixers
|
||||
#
|
||||
# CONFIG_VIDEO_TVAUDIO is not set
|
||||
# CONFIG_VIDEO_TDA7432 is not set
|
||||
# CONFIG_VIDEO_TDA9840 is not set
|
||||
# CONFIG_VIDEO_TEA6415C is not set
|
||||
# CONFIG_VIDEO_TEA6420 is not set
|
||||
# CONFIG_VIDEO_MSP3400 is not set
|
||||
# CONFIG_VIDEO_CS3308 is not set
|
||||
# CONFIG_VIDEO_CS5345 is not set
|
||||
# CONFIG_VIDEO_CS53L32A is not set
|
||||
# CONFIG_VIDEO_TLV320AIC23B is not set
|
||||
# CONFIG_VIDEO_UDA1342 is not set
|
||||
# CONFIG_VIDEO_WM8775 is not set
|
||||
# CONFIG_VIDEO_WM8739 is not set
|
||||
# CONFIG_VIDEO_VP27SMPX is not set
|
||||
# CONFIG_VIDEO_SONY_BTF_MPX is not set
|
||||
|
||||
#
|
||||
# RDS decoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA6588 is not set
|
||||
|
||||
#
|
||||
# Video decoders
|
||||
#
|
||||
# CONFIG_VIDEO_ADV7183 is not set
|
||||
# CONFIG_VIDEO_BT819 is not set
|
||||
# CONFIG_VIDEO_BT856 is not set
|
||||
# CONFIG_VIDEO_BT866 is not set
|
||||
# CONFIG_VIDEO_KS0127 is not set
|
||||
# CONFIG_VIDEO_ML86V7667 is not set
|
||||
# CONFIG_VIDEO_SAA7110 is not set
|
||||
# CONFIG_VIDEO_SAA711X is not set
|
||||
# CONFIG_VIDEO_TVP514X is not set
|
||||
# CONFIG_VIDEO_TVP5150 is not set
|
||||
# CONFIG_VIDEO_TVP7002 is not set
|
||||
# CONFIG_VIDEO_TW2804 is not set
|
||||
# CONFIG_VIDEO_TW9903 is not set
|
||||
# CONFIG_VIDEO_TW9906 is not set
|
||||
# CONFIG_VIDEO_TW9910 is not set
|
||||
# CONFIG_VIDEO_VPX3220 is not set
|
||||
|
||||
#
|
||||
# Video and audio decoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA717X is not set
|
||||
# CONFIG_VIDEO_CX25840 is not set
|
||||
|
||||
#
|
||||
# Video encoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA7127 is not set
|
||||
# CONFIG_VIDEO_SAA7185 is not set
|
||||
# CONFIG_VIDEO_ADV7170 is not set
|
||||
# CONFIG_VIDEO_ADV7175 is not set
|
||||
# CONFIG_VIDEO_ADV7343 is not set
|
||||
# CONFIG_VIDEO_ADV7393 is not set
|
||||
# CONFIG_VIDEO_AK881X is not set
|
||||
# CONFIG_VIDEO_THS8200 is not set
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
# CONFIG_VIDEO_OV2640 is not set
|
||||
# CONFIG_VIDEO_OV2659 is not set
|
||||
# CONFIG_VIDEO_OV6650 is not set
|
||||
# CONFIG_VIDEO_OV5695 is not set
|
||||
# CONFIG_VIDEO_OV772X is not set
|
||||
# CONFIG_VIDEO_OV7640 is not set
|
||||
# CONFIG_VIDEO_OV7670 is not set
|
||||
# CONFIG_VIDEO_OV7740 is not set
|
||||
# CONFIG_VIDEO_OV9640 is not set
|
||||
# CONFIG_VIDEO_VS6624 is not set
|
||||
# CONFIG_VIDEO_MT9M111 is not set
|
||||
# CONFIG_VIDEO_MT9T112 is not set
|
||||
# CONFIG_VIDEO_MT9V011 is not set
|
||||
# CONFIG_VIDEO_MT9V111 is not set
|
||||
# CONFIG_VIDEO_SR030PC30 is not set
|
||||
# CONFIG_VIDEO_RJ54N1 is not set
|
||||
|
||||
#
|
||||
# Lens drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Flash devices
|
||||
#
|
||||
|
||||
#
|
||||
# Video improvement chips
|
||||
#
|
||||
# CONFIG_VIDEO_UPD64031A is not set
|
||||
# CONFIG_VIDEO_UPD64083 is not set
|
||||
|
||||
#
|
||||
# Audio/Video compression chips
|
||||
#
|
||||
# CONFIG_VIDEO_SAA6752HS is not set
|
||||
|
||||
#
|
||||
# SDR tuner chips
|
||||
#
|
||||
|
||||
#
|
||||
# Miscellaneous helper chips
|
||||
#
|
||||
# CONFIG_VIDEO_THS7303 is not set
|
||||
# CONFIG_VIDEO_M52790 is not set
|
||||
# CONFIG_VIDEO_I2C is not set
|
||||
# end of I2C Encoders, decoders, sensors and other helper chips
|
||||
|
||||
#
|
||||
# SPI helper chips
|
||||
#
|
||||
# end of SPI helper chips
|
||||
|
||||
#
|
||||
# Media SPI Adapters
|
||||
@@ -2288,7 +1966,10 @@ CONFIG_SND_SUNXI_SOC_DAUDIO=y
|
||||
#
|
||||
# Allwinner SoC Audio support V2
|
||||
#
|
||||
# CONFIG_SND_SOC_SUNXI_SPDIF is not set
|
||||
# CONFIG_SND_SOC_SUNXI_DMIC is not set
|
||||
# CONFIG_SND_SOC_SUNXI_DAUDIO is not set
|
||||
# CONFIG_SND_SOC_SUNXI_COMPONENTS is not set
|
||||
# end of Allwinner SoC Audio support V2
|
||||
|
||||
# CONFIG_SND_SOC_XILINX_I2S is not set
|
||||
@@ -2430,6 +2111,7 @@ CONFIG_SND_SOC_DMIC=y
|
||||
# CONFIG_SND_SOC_TPA6130A2 is not set
|
||||
# CONFIG_SND_SOC_AC107 is not set
|
||||
# CONFIG_SND_SOC_AC108 is not set
|
||||
# CONFIG_SND_SOC_TD100 is not set
|
||||
# end of CODEC drivers
|
||||
|
||||
CONFIG_SND_SIMPLE_CARD_UTILS=y
|
||||
@@ -2465,7 +2147,6 @@ CONFIG_SND_SIMPLE_CARD_UTILS=y
|
||||
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
|
||||
CONFIG_USB_SUPPORT=y
|
||||
CONFIG_USB_COMMON=y
|
||||
# CONFIG_USB_LED_TRIG is not set
|
||||
# CONFIG_USB_ULPI_BUS is not set
|
||||
# CONFIG_USB_CONN_GPIO is not set
|
||||
CONFIG_USB_ARCH_HAS_HCD=y
|
||||
@@ -2480,7 +2161,6 @@ CONFIG_USB_DEFAULT_PERSIST=y
|
||||
# CONFIG_USB_OTG is not set
|
||||
# CONFIG_USB_OTG_WHITELIST is not set
|
||||
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
|
||||
# CONFIG_USB_LEDS_TRIGGER_USBPORT is not set
|
||||
CONFIG_USB_AUTOSUSPEND_DELAY=2
|
||||
# CONFIG_USB_MON is not set
|
||||
|
||||
@@ -2647,7 +2327,6 @@ CONFIG_USB_CONFIGFS_F_FS=y
|
||||
# CONFIG_USB_CONFIGFS_F_UAC2 is not set
|
||||
# CONFIG_USB_CONFIGFS_F_MIDI is not set
|
||||
# CONFIG_USB_CONFIGFS_F_HID is not set
|
||||
# CONFIG_USB_CONFIGFS_F_UVC is not set
|
||||
# CONFIG_USB_CONFIGFS_F_PRINTER is not set
|
||||
CONFIG_USB_SUNXI_USB=y
|
||||
CONFIG_USB_SUNXI_USB_MANAGER=y
|
||||
@@ -2682,78 +2361,7 @@ CONFIG_MMC_SUNXI_V5P3X=y
|
||||
# CONFIG_MMC_HSQ is not set
|
||||
# CONFIG_MMC_MTK is not set
|
||||
# CONFIG_MEMSTICK is not set
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
# CONFIG_LEDS_CLASS_FLASH is not set
|
||||
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set
|
||||
|
||||
#
|
||||
# LED drivers
|
||||
#
|
||||
# CONFIG_LEDS_AN30259A is not set
|
||||
# CONFIG_LEDS_BCM6328 is not set
|
||||
# CONFIG_LEDS_BCM6358 is not set
|
||||
# CONFIG_LEDS_CR0014114 is not set
|
||||
# CONFIG_LEDS_LM3530 is not set
|
||||
# CONFIG_LEDS_LM3532 is not set
|
||||
# CONFIG_LEDS_LM3642 is not set
|
||||
# CONFIG_LEDS_LM3692X is not set
|
||||
# CONFIG_LEDS_PCA9532 is not set
|
||||
# CONFIG_LEDS_GPIO is not set
|
||||
# CONFIG_LEDS_LP3944 is not set
|
||||
# CONFIG_LEDS_LP3952 is not set
|
||||
# CONFIG_LEDS_LP5521 is not set
|
||||
# CONFIG_LEDS_LP5523 is not set
|
||||
# CONFIG_LEDS_LP5562 is not set
|
||||
# CONFIG_LEDS_LP8501 is not set
|
||||
# CONFIG_LEDS_LP8860 is not set
|
||||
# CONFIG_LEDS_PCA955X is not set
|
||||
# CONFIG_LEDS_PCA963X is not set
|
||||
# CONFIG_LEDS_DAC124S085 is not set
|
||||
# CONFIG_LEDS_PWM is not set
|
||||
# CONFIG_LEDS_REGULATOR is not set
|
||||
# CONFIG_LEDS_BD2802 is not set
|
||||
# CONFIG_LEDS_LT3593 is not set
|
||||
# CONFIG_LEDS_TCA6507 is not set
|
||||
# CONFIG_LEDS_TLC591XX is not set
|
||||
# CONFIG_LEDS_LM355x is not set
|
||||
# CONFIG_LEDS_IS31FL319X is not set
|
||||
# CONFIG_LEDS_IS31FL32XX is not set
|
||||
|
||||
#
|
||||
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
|
||||
#
|
||||
# CONFIG_LEDS_BLINKM is not set
|
||||
# CONFIG_LEDS_MLXREG is not set
|
||||
# CONFIG_LEDS_USER is not set
|
||||
# CONFIG_LEDS_SPI_BYTE is not set
|
||||
# CONFIG_LEDS_TI_LMU_COMMON is not set
|
||||
# CONFIG_LEDS_SUNXI is not set
|
||||
# CONFIG_MATRIX_LEDS_SUNXI is not set
|
||||
|
||||
#
|
||||
# LED Triggers
|
||||
#
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
|
||||
# CONFIG_LEDS_TRIGGER_MTD is not set
|
||||
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
|
||||
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
|
||||
# CONFIG_LEDS_TRIGGER_CPU is not set
|
||||
# CONFIG_LEDS_TRIGGER_ACTIVITY is not set
|
||||
# CONFIG_LEDS_TRIGGER_GPIO is not set
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
|
||||
#
|
||||
# iptables trigger is under Netfilter config (LED target)
|
||||
#
|
||||
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
|
||||
# CONFIG_LEDS_TRIGGER_CAMERA is not set
|
||||
# CONFIG_LEDS_TRIGGER_PANIC is not set
|
||||
CONFIG_LEDS_TRIGGER_NETDEV=y
|
||||
# CONFIG_LEDS_TRIGGER_PATTERN is not set
|
||||
# CONFIG_LEDS_TRIGGER_AUDIO is not set
|
||||
# CONFIG_NEW_LEDS is not set
|
||||
# CONFIG_ACCESSIBILITY is not set
|
||||
# CONFIG_INFINIBAND is not set
|
||||
CONFIG_EDAC_SUPPORT=y
|
||||
@@ -2907,6 +2515,7 @@ CONFIG_SYNC_FILE=y
|
||||
# CONFIG_UIO is not set
|
||||
# CONFIG_VFIO is not set
|
||||
# CONFIG_VIRT_DRIVERS is not set
|
||||
CONFIG_VIRTIO=y
|
||||
# CONFIG_VIRTIO_MENU is not set
|
||||
|
||||
#
|
||||
@@ -2916,7 +2525,12 @@ CONFIG_SYNC_FILE=y
|
||||
|
||||
# CONFIG_GREYBUS is not set
|
||||
CONFIG_STAGING=y
|
||||
# CONFIG_PRISM2_USB is not set
|
||||
# CONFIG_COMEDI is not set
|
||||
# CONFIG_RTLLIB is not set
|
||||
# CONFIG_RTL8723BS is not set
|
||||
# CONFIG_R8712U is not set
|
||||
# CONFIG_R8188EU is not set
|
||||
|
||||
#
|
||||
# Speakup console speech
|
||||
@@ -2940,7 +2554,10 @@ CONFIG_ION_CMA_HEAP=y
|
||||
# CONFIG_UNISYSSPAR is not set
|
||||
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
|
||||
# CONFIG_FB_TFT is not set
|
||||
# CONFIG_WILC1000_SDIO is not set
|
||||
# CONFIG_WILC1000_SPI is not set
|
||||
# CONFIG_MOST is not set
|
||||
# CONFIG_KS7010 is not set
|
||||
# CONFIG_PI433 is not set
|
||||
|
||||
#
|
||||
@@ -3040,6 +2657,8 @@ CONFIG_SUNXI_IOMMU_DEBUG=y
|
||||
# CONFIG_RPMSG_SUNXI_AMP is not set
|
||||
# CONFIG_RPMSG_DSP_STANDBY is not set
|
||||
# CONFIG_RPMSG_VIRTIO is not set
|
||||
# CONFIG_RPMSG_SUNXI_TTY is not set
|
||||
# CONFIG_RPMSG_SUNXI_CLIENT_SAMPLE is not set
|
||||
# end of Rpmsg drivers
|
||||
|
||||
# CONFIG_SOUNDWIRE is not set
|
||||
@@ -3078,7 +2697,7 @@ CONFIG_SUNXI_IOMMU_DEBUG=y
|
||||
#
|
||||
# end of Qualcomm SoC drivers
|
||||
|
||||
CONFIG_SUNXI_SRAM=y
|
||||
# CONFIG_SUNXI_SRAM is not set
|
||||
CONFIG_SUNXI_SID=y
|
||||
CONFIG_SUNXI_RISCV_SUSPEND=y
|
||||
# CONFIG_SOC_TI is not set
|
||||
@@ -3198,7 +2817,9 @@ CONFIG_INOTIFY_USER=y
|
||||
# CONFIG_QUOTA is not set
|
||||
# CONFIG_AUTOFS4_FS is not set
|
||||
# CONFIG_AUTOFS_FS is not set
|
||||
# CONFIG_FUSE_FS is not set
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_CUSE=y
|
||||
CONFIG_VIRTIO_FS=y
|
||||
CONFIG_OVERLAY_FS=y
|
||||
# CONFIG_OVERLAY_FS_REDIRECT_DIR is not set
|
||||
CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
|
||||
@@ -3362,6 +2983,8 @@ CONFIG_NLS_ISO8859_1=y
|
||||
# CONFIG_SECURITY_DMESG_RESTRICT is not set
|
||||
# CONFIG_SECURITY is not set
|
||||
# CONFIG_SECURITYFS is not set
|
||||
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
|
||||
# CONFIG_HARDENED_USERCOPY is not set
|
||||
# CONFIG_STATIC_USERMODEHELPER is not set
|
||||
CONFIG_DEFAULT_SECURITY_DAC=y
|
||||
CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity"
|
||||
@@ -3533,6 +3156,7 @@ CONFIG_CRYPTO_HASH_INFO=y
|
||||
CONFIG_CRYPTO_HW=y
|
||||
# CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
|
||||
# CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set
|
||||
# CONFIG_CRYPTO_DEV_VIRTIO is not set
|
||||
# CONFIG_CRYPTO_DEV_SAFEXCEL is not set
|
||||
# CONFIG_CRYPTO_DEV_CCREE is not set
|
||||
|
||||
@@ -3630,7 +3254,6 @@ CONFIG_CLZ_TAB=y
|
||||
CONFIG_MPILIB=y
|
||||
CONFIG_LIBFDT=y
|
||||
CONFIG_SG_POOL=y
|
||||
CONFIG_STACKDEPOT=y
|
||||
CONFIG_SBITMAP=y
|
||||
# CONFIG_STRING_SELFTEST is not set
|
||||
# end of Library routines
|
||||
@@ -3684,27 +3307,15 @@ CONFIG_DEBUG_MISC=y
|
||||
#
|
||||
# Memory Debugging
|
||||
#
|
||||
CONFIG_PAGE_EXTENSION=y
|
||||
CONFIG_DEBUG_PAGEALLOC=y
|
||||
CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=y
|
||||
CONFIG_PAGE_OWNER=y
|
||||
CONFIG_PAGE_POISONING=y
|
||||
CONFIG_PAGE_POISONING_NO_SANITY=y
|
||||
CONFIG_PAGE_POISONING_ZERO=y
|
||||
CONFIG_DEBUG_OBJECTS=y
|
||||
CONFIG_DEBUG_OBJECTS_SELFTEST=y
|
||||
CONFIG_DEBUG_OBJECTS_FREE=y
|
||||
CONFIG_DEBUG_OBJECTS_TIMERS=y
|
||||
CONFIG_DEBUG_OBJECTS_WORK=y
|
||||
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
|
||||
CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
|
||||
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
|
||||
CONFIG_DEBUG_STACK_USAGE=y
|
||||
CONFIG_DEBUG_VM=y
|
||||
CONFIG_DEBUG_VM_VMACACHE=y
|
||||
CONFIG_DEBUG_VM_RB=y
|
||||
CONFIG_DEBUG_VM_PGFLAGS=y
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
# CONFIG_PAGE_EXTENSION is not set
|
||||
# CONFIG_DEBUG_PAGEALLOC is not set
|
||||
# CONFIG_PAGE_OWNER is not set
|
||||
# CONFIG_PAGE_POISONING is not set
|
||||
# CONFIG_DEBUG_OBJECTS is not set
|
||||
# CONFIG_SLUB_STATS is not set
|
||||
# CONFIG_DEBUG_STACK_USAGE is not set
|
||||
# CONFIG_DEBUG_VM is not set
|
||||
# CONFIG_DEBUG_MEMORY_INIT is not set
|
||||
CONFIG_CC_HAS_KASAN_GENERIC=y
|
||||
CONFIG_KASAN_STACK=1
|
||||
# end of Memory Debugging
|
||||
@@ -3745,7 +3356,6 @@ CONFIG_DEBUG_MUTEXES=y
|
||||
CONFIG_STACKTRACE=y
|
||||
# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
|
||||
# CONFIG_DEBUG_KOBJECT is not set
|
||||
# CONFIG_DEBUG_KOBJECT_RELEASE is not set
|
||||
CONFIG_DEBUG_BUGVERBOSE=y
|
||||
# CONFIG_DEBUG_LIST is not set
|
||||
# CONFIG_DEBUG_PLIST is not set
|
||||
@@ -0,0 +1,209 @@
|
||||
;sunxi platform application
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||||
; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
|
||||
;---------------------------------------------------------------------------------
|
||||
; version:版本1.00
|
||||
; machine:板级文件名
|
||||
;---------------------------------------------------------------------------------
|
||||
[product]
|
||||
version = "100"
|
||||
machine = "d1-mq_pro"
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;debug_mode = 0-close printf, > 0-open printf
|
||||
;----------------------------------------------------------------------------------
|
||||
[platform]
|
||||
debug_mode = 1
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;storage_type = boot medium, 0-nand, 1-sd, 2-emmc, 3-nor, 4-emmc3, 5-spinand -1(defualt)auto scan
|
||||
;----------------------------------------------------------------------------------
|
||||
[target]
|
||||
boot_clock = 1008
|
||||
storage_type = 1
|
||||
nand_use_ubi = 1
|
||||
|
||||
[spinor_para]
|
||||
;read_mode =4
|
||||
;flash_size =16
|
||||
;delay_cycle =1
|
||||
;frequency =100000000
|
||||
|
||||
spi_sclk = port:PC02<2><0><2><default>
|
||||
spi_cs = port:PC03<2><1><2><default>
|
||||
spi0_mosi = port:PC04<2><0><2><default>
|
||||
spi0_miso = port:PC05<2><0><2><default>
|
||||
spi0_wp = port:PC06<2><0><2><default>
|
||||
spi0_hold = port:PC07<2><0><2><default>
|
||||
|
||||
[card_boot]
|
||||
card_no = 0
|
||||
;----------------------------------------------------------------------------------
|
||||
;card_ctrl -卡量产相关的控制器选择0 |
|
||||
;card_high_speed -速度模式 0为低速,1为高速|
|
||||
;card_line -4:4线卡,8:8线卡|
|
||||
;sdc_d1 -sdc卡数据1线信号的GPIO配置 |
|
||||
;sdc_d0 -sdc卡数据0线信号的GPIO配置 |
|
||||
;sdc_clk -sdc卡时钟信号的GPIO配置 |
|
||||
;sdc_cmd -sdc命令信号的GPIO配置|
|
||||
;sdc_d3 -sdc卡数据3线信号的GPIO配置 |
|
||||
;sdc_d2 -sdc卡数据2线信号的GPIO配置 |
|
||||
;----------------------------------------------------------------------------------
|
||||
[card0_boot_para]
|
||||
card_ctrl = 0
|
||||
card_high_speed = 1
|
||||
card_line = 4
|
||||
sdc_d1 = port:PF0<2><1><2><default>
|
||||
sdc_d0 = port:PF1<2><1><2><default>
|
||||
sdc_clk = port:PF2<2><1><2><default>
|
||||
sdc_cmd = port:PF3<2><1><2><default>
|
||||
sdc_d3 = port:PF4<2><1><2><default>
|
||||
sdc_d2 = port:PF5<2><1><2><default>
|
||||
bus-width = 4
|
||||
cap-sd-highspeed =
|
||||
cap-wait-while-busy =
|
||||
no-sdio =
|
||||
no-mmc =
|
||||
sunxi-power-save-mode =
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;card_ctrl -卡启动控制器选择2
|
||||
;card_high_speed -速度模式 0为低速,1为高速
|
||||
;card_line -4:4线卡,8:8线卡
|
||||
;sdc_ds -ds信号的GPIO配置
|
||||
;sdc_d1 -sdc卡数据1线信号的GPIO配置
|
||||
;sdc_d0 -sdc卡数据0线信号的GPIO配置
|
||||
;sdc_clk -sdc卡时钟信号的GPIO配置
|
||||
;sdc_cmd -sdc命令信号的GPIO配置
|
||||
;sdc_d3 -sdc卡数据3线信号的GPIO配置
|
||||
;sdc_d2 -sdc卡数据2线信号的GPIO配置
|
||||
;sdc_d4 -sdc卡数据4线信号的GPIO配置
|
||||
;sdc_d5 -sdc卡数据5线信号的GPIO配置
|
||||
;sdc_d6 -sdc卡数据6线信号的GPIO配置
|
||||
;sdc_d7 -sdc卡数据7线信号的GPIO配置
|
||||
;sdc_emmc_rst -emmc_rst信号的GPIO配置
|
||||
;sdc_ex_dly_used -ex_dly_used信号
|
||||
;sdc_io_1v8 -sdc_io_1v8高速emmc模式配置
|
||||
;----------------------------------------------------------------------------------
|
||||
[card2_boot_para]
|
||||
card_ctrl = 2
|
||||
card_high_speed = 1
|
||||
card_line = 8
|
||||
sdc_clk = port:PF25<2><1><3><default>
|
||||
sdc_cmd = port:PF24<2><1><3><default>
|
||||
sdc_d0 = port:PF16<2><1><3><default>
|
||||
sdc_d1 = port:PF17<2><1><3><default>
|
||||
sdc_d2 = port:PF18<2><1><3><default>
|
||||
sdc_d3 = port:PF19<2><1><3><default>
|
||||
sdc_d4 = port:PF20<2><1><3><default>
|
||||
sdc_d5 = port:PF21<2><1><3><default>
|
||||
sdc_d6 = port:PF22<2><1><3><default>
|
||||
sdc_d7 = port:PF23<2><1><3><default>
|
||||
sdc_emmc_rst = port:PF31<2><1><3><default>
|
||||
sdc_ds = port:PF27<2><1><3><default>
|
||||
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;jtag_enable |JTAG使能 |
|
||||
;jtag_ms |测试模式选择输入(TMS) 的GPIO配置|
|
||||
;jtag_ck |测试时钟输入(CLK) 的GPIO配置 |
|
||||
;jtag_do |测试数据输出(TDO) 的GPIO配置 |
|
||||
;jtag_di |测试数据输出(TDI) 的GPIO配置 |
|
||||
;----------------------------------------------------------------------------------
|
||||
[jtag_para]
|
||||
jtag_enable = 0
|
||||
jtag_ms = port:PE4<7><default><default><default>
|
||||
jtag_ck = port:PE7<7><default><default><default>
|
||||
jtag_do = port:PE6<7><default><default><default>
|
||||
jtag_di = port:PE5<7><default><default><default>
|
||||
|
||||
;*****************************************************************************
|
||||
;
|
||||
;dram select configuration
|
||||
;
|
||||
;select_mode : dram模式选择, 0:不进行自动识别
|
||||
; 1:gpio识别模式(dram_para, dram_para1-15, 共16组有效)
|
||||
; 2:gpadc识别模式(dram_para, dram_para1-7, 共8组有效)
|
||||
; 3:1个IO+gpadc识别模式(dram_para, dram_para1-15, 共16组有效)。其中IO配置优先级按select_gpio0>select_gpio1>select_gpio2>select_gpio3
|
||||
;gpadc_channel : 选择gpadc通道 有效值(0-3)
|
||||
;select_gpio1-4 : 选择gpio pin
|
||||
;*****************************************************************************
|
||||
|
||||
|
||||
[dram_select_para]
|
||||
select_mode = 0
|
||||
gpadc_channel = 1
|
||||
select_gpio0 = port:PB7<0><1><default><default>
|
||||
select_gpio1 = port:PB4<0><1><default><default>
|
||||
select_gpio2 = port:PH1<0><1><default><default>
|
||||
select_gpio3 = port:PH0<0><1><default><default>
|
||||
|
||||
|
||||
;*****************************************************************************
|
||||
;sdram configuration
|
||||
;
|
||||
;*****************************************************************************
|
||||
[dram_para]
|
||||
dram_clk = 792
|
||||
dram_type = 3
|
||||
dram_zq = 0x7b7bfb
|
||||
dram_odt_en = 0x01
|
||||
dram_para1 = 0x000010d2
|
||||
dram_para2 = 0x0000
|
||||
dram_mr0 = 0x1c70
|
||||
dram_mr1 = 0x042
|
||||
dram_mr2 = 0x18
|
||||
dram_mr3 = 0x0
|
||||
dram_tpr0 = 0x004A2195
|
||||
dram_tpr1 = 0x02423190
|
||||
dram_tpr2 = 0x0008B061
|
||||
dram_tpr3 = 0xB4787896
|
||||
dram_tpr4 = 0x0
|
||||
dram_tpr5 = 0x48484848
|
||||
dram_tpr6 = 0x00000048
|
||||
dram_tpr7 = 0x1620121e
|
||||
dram_tpr8 = 0x0
|
||||
dram_tpr9 = 0x0
|
||||
dram_tpr10 = 0x0
|
||||
dram_tpr11 = 0x00760000
|
||||
dram_tpr12 = 0x00000035
|
||||
dram_tpr13 = 0x34050100
|
||||
;----------------------------------------------------------------------------------
|
||||
;twi configuration
|
||||
;twi_used 0:关闭, 1:打开
|
||||
;twi_port 0:twi0, 1:twi1, 2:twi2, 3:twi3, 4:twi4, 5:twi5, 6:r_twi0, 7:r_twi1
|
||||
;twi_scl boot0 scl的GPIO配置
|
||||
;twi_sda boot0 sda的GPIO配置
|
||||
;----------------------------------------------------------------------------------
|
||||
[twi_para]
|
||||
twi_used = 0
|
||||
twi_port = 2
|
||||
twi_scl = port:PG14<3><1><default><default>
|
||||
twi_sda = port:PG15<3><1><default><default>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;uart configuration
|
||||
;uart_debug_port |Boot串口控制器编号 |
|
||||
;uart_debug_tx |Boot串口发送的GPIO配置|
|
||||
;uart_debug_rx |Boot串口接收的GPIO配置 |
|
||||
;----------------------------------------------------------------------------------
|
||||
[uart_para]
|
||||
uart_debug_port = 0
|
||||
uart_debug_tx = port:PB08<6><1><default><default>
|
||||
uart_debug_rx = port:PB09<6><1><default><default>
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;dram_region_mbytes :设置drm大小以bytes为单位
|
||||
;----------------------------------------------------------------------------------
|
||||
[secure]
|
||||
dram_region_mbytes = 80
|
||||
drm_region_mbytes = 0
|
||||
drm_region_start_mbytes = 0
|
||||
|
||||
@@ -53,13 +53,13 @@ size = 16384
|
||||
|
||||
[partition]
|
||||
name = boot
|
||||
size = 40960
|
||||
size = 12800
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs
|
||||
size = 48640
|
||||
size = 53760
|
||||
downloadfile = "rootfs.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
@@ -71,8 +71,7 @@ size = 16384
|
||||
|
||||
[partition]
|
||||
name = recovery
|
||||
size = 22400
|
||||
;downloadfile = "recovery.fex"
|
||||
size = 19840
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
@@ -170,9 +170,7 @@
|
||||
card_ctrl = <0x0>;
|
||||
card_high_speed = <0x1>;
|
||||
card_line = <0x4>;
|
||||
/*
|
||||
pinctrl-0 = <&sdc0_pins_a>;
|
||||
*/
|
||||
};
|
||||
|
||||
&card2_boot_para { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
|
||||
@@ -262,29 +260,27 @@
|
||||
/* dcdc1-supply = <®_dcdc1>;*/
|
||||
};
|
||||
|
||||
/* RGB 800 480 */
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
|
||||
lcd_driver_name = "default_lcd";
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <0>;
|
||||
lcd_x = <800>;
|
||||
lcd_y = <480>;
|
||||
lcd_width = <150>;
|
||||
lcd_height = <94>;
|
||||
lcd_dclk_freq = <48>;
|
||||
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <10000>;
|
||||
lcd_pwm_pol = <1>;
|
||||
|
||||
lcd_pwm_freq = <500>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_hbp = <55>;
|
||||
lcd_ht = <1240>;
|
||||
lcd_hspw = <20>;
|
||||
lcd_vbp = <35>;
|
||||
lcd_vt = <650>;
|
||||
lcd_vspw = <10>;
|
||||
|
||||
lcd_lvds_if = <0>;
|
||||
lcd_lvds_colordepth = <1>;
|
||||
lcd_lvds_mode = <0>;
|
||||
@@ -293,15 +289,19 @@
|
||||
lcd_gamma_en = <0>;
|
||||
lcd_bright_curve_en = <0>;
|
||||
lcd_cmap_en = <0>;
|
||||
|
||||
deu_mode = <0>;
|
||||
lcdgamma4iep = <22>;
|
||||
smart_color = <90>;
|
||||
pinctrl-0 = <&rgb18_pins_a>;
|
||||
pinctrl-1 = <&rgb18_pins_b>;
|
||||
};
|
||||
|
||||
/* LVDS 1280 800 */
|
||||
/*
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
lcd_driver_name = "default_lcd";
|
||||
lcd_backlight = <150>;
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <3>;
|
||||
|
||||
lcd_x = <1280>;
|
||||
@@ -314,7 +314,7 @@
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <50000>;
|
||||
lcd_pwm_pol = <1>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_pwm_max_limit = <255>;
|
||||
|
||||
lcd_hbp = <20>;
|
||||
@@ -344,7 +344,13 @@
|
||||
pinctrl-0 = <&lvds0_pins_a>;
|
||||
pinctrl-1 = <&lvds0_pins_b>;
|
||||
lcd_bl_en = <&pio PD 20 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
*/
|
||||
|
||||
/* MIPI 800 1280 */
|
||||
/*
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
lcd_driver_name = "he0801a068";
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <4>;
|
||||
@@ -358,7 +364,7 @@
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <50000>;
|
||||
lcd_pwm_pol = <1>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_pwm_max_limit = <255>;
|
||||
|
||||
lcd_hbp = <149>;
|
||||
@@ -386,9 +392,9 @@
|
||||
|
||||
pinctrl-0 = <&dsi4lane_pins_a>;
|
||||
pinctrl-1 = <&dsi4lane_pins_b>;
|
||||
lcd_gpio_0 = <&pio PD 20 1 0 3 1>;
|
||||
*/
|
||||
lcd_gpio_0 = <&pio PD 20 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
*/
|
||||
|
||||
&aliases {
|
||||
nand0 = &nand0;
|
||||
@@ -0,0 +1,81 @@
|
||||
;-------------------------------------------------------------------------------------------------------------
|
||||
;
|
||||
; card_script.cfg
|
||||
;
|
||||
; 2009-11-20 11:11:23
|
||||
;
|
||||
;-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; �������
|
||||
;-------------------------------------------------------------------------------
|
||||
[process]
|
||||
version=300
|
||||
mode=product
|
||||
;null �Ƿ� 0
|
||||
;product ������ 1
|
||||
;bromrun ����� 2
|
||||
;update ������ 3
|
||||
;test ������ 4
|
||||
|
||||
;null��ʾ����
|
||||
|
||||
;start ��ʼ��������
|
||||
;sectors ����������0��ʾ�Զ������ļ�size�����Զ�����
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
;
|
||||
;-------------------------------------------------------------------------------
|
||||
[boot_0_0]
|
||||
main=12345678
|
||||
sub=1234567890BOOT_0
|
||||
start=16
|
||||
sectors=0
|
||||
type=1
|
||||
;0 raw
|
||||
;1 1��
|
||||
;2 2��
|
||||
;x ����
|
||||
param0=0
|
||||
param1=0
|
||||
param2=0
|
||||
param3=0
|
||||
param4=0
|
||||
param5=0
|
||||
param6=0
|
||||
param7=0
|
||||
commen=pheonix card_00
|
||||
commchs=��д��һ����
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
;
|
||||
;-------------------------------------------------------------------------------
|
||||
[boot_1_0]
|
||||
main=12345678
|
||||
sub=BOOTPKG-00000000
|
||||
start=32800
|
||||
sectors=0
|
||||
type=1
|
||||
;0 raw
|
||||
;1 1��
|
||||
;2 2��
|
||||
;x ����
|
||||
param0=0
|
||||
param1=0
|
||||
param2=0
|
||||
param3=0
|
||||
param4=0
|
||||
param5=0
|
||||
param6=0
|
||||
param7=0
|
||||
commen=pheonix card_10
|
||||
commchs=��д���岿��
|
||||
|
||||
|
||||
[card_boot]
|
||||
start = 40960
|
||||
|
||||
|
||||
;-------------------------------------------------------------------------------------------------------------
|
||||
; ����
|
||||
;-------------------------------------------------------------------------------------------------------------
|
||||
@@ -0,0 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
#set -e
|
||||
|
||||
#
|
||||
# 3:ddr3 4:ddr4 7:lpddr3 8:lpddr4
|
||||
#
|
||||
DRAM_TYPE=0
|
||||
DRAM_NAME="null"
|
||||
PACK_CHIP="sun20iw1p1"
|
||||
|
||||
|
||||
copy_boot_file()
|
||||
{
|
||||
DRAM_TYPE=`awk '$0~"dram_type"{printf"%d", $3}' out/sys_config.fex`
|
||||
|
||||
case $DRAM_TYPE in
|
||||
3) DRAM_NAME="ddr3"
|
||||
;;
|
||||
4) DRAM_NAME="ddr4"
|
||||
;;
|
||||
7) DRAM_NAME="lpddr3"
|
||||
;;
|
||||
8) DRAM_NAME="lpddr4"
|
||||
;;
|
||||
*) DRAM_NAME="unknow"
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
plat_boot_file_list=(
|
||||
chips/${PACK_CHIP}/bin/boot0_nand_${PACK_CHIP}_${DRAM_NAME}.bin:out/boot0_nand.fex
|
||||
chips/${PACK_CHIP}/bin/boot0_sdcard_${PACK_CHIP}_${DRAM_NAME}.bin:out/boot0_sdcard.fex
|
||||
chips/${PACK_CHIP}/bin/boot0_spinor_${PACK_CHIP}_${DRAM_NAME}.bin:out/boot0_spinor.fex
|
||||
chips/${PACK_CHIP}/bin/fes1_${PACK_CHIP}_${DRAM_NAME}.bin:out/fes1.fex
|
||||
chips/${PACK_CHIP}/bin/sboot_${PACK_CHIP}_${DRAM_NAME}.bin:out/sboot.bin
|
||||
chips/${PACK_CHIP}/bin/scp_${DRAM_NAME}.bin:out/scp.fex
|
||||
)
|
||||
|
||||
|
||||
printf "copying boot file for ${DRAM_NAME}\n"
|
||||
for file in ${plat_boot_file_list[@]} ; do
|
||||
cp -f $(echo $file | sed -e 's/:/ /g') 2>/dev/null
|
||||
done
|
||||
}
|
||||
|
||||
#copy_boot_file
|
||||
@@ -0,0 +1 @@
|
||||
use pack/common/tools
|
||||
@@ -0,0 +1,14 @@
|
||||
LICHEE_CHIP:=sun20iw1p1
|
||||
LICHEE_PRODUCT:=
|
||||
LICHEE_BOARD:=
|
||||
LICHEE_FLASH:=
|
||||
LICHEE_ARCH:=riscv
|
||||
LICHEE_BRANDY_VER:=2.0
|
||||
LICHEE_BRANDY_DEFCONF:=sun20iw1p1_defconfig
|
||||
LICHEE_KERN_VER:=5.4
|
||||
LICHEE_KERN_DEFCONF:=sun20iw1p1_nodvfs_defconfig
|
||||
LICHEE_BUILDING_SYSTEM:=buildroot
|
||||
LICHEE_BR_VER:=201902
|
||||
LICHEE_BR_DEFCONF:=sun20i_defconfig
|
||||
LICHEE_COMPILER_TAR:=riscv64-glibc-gcc-thead_20200702.tar.xz
|
||||
LICHEE_REDUNDANT_ENV_SIZE:=0x20000
|
||||
@@ -0,0 +1 @@
|
||||
linux-5.4/board.dts
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
#kernel command arguments
|
||||
earlyprintk=sunxi-uart,0x02500000
|
||||
initcall_debug=0
|
||||
console=ttyS0,115200
|
||||
nand_root=/dev/ubiblock0_5
|
||||
mmc_root=/dev/mmcblk0p5
|
||||
nor_root=/dev/mtdblock5
|
||||
mtd_name=sys
|
||||
rootfstype=squashfs
|
||||
root_partition=rootfs
|
||||
boot_partition=boot
|
||||
init=/sbin/init
|
||||
loglevel=8
|
||||
cma=0M
|
||||
mac=
|
||||
wifi_mac=
|
||||
bt_mac=
|
||||
specialstr=
|
||||
#keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3
|
||||
dsp0_partition=dsp0
|
||||
rootdelay=2
|
||||
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
|
||||
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nor=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
#nand command syntax: sunxi_flash read address partition_name read_bytes
|
||||
#0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k)
|
||||
boot_dsp0=sunxi_flash read 45000000 ${dsp0_partition};bootr 45000000 0 0
|
||||
boot_normal=sunxi_flash read 41000000 ${boot_partition};bootm 41000000
|
||||
boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000
|
||||
boot_fastboot=fastboot
|
||||
|
||||
#uboot system env config
|
||||
bootdelay=1
|
||||
#default bootcmd, will change at runtime according to key press
|
||||
#default nand boot
|
||||
bootcmd=run setargs_mmc boot_normal
|
||||
@@ -0,0 +1 @@
|
||||
linux-5.4
|
||||
@@ -87,7 +87,7 @@ CONFIG_RCU_NEED_SEGCBLIST=y
|
||||
CONFIG_IKCONFIG=y
|
||||
# CONFIG_IKCONFIG_PROC is not set
|
||||
# CONFIG_IKHEADERS is not set
|
||||
CONFIG_LOG_BUF_SHIFT=17
|
||||
CONFIG_LOG_BUF_SHIFT=13
|
||||
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13
|
||||
CONFIG_GENERIC_SCHED_CLOCK=y
|
||||
|
||||
@@ -131,9 +131,7 @@ CONFIG_AIO=y
|
||||
CONFIG_IO_URING=y
|
||||
CONFIG_ADVISE_SYSCALLS=y
|
||||
CONFIG_MEMBARRIER=y
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_KALLSYMS_BASE_RELATIVE=y
|
||||
# CONFIG_KALLSYMS is not set
|
||||
# CONFIG_BPF_SYSCALL is not set
|
||||
# CONFIG_USERFAULTFD is not set
|
||||
# CONFIG_EMBEDDED is not set
|
||||
@@ -147,11 +145,14 @@ CONFIG_HAVE_PERF_EVENTS=y
|
||||
# end of Kernel Performance Events And Counters
|
||||
|
||||
CONFIG_VM_EVENT_COUNTERS=y
|
||||
# CONFIG_SLUB_DEBUG is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
# CONFIG_SLAB is not set
|
||||
# CONFIG_SLUB is not set
|
||||
CONFIG_SLOB=y
|
||||
CONFIG_SLUB=y
|
||||
# CONFIG_SLOB is not set
|
||||
CONFIG_SLAB_MERGE_DEFAULT=y
|
||||
# CONFIG_SLAB_FREELIST_RANDOM is not set
|
||||
# CONFIG_SLAB_FREELIST_HARDENED is not set
|
||||
# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set
|
||||
CONFIG_PROFILING=y
|
||||
# end of General setup
|
||||
@@ -343,6 +344,7 @@ CONFIG_MSDOS_PARTITION=y
|
||||
CONFIG_EFI_PARTITION=y
|
||||
# end of Partition Types
|
||||
|
||||
CONFIG_BLK_MQ_VIRTIO=y
|
||||
CONFIG_BLK_PM=y
|
||||
|
||||
#
|
||||
@@ -446,16 +448,13 @@ CONFIG_IP_MULTIPLE_TABLES=y
|
||||
# CONFIG_IP_PNP is not set
|
||||
# CONFIG_NET_IPIP is not set
|
||||
# CONFIG_NET_IPGRE_DEMUX is not set
|
||||
CONFIG_NET_IP_TUNNEL=y
|
||||
# CONFIG_IP_MROUTE is not set
|
||||
# CONFIG_SYN_COOKIES is not set
|
||||
# CONFIG_NET_IPVTI is not set
|
||||
# CONFIG_NET_FOU is not set
|
||||
# CONFIG_NET_FOU_IP_TUNNELS is not set
|
||||
# CONFIG_INET_AH is not set
|
||||
# CONFIG_INET_ESP is not set
|
||||
# CONFIG_INET_IPCOMP is not set
|
||||
CONFIG_INET_TUNNEL=y
|
||||
CONFIG_INET_DIAG=y
|
||||
CONFIG_INET_TCP_DIAG=y
|
||||
# CONFIG_INET_UDP_DIAG is not set
|
||||
@@ -472,11 +471,8 @@ CONFIG_IPV6=y
|
||||
# CONFIG_INET6_ESP is not set
|
||||
# CONFIG_INET6_IPCOMP is not set
|
||||
# CONFIG_IPV6_MIP6 is not set
|
||||
# CONFIG_IPV6_ILA is not set
|
||||
# CONFIG_IPV6_VTI is not set
|
||||
CONFIG_IPV6_SIT=y
|
||||
# CONFIG_IPV6_SIT_6RD is not set
|
||||
CONFIG_IPV6_NDISC_NODETYPE=y
|
||||
# CONFIG_IPV6_SIT is not set
|
||||
# CONFIG_IPV6_TUNNEL is not set
|
||||
# CONFIG_IPV6_MULTIPLE_TABLES is not set
|
||||
# CONFIG_IPV6_MROUTE is not set
|
||||
@@ -484,168 +480,7 @@ CONFIG_IPV6_NDISC_NODETYPE=y
|
||||
# CONFIG_IPV6_SEG6_HMAC is not set
|
||||
# CONFIG_NETWORK_SECMARK is not set
|
||||
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_NETFILTER_ADVANCED=y
|
||||
|
||||
#
|
||||
# Core Netfilter Configuration
|
||||
#
|
||||
# CONFIG_NETFILTER_INGRESS is not set
|
||||
CONFIG_NETFILTER_NETLINK=y
|
||||
# CONFIG_NETFILTER_NETLINK_ACCT is not set
|
||||
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
|
||||
# CONFIG_NETFILTER_NETLINK_LOG is not set
|
||||
# CONFIG_NETFILTER_NETLINK_OSF is not set
|
||||
CONFIG_NF_CONNTRACK=y
|
||||
# CONFIG_NF_LOG_NETDEV is not set
|
||||
CONFIG_NF_CONNTRACK_MARK=y
|
||||
# CONFIG_NF_CONNTRACK_ZONES is not set
|
||||
CONFIG_NF_CONNTRACK_PROCFS=y
|
||||
CONFIG_NF_CONNTRACK_EVENTS=y
|
||||
CONFIG_NF_CONNTRACK_TIMEOUT=y
|
||||
CONFIG_NF_CONNTRACK_TIMESTAMP=y
|
||||
# CONFIG_NF_CONNTRACK_LABELS is not set
|
||||
# CONFIG_NF_CT_PROTO_DCCP is not set
|
||||
# CONFIG_NF_CT_PROTO_SCTP is not set
|
||||
# CONFIG_NF_CT_PROTO_UDPLITE is not set
|
||||
# CONFIG_NF_CONNTRACK_AMANDA is not set
|
||||
# CONFIG_NF_CONNTRACK_FTP is not set
|
||||
# CONFIG_NF_CONNTRACK_H323 is not set
|
||||
# CONFIG_NF_CONNTRACK_IRC is not set
|
||||
# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
|
||||
# CONFIG_NF_CONNTRACK_SNMP is not set
|
||||
# CONFIG_NF_CONNTRACK_PPTP is not set
|
||||
# CONFIG_NF_CONNTRACK_SANE is not set
|
||||
# CONFIG_NF_CONNTRACK_SIP is not set
|
||||
# CONFIG_NF_CONNTRACK_TFTP is not set
|
||||
CONFIG_NF_CT_NETLINK=y
|
||||
CONFIG_NF_CT_NETLINK_TIMEOUT=y
|
||||
CONFIG_NF_NAT=y
|
||||
CONFIG_NF_NAT_REDIRECT=y
|
||||
# CONFIG_NF_TABLES is not set
|
||||
CONFIG_NETFILTER_XTABLES=y
|
||||
|
||||
#
|
||||
# Xtables combined modules
|
||||
#
|
||||
# CONFIG_NETFILTER_XT_MARK is not set
|
||||
CONFIG_NETFILTER_XT_CONNMARK=y
|
||||
|
||||
#
|
||||
# Xtables targets
|
||||
#
|
||||
# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_HL is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_HMARK is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_LED is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_LOG is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_MARK is not set
|
||||
# CONFIG_NETFILTER_XT_NAT is not set
|
||||
CONFIG_NETFILTER_XT_TARGET_NETMAP=y
|
||||
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
|
||||
CONFIG_NETFILTER_XT_TARGET_REDIRECT=y
|
||||
# CONFIG_NETFILTER_XT_TARGET_MASQUERADE is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
|
||||
|
||||
#
|
||||
# Xtables matches
|
||||
#
|
||||
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_BPF is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
|
||||
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_ECN is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_HELPER is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_HL is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_L2TP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_MAC is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_MARK is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_QUOTA2 is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_SOCKET is not set
|
||||
CONFIG_NETFILTER_XT_MATCH_STATE=y
|
||||
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_STRING is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_TIME is not set
|
||||
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
|
||||
# end of Core Netfilter Configuration
|
||||
|
||||
# CONFIG_IP_SET is not set
|
||||
# CONFIG_IP_VS is not set
|
||||
|
||||
#
|
||||
# IP: Netfilter Configuration
|
||||
#
|
||||
CONFIG_NF_DEFRAG_IPV4=y
|
||||
# CONFIG_NF_SOCKET_IPV4 is not set
|
||||
# CONFIG_NF_TPROXY_IPV4 is not set
|
||||
# CONFIG_NF_DUP_IPV4 is not set
|
||||
# CONFIG_NF_LOG_ARP is not set
|
||||
# CONFIG_NF_LOG_IPV4 is not set
|
||||
CONFIG_NF_REJECT_IPV4=y
|
||||
CONFIG_IP_NF_IPTABLES=y
|
||||
# CONFIG_IP_NF_MATCH_AH is not set
|
||||
# CONFIG_IP_NF_MATCH_ECN is not set
|
||||
# CONFIG_IP_NF_MATCH_RPFILTER is not set
|
||||
# CONFIG_IP_NF_MATCH_TTL is not set
|
||||
# CONFIG_IP_NF_FILTER is not set
|
||||
# CONFIG_IP_NF_TARGET_SYNPROXY is not set
|
||||
# CONFIG_IP_NF_NAT is not set
|
||||
CONFIG_IP_NF_MANGLE=y
|
||||
# CONFIG_IP_NF_TARGET_CLUSTERIP is not set
|
||||
# CONFIG_IP_NF_TARGET_ECN is not set
|
||||
# CONFIG_IP_NF_TARGET_TTL is not set
|
||||
# CONFIG_IP_NF_RAW is not set
|
||||
# CONFIG_IP_NF_ARPTABLES is not set
|
||||
# end of IP: Netfilter Configuration
|
||||
|
||||
#
|
||||
# IPv6: Netfilter Configuration
|
||||
#
|
||||
# CONFIG_NF_SOCKET_IPV6 is not set
|
||||
# CONFIG_NF_TPROXY_IPV6 is not set
|
||||
# CONFIG_NF_DUP_IPV6 is not set
|
||||
# CONFIG_NF_REJECT_IPV6 is not set
|
||||
# CONFIG_NF_LOG_IPV6 is not set
|
||||
# CONFIG_IP6_NF_IPTABLES is not set
|
||||
# end of IPv6: Netfilter Configuration
|
||||
|
||||
CONFIG_NF_DEFRAG_IPV6=y
|
||||
# CONFIG_NF_CONNTRACK_BRIDGE is not set
|
||||
# CONFIG_NETFILTER is not set
|
||||
# CONFIG_BPFILTER is not set
|
||||
# CONFIG_IP_DCCP is not set
|
||||
# CONFIG_IP_SCTP is not set
|
||||
@@ -694,7 +529,20 @@ CONFIG_BQL=y
|
||||
# CONFIG_AF_RXRPC is not set
|
||||
# CONFIG_AF_KCM is not set
|
||||
CONFIG_FIB_RULES=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
# CONFIG_NL80211_TESTMODE is not set
|
||||
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
|
||||
CONFIG_CFG80211_CERTIFICATION_ONUS=y
|
||||
# CONFIG_CFG80211_REQUIRE_SIGNED_REGDB is not set
|
||||
# CONFIG_CFG80211_REG_CELLULAR_HINTS is not set
|
||||
# CONFIG_CFG80211_REG_RELAX_NO_IR is not set
|
||||
CONFIG_CFG80211_DEFAULT_PS=y
|
||||
# CONFIG_CFG80211_DEBUGFS is not set
|
||||
# CONFIG_CFG80211_CRDA_SUPPORT is not set
|
||||
# CONFIG_CFG80211_WEXT is not set
|
||||
# CONFIG_MAC80211 is not set
|
||||
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
|
||||
# CONFIG_WIMAX is not set
|
||||
# CONFIG_RFKILL is not set
|
||||
# CONFIG_NET_9P is not set
|
||||
@@ -704,8 +552,6 @@ CONFIG_FIB_RULES=y
|
||||
# CONFIG_PSAMPLE is not set
|
||||
# CONFIG_NET_IFE is not set
|
||||
# CONFIG_LWTUNNEL is not set
|
||||
CONFIG_DST_CACHE=y
|
||||
CONFIG_GRO_CELLS=y
|
||||
# CONFIG_FAILOVER is not set
|
||||
CONFIG_HAVE_EBPF_JIT=y
|
||||
|
||||
@@ -843,6 +689,7 @@ CONFIG_AW_SPINAND_SECURE_STORAGE=y
|
||||
# CONFIG_AW_SPINAND_PSTORE_MTD_PART is not set
|
||||
# CONFIG_AW_SPINAND_ENABLE_PHY_CRC16 is not set
|
||||
CONFIG_AW_SPINAND_SIMULATE_MULTIPLANE=y
|
||||
# CONFIG_AW_MTD_SPINAND_OOB_RAW_SPARE is not set
|
||||
# end of sunxi-nand
|
||||
|
||||
#
|
||||
@@ -868,7 +715,6 @@ CONFIG_OF_KOBJ=y
|
||||
CONFIG_OF_ADDRESS=y
|
||||
CONFIG_OF_IRQ=y
|
||||
CONFIG_OF_NET=y
|
||||
CONFIG_OF_MDIO=y
|
||||
CONFIG_OF_RESERVED_MEM=y
|
||||
# CONFIG_OF_OVERLAY is not set
|
||||
# CONFIG_PARPORT is not set
|
||||
@@ -881,6 +727,7 @@ CONFIG_BLK_DEV=y
|
||||
# CONFIG_BLK_DEV_RAM is not set
|
||||
# CONFIG_CDROM_PKTCDVD is not set
|
||||
# CONFIG_ATA_OVER_ETH is not set
|
||||
# CONFIG_VIRTIO_BLK is not set
|
||||
# CONFIG_BLK_DEV_RBD is not set
|
||||
|
||||
#
|
||||
@@ -975,6 +822,7 @@ CONFIG_BLK_DEV=y
|
||||
|
||||
# CONFIG_ECHO is not set
|
||||
# CONFIG_MISC_RTSX_USB is not set
|
||||
CONFIG_SUNXI_RFKILL=y
|
||||
CONFIG_SUNXI_ADDR_MGT=y
|
||||
# CONFIG_SUNXI_BOOTEVENT is not set
|
||||
|
||||
@@ -1028,7 +876,6 @@ CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_MD is not set
|
||||
# CONFIG_TARGET_CORE is not set
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_NET_CORE=y
|
||||
# CONFIG_BONDING is not set
|
||||
# CONFIG_DUMMY is not set
|
||||
@@ -1044,6 +891,7 @@ CONFIG_NET_CORE=y
|
||||
# CONFIG_TUN is not set
|
||||
# CONFIG_TUN_VNET_CROSS_LE is not set
|
||||
# CONFIG_VETH is not set
|
||||
# CONFIG_VIRTIO_NET is not set
|
||||
# CONFIG_NLMON is not set
|
||||
|
||||
#
|
||||
@@ -1055,108 +903,40 @@ CONFIG_NET_CORE=y
|
||||
#
|
||||
# end of Distributed Switch Architecture drivers
|
||||
|
||||
CONFIG_ETHERNET=y
|
||||
CONFIG_NET_VENDOR_ALACRITECH=y
|
||||
CONFIG_NET_VENDOR_ALLWINNER=y
|
||||
# CONFIG_SUN4I_EMAC is not set
|
||||
CONFIG_SUNXI_GMAC=y
|
||||
CONFIG_SUNXI_EXT_PHY=y
|
||||
# CONFIG_ALTERA_TSE is not set
|
||||
# CONFIG_NET_VENDOR_AMAZON is not set
|
||||
# CONFIG_NET_VENDOR_AQUANTIA is not set
|
||||
# CONFIG_NET_VENDOR_ARC is not set
|
||||
# CONFIG_NET_VENDOR_AURORA is not set
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CADENCE is not set
|
||||
# CONFIG_NET_VENDOR_CAVIUM is not set
|
||||
# CONFIG_NET_VENDOR_CORTINA is not set
|
||||
# CONFIG_DNET is not set
|
||||
# CONFIG_NET_VENDOR_EZCHIP is not set
|
||||
# CONFIG_NET_VENDOR_GOOGLE is not set
|
||||
# CONFIG_NET_VENDOR_HUAWEI is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MELLANOX is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_MICROSEMI is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_NETRONOME is not set
|
||||
# CONFIG_NET_VENDOR_NI is not set
|
||||
# CONFIG_ETHOC is not set
|
||||
# CONFIG_NET_VENDOR_PENSANDO is not set
|
||||
# CONFIG_NET_VENDOR_QUALCOMM is not set
|
||||
# CONFIG_NET_VENDOR_RENESAS is not set
|
||||
# CONFIG_NET_VENDOR_ROCKER is not set
|
||||
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SOLARFLARE is not set
|
||||
# CONFIG_NET_VENDOR_SOCIONEXT is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
# CONFIG_NET_VENDOR_SYNOPSYS is not set
|
||||
# CONFIG_NET_VENDOR_VIA is not set
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
CONFIG_MDIO_DEVICE=y
|
||||
CONFIG_MDIO_BUS=y
|
||||
# CONFIG_MDIO_BCM_UNIMAC is not set
|
||||
# CONFIG_MDIO_BITBANG is not set
|
||||
# CONFIG_MDIO_BUS_MUX_GPIO is not set
|
||||
# CONFIG_MDIO_BUS_MUX_MMIOREG is not set
|
||||
# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set
|
||||
# CONFIG_MDIO_HISI_FEMAC is not set
|
||||
# CONFIG_MDIO_MSCC_MIIM is not set
|
||||
# CONFIG_MDIO_OCTEON is not set
|
||||
# CONFIG_MDIO_SUN4I is not set
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_SWPHY=y
|
||||
CONFIG_LED_TRIGGER_PHY=y
|
||||
|
||||
#
|
||||
# MII PHY device drivers
|
||||
#
|
||||
# CONFIG_ADIN_PHY is not set
|
||||
# CONFIG_AMD_PHY is not set
|
||||
# CONFIG_AQUANTIA_PHY is not set
|
||||
# CONFIG_AX88796B_PHY is not set
|
||||
# CONFIG_AT803X_PHY is not set
|
||||
# CONFIG_BCM7XXX_PHY is not set
|
||||
# CONFIG_BCM87XX_PHY is not set
|
||||
# CONFIG_BROADCOM_PHY is not set
|
||||
# CONFIG_CICADA_PHY is not set
|
||||
# CONFIG_CORTINA_PHY is not set
|
||||
# CONFIG_DAVICOM_PHY is not set
|
||||
# CONFIG_DP83822_PHY is not set
|
||||
# CONFIG_DP83TC811_PHY is not set
|
||||
# CONFIG_DP83848_PHY is not set
|
||||
# CONFIG_DP83867_PHY is not set
|
||||
CONFIG_FIXED_PHY=y
|
||||
# CONFIG_ICPLUS_PHY is not set
|
||||
# CONFIG_INTEL_XWAY_PHY is not set
|
||||
# CONFIG_LSI_ET1011C_PHY is not set
|
||||
# CONFIG_LXT_PHY is not set
|
||||
# CONFIG_MARVELL_PHY is not set
|
||||
# CONFIG_MARVELL_10G_PHY is not set
|
||||
# CONFIG_MICREL_PHY is not set
|
||||
# CONFIG_MICROCHIP_PHY is not set
|
||||
# CONFIG_MICROCHIP_T1_PHY is not set
|
||||
# CONFIG_MICROSEMI_PHY is not set
|
||||
# CONFIG_NATIONAL_PHY is not set
|
||||
# CONFIG_NXP_TJA11XX_PHY is not set
|
||||
# CONFIG_QSEMI_PHY is not set
|
||||
# CONFIG_REALTEK_PHY is not set
|
||||
# CONFIG_RENESAS_PHY is not set
|
||||
# CONFIG_ROCKCHIP_PHY is not set
|
||||
# CONFIG_RTL8363_NB is not set
|
||||
# CONFIG_SMSC_PHY is not set
|
||||
# CONFIG_STE10XP is not set
|
||||
# CONFIG_TERANETICS_PHY is not set
|
||||
# CONFIG_VITESSE_PHY is not set
|
||||
# CONFIG_XILINX_GMII2RGMII is not set
|
||||
# CONFIG_ETHERNET is not set
|
||||
# CONFIG_MDIO_DEVICE is not set
|
||||
# CONFIG_PHYLIB is not set
|
||||
# CONFIG_MICREL_KS8995MA is not set
|
||||
# CONFIG_PPP is not set
|
||||
# CONFIG_SLIP is not set
|
||||
# CONFIG_USB_NET_DRIVERS is not set
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_WLAN=y
|
||||
# CONFIG_WIRELESS_WDS is not set
|
||||
# CONFIG_WLAN_VENDOR_ADMTEK is not set
|
||||
# CONFIG_WLAN_VENDOR_ATH is not set
|
||||
# CONFIG_WLAN_VENDOR_ATMEL is not set
|
||||
# CONFIG_WLAN_VENDOR_BROADCOM is not set
|
||||
# CONFIG_WLAN_VENDOR_CISCO is not set
|
||||
# CONFIG_WLAN_VENDOR_INTEL is not set
|
||||
# CONFIG_WLAN_VENDOR_INTERSIL is not set
|
||||
# CONFIG_WLAN_VENDOR_MARVELL is not set
|
||||
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
|
||||
# CONFIG_WLAN_VENDOR_RALINK is not set
|
||||
# CONFIG_WLAN_VENDOR_REALTEK is not set
|
||||
# CONFIG_WLAN_VENDOR_RSI is not set
|
||||
# CONFIG_WLAN_VENDOR_ST is not set
|
||||
# CONFIG_WLAN_VENDOR_TI is not set
|
||||
# CONFIG_WLAN_VENDOR_ZYDAS is not set
|
||||
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
|
||||
# CONFIG_XR829_WLAN is not set
|
||||
CONFIG_XR819S_WLAN=m
|
||||
# CONFIG_RTL8821CS is not set
|
||||
# CONFIG_RTL8723DS is not set
|
||||
# CONFIG_SPARD_WLAN_SUPPORT is not set
|
||||
# CONFIG_BCMDHD is not set
|
||||
# CONFIG_AIC_WLAN_SUPPORT is not set
|
||||
# CONFIG_USB_NET_RNDIS_WLAN is not set
|
||||
# CONFIG_VIRT_WIFI is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
@@ -1171,7 +951,6 @@ CONFIG_FIXED_PHY=y
|
||||
# Input device support
|
||||
#
|
||||
CONFIG_INPUT=y
|
||||
# CONFIG_INPUT_LEDS is not set
|
||||
# CONFIG_INPUT_FF_MEMLESS is not set
|
||||
# CONFIG_INPUT_POLLDEV is not set
|
||||
# CONFIG_INPUT_SPARSEKMAP is not set
|
||||
@@ -1248,7 +1027,6 @@ CONFIG_TOUCHSCREEN_PROPERTIES=y
|
||||
# CONFIG_TOUCHSCREEN_SILEAD is not set
|
||||
# CONFIG_TOUCHSCREEN_SIS_I2C is not set
|
||||
# CONFIG_TOUCHSCREEN_ST1232 is not set
|
||||
# CONFIG_TOUCHSCREEN_STMFTS is not set
|
||||
# CONFIG_TOUCHSCREEN_SUN4I is not set
|
||||
# CONFIG_TOUCHSCREEN_SUNXI is not set
|
||||
# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set
|
||||
@@ -1331,6 +1109,7 @@ CONFIG_SERIAL_SUNXI_CONSOLE=y
|
||||
# CONFIG_SERIAL_DEV_BUS is not set
|
||||
# CONFIG_TTY_PRINTK is not set
|
||||
# CONFIG_HVC_RISCV_SBI is not set
|
||||
# CONFIG_VIRTIO_CONSOLE is not set
|
||||
# CONFIG_IPMI_HANDLER is not set
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_RAW_DRIVER is not set
|
||||
@@ -1640,6 +1419,7 @@ CONFIG_HWMON=y
|
||||
# CONFIG_SENSORS_F71805F is not set
|
||||
# CONFIG_SENSORS_F71882FG is not set
|
||||
# CONFIG_SENSORS_F75375S is not set
|
||||
# CONFIG_SENSORS_FTSTEUTATES is not set
|
||||
# CONFIG_SENSORS_GL518SM is not set
|
||||
# CONFIG_SENSORS_GL520SM is not set
|
||||
# CONFIG_SENSORS_G760A is not set
|
||||
@@ -1711,6 +1491,8 @@ CONFIG_HWMON=y
|
||||
# CONFIG_SENSORS_SMSC47M1 is not set
|
||||
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||
# CONFIG_SENSORS_SCH5627 is not set
|
||||
# CONFIG_SENSORS_SCH5636 is not set
|
||||
# CONFIG_SENSORS_STTS751 is not set
|
||||
# CONFIG_SENSORS_SMM665 is not set
|
||||
# CONFIG_SENSORS_ADC128D818 is not set
|
||||
@@ -1739,7 +1521,35 @@ CONFIG_HWMON=y
|
||||
# CONFIG_SENSORS_W83627HF is not set
|
||||
# CONFIG_SENSORS_W83627EHF is not set
|
||||
# CONFIG_THERMAL is not set
|
||||
# CONFIG_WATCHDOG is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_WATCHDOG_CORE=y
|
||||
# CONFIG_WATCHDOG_NOWAYOUT is not set
|
||||
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
|
||||
CONFIG_WATCHDOG_OPEN_TIMEOUT=0
|
||||
# CONFIG_WATCHDOG_SYSFS is not set
|
||||
|
||||
#
|
||||
# Watchdog Pretimeout Governors
|
||||
#
|
||||
# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set
|
||||
|
||||
#
|
||||
# Watchdog Device Drivers
|
||||
#
|
||||
# CONFIG_SOFT_WATCHDOG is not set
|
||||
# CONFIG_GPIO_WATCHDOG is not set
|
||||
# CONFIG_XILINX_WATCHDOG is not set
|
||||
# CONFIG_ZIIRAVE_WATCHDOG is not set
|
||||
# CONFIG_CADENCE_WATCHDOG is not set
|
||||
# CONFIG_DW_WATCHDOG is not set
|
||||
CONFIG_SUNXI_WATCHDOG=y
|
||||
# CONFIG_MAX63XX_WATCHDOG is not set
|
||||
# CONFIG_MEN_A21_WDT is not set
|
||||
|
||||
#
|
||||
# USB-based Watchdog Cards
|
||||
#
|
||||
# CONFIG_USBPCWATCHDOG is not set
|
||||
CONFIG_SSB_POSSIBLE=y
|
||||
# CONFIG_SSB is not set
|
||||
CONFIG_BCMA_POSSIBLE=y
|
||||
@@ -1897,16 +1707,12 @@ CONFIG_MEDIA_SUPPORT=y
|
||||
#
|
||||
# Multimedia core support
|
||||
#
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
# CONFIG_MEDIA_CAMERA_SUPPORT is not set
|
||||
# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
|
||||
# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
|
||||
# CONFIG_MEDIA_RADIO_SUPPORT is not set
|
||||
# CONFIG_MEDIA_SDR_SUPPORT is not set
|
||||
# CONFIG_MEDIA_CEC_SUPPORT is not set
|
||||
# CONFIG_MEDIA_CONTROLLER is not set
|
||||
CONFIG_VIDEO_DEV=y
|
||||
CONFIG_VIDEO_V4L2=y
|
||||
CONFIG_VIDEO_V4L2_I2C=y
|
||||
# CONFIG_VIDEO_ADV_DEBUG is not set
|
||||
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
|
||||
|
||||
@@ -1914,144 +1720,16 @@ CONFIG_VIDEO_V4L2_I2C=y
|
||||
# Media drivers
|
||||
#
|
||||
# CONFIG_MEDIA_USB_SUPPORT is not set
|
||||
# CONFIG_V4L_PLATFORM_DRIVERS is not set
|
||||
# CONFIG_SUNXI_PLATFORM_DRIVERS is not set
|
||||
# CONFIG_V4L_MEM2MEM_DRIVERS is not set
|
||||
# CONFIG_V4L_TEST_DRIVERS is not set
|
||||
|
||||
#
|
||||
# Supported MMC/SDIO adapters
|
||||
#
|
||||
# CONFIG_CYPRESS_FIRMWARE is not set
|
||||
CONFIG_VIDEOBUF2_CORE=y
|
||||
CONFIG_VIDEOBUF2_V4L2=y
|
||||
|
||||
#
|
||||
# Media ancillary drivers (tuners, sensors, i2c, spi, frontends)
|
||||
#
|
||||
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
|
||||
|
||||
#
|
||||
# I2C Encoders, decoders, sensors and other helper chips
|
||||
#
|
||||
|
||||
#
|
||||
# Audio decoders, processors and mixers
|
||||
#
|
||||
# CONFIG_VIDEO_TVAUDIO is not set
|
||||
# CONFIG_VIDEO_TDA7432 is not set
|
||||
# CONFIG_VIDEO_TDA9840 is not set
|
||||
# CONFIG_VIDEO_TEA6415C is not set
|
||||
# CONFIG_VIDEO_TEA6420 is not set
|
||||
# CONFIG_VIDEO_MSP3400 is not set
|
||||
# CONFIG_VIDEO_CS3308 is not set
|
||||
# CONFIG_VIDEO_CS5345 is not set
|
||||
# CONFIG_VIDEO_CS53L32A is not set
|
||||
# CONFIG_VIDEO_TLV320AIC23B is not set
|
||||
# CONFIG_VIDEO_UDA1342 is not set
|
||||
# CONFIG_VIDEO_WM8775 is not set
|
||||
# CONFIG_VIDEO_WM8739 is not set
|
||||
# CONFIG_VIDEO_VP27SMPX is not set
|
||||
# CONFIG_VIDEO_SONY_BTF_MPX is not set
|
||||
|
||||
#
|
||||
# RDS decoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA6588 is not set
|
||||
|
||||
#
|
||||
# Video decoders
|
||||
#
|
||||
# CONFIG_VIDEO_ADV7183 is not set
|
||||
# CONFIG_VIDEO_BT819 is not set
|
||||
# CONFIG_VIDEO_BT856 is not set
|
||||
# CONFIG_VIDEO_BT866 is not set
|
||||
# CONFIG_VIDEO_KS0127 is not set
|
||||
# CONFIG_VIDEO_ML86V7667 is not set
|
||||
# CONFIG_VIDEO_SAA7110 is not set
|
||||
# CONFIG_VIDEO_SAA711X is not set
|
||||
# CONFIG_VIDEO_TVP514X is not set
|
||||
# CONFIG_VIDEO_TVP5150 is not set
|
||||
# CONFIG_VIDEO_TVP7002 is not set
|
||||
# CONFIG_VIDEO_TW2804 is not set
|
||||
# CONFIG_VIDEO_TW9903 is not set
|
||||
# CONFIG_VIDEO_TW9906 is not set
|
||||
# CONFIG_VIDEO_TW9910 is not set
|
||||
# CONFIG_VIDEO_VPX3220 is not set
|
||||
|
||||
#
|
||||
# Video and audio decoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA717X is not set
|
||||
# CONFIG_VIDEO_CX25840 is not set
|
||||
|
||||
#
|
||||
# Video encoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA7127 is not set
|
||||
# CONFIG_VIDEO_SAA7185 is not set
|
||||
# CONFIG_VIDEO_ADV7170 is not set
|
||||
# CONFIG_VIDEO_ADV7175 is not set
|
||||
# CONFIG_VIDEO_ADV7343 is not set
|
||||
# CONFIG_VIDEO_ADV7393 is not set
|
||||
# CONFIG_VIDEO_AK881X is not set
|
||||
# CONFIG_VIDEO_THS8200 is not set
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
# CONFIG_VIDEO_OV2640 is not set
|
||||
# CONFIG_VIDEO_OV2659 is not set
|
||||
# CONFIG_VIDEO_OV6650 is not set
|
||||
# CONFIG_VIDEO_OV5695 is not set
|
||||
# CONFIG_VIDEO_OV772X is not set
|
||||
# CONFIG_VIDEO_OV7640 is not set
|
||||
# CONFIG_VIDEO_OV7670 is not set
|
||||
# CONFIG_VIDEO_OV7740 is not set
|
||||
# CONFIG_VIDEO_OV9640 is not set
|
||||
# CONFIG_VIDEO_VS6624 is not set
|
||||
# CONFIG_VIDEO_MT9M111 is not set
|
||||
# CONFIG_VIDEO_MT9T112 is not set
|
||||
# CONFIG_VIDEO_MT9V011 is not set
|
||||
# CONFIG_VIDEO_MT9V111 is not set
|
||||
# CONFIG_VIDEO_SR030PC30 is not set
|
||||
# CONFIG_VIDEO_RJ54N1 is not set
|
||||
|
||||
#
|
||||
# Lens drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Flash devices
|
||||
#
|
||||
|
||||
#
|
||||
# Video improvement chips
|
||||
#
|
||||
# CONFIG_VIDEO_UPD64031A is not set
|
||||
# CONFIG_VIDEO_UPD64083 is not set
|
||||
|
||||
#
|
||||
# Audio/Video compression chips
|
||||
#
|
||||
# CONFIG_VIDEO_SAA6752HS is not set
|
||||
|
||||
#
|
||||
# SDR tuner chips
|
||||
#
|
||||
|
||||
#
|
||||
# Miscellaneous helper chips
|
||||
#
|
||||
# CONFIG_VIDEO_THS7303 is not set
|
||||
# CONFIG_VIDEO_M52790 is not set
|
||||
# CONFIG_VIDEO_I2C is not set
|
||||
# end of I2C Encoders, decoders, sensors and other helper chips
|
||||
|
||||
#
|
||||
# SPI helper chips
|
||||
#
|
||||
# end of SPI helper chips
|
||||
|
||||
#
|
||||
# Media SPI Adapters
|
||||
@@ -2288,7 +1966,10 @@ CONFIG_SND_SUNXI_SOC_DAUDIO=y
|
||||
#
|
||||
# Allwinner SoC Audio support V2
|
||||
#
|
||||
# CONFIG_SND_SOC_SUNXI_SPDIF is not set
|
||||
# CONFIG_SND_SOC_SUNXI_DMIC is not set
|
||||
# CONFIG_SND_SOC_SUNXI_DAUDIO is not set
|
||||
# CONFIG_SND_SOC_SUNXI_COMPONENTS is not set
|
||||
# end of Allwinner SoC Audio support V2
|
||||
|
||||
# CONFIG_SND_SOC_XILINX_I2S is not set
|
||||
@@ -2430,6 +2111,7 @@ CONFIG_SND_SOC_DMIC=y
|
||||
# CONFIG_SND_SOC_TPA6130A2 is not set
|
||||
# CONFIG_SND_SOC_AC107 is not set
|
||||
# CONFIG_SND_SOC_AC108 is not set
|
||||
# CONFIG_SND_SOC_TD100 is not set
|
||||
# end of CODEC drivers
|
||||
|
||||
CONFIG_SND_SIMPLE_CARD_UTILS=y
|
||||
@@ -2465,7 +2147,6 @@ CONFIG_SND_SIMPLE_CARD_UTILS=y
|
||||
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
|
||||
CONFIG_USB_SUPPORT=y
|
||||
CONFIG_USB_COMMON=y
|
||||
# CONFIG_USB_LED_TRIG is not set
|
||||
# CONFIG_USB_ULPI_BUS is not set
|
||||
# CONFIG_USB_CONN_GPIO is not set
|
||||
CONFIG_USB_ARCH_HAS_HCD=y
|
||||
@@ -2480,7 +2161,6 @@ CONFIG_USB_DEFAULT_PERSIST=y
|
||||
# CONFIG_USB_OTG is not set
|
||||
# CONFIG_USB_OTG_WHITELIST is not set
|
||||
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
|
||||
# CONFIG_USB_LEDS_TRIGGER_USBPORT is not set
|
||||
CONFIG_USB_AUTOSUSPEND_DELAY=2
|
||||
# CONFIG_USB_MON is not set
|
||||
|
||||
@@ -2647,7 +2327,6 @@ CONFIG_USB_CONFIGFS_F_FS=y
|
||||
# CONFIG_USB_CONFIGFS_F_UAC2 is not set
|
||||
# CONFIG_USB_CONFIGFS_F_MIDI is not set
|
||||
# CONFIG_USB_CONFIGFS_F_HID is not set
|
||||
# CONFIG_USB_CONFIGFS_F_UVC is not set
|
||||
# CONFIG_USB_CONFIGFS_F_PRINTER is not set
|
||||
CONFIG_USB_SUNXI_USB=y
|
||||
CONFIG_USB_SUNXI_USB_MANAGER=y
|
||||
@@ -2682,78 +2361,7 @@ CONFIG_MMC_SUNXI_V5P3X=y
|
||||
# CONFIG_MMC_HSQ is not set
|
||||
# CONFIG_MMC_MTK is not set
|
||||
# CONFIG_MEMSTICK is not set
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
# CONFIG_LEDS_CLASS_FLASH is not set
|
||||
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set
|
||||
|
||||
#
|
||||
# LED drivers
|
||||
#
|
||||
# CONFIG_LEDS_AN30259A is not set
|
||||
# CONFIG_LEDS_BCM6328 is not set
|
||||
# CONFIG_LEDS_BCM6358 is not set
|
||||
# CONFIG_LEDS_CR0014114 is not set
|
||||
# CONFIG_LEDS_LM3530 is not set
|
||||
# CONFIG_LEDS_LM3532 is not set
|
||||
# CONFIG_LEDS_LM3642 is not set
|
||||
# CONFIG_LEDS_LM3692X is not set
|
||||
# CONFIG_LEDS_PCA9532 is not set
|
||||
# CONFIG_LEDS_GPIO is not set
|
||||
# CONFIG_LEDS_LP3944 is not set
|
||||
# CONFIG_LEDS_LP3952 is not set
|
||||
# CONFIG_LEDS_LP5521 is not set
|
||||
# CONFIG_LEDS_LP5523 is not set
|
||||
# CONFIG_LEDS_LP5562 is not set
|
||||
# CONFIG_LEDS_LP8501 is not set
|
||||
# CONFIG_LEDS_LP8860 is not set
|
||||
# CONFIG_LEDS_PCA955X is not set
|
||||
# CONFIG_LEDS_PCA963X is not set
|
||||
# CONFIG_LEDS_DAC124S085 is not set
|
||||
# CONFIG_LEDS_PWM is not set
|
||||
# CONFIG_LEDS_REGULATOR is not set
|
||||
# CONFIG_LEDS_BD2802 is not set
|
||||
# CONFIG_LEDS_LT3593 is not set
|
||||
# CONFIG_LEDS_TCA6507 is not set
|
||||
# CONFIG_LEDS_TLC591XX is not set
|
||||
# CONFIG_LEDS_LM355x is not set
|
||||
# CONFIG_LEDS_IS31FL319X is not set
|
||||
# CONFIG_LEDS_IS31FL32XX is not set
|
||||
|
||||
#
|
||||
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
|
||||
#
|
||||
# CONFIG_LEDS_BLINKM is not set
|
||||
# CONFIG_LEDS_MLXREG is not set
|
||||
# CONFIG_LEDS_USER is not set
|
||||
# CONFIG_LEDS_SPI_BYTE is not set
|
||||
# CONFIG_LEDS_TI_LMU_COMMON is not set
|
||||
# CONFIG_LEDS_SUNXI is not set
|
||||
# CONFIG_MATRIX_LEDS_SUNXI is not set
|
||||
|
||||
#
|
||||
# LED Triggers
|
||||
#
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
|
||||
# CONFIG_LEDS_TRIGGER_MTD is not set
|
||||
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
|
||||
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
|
||||
# CONFIG_LEDS_TRIGGER_CPU is not set
|
||||
# CONFIG_LEDS_TRIGGER_ACTIVITY is not set
|
||||
# CONFIG_LEDS_TRIGGER_GPIO is not set
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
|
||||
#
|
||||
# iptables trigger is under Netfilter config (LED target)
|
||||
#
|
||||
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
|
||||
# CONFIG_LEDS_TRIGGER_CAMERA is not set
|
||||
# CONFIG_LEDS_TRIGGER_PANIC is not set
|
||||
CONFIG_LEDS_TRIGGER_NETDEV=y
|
||||
# CONFIG_LEDS_TRIGGER_PATTERN is not set
|
||||
# CONFIG_LEDS_TRIGGER_AUDIO is not set
|
||||
# CONFIG_NEW_LEDS is not set
|
||||
# CONFIG_ACCESSIBILITY is not set
|
||||
# CONFIG_INFINIBAND is not set
|
||||
CONFIG_EDAC_SUPPORT=y
|
||||
@@ -2907,6 +2515,7 @@ CONFIG_SYNC_FILE=y
|
||||
# CONFIG_UIO is not set
|
||||
# CONFIG_VFIO is not set
|
||||
# CONFIG_VIRT_DRIVERS is not set
|
||||
CONFIG_VIRTIO=y
|
||||
# CONFIG_VIRTIO_MENU is not set
|
||||
|
||||
#
|
||||
@@ -2916,7 +2525,12 @@ CONFIG_SYNC_FILE=y
|
||||
|
||||
# CONFIG_GREYBUS is not set
|
||||
CONFIG_STAGING=y
|
||||
# CONFIG_PRISM2_USB is not set
|
||||
# CONFIG_COMEDI is not set
|
||||
# CONFIG_RTLLIB is not set
|
||||
# CONFIG_RTL8723BS is not set
|
||||
# CONFIG_R8712U is not set
|
||||
# CONFIG_R8188EU is not set
|
||||
|
||||
#
|
||||
# Speakup console speech
|
||||
@@ -2940,7 +2554,10 @@ CONFIG_ION_CMA_HEAP=y
|
||||
# CONFIG_UNISYSSPAR is not set
|
||||
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
|
||||
# CONFIG_FB_TFT is not set
|
||||
# CONFIG_WILC1000_SDIO is not set
|
||||
# CONFIG_WILC1000_SPI is not set
|
||||
# CONFIG_MOST is not set
|
||||
# CONFIG_KS7010 is not set
|
||||
# CONFIG_PI433 is not set
|
||||
|
||||
#
|
||||
@@ -3040,6 +2657,8 @@ CONFIG_SUNXI_IOMMU_DEBUG=y
|
||||
# CONFIG_RPMSG_SUNXI_AMP is not set
|
||||
# CONFIG_RPMSG_DSP_STANDBY is not set
|
||||
# CONFIG_RPMSG_VIRTIO is not set
|
||||
# CONFIG_RPMSG_SUNXI_TTY is not set
|
||||
# CONFIG_RPMSG_SUNXI_CLIENT_SAMPLE is not set
|
||||
# end of Rpmsg drivers
|
||||
|
||||
# CONFIG_SOUNDWIRE is not set
|
||||
@@ -3078,7 +2697,7 @@ CONFIG_SUNXI_IOMMU_DEBUG=y
|
||||
#
|
||||
# end of Qualcomm SoC drivers
|
||||
|
||||
CONFIG_SUNXI_SRAM=y
|
||||
# CONFIG_SUNXI_SRAM is not set
|
||||
CONFIG_SUNXI_SID=y
|
||||
CONFIG_SUNXI_RISCV_SUSPEND=y
|
||||
# CONFIG_SOC_TI is not set
|
||||
@@ -3198,7 +2817,9 @@ CONFIG_INOTIFY_USER=y
|
||||
# CONFIG_QUOTA is not set
|
||||
# CONFIG_AUTOFS4_FS is not set
|
||||
# CONFIG_AUTOFS_FS is not set
|
||||
# CONFIG_FUSE_FS is not set
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_CUSE=y
|
||||
CONFIG_VIRTIO_FS=y
|
||||
CONFIG_OVERLAY_FS=y
|
||||
# CONFIG_OVERLAY_FS_REDIRECT_DIR is not set
|
||||
CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
|
||||
@@ -3362,6 +2983,8 @@ CONFIG_NLS_ISO8859_1=y
|
||||
# CONFIG_SECURITY_DMESG_RESTRICT is not set
|
||||
# CONFIG_SECURITY is not set
|
||||
# CONFIG_SECURITYFS is not set
|
||||
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
|
||||
# CONFIG_HARDENED_USERCOPY is not set
|
||||
# CONFIG_STATIC_USERMODEHELPER is not set
|
||||
CONFIG_DEFAULT_SECURITY_DAC=y
|
||||
CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity"
|
||||
@@ -3533,6 +3156,7 @@ CONFIG_CRYPTO_HASH_INFO=y
|
||||
CONFIG_CRYPTO_HW=y
|
||||
# CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
|
||||
# CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set
|
||||
# CONFIG_CRYPTO_DEV_VIRTIO is not set
|
||||
# CONFIG_CRYPTO_DEV_SAFEXCEL is not set
|
||||
# CONFIG_CRYPTO_DEV_CCREE is not set
|
||||
|
||||
@@ -3630,7 +3254,6 @@ CONFIG_CLZ_TAB=y
|
||||
CONFIG_MPILIB=y
|
||||
CONFIG_LIBFDT=y
|
||||
CONFIG_SG_POOL=y
|
||||
CONFIG_STACKDEPOT=y
|
||||
CONFIG_SBITMAP=y
|
||||
# CONFIG_STRING_SELFTEST is not set
|
||||
# end of Library routines
|
||||
@@ -3684,27 +3307,15 @@ CONFIG_DEBUG_MISC=y
|
||||
#
|
||||
# Memory Debugging
|
||||
#
|
||||
CONFIG_PAGE_EXTENSION=y
|
||||
CONFIG_DEBUG_PAGEALLOC=y
|
||||
CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=y
|
||||
CONFIG_PAGE_OWNER=y
|
||||
CONFIG_PAGE_POISONING=y
|
||||
CONFIG_PAGE_POISONING_NO_SANITY=y
|
||||
CONFIG_PAGE_POISONING_ZERO=y
|
||||
CONFIG_DEBUG_OBJECTS=y
|
||||
CONFIG_DEBUG_OBJECTS_SELFTEST=y
|
||||
CONFIG_DEBUG_OBJECTS_FREE=y
|
||||
CONFIG_DEBUG_OBJECTS_TIMERS=y
|
||||
CONFIG_DEBUG_OBJECTS_WORK=y
|
||||
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
|
||||
CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
|
||||
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
|
||||
CONFIG_DEBUG_STACK_USAGE=y
|
||||
CONFIG_DEBUG_VM=y
|
||||
CONFIG_DEBUG_VM_VMACACHE=y
|
||||
CONFIG_DEBUG_VM_RB=y
|
||||
CONFIG_DEBUG_VM_PGFLAGS=y
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
# CONFIG_PAGE_EXTENSION is not set
|
||||
# CONFIG_DEBUG_PAGEALLOC is not set
|
||||
# CONFIG_PAGE_OWNER is not set
|
||||
# CONFIG_PAGE_POISONING is not set
|
||||
# CONFIG_DEBUG_OBJECTS is not set
|
||||
# CONFIG_SLUB_STATS is not set
|
||||
# CONFIG_DEBUG_STACK_USAGE is not set
|
||||
# CONFIG_DEBUG_VM is not set
|
||||
# CONFIG_DEBUG_MEMORY_INIT is not set
|
||||
CONFIG_CC_HAS_KASAN_GENERIC=y
|
||||
CONFIG_KASAN_STACK=1
|
||||
# end of Memory Debugging
|
||||
@@ -3745,7 +3356,6 @@ CONFIG_DEBUG_MUTEXES=y
|
||||
CONFIG_STACKTRACE=y
|
||||
# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
|
||||
# CONFIG_DEBUG_KOBJECT is not set
|
||||
# CONFIG_DEBUG_KOBJECT_RELEASE is not set
|
||||
CONFIG_DEBUG_BUGVERBOSE=y
|
||||
# CONFIG_DEBUG_LIST is not set
|
||||
# CONFIG_DEBUG_PLIST is not set
|
||||
@@ -24,8 +24,8 @@ debug_mode = 1
|
||||
;----------------------------------------------------------------------------------
|
||||
[target]
|
||||
boot_clock = 1008
|
||||
storage_type = 5
|
||||
nand_use_ubi = 1
|
||||
storage_type = 1
|
||||
nand_use_ubi = 0
|
||||
|
||||
[spinor_para]
|
||||
;read_mode =4
|
||||
@@ -198,9 +198,9 @@ uart_debug_port = 0
|
||||
uart_debug_tx = port:PE02<6><1><default><default>
|
||||
uart_debug_rx = port:PE03<6><1><default><default>
|
||||
|
||||
;uart_debug_port = 4
|
||||
;uart_debug_tx = port:PG02<5><1><default><default>
|
||||
;uart_debug_rx = port:PG03<5><1><default><default>
|
||||
;uart_debug_port = 3
|
||||
;uart_debug_tx = port:PB06<7><1><default><default>
|
||||
;uart_debug_rx = port:PB07<7><1><default><default>
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
@@ -35,43 +35,48 @@ size = 16384
|
||||
|
||||
[partition]
|
||||
name = boot-resource
|
||||
size = 20480
|
||||
;size = 34438
|
||||
size = 504
|
||||
downloadfile = "boot-resource.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
|
||||
[partition]
|
||||
name = env
|
||||
size = 2048
|
||||
size = 504
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = env-redund
|
||||
size = 2048
|
||||
size = 504
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = boot
|
||||
size = 35200
|
||||
size = 12800
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs
|
||||
size = 32768
|
||||
downloadfile = "rootfs-ubifs.fex"
|
||||
size = 53760
|
||||
downloadfile = "rootfs.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;[partition]
|
||||
; name = dsp0
|
||||
; size = 2048
|
||||
; downloadfile = "dsp0.fex"
|
||||
; user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = recovery
|
||||
size = 19840
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = dsp0
|
||||
size = 2048
|
||||
downloadfile = "dsp0.fex"
|
||||
name = rootfs_data
|
||||
size = 10240
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = UDISK
|
||||
user_type = 0x8100
|
||||
|
||||
@@ -0,0 +1,417 @@
|
||||
/*
|
||||
* Allwinner Technology CO., Ltd. sun20iw1p1 soc board.
|
||||
*
|
||||
* soc board support.
|
||||
*/
|
||||
|
||||
&platform {
|
||||
eraseflag = <1>;
|
||||
next_work = <3>;
|
||||
debug_mode = <1>;
|
||||
};
|
||||
|
||||
&target {
|
||||
boot_clock = <1008>; /*CPU boot frequency, Unit: MHz*/
|
||||
storage_type = <0xffffffff>; /*boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan*/
|
||||
burn_key = <0>; /*1:support burn key; 0:not support burn key*/
|
||||
dragonboard_test = <0>; /*1:support card boot dragonboard; 0:not support card boot dragonboard*/
|
||||
};
|
||||
|
||||
|
||||
&charger0 {
|
||||
pmu_safe_vol = <3500>;
|
||||
};
|
||||
|
||||
|
||||
&twi6 {
|
||||
clock-frequency = <200000>;
|
||||
pinctrl-0 = <&s_twi0_pins_a>;
|
||||
no_suspend = <1>;
|
||||
twi_drv_used = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm2_pin_a {
|
||||
pins = "PD18";
|
||||
function = "pwm2";
|
||||
muxsel = <5>;
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
&pwm2_pin_b {
|
||||
pins = "PD18";
|
||||
muxsel = <0>;
|
||||
function = "gpio_out";
|
||||
};
|
||||
|
||||
&pwm2 {
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm2_pin_a>;
|
||||
pinctrl-1 = <&pwm2_pin_b>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm7_pin_a {
|
||||
pins = "PD22";
|
||||
function = "pwm7";
|
||||
muxsel = <5>;
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
&pwm7_pin_b {
|
||||
pins = "PD22";
|
||||
muxsel = <0>;
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
&pwm7 {
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm7_pin_a>;
|
||||
pinctrl-1 = <&pwm7_pin_b>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdc0_pins_a {
|
||||
allwinner,pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
allwinner,function = "sdc0";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <3>;
|
||||
allwinner,pull = <1>;
|
||||
pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
function = "sdc0";
|
||||
drive-strength = <30>;
|
||||
bias-pull-up;
|
||||
power-source = <3300>;
|
||||
};
|
||||
|
||||
&sdc0_pins_b {
|
||||
pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
function = "sdc0";
|
||||
drive-strength = <30>;
|
||||
bias-pull-up;
|
||||
power-source = <1800>;
|
||||
};
|
||||
|
||||
&sdc0_pins_c {
|
||||
pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
function = "gpio_in";
|
||||
|
||||
};
|
||||
|
||||
|
||||
&sdc2_pins_a {
|
||||
allwinner,pins = "PC2", "PC3", "PC4",
|
||||
"PC5", "PC6", "PC7";
|
||||
allwinner,function = "sdc2";
|
||||
allwinner,muxsel = <3>;
|
||||
allwinner,drive = <3>;
|
||||
allwinner,pull = <1>;
|
||||
pins = "PC2", "PC3", "PC4",
|
||||
"PC5", "PC6", "PC7";
|
||||
function = "sdc2";
|
||||
drive-strength = <30>;
|
||||
bias-pull-up;
|
||||
|
||||
};
|
||||
|
||||
&sdc2_pins_b {
|
||||
pins = "PC2", "PC3", "PC4",
|
||||
"PC5", "PC6", "PC7";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
|
||||
|
||||
&nand0_pins_a {
|
||||
allwinner,pins = "PC0", "PC1", "PC2", "PC5",
|
||||
"PC8", "PC9", "PC10", "PC11",
|
||||
"PC12", "PC13", "PC14", "PC15",
|
||||
"PC16";
|
||||
allwinner,pname= "nand0_we", "nand0_ale","nand0_cle", "nand0_nre",
|
||||
"nand0_d0", "nand0_d1", "nand0_d2", "nand0_d3",
|
||||
"nand0_d4", "nand0_d5", "nand0_d6", "nand0_d7",
|
||||
"nand0_ndqs";
|
||||
allwinner,function = "nand0";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&nand0_pins_b {
|
||||
allwinner,pins = "PC4", "PC6", "PC03", "PC07";
|
||||
allwinner,pname= "nand0_ce0", "nand0_rb0", "nand0_ce1", "nand0_rb1";
|
||||
allwinner,function = "nand0";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <1>; /* only RB&CE should be pulled up */
|
||||
};
|
||||
|
||||
&nand0_pins_c {
|
||||
allwinner,pins = "PC0", "PC1", "PC2", "PC3",
|
||||
"PC4", "PC5", "PC6", "PC7",
|
||||
"PC8", "PC9", "PC10", "PC11",
|
||||
"PC12", "PC13", "PC14", "PC15",
|
||||
"PC16";
|
||||
allwinner,function = "io_disabled";
|
||||
allwinner,muxsel = <7>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&card0_boot_para { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
|
||||
/* reg = <0x0 0x2 0x0 0x0>; [> Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value <] */
|
||||
device_type = "card0_boot_para";
|
||||
card_ctrl = <0x0>;
|
||||
card_high_speed = <0x1>;
|
||||
card_line = <0x4>;
|
||||
pinctrl-0 = <&sdc0_pins_a>;
|
||||
};
|
||||
|
||||
&card2_boot_para { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
|
||||
/* reg = <0x0 0x3 0x0 0x0>; [> Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value <] */
|
||||
device_type = "card2_boot_para";
|
||||
card_ctrl = <0x2>;
|
||||
card_high_speed = <0x1>;
|
||||
card_line = <0x4>;
|
||||
pinctrl-0 = <&sdc2_pins_a>;
|
||||
sdc_ex_dly_used = <0x2>;
|
||||
sdc_tm4_hs200_max_freq = <150>;
|
||||
sdc_tm4_hs400_max_freq = <100>;
|
||||
};
|
||||
&gpio_bias { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
|
||||
device_type = "gpio_bias";
|
||||
};
|
||||
|
||||
&nand0 {
|
||||
compatible = "allwinner,sun20iw1-nand";
|
||||
device_type = "nand0";
|
||||
//reg = <0x0 0x04011000 0x0 0x1000>;/* nand0 */
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&nand0_pins_a &nand0_pins_b>;
|
||||
pinctrl-1 = <&nand0_pins_c>;
|
||||
nand0_regulator1 = "vcc-nand";
|
||||
nand0_regulator2 = "none";
|
||||
nand0_cache_level = <0x55aaaa55>;
|
||||
nand0_flush_cache_num = <0x55aaaa55>;
|
||||
nand0_capacity_level = <0x55aaaa55>;
|
||||
nand0_id_number_ctl = <0x55aaaa55>;
|
||||
nand0_print_level = <0x55aaaa55>;
|
||||
nand0_p0 = <0x55aaaa55>;
|
||||
nand0_p1 = <0x55aaaa55>;
|
||||
nand0_p2 = <0x55aaaa55>;
|
||||
nand0_p3 = <0x55aaaa55>;
|
||||
chip_code = "sun20iw1";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&disp {
|
||||
disp_init_enable = <1>;
|
||||
disp_mode = <0>;
|
||||
|
||||
screen0_output_type = <1>;
|
||||
screen0_output_mode = <4>;
|
||||
|
||||
screen1_output_type = <1>;
|
||||
screen1_output_mode = <4>;
|
||||
|
||||
screen1_output_format = <0>;
|
||||
screen1_output_bits = <0>;
|
||||
screen1_output_eotf = <4>;
|
||||
screen1_output_cs = <257>;
|
||||
screen1_output_range = <2>;
|
||||
screen1_output_scan = <0>;
|
||||
screen1_output_aspect_ratio = <8>;
|
||||
|
||||
dev0_output_type = <1>;
|
||||
dev0_output_mode = <4>;
|
||||
dev0_screen_id = <0>;
|
||||
dev0_do_hpd = <0>;
|
||||
|
||||
dev1_output_type = <4>;
|
||||
dev1_output_mode = <10>;
|
||||
dev1_screen_id = <1>;
|
||||
dev1_do_hpd = <1>;
|
||||
|
||||
def_output_dev = <0>;
|
||||
|
||||
fb0_format = <0>;
|
||||
fb0_width = <800>;
|
||||
fb0_height = <480>;
|
||||
/*
|
||||
fb0_height = <1280>;
|
||||
*/
|
||||
fb1_format = <0>;
|
||||
fb1_width = <0>;
|
||||
fb1_height = <0>;
|
||||
chn_cfg_mode = <1>;
|
||||
|
||||
disp_para_zone = <1>;
|
||||
/*VCC-LCD*/
|
||||
/* dc1sw-supply = <®_dc1sw>;*/
|
||||
/*VCC-DSI*/
|
||||
/* eldo3-supply = <®_eldo3>;*/
|
||||
/*VCC-PD*/
|
||||
/* dcdc1-supply = <®_dcdc1>;*/
|
||||
};
|
||||
|
||||
/* RGB 800 480 */
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
lcd_driver_name = "default_lcd";
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <0>;
|
||||
lcd_x = <800>;
|
||||
lcd_y = <480>;
|
||||
lcd_width = <150>;
|
||||
lcd_height = <94>;
|
||||
lcd_dclk_freq = <48>;
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <500>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_hbp = <55>;
|
||||
lcd_ht = <1240>;
|
||||
lcd_hspw = <20>;
|
||||
lcd_vbp = <35>;
|
||||
lcd_vt = <650>;
|
||||
lcd_vspw = <10>;
|
||||
lcd_lvds_if = <0>;
|
||||
lcd_lvds_colordepth = <1>;
|
||||
lcd_lvds_mode = <0>;
|
||||
lcd_frm = <0>;
|
||||
lcd_io_phase = <0x0000>;
|
||||
lcd_gamma_en = <0>;
|
||||
lcd_bright_curve_en = <0>;
|
||||
lcd_cmap_en = <0>;
|
||||
deu_mode = <0>;
|
||||
lcdgamma4iep = <22>;
|
||||
smart_color = <90>;
|
||||
pinctrl-0 = <&rgb18_pins_a>;
|
||||
pinctrl-1 = <&rgb18_pins_b>;
|
||||
};
|
||||
|
||||
/* LVDS 1280 800 */
|
||||
/*
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
lcd_driver_name = "default_lcd";
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <3>;
|
||||
|
||||
lcd_x = <1280>;
|
||||
lcd_y = <800>;
|
||||
lcd_width = <150>;
|
||||
lcd_height = <94>;
|
||||
lcd_dclk_freq = <71>;
|
||||
lcd_rb_swap = <0>;
|
||||
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <50000>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_pwm_max_limit = <255>;
|
||||
|
||||
lcd_hbp = <20>;
|
||||
lcd_ht = <1418>;
|
||||
lcd_hspw = <10>;
|
||||
lcd_vbp = <10>;
|
||||
lcd_vt = <814>;
|
||||
lcd_vspw = <5>;
|
||||
|
||||
lcd_lvds_if = <0>;
|
||||
lcd_lvds_colordepth = <1>;
|
||||
lcd_lvds_mode = <0>;
|
||||
lcd_frm = <1>;
|
||||
lcd_io_phase = <0x0000>;
|
||||
lcd_hv_clk_phase = <0>;
|
||||
lcd_hv_sync_polarity = <0>;
|
||||
lcd_gamma_en = <0>;
|
||||
lcd_bright_curve_en = <0>;
|
||||
lcd_cmap_en = <0>;
|
||||
lcd_fsync_act_time = <1000>;
|
||||
lcd_fsync_dis_time = <1000>;
|
||||
|
||||
deu_mode = <0>;
|
||||
lcdgamma4iep = <22>;
|
||||
smart_color = <90>;
|
||||
|
||||
pinctrl-0 = <&lvds0_pins_a>;
|
||||
pinctrl-1 = <&lvds0_pins_b>;
|
||||
lcd_bl_en = <&pio PD 20 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
*/
|
||||
|
||||
/* MIPI 800 1280 */
|
||||
/*
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
lcd_driver_name = "he0801a068";
|
||||
lcd_backlight = <50>;
|
||||
lcd_if = <4>;
|
||||
|
||||
lcd_x = <800>;
|
||||
lcd_y = <1280>;
|
||||
lcd_width = <52>;
|
||||
lcd_height = <52>;
|
||||
lcd_dclk_freq = <78>;
|
||||
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <50000>;
|
||||
lcd_pwm_pol = <0>;
|
||||
lcd_pwm_max_limit = <255>;
|
||||
|
||||
lcd_hbp = <149>;
|
||||
lcd_ht = <978>;
|
||||
lcd_hspw = <16>;
|
||||
lcd_vbp = <7>;
|
||||
lcd_vt = <1329>;
|
||||
lcd_vspw = <5>;
|
||||
|
||||
lcd_dsi_lane = <4>;
|
||||
lcd_lvds_if = <0>;
|
||||
lcd_lvds_colordepth = <1>;
|
||||
lcd_lvds_mode = <0>;
|
||||
lcd_frm = <0>;
|
||||
lcd_io_phase = <0x0000>;
|
||||
lcd_gamma_en = <0>;
|
||||
lcd_bright_curve_en = <0>;
|
||||
lcd_cmap_en = <0>;
|
||||
lcd_fsync_act_time = <1000>;
|
||||
lcd_fsync_dis_time = <1000>;
|
||||
|
||||
deu_mode = <0>;
|
||||
lcdgamma4iep = <22>;
|
||||
smart_color = <90>;
|
||||
|
||||
pinctrl-0 = <&dsi4lane_pins_a>;
|
||||
pinctrl-1 = <&dsi4lane_pins_b>;
|
||||
lcd_gpio_0 = <&pio PD 20 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
*/
|
||||
|
||||
&aliases {
|
||||
nand0 = &nand0;
|
||||
twi6 = &twi6;
|
||||
pwm = &pwm;
|
||||
pwm0 = &pwm0;
|
||||
pwm1 = &pwm1;
|
||||
pwm2 = &pwm2;
|
||||
pwm3 = &pwm3;
|
||||
pwm4 = &pwm4;
|
||||
pwm5 = &pwm5;
|
||||
pwm6 = &pwm6;
|
||||
pwm7 = &pwm7;
|
||||
disp = &disp;
|
||||
lcd0 = &lcd0;
|
||||
lcd1 = &lcd1;
|
||||
eink = &eink;
|
||||
spi0 = &spi0;
|
||||
|
||||
};
|
||||
@@ -1,34 +0,0 @@
|
||||
|
||||
#kernel command arguments
|
||||
earlyprintk=sunxi-uart,0x02500000
|
||||
initcall_debug=0
|
||||
console=ttyS0,115200
|
||||
nand_root=ubi0_5
|
||||
mmc_root=/dev/mmcblk0p5
|
||||
mtd_name=sys
|
||||
rootfstype=ubifs,rw
|
||||
init=/init
|
||||
loglevel=8
|
||||
cma=8M
|
||||
mac=
|
||||
wifi_mac=
|
||||
bt_mac=
|
||||
specialstr=
|
||||
keybox_list=hdcpkey
|
||||
dsp0_partition=dsp0
|
||||
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
|
||||
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
#nand command syntax: sunxi_flash read address partition_name read_bytes
|
||||
#0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k)
|
||||
boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0
|
||||
boot_normal=sunxi_flash read 43000000 boot;bootm 43000000
|
||||
boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000
|
||||
boot_fastboot=fastboot
|
||||
|
||||
#uboot system env config
|
||||
bootdelay=0
|
||||
#default bootcmd, will change at runtime according to key press
|
||||
#default nand boot
|
||||
bootcmd=run setargs_nand boot_dsp0 boot_normal
|
||||
@@ -38,4 +38,4 @@ bootdelay=1
|
||||
#default bootcmd, will change at runtime according to key press
|
||||
#default nand boot
|
||||
#bootcmd=run setargs_nand boot_dsp0 boot_normal
|
||||
bootcmd=run setargs_nand boot_normal
|
||||
bootcmd=run setargs_mmc boot_normal
|
||||
@@ -32,7 +32,7 @@
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
regulator-enable-ramp-delay = <1000>;
|
||||
gpio = <&pio PB 3 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&pio PB 10 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
};
|
||||
};
|
||||
@@ -129,15 +129,15 @@
|
||||
function = "clk_fanout1";
|
||||
};
|
||||
|
||||
uart0_pins_a: uart0_pins@0 { /* For EVB1 board */
|
||||
pins = "PF2", "PF4";
|
||||
uart0_pins_a: uart0_pins@0 { /* For mangopi board */
|
||||
pins = "PE2", "PE3";
|
||||
function = "uart0";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
uart0_pins_b: uart0_pins@1 { /* For EVB1 board */
|
||||
pins = "PF2", "PF4";
|
||||
uart0_pins_b: uart0_pins@1 { /* For mangopi board */
|
||||
pins = "PE2", "PE3";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
@@ -516,7 +516,7 @@
|
||||
clock-names = "32k-fanout1";
|
||||
clocks = <&ccu CLK_FANOUT1_OUT>;
|
||||
wlan_busnum = <0x1>;
|
||||
wlan_regon = <&pio PE 3 GPIO_ACTIVE_HIGH>;
|
||||
wlan_regon = <&pio PG 12 GPIO_ACTIVE_HIGH>;
|
||||
wlan_hostwake = <&pio PG 10 GPIO_ACTIVE_HIGH>;
|
||||
/*wlan_power = "VCC-3V3";*/
|
||||
/*wlan_power_vol = <3300000>;*/
|
||||
@@ -535,7 +535,7 @@
|
||||
/*bt_io_regulator = "axp803-dldo1";*/
|
||||
/*bt_io_vol = <3300000>;*/
|
||||
/*bt_power_vol = <330000>;*/
|
||||
bt_rst_n = <&pio PG 18 GPIO_ACTIVE_LOW>;
|
||||
bt_rst_n = <&pio PG 15 GPIO_ACTIVE_LOW>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
@@ -543,8 +543,8 @@
|
||||
btlpm: btlpm@0 {
|
||||
compatible = "allwinner,sunxi-btlpm";
|
||||
uart_index = <0x1>;
|
||||
bt_wake = <&pio PG 16 GPIO_ACTIVE_HIGH>;
|
||||
bt_hostwake = <&pio PG 17 GPIO_ACTIVE_HIGH>;
|
||||
bt_wake = <&pio PG 14 GPIO_ACTIVE_HIGH>;
|
||||
bt_hostwake = <&pio PG 13 GPIO_ACTIVE_HIGH>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -580,13 +580,13 @@
|
||||
|
||||
&sdc0 {
|
||||
bus-width = <4>;
|
||||
cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* mangopi */
|
||||
/*non-removable;*/
|
||||
/*broken-cd;*/
|
||||
/*cd-inverted;*/
|
||||
/*data3-detect;*/
|
||||
/*card-pwr-gpios = <&pio PH 14 1 1 2 0xffffffff>;*/
|
||||
cd-used-24M;
|
||||
/*cd-used-24M;*/
|
||||
cap-sd-highspeed;
|
||||
/*sd-uhs-sdr50;*/
|
||||
/*sd-uhs-ddr50;*/
|
||||
@@ -602,7 +602,7 @@
|
||||
/*vdmmc33sw-supply = <®_dcdc1>;*/
|
||||
/*vqmmc18sw-supply = <®_eldo1>;*/
|
||||
/*vdmmc18sw-supply = <®_eldo1>;*/
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdc1 {
|
||||
@@ -738,7 +738,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
pinctrl-names = "default","sleep";
|
||||
pinctrl-0 = <&dmic_pins_a>;
|
||||
pinctrl-1 = <&dmic_pins_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&dmic_codec {
|
||||
@@ -838,7 +838,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
};
|
||||
|
||||
&sounddaudio2 {
|
||||
status = "okay";
|
||||
status = "disabled"; /* mangopi */
|
||||
daudio2_master: simple-audio-card,codec {
|
||||
/* sound-dai = <&ac108>; */
|
||||
};
|
||||
@@ -865,12 +865,12 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
*/
|
||||
&usbc0 {
|
||||
device_type = "usbc0";
|
||||
usb_port_type = <0x2>;
|
||||
usb_detect_type = <0x1>;
|
||||
usb_detect_mode = <0>;
|
||||
usb_id_gpio = <&pio PB 6 GPIO_ACTIVE_HIGH>;
|
||||
usb_port_type = <0x0>;
|
||||
usb_detect_type = <0x0>;
|
||||
/* usb_detect_mode = <0>;
|
||||
usb_id_gpio = <&pio PB 8 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
usb_det_vbus_gpio = <&pio PB 2 GPIO_ACTIVE_HIGH>;
|
||||
usb_det_vbus_gpio = <&pio PB 9 GPIO_ACTIVE_HIGH>; */
|
||||
usb_wakeup_suspend = <0>;
|
||||
usb_serial_unique = <0>;
|
||||
usb_serial_number = "20080411";
|
||||
@@ -889,7 +889,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
&usbc1 {
|
||||
device_type = "usbc1";
|
||||
usb_port_type = <0x01>;
|
||||
sb_detect_type = <0x1>;
|
||||
usb_detect_type = <0x1>;
|
||||
usb_regulator_io = "nocare";
|
||||
usb_wakeup_suspend = <0>;
|
||||
status = "okay";
|
||||
@@ -1392,14 +1392,14 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm0_pin_a>;
|
||||
pinctrl-1 = <&pwm0_pin_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pwm2 {
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm2_pin_a>;
|
||||
pinctrl-1 = <&pwm2_pin_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
@@ -1407,7 +1407,7 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm7_pin_a>;
|
||||
pinctrl-1 = <&pwm7_pin_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&rtp {
|
||||
@@ -1459,7 +1459,7 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
pinctrl-1 = <&s_cir0_pins_b>;
|
||||
ir_protocol_used = <0>;
|
||||
ir_addr_code0 = <0x0>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&ir1 {
|
||||
|
||||
@@ -879,7 +879,35 @@ CONFIG_NET_FLOW_LIMIT=y
|
||||
|
||||
# CONFIG_HAMRADIO is not set
|
||||
# CONFIG_CAN is not set
|
||||
# CONFIG_BT is not set
|
||||
CONFIG_BT=y
|
||||
# CONFIG_BT_BREDR is not set
|
||||
# CONFIG_BT_LE is not set
|
||||
# CONFIG_BT_SELFTEST is not set
|
||||
CONFIG_BT_DEBUGFS=y
|
||||
|
||||
#
|
||||
# Bluetooth device drivers
|
||||
#
|
||||
# CONFIG_BT_HCIBTUSB is not set
|
||||
# CONFIG_BT_HCIUART_RTL3WIRE is not set
|
||||
# CONFIG_BT_HCIBTSDIO is not set
|
||||
CONFIG_BT_HCIUART=y
|
||||
CONFIG_BT_HCIUART_H4=y
|
||||
CONFIG_BT_HCIUART_BCSP=y
|
||||
# CONFIG_BT_HCIUART_ATH3K is not set
|
||||
# CONFIG_BT_HCIUART_INTEL is not set
|
||||
# CONFIG_BT_HCIUART_AG6XX is not set
|
||||
# CONFIG_BT_HCIBCM203X is not set
|
||||
# CONFIG_BT_HCIBPA10X is not set
|
||||
# CONFIG_BT_HCIBFUSB is not set
|
||||
# CONFIG_BT_HCIVHCI is not set
|
||||
# CONFIG_BCM_BT_LPM is not set
|
||||
CONFIG_RTL_BT_LPM=y
|
||||
# CONFIG_XR_BT_LPM is not set
|
||||
# CONFIG_BT_MRVL is not set
|
||||
# CONFIG_BT_MTKSDIO is not set
|
||||
# end of Bluetooth device drivers
|
||||
|
||||
# CONFIG_AF_RXRPC is not set
|
||||
# CONFIG_AF_KCM is not set
|
||||
CONFIG_FIB_RULES=y
|
||||
@@ -1290,9 +1318,10 @@ CONFIG_WLAN=y
|
||||
# CONFIG_WLAN_VENDOR_ZYDAS is not set
|
||||
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
|
||||
# CONFIG_XR829_WLAN is not set
|
||||
CONFIG_XR819S_WLAN=m
|
||||
# CONFIG_XR819S_WLAN is not set
|
||||
# CONFIG_RTL8821CS is not set
|
||||
# CONFIG_RTL8723DS is not set
|
||||
CONFIG_RTL8723DS=m
|
||||
CONFIG_RTL8189FS=m
|
||||
# CONFIG_SPARD_WLAN_SUPPORT is not set
|
||||
# CONFIG_BCMDHD is not set
|
||||
# CONFIG_AIC_WLAN_SUPPORT is not set
|
||||
@@ -2619,7 +2648,7 @@ CONFIG_USB_SUNXI_OHCI1=y
|
||||
#
|
||||
# also be needed; see USB_STORAGE Help for more info
|
||||
#
|
||||
CONFIG_USB_STORAGE=m
|
||||
CONFIG_USB_STORAGE=y
|
||||
# CONFIG_USB_STORAGE_DEBUG is not set
|
||||
# CONFIG_USB_STORAGE_REALTEK is not set
|
||||
# CONFIG_USB_STORAGE_DATAFAB is not set
|
||||
@@ -2720,8 +2749,12 @@ CONFIG_USB_SUNXI_UDC0=y
|
||||
|
||||
CONFIG_USB_LIBCOMPOSITE=y
|
||||
CONFIG_USB_U_SERIAL=y
|
||||
CONFIG_USB_U_AUDIO=y
|
||||
CONFIG_USB_F_SERIAL=y
|
||||
CONFIG_USB_F_MASS_STORAGE=y
|
||||
CONFIG_USB_F_FS=y
|
||||
CONFIG_USB_F_UAC1=y
|
||||
CONFIG_USB_F_HID=y
|
||||
CONFIG_USB_CONFIGFS=y
|
||||
CONFIG_USB_CONFIGFS_UEVENT=y
|
||||
CONFIG_USB_CONFIGFS_SERIAL=y
|
||||
@@ -2732,37 +2765,21 @@ CONFIG_USB_CONFIGFS_SERIAL=y
|
||||
# CONFIG_USB_CONFIGFS_ECM_SUBSET is not set
|
||||
# CONFIG_USB_CONFIGFS_RNDIS is not set
|
||||
# CONFIG_USB_CONFIGFS_EEM is not set
|
||||
# CONFIG_USB_CONFIGFS_MASS_STORAGE is not set
|
||||
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
|
||||
# CONFIG_USB_CONFIGFS_F_LB_SS is not set
|
||||
CONFIG_USB_CONFIGFS_F_FS=y
|
||||
# CONFIG_USB_CONFIGFS_F_AUDIO_SRC is not set
|
||||
# CONFIG_USB_CONFIGFS_F_UAC1 is not set
|
||||
CONFIG_USB_CONFIGFS_F_UAC1=y
|
||||
# CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set
|
||||
# CONFIG_USB_CONFIGFS_F_UAC2 is not set
|
||||
# CONFIG_USB_CONFIGFS_F_MIDI is not set
|
||||
# CONFIG_USB_CONFIGFS_F_HID is not set
|
||||
CONFIG_USB_CONFIGFS_F_HID=y
|
||||
# CONFIG_USB_CONFIGFS_F_PRINTER is not set
|
||||
CONFIG_USB_SUNXI_USB=y
|
||||
CONFIG_USB_SUNXI_USB_MANAGER=y
|
||||
# CONFIG_USB_SUNXI_USB_DEBUG is not set
|
||||
CONFIG_USB_SUNXI_USB_DEBUG=y
|
||||
CONFIG_USB_SUNXI_USB_ADB=y
|
||||
CONFIG_TYPEC=y
|
||||
# CONFIG_TYPEC_TCPM is not set
|
||||
# CONFIG_TYPEC_UCSI is not set
|
||||
# CONFIG_TYPEC_TPS6598X is not set
|
||||
|
||||
#
|
||||
# USB Type-C Multiplexer/DeMultiplexer Switch support
|
||||
#
|
||||
# CONFIG_TYPEC_MUX_PI3USB30532 is not set
|
||||
# end of USB Type-C Multiplexer/DeMultiplexer Switch support
|
||||
|
||||
#
|
||||
# USB Type-C Alternate Mode drivers
|
||||
#
|
||||
# CONFIG_TYPEC_DP_ALTMODE is not set
|
||||
# end of USB Type-C Alternate Mode drivers
|
||||
|
||||
# CONFIG_TYPEC is not set
|
||||
CONFIG_USB_ROLE_SWITCH=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_PWRSEQ_EMMC=y
|
||||
@@ -3133,9 +3150,17 @@ CONFIG_PM_OPP=y
|
||||
#
|
||||
CONFIG_DCACHE_WORD_ACCESS=y
|
||||
# CONFIG_VALIDATE_FS_PARSER is not set
|
||||
CONFIG_FS_IOMAP=y
|
||||
# CONFIG_EXT2_FS is not set
|
||||
# CONFIG_EXT3_FS is not set
|
||||
# CONFIG_EXT4_FS is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_USE_FOR_EXT2=y
|
||||
# CONFIG_EXT4_FS_POSIX_ACL is not set
|
||||
# CONFIG_EXT4_FS_SECURITY is not set
|
||||
# CONFIG_EXT4_DEBUG is not set
|
||||
CONFIG_JBD2=y
|
||||
# CONFIG_JBD2_DEBUG is not set
|
||||
CONFIG_FS_MBCACHE=y
|
||||
# CONFIG_REISERFS_FS is not set
|
||||
# CONFIG_JFS_FS is not set
|
||||
# CONFIG_XFS_FS is not set
|
||||
|
||||
@@ -14,11 +14,11 @@ machine = "evb1"
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;debug_mode = 0-close printf, > 0-open printf
|
||||
;debug_mode = 0-close printf, > 1-open printf
|
||||
;----------------------------------------------------------------------------------
|
||||
[platform]
|
||||
eraseflag = 1
|
||||
debug_mode = 0
|
||||
debug_mode = 1
|
||||
;----------------------------------------------------------------------------------
|
||||
; system configuration
|
||||
; ?
|
||||
@@ -33,7 +33,7 @@ debug_mode = 0
|
||||
;storage_type = boot medium, 0-nand, 1-sd, 2-emmc, 3-nor, 4-emmc3, 5-spinand -1(defualt)auto scan
|
||||
;----------------------------------------------------------------------------------
|
||||
[target]
|
||||
storage_type = 5
|
||||
storage_type = 1
|
||||
burn_key = 0
|
||||
;----------------------------------------------------------------------------------
|
||||
;spinor configuration
|
||||
@@ -130,7 +130,7 @@ sdc_dis_host_caps = 0x180
|
||||
;jtag_di |测试数据输出(TDI) 的GPIO配置 |
|
||||
;----------------------------------------------------------------------------------
|
||||
[jtag_para]
|
||||
jtag_enable = 1
|
||||
jtag_enable = 0
|
||||
jtag_ms = port:PH9<3><default><default><default>
|
||||
jtag_ck = port:PH10<3><default><default><default>
|
||||
jtag_do = port:PH11<3><default><default><default>
|
||||
@@ -209,9 +209,12 @@ twi_sda = port:PC1<3><1><default><default>
|
||||
;----------------------------------------------------------------------------------
|
||||
[uart_para]
|
||||
uart_debug_port = 0
|
||||
uart_debug_tx = port:PF02<3><1><default><default>
|
||||
uart_debug_rx = port:PF04<3><1><default><default>
|
||||
uart_debug_tx = port:PE02<6><1><default><default>
|
||||
uart_debug_rx = port:PE03<6><1><default><default>
|
||||
|
||||
;uart_debug_port = 3
|
||||
;uart_debug_tx = port:PB06<7><1><default><default>
|
||||
;uart_debug_rx = port:PB07<7><1><default><default>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;dram_region_mbytes :设置drm大小以bytes为单位
|
||||
|
||||
@@ -54,7 +54,7 @@ size = 16384
|
||||
|
||||
[partition]
|
||||
name = boot
|
||||
size = 7680
|
||||
size = 8064
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
@@ -83,13 +83,11 @@ size = 16384
|
||||
|
||||
[partition]
|
||||
name = rootfs_data
|
||||
size = 10240
|
||||
size = 50400
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = UDISK
|
||||
name = rootfs_data
|
||||
size = 10240
|
||||
user_type = 0x8000
|
||||
user_type = 0x8100
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
&target {
|
||||
boot_clock = <1008>; /*CPU boot frequency, Unit: MHz*/
|
||||
storage_type = <0xffffffff>; /*boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan*/
|
||||
burn_key = <1>; /*1:support burn key; 0:not support burn key*/
|
||||
burn_key = <0>; /*1:support burn key; 0:not support burn key*/
|
||||
dragonboard_test = <0>; /*1:support card boot dragonboard; 0:not support card boot dragonboard*/
|
||||
};
|
||||
|
||||
@@ -284,7 +284,7 @@
|
||||
reg = <0x0>;
|
||||
spi-rx-bus-width=<0x01>;
|
||||
spi-tx-bus-width=<0x01>;
|
||||
status="okay";
|
||||
status="disabled";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
LICHEE_CHIP:=sun8iw20p1
|
||||
LICHEE_ARCH:=arm
|
||||
LICHEE_BRANDY_VER:=2.0
|
||||
LICHEE_BRANDY_DEFCONF:=sun8iw20p1_defconfig
|
||||
LICHEE_KERN_VER:=5.4
|
||||
LICHEE_KERN_DEFCONF:=sun8iw20p1smp_defconfig
|
||||
LICHEE_REDUNDANT_ENV_SIZE:=0x20000
|
||||
@@ -0,0 +1 @@
|
||||
linux-5.4/board.dts
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
#kernel command arguments
|
||||
burn_key=0
|
||||
earlyprintk=sunxi-uart,0x02500000
|
||||
initcall_debug=0
|
||||
console=ttyS0,115200
|
||||
nand_root=/dev/ubiblock0_5
|
||||
mmc_root=/dev/mmcblk0p5
|
||||
mtd_name=sys
|
||||
rootfstype=squashfs
|
||||
root_partition=rootfs
|
||||
boot_partition=boot
|
||||
init=/sbin/init
|
||||
loglevel=8
|
||||
cma=4M
|
||||
mac=
|
||||
wifi_mac=
|
||||
bt_mac=
|
||||
specialstr=
|
||||
#keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3
|
||||
dsp0_partition=dsp0
|
||||
rootdelay=2
|
||||
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
|
||||
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} rootdelay=${rootdelay} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
|
||||
#nand command syntax: sunxi_flash read address partition_name read_bytes
|
||||
#0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k)
|
||||
#boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0
|
||||
#boot_normal=sunxi_flash read 43000000 ${boot_partition};bootm 43000000
|
||||
boot_dsp0=sunxi_flash read 40000000 ${dsp0_partition};bootr 40000000 0 0
|
||||
boot_normal=sunxi_flash read 41000000 ${boot_partition};bootm 41000000
|
||||
boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000
|
||||
boot_fastboot=fastboot
|
||||
|
||||
#uboot system env config
|
||||
bootdelay=1
|
||||
#default bootcmd, will change at runtime according to key press
|
||||
#default nand boot
|
||||
#bootcmd=run setargs_nand boot_dsp0 boot_normal
|
||||
bootcmd=run setargs_mmc boot_normal
|
||||
@@ -0,0 +1 @@
|
||||
linux-5.4
|
||||
@@ -1,35 +1,22 @@
|
||||
/*
|
||||
* Allwinner Technology CO., Ltd. sun20iw1p1 fpga.
|
||||
*
|
||||
* fpga support.
|
||||
* Allwinner Technology CO., Ltd.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sun20iw1p1.dtsi"
|
||||
/* optee used 7MB: SHM 2M: OS: 1M: TA:4M*/
|
||||
/memreserve/ 0x41B00000 0x00100000;
|
||||
/* DSP used 1MB */
|
||||
/*/memreserve/ 0x42000000 0x00100000;*/
|
||||
#include "sun8iw20p1.dtsi"
|
||||
|
||||
/{
|
||||
compatible = "allwinner,d1", "arm,sun20iw1p1", "allwinner,sun20iw1p1";
|
||||
|
||||
aliases {
|
||||
dsp0 = &dsp0;
|
||||
dsp0_gpio_int= &dsp0_gpio_int;
|
||||
};
|
||||
|
||||
dsp0: dsp0 {
|
||||
compatible = "allwinner,sun20iw1-dsp";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
dsp0_gpio_int: dsp0_gpio_int {
|
||||
compatible = "allwinner,sun20iw1-dsp-gpio-int";
|
||||
pin-group = "PB", "PC", "PD", "PE";
|
||||
status = "disabled";
|
||||
};
|
||||
model = "sun8iw20";
|
||||
compatible = "allwinner,r528", "arm,sun8iw20p1";
|
||||
|
||||
reg_vdd_cpu: vdd-cpu {
|
||||
compatible = "sunxi-pwm-regulator";
|
||||
pwms = <&pwm 0 5000 1>;
|
||||
pwms = <&pwm 3 5000 0>;
|
||||
regulator-name = "vdd_cpu";
|
||||
regulator-min-microvolt = <810000>;
|
||||
regulator-max-microvolt = <1160000>;
|
||||
@@ -45,12 +32,12 @@
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
regulator-enable-ramp-delay = <1000>;
|
||||
gpio = <&pio PB 3 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&pio PB 10 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
};
|
||||
};
|
||||
|
||||
&CPU0 {
|
||||
&cpu0 {
|
||||
cpu-supply = <®_vdd_cpu>;
|
||||
};
|
||||
|
||||
@@ -142,14 +129,14 @@
|
||||
function = "clk_fanout1";
|
||||
};
|
||||
|
||||
uart0_pins_a: uart0_pins@0 { /* For EVB1 board */
|
||||
uart0_pins_a: uart0_pins@0 { /* For mangopi board */
|
||||
pins = "PE2", "PE3";
|
||||
function = "uart0";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
uart0_pins_b: uart0_pins@1 { /* For EVB1 board */
|
||||
uart0_pins_b: uart0_pins@1 { /* For mangopi board */
|
||||
pins = "PE2", "PE3";
|
||||
function = "gpio_in";
|
||||
};
|
||||
@@ -186,19 +173,6 @@
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
|
||||
uart4_pins_a: uart4_pins@0 { /* For EVB pro board */
|
||||
pins = "PG2", "PG3";
|
||||
function = "uart4";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
uart4_pins_b: uart4_pins@1 { /* For EVB pro board */
|
||||
pins = "PG2", "PG3";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
twi0_pins_a: twi0@0 {
|
||||
pins = "PB10", "PB11"; /*sck sda*/
|
||||
function = "twi0";
|
||||
@@ -244,19 +218,19 @@
|
||||
};
|
||||
|
||||
gmac_pins_a: gmac@0 {
|
||||
pins = "PG0", "PG1", "PG2", "PG3",
|
||||
"PG4", "PG5", "PG6", "PG7",
|
||||
"PG8", "PG9", "PG10", "PG11",
|
||||
"PG12", "PG13", "PG14", "PG15";
|
||||
pins = "PE0", "PE1", "PE2", "PE3",
|
||||
"PE4", "PE5", "PE6", "PE7",
|
||||
"PE8", "PE9", "PE10", "PE11",
|
||||
"PE12", "PE13", "PE14", "PE15";
|
||||
function = "gmac0";
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
gmac_pins_b: gmac@1 {
|
||||
pins = "PG0", "PG1", "PG2", "PG3",
|
||||
"PG4", "PG5", "PG6", "PG7",
|
||||
"PG8", "PG9", "PG10", "PG11",
|
||||
"PG12", "PG13", "PG14", "PG15";
|
||||
pins = "PE0", "PE1", "PE2", "PE3",
|
||||
"PE4", "PE5", "PE6", "PE7",
|
||||
"PE8", "PE9", "PE10", "PE11",
|
||||
"PE12", "PE13", "PE14", "PE15";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
@@ -353,14 +327,14 @@
|
||||
pins = "PC2", "PC4", "PC5"; /* clk, mosi, miso */
|
||||
function = "spi0";
|
||||
muxsel = <2>;
|
||||
drive-strength = <20>;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
spi0_pins_b: spi0@1 {
|
||||
pins = "PC3", "PC7", "PC6";
|
||||
function = "spi0";
|
||||
muxsel = <2>;
|
||||
drive-strength = <20>;
|
||||
drive-strength = <10>;
|
||||
bias-pull-up; /* cs, hold, wp should be pulled up */
|
||||
};
|
||||
|
||||
@@ -493,13 +467,6 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&uart4_pins_a>;
|
||||
pinctrl-1 = <&uart4_pins_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&soc {
|
||||
card0_boot_para@2 {
|
||||
/*
|
||||
@@ -542,14 +509,14 @@
|
||||
power_en;
|
||||
pinctrl-0 = <&wlan_pins_a>;
|
||||
pinctrl-names = "default";
|
||||
status = "diabled"
|
||||
status = "okay";
|
||||
|
||||
wlan: wlan@0 {
|
||||
compatible = "allwinner,sunxi-wlan";
|
||||
clock-names = "32k-fanout1";
|
||||
clocks = <&ccu CLK_FANOUT1_OUT>;
|
||||
wlan_busnum = <0x1>;
|
||||
wlan_regon = <&pio PE 3 GPIO_ACTIVE_HIGH>;
|
||||
wlan_regon = <&pio PG 12 GPIO_ACTIVE_HIGH>;
|
||||
wlan_hostwake = <&pio PG 10 GPIO_ACTIVE_HIGH>;
|
||||
/*wlan_power = "VCC-3V3";*/
|
||||
/*wlan_power_vol = <3300000>;*/
|
||||
@@ -568,7 +535,7 @@
|
||||
/*bt_io_regulator = "axp803-dldo1";*/
|
||||
/*bt_io_vol = <3300000>;*/
|
||||
/*bt_power_vol = <330000>;*/
|
||||
bt_rst_n = <&pio PG 18 GPIO_ACTIVE_LOW>;
|
||||
bt_rst_n = <&pio PG 15 GPIO_ACTIVE_LOW>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
@@ -576,8 +543,8 @@
|
||||
btlpm: btlpm@0 {
|
||||
compatible = "allwinner,sunxi-btlpm";
|
||||
uart_index = <0x1>;
|
||||
bt_wake = <&pio PG 16 GPIO_ACTIVE_HIGH>;
|
||||
bt_hostwake = <&pio PG 17 GPIO_ACTIVE_HIGH>;
|
||||
bt_wake = <&pio PG 14 GPIO_ACTIVE_HIGH>;
|
||||
bt_hostwake = <&pio PG 13 GPIO_ACTIVE_HIGH>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -613,13 +580,13 @@
|
||||
|
||||
&sdc0 {
|
||||
bus-width = <4>;
|
||||
cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* mangopi */
|
||||
/*non-removable;*/
|
||||
/*broken-cd;*/
|
||||
/*cd-inverted;*/
|
||||
/*data3-detect;*/
|
||||
/*card-pwr-gpios = <&pio PH 14 1 1 2 0xffffffff>;*/
|
||||
cd-used-24M;
|
||||
/*cd-used-24M;*/
|
||||
cap-sd-highspeed;
|
||||
/*sd-uhs-sdr50;*/
|
||||
/*sd-uhs-ddr50;*/
|
||||
@@ -635,7 +602,7 @@
|
||||
/*vdmmc33sw-supply = <®_dcdc1>;*/
|
||||
/*vqmmc18sw-supply = <®_eldo1>;*/
|
||||
/*vdmmc18sw-supply = <®_eldo1>;*/
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdc1 {
|
||||
@@ -655,7 +622,7 @@
|
||||
ignore-pm-notify;
|
||||
max-frequency = <150000000>;
|
||||
ctl-spec-caps = <0x8>;
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
@@ -771,7 +738,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
pinctrl-names = "default","sleep";
|
||||
pinctrl-0 = <&dmic_pins_a>;
|
||||
pinctrl-1 = <&dmic_pins_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&dmic_codec {
|
||||
@@ -871,7 +838,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
};
|
||||
|
||||
&sounddaudio2 {
|
||||
status = "okay";
|
||||
status = "disabled"; /* mangopi */
|
||||
daudio2_master: simple-audio-card,codec {
|
||||
/* sound-dai = <&ac108>; */
|
||||
};
|
||||
@@ -898,12 +865,12 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
*/
|
||||
&usbc0 {
|
||||
device_type = "usbc0";
|
||||
usb_port_type = <0x2>;
|
||||
usb_detect_type = <0x1>;
|
||||
usb_detect_mode = <0>;
|
||||
usb_id_gpio = <&pio PB 6 GPIO_ACTIVE_HIGH>;
|
||||
usb_port_type = <0x0>;
|
||||
usb_detect_type = <0x0>;
|
||||
/* usb_detect_mode = <0>;
|
||||
usb_id_gpio = <&pio PB 8 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
usb_det_vbus_gpio = <&pio PB 2 GPIO_ACTIVE_HIGH>;
|
||||
usb_det_vbus_gpio = <&pio PB 9 GPIO_ACTIVE_HIGH>; */
|
||||
usb_wakeup_suspend = <0>;
|
||||
usb_serial_unique = <0>;
|
||||
usb_serial_number = "20080411";
|
||||
@@ -922,7 +889,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
&usbc1 {
|
||||
device_type = "usbc1";
|
||||
usb_port_type = <0x01>;
|
||||
sb_detect_type = <0x1>;
|
||||
usb_detect_type = <0x1>;
|
||||
usb_regulator_io = "nocare";
|
||||
usb_wakeup_suspend = <0>;
|
||||
status = "okay";
|
||||
@@ -965,7 +932,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
pinctrl-names = "default", "sleep";
|
||||
dmas = <&dma 45>, <&dma 45>;
|
||||
dma-names = "tx", "rx";
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
|
||||
/* pcf8574-usage:
|
||||
* only use gpio0~7, 0 means PP0.
|
||||
@@ -992,7 +959,7 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
compatible = "allwinner,goodix";
|
||||
device_type = "ctp";
|
||||
reg = <0x14>;
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
ctp_name = "gt9xxnew_ts";
|
||||
ctp_twi_id = <0x2>;
|
||||
ctp_twi_addr = <0x14>;
|
||||
@@ -1023,10 +990,10 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
pinctrl-0 = <&gmac_pins_a>;
|
||||
pinctrl-1 = <&gmac_pins_b>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
phy-rst = <&pio PF 4 GPIO_ACTIVE_HIGH>;
|
||||
tx-delay = <5>; /*2~4*/
|
||||
phy-rst = <&pio PE 16 GPIO_ACTIVE_HIGH>;
|
||||
tx-delay = <3>; /*2~4*/
|
||||
rx-delay = <0>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
@@ -1101,86 +1068,6 @@ tvd_row*tvd_column is the total tvd channel number to be used in multichannel mo
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* camera csi */
|
||||
&vind0 {
|
||||
csi_top = <336000000>;
|
||||
csi_isp = <327000000>;
|
||||
status = "disabled";
|
||||
|
||||
actuator0: actuator@5809450 {
|
||||
device_type = "actuator0";
|
||||
actuator0_name = "ad5820_act";
|
||||
actuator0_slave = <0x18>;
|
||||
actuator0_af_pwdn = <>;
|
||||
actuator0_afvdd = "afvcc-csi";
|
||||
actuator0_afvdd_vol = <2800000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
flash0: flash@5809460 {
|
||||
device_type = "flash0";
|
||||
flash0_type = <2>;
|
||||
flash0_en = <>;
|
||||
flash0_mode = <>;
|
||||
flash0_flvdd = "";
|
||||
flash0_flvdd_vol = <>;
|
||||
device_id = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sensor0:sensor@5809470 {
|
||||
device_type = "sensor0";
|
||||
sensor0_mname = "ov5640";
|
||||
sensor0_twi_cci_id = <2>;
|
||||
sensor0_twi_addr = <0x78>;
|
||||
sensor0_mclk_id = <0>;
|
||||
sensor0_pos = "rear";
|
||||
sensor0_isp_used = <0>;
|
||||
sensor0_fmt = <0>;
|
||||
sensor0_stby_mode = <0>;
|
||||
sensor0_vflip = <0>;
|
||||
sensor0_hflip = <0>;
|
||||
sensor0_iovdd-supply = <>;
|
||||
sensor0_iovdd_vol = <3300000>;
|
||||
sensor0_avdd-supply = <>;
|
||||
sensor0_avdd_vol = <1200000>;
|
||||
sensor0_dvdd-supply = <>;
|
||||
sensor0_dvdd_vol = <1200000>;
|
||||
sensor0_power_en = <>;
|
||||
sensor0_reset = <&pio PG 0 GPIO_ACTIVE_LOW>;
|
||||
sensor0_pwdn = <&pio PG 1 GPIO_ACTIVE_LOW>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sensor1:sensor@5809480 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vinc0:vinc@5809000 {
|
||||
vinc0_csi_sel = <0>;
|
||||
vinc0_mipi_sel = <0xff>;
|
||||
vinc0_isp_sel = <0>;
|
||||
vinc0_isp_tx_ch = <0>;
|
||||
vinc0_tdm_rx_sel = <0xff>;
|
||||
vinc0_rear_sensor_sel = <0>;
|
||||
vinc0_front_sensor_sel = <0>;
|
||||
vinc0_sensor_list = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vinc1:vinc@5809200 {
|
||||
vinc1_csi_sel = <0>;
|
||||
vinc1_mipi_sel = <0xff>;
|
||||
vinc1_isp_sel = <0>;
|
||||
vinc1_isp_tx_ch = <0>;
|
||||
vinc1_tdm_rx_sel = <0xff>;
|
||||
vinc1_rear_sensor_sel = <0>;
|
||||
vinc1_front_sensor_sel = <1>;
|
||||
vinc1_sensor_list = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
/*----------------------------------------------------------------------------------
|
||||
disp init configuration
|
||||
|
||||
@@ -1238,7 +1125,6 @@ chn_cfg_mode : Hardware DE channel allocation config. 0:single display with
|
||||
dev1_do_hpd = <1>;
|
||||
|
||||
def_output_dev = <0>;
|
||||
|
||||
disp_rotation_used = <1>;
|
||||
degree0 = <0>;
|
||||
fb0_format = <0>;
|
||||
@@ -1506,14 +1392,14 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm0_pin_a>;
|
||||
pinctrl-1 = <&pwm0_pin_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pwm2 {
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm2_pin_a>;
|
||||
pinctrl-1 = <&pwm2_pin_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
@@ -1521,7 +1407,7 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm7_pin_a>;
|
||||
pinctrl-1 = <&pwm7_pin_b>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&rtp {
|
||||
@@ -1581,4 +1467,4 @@ pull up or pull down(default 0), driver level(default 1), data>
|
||||
pinctrl-0 = <&ir1_pins_a>;
|
||||
pinctrl-1 = <&ir1_pins_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,225 @@
|
||||
;sunxi platform application
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||||
; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
|
||||
;---------------------------------------------------------------------------------
|
||||
; version:版本1.00
|
||||
; machine:板级文件名
|
||||
;---------------------------------------------------------------------------------
|
||||
[product]
|
||||
version = "100"
|
||||
machine = "mq_r"
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;debug_mode = 0-close printf, > 1-open printf
|
||||
;----------------------------------------------------------------------------------
|
||||
[platform]
|
||||
eraseflag = 1
|
||||
debug_mode = 1
|
||||
;----------------------------------------------------------------------------------
|
||||
; system configuration
|
||||
; ?
|
||||
;dcdc1_vol ---set dcdc1 voltage,mV,1600-3400,100mV/step
|
||||
;dcdc2_vol ---set dcdc2 voltage,mV,600-1540,20mV/step
|
||||
;dcdc3_vol ---set dcdc3 voltage,mV,600-1860,20mV/step
|
||||
;dcdc4_vol ---set dcdc4 voltage,mV,600-1540,20mV/step
|
||||
;dcdc5_vol ---set dcdc5 voltage,mV,1000-2550,50mV/step
|
||||
;aldo2_vol ---set aldo2 voltage,mV,700-3300,100mV/step
|
||||
;aldo3_vol ---set aldo3 voltage,mV,700-3300,100mV/step
|
||||
;----------------------------------------------------------------------------------
|
||||
;storage_type = boot medium, 0-nand, 1-sd, 2-emmc, 3-nor, 4-emmc3, 5-spinand -1(defualt)auto scan
|
||||
;----------------------------------------------------------------------------------
|
||||
[target]
|
||||
storage_type = 1
|
||||
burn_key = 0
|
||||
;----------------------------------------------------------------------------------
|
||||
;spinor configuration
|
||||
;----------------------------------------------------------------------------------
|
||||
[spinor_para]
|
||||
|
||||
;read_mode =4
|
||||
;flash_size =16
|
||||
;delay_cycle =1
|
||||
;frequency =100000000
|
||||
|
||||
spi_sclk = port:PC02<2><0><2><default>
|
||||
spi_cs = port:PC03<2><0><2><default>
|
||||
spi0_mosi = port:PC04<2><0><2><default>
|
||||
spi0_miso = port:PC05<2><0><2><default>
|
||||
spi0_wp = port:PC06<2><0><2><default>
|
||||
spi0_hold = port:PC07<2><0><2><default>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;card_ctrl -卡量产相关的控制器选择0 |
|
||||
;card_high_speed -速度模式 0为低速,1为高速|
|
||||
;card_line -4:4线卡,8:8线卡|
|
||||
;sdc_d1 -sdc卡数据1线信号的GPIO配置 |
|
||||
;sdc_d0 -sdc卡数据0线信号的GPIO配置 |
|
||||
;sdc_clk -sdc卡时钟信号的GPIO配置 |
|
||||
;sdc_cmd -sdc命令信号的GPIO配置|
|
||||
;sdc_d3 -sdc卡数据3线信号的GPIO配置 |
|
||||
;sdc_d2 -sdc卡数据2线信号的GPIO配置 |
|
||||
;----------------------------------------------------------------------------------
|
||||
[card0_boot_para]
|
||||
card_ctrl = 0
|
||||
card_high_speed = 1
|
||||
card_line = 4
|
||||
sdc_d1 = port:PF0<2><1><2><default>
|
||||
sdc_d0 = port:PF1<2><1><2><default>
|
||||
sdc_clk = port:PF2<2><1><2><default>
|
||||
sdc_cmd = port:PF3<2><1><2><default>
|
||||
sdc_d3 = port:PF4<2><1><2><default>
|
||||
sdc_d2 = port:PF5<2><1><2><default>
|
||||
bus-width = 4
|
||||
cap-sd-highspeed =
|
||||
cap-wait-while-busy =
|
||||
no-sdio =
|
||||
no-mmc =
|
||||
sunxi-power-save-mode =
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;card_ctrl -卡启动控制器选择2
|
||||
;card_high_speed -速度模式 0为低速,1为高速
|
||||
;card_line -4:4线卡,8:8线卡
|
||||
;sdc_ds -ds信号的GPIO配置
|
||||
;sdc_d1 -sdc卡数据1线信号的GPIO配置
|
||||
;sdc_d0 -sdc卡数据0线信号的GPIO配置
|
||||
;sdc_clk -sdc卡时钟信号的GPIO配置
|
||||
;sdc_cmd -sdc命令信号的GPIO配置
|
||||
;sdc_d3 -sdc卡数据3线信号的GPIO配置
|
||||
;sdc_d2 -sdc卡数据2线信号的GPIO配置
|
||||
;sdc_d4 -sdc卡数据4线信号的GPIO配置
|
||||
;sdc_d5 -sdc卡数据5线信号的GPIO配置
|
||||
;sdc_d6 -sdc卡数据6线信号的GPIO配置
|
||||
;sdc_d7 -sdc卡数据7线信号的GPIO配置
|
||||
;sdc_emmc_rst -emmc_rst信号的GPIO配置
|
||||
;sdc_ex_dly_used -ex_dly_used信号
|
||||
;sdc_io_1v8 -sdc_io_1v8高速emmc模式配置
|
||||
;----------------------------------------------------------------------------------
|
||||
[card2_boot_para]
|
||||
card_ctrl = 2
|
||||
card_high_speed = 1
|
||||
card_line = 4
|
||||
sdc_clk = port:PC02<3><1><3><default>
|
||||
sdc_cmd = port:PC03<3><1><3><default>
|
||||
sdc_d0 = port:PC06<3><1><3><default>
|
||||
sdc_d1 = port:PC05<3><1><3><default>
|
||||
sdc_d2 = port:PC04<3><1><3><default>
|
||||
sdc_d3 = port:PC07<3><1><3><default>
|
||||
sdc_tm4_hs200_max_freq = 150
|
||||
sdc_tm4_hs400_max_freq = 100
|
||||
sdc_ex_dly_used = 2
|
||||
;sdc_io_1v8 = 1
|
||||
sdc_tm4_win_th = 8
|
||||
sdc_dis_host_caps = 0x180
|
||||
;sdc_erase = 2
|
||||
;sdc_boot0_sup_1v8 = 1
|
||||
;sdc_type = "tm4"
|
||||
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;jtag_enable |JTAG使能 |
|
||||
;jtag_ms |测试模式选择输入(TMS) 的GPIO配置|
|
||||
;jtag_ck |测试时钟输入(CLK) 的GPIO配置 |
|
||||
;jtag_do |测试数据输出(TDO) 的GPIO配置 |
|
||||
;jtag_di |测试数据输出(TDI) 的GPIO配置 |
|
||||
;----------------------------------------------------------------------------------
|
||||
[jtag_para]
|
||||
jtag_enable = 0
|
||||
jtag_ms = port:PH9<3><default><default><default>
|
||||
jtag_ck = port:PH10<3><default><default><default>
|
||||
jtag_do = port:PH11<3><default><default><default>
|
||||
jtag_di = port:PH12<3><default><default><default>
|
||||
|
||||
;*****************************************************************************
|
||||
;
|
||||
;dram select configuration
|
||||
;
|
||||
;select_mode : dram模式选择, 0:不进行自动识别
|
||||
; 1:gpio识别模式(dram_para, dram_para1-15, 共16组有效)
|
||||
; 2:gpadc识别模式(dram_para, dram_para1-7, 共8组有效)
|
||||
; 3:1个IO+gpadc识别模式(dram_para, dram_para1-15, 共16组有效)。其中IO配置优先级按select_gpio0>select_gpio1>select_gpio2>select_gpio3
|
||||
;gpadc_channel : 选择gpadc通道 有效值(0-3)
|
||||
;select_gpio1-4 : 选择gpio pin
|
||||
;*****************************************************************************
|
||||
|
||||
|
||||
[dram_select_para]
|
||||
select_mode = 0
|
||||
gpadc_channel = 1
|
||||
select_gpio0 = port:PB7<0><1><default><default>
|
||||
select_gpio1 = port:PB4<0><1><default><default>
|
||||
select_gpio2 = port:PH1<0><1><default><default>
|
||||
select_gpio3 = port:PH0<0><1><default><default>
|
||||
|
||||
|
||||
;*****************************************************************************
|
||||
;sdram configuration
|
||||
;
|
||||
;*****************************************************************************
|
||||
[dram_para]
|
||||
dram_clk = 936
|
||||
dram_type = 3
|
||||
dram_zq = 0x7b7bfb
|
||||
dram_odt_en = 0x00
|
||||
dram_para1 = 0x000010d2
|
||||
dram_para2 = 0x0000
|
||||
dram_mr0 = 0x1c70
|
||||
dram_mr1 = 0x042
|
||||
dram_mr2 = 0x18
|
||||
dram_mr3 = 0x0
|
||||
dram_tpr0 = 0x004A2195
|
||||
dram_tpr1 = 0x02423190
|
||||
dram_tpr2 = 0x0008B061
|
||||
dram_tpr3 = 0xB4787896
|
||||
dram_tpr4 = 0x0
|
||||
dram_tpr5 = 0x48484848
|
||||
dram_tpr6 = 0x00000048
|
||||
dram_tpr7 = 0x1620121e
|
||||
dram_tpr8 = 0x0
|
||||
dram_tpr9 = 0x0
|
||||
dram_tpr10 = 0x0
|
||||
dram_tpr11 = 0x00340000
|
||||
dram_tpr12 = 0x00000046
|
||||
dram_tpr13 = 0x34000100
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;twi configuration
|
||||
;twi_used 0:关闭, 1:打开
|
||||
;twi_port 0:twi0, 1:twi1, 2:twi2, 3:twi3, 4:twi4, 5:twi5, 6:r_twi0, 7:r_twi1
|
||||
;twi_scl boot0 scl的GPIO配置
|
||||
;twi_sda boot0 sda的GPIO配置
|
||||
;----------------------------------------------------------------------------------
|
||||
[twi_para]
|
||||
twi_used = 0
|
||||
twi_port = 2
|
||||
twi_scl = port:PC0<3><1><default><default>
|
||||
twi_sda = port:PC1<3><1><default><default>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;uart configuration
|
||||
;uart_debug_port |Boot串口控制器编号 |
|
||||
;uart_debug_tx |Boot串口发送的GPIO配置|
|
||||
;uart_debug_rx |Boot串口接收的GPIO配置 |
|
||||
;----------------------------------------------------------------------------------
|
||||
[uart_para]
|
||||
uart_debug_port = 0
|
||||
uart_debug_tx = port:PE02<6><1><default><default>
|
||||
uart_debug_rx = port:PE03<6><1><default><default>
|
||||
|
||||
;uart_debug_port = 3
|
||||
;uart_debug_tx = port:PB06<7><1><default><default>
|
||||
;uart_debug_rx = port:PB07<7><1><default><default>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;dram_region_mbytes :设置drm大小以bytes为单位
|
||||
;----------------------------------------------------------------------------------
|
||||
[secure]
|
||||
dram_region_mbytes = 80
|
||||
drm_region_mbytes = 0
|
||||
drm_region_start_mbytes = 0
|
||||
@@ -0,0 +1,93 @@
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
; 固件下载参数配置
|
||||
;---------------------------------------------------------------------------------------------------
|
||||
;***************************************************************************************************
|
||||
; 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、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size)
|
||||
;***************************************************************************************************
|
||||
[partition_start]
|
||||
|
||||
[partition]
|
||||
name = boot-resource
|
||||
size = 504
|
||||
downloadfile = "boot-resource.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
|
||||
[partition]
|
||||
name = env
|
||||
size = 504
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = env-redund
|
||||
size = 504
|
||||
downloadfile = "env.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = boot
|
||||
size = 8064
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs
|
||||
size = 61440
|
||||
downloadfile = "rootfs.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;[partition]
|
||||
; name = dsp0
|
||||
; size = 2048
|
||||
; downloadfile = "dsp0.fex"
|
||||
; user_type = 0x8000
|
||||
|
||||
;[partition]
|
||||
; name = recovery
|
||||
; size = 16128
|
||||
; ;downloadfile = "recovery.fex"
|
||||
; user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = private
|
||||
size = 10240
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs_data
|
||||
size = 50400
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = UDISK
|
||||
user_type = 0x8100
|
||||
|
||||
|
||||
@@ -0,0 +1,395 @@
|
||||
/*
|
||||
* Allwinner Technology CO., Ltd. sun8iw20p1 soc board.
|
||||
*
|
||||
* soc board support.
|
||||
*/
|
||||
|
||||
&platform {
|
||||
eraseflag = <1>;
|
||||
next_work = <3>;
|
||||
debug_mode = <1>;
|
||||
};
|
||||
|
||||
&target {
|
||||
boot_clock = <1008>; /*CPU boot frequency, Unit: MHz*/
|
||||
storage_type = <0xffffffff>; /*boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan*/
|
||||
burn_key = <0>; /*1:support burn key; 0:not support burn key*/
|
||||
dragonboard_test = <0>; /*1:support card boot dragonboard; 0:not support card boot dragonboard*/
|
||||
};
|
||||
|
||||
|
||||
&charger0 {
|
||||
pmu_safe_vol = <3500>;
|
||||
};
|
||||
|
||||
|
||||
&twi6 {
|
||||
clock-frequency = <200000>;
|
||||
pinctrl-0 = <&s_twi0_pins_a>;
|
||||
no_suspend = <1>;
|
||||
twi_drv_used = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rgb18_pins_a {
|
||||
allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", \
|
||||
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD16", "PD17", "PD18", "PD19", \
|
||||
"PD20", "PD21";
|
||||
allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", \
|
||||
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD16", "PD17", "PD18", "PD19", \
|
||||
"PD20", "PD21";
|
||||
allwinner,function = "rgb18";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <3>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&rgb18_pins_b {
|
||||
allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", \
|
||||
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD16", "PD17", "PD18", "PD19", \
|
||||
"PD20", "PD21";
|
||||
allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", \
|
||||
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD16", "PD17", "PD18", "PD19", \
|
||||
"PD20", "PD21";
|
||||
allwinner,function = "rgb18_suspend";
|
||||
allwinner,muxsel = <7>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&pwm7_pin_a {
|
||||
pins = "PD22";
|
||||
function = "pwm7";
|
||||
muxsel = <5>;
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
&pwm7_pin_b {
|
||||
pins = "PD22";
|
||||
muxsel = <0>;
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
&pwm7 {
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm7_pin_a>;
|
||||
pinctrl-1 = <&pwm7_pin_b>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdc0_pins_a {
|
||||
allwinner,pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
allwinner,function = "sdc0";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <3>;
|
||||
allwinner,pull = <1>;
|
||||
pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
function = "sdc0";
|
||||
drive-strength = <30>;
|
||||
bias-pull-up;
|
||||
power-source = <3300>;
|
||||
};
|
||||
|
||||
&sdc0_pins_b {
|
||||
pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
function = "sdc0";
|
||||
drive-strength = <30>;
|
||||
bias-pull-up;
|
||||
power-source = <1800>;
|
||||
};
|
||||
|
||||
&sdc0_pins_c {
|
||||
pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
function = "gpio_in";
|
||||
|
||||
};
|
||||
|
||||
|
||||
&sdc2_pins_a {
|
||||
allwinner,pins = "PC2", "PC3", "PC4",
|
||||
"PC5", "PC6", "PC7";
|
||||
allwinner,function = "sdc2";
|
||||
allwinner,muxsel = <3>;
|
||||
allwinner,drive = <3>;
|
||||
allwinner,pull = <1>;
|
||||
pins = "PC2", "PC3", "PC4",
|
||||
"PC5", "PC6", "PC7";
|
||||
function = "sdc2";
|
||||
drive-strength = <30>;
|
||||
bias-pull-up;
|
||||
|
||||
};
|
||||
|
||||
&sdc2_pins_b {
|
||||
pins = "PC2", "PC3", "PC4",
|
||||
"PC5", "PC6", "PC7";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
|
||||
|
||||
&nand0_pins_a {
|
||||
allwinner,pins = "PC0", "PC1", "PC2", "PC5",
|
||||
"PC8", "PC9", "PC10", "PC11",
|
||||
"PC12", "PC13", "PC14", "PC15",
|
||||
"PC16";
|
||||
allwinner,pname= "nand0_we", "nand0_ale","nand0_cle", "nand0_nre",
|
||||
"nand0_d0", "nand0_d1", "nand0_d2", "nand0_d3",
|
||||
"nand0_d4", "nand0_d5", "nand0_d6", "nand0_d7",
|
||||
"nand0_ndqs";
|
||||
allwinner,function = "nand0";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&nand0_pins_b {
|
||||
allwinner,pins = "PC4", "PC6", "PC03", "PC07";
|
||||
allwinner,pname= "nand0_ce0", "nand0_rb0", "nand0_ce1", "nand0_rb1";
|
||||
allwinner,function = "nand0";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <1>; /* only RB&CE should be pulled up */
|
||||
};
|
||||
|
||||
&nand0_pins_c {
|
||||
allwinner,pins = "PC0", "PC1", "PC2", "PC3",
|
||||
"PC4", "PC5", "PC6", "PC7",
|
||||
"PC8", "PC9", "PC10", "PC11",
|
||||
"PC12", "PC13", "PC14", "PC15",
|
||||
"PC16";
|
||||
allwinner,function = "io_disabled";
|
||||
allwinner,muxsel = <7>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&spi0_pins_a {
|
||||
allwinner,pins = "PC2", "PC4", "PC5",
|
||||
"PC7", "PC6";
|
||||
allwinner,pname = "spi0_sclk", "spi0_mosi",
|
||||
"spi0_miso", "spi0_hold", "spi0_wp";
|
||||
allwinner,function = "spi0";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&spi0_pins_b {
|
||||
allwinner,pins = "PC3";
|
||||
allwinner,pname = "spi0_cs0";
|
||||
allwinner,function = "spi0";
|
||||
allwinner,muxsel = <2>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <1>; // only CS should be pulled up
|
||||
};
|
||||
|
||||
&spi0_pins_c {
|
||||
allwinner,pins = "PC2", "PC3", "PC4", "PC5",
|
||||
"PC6", "PC7";
|
||||
allwinner,function = "gpio_in";
|
||||
allwinner,muxsel = <0>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&dsi4lane_pins_a {
|
||||
allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9";
|
||||
allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9";
|
||||
allwinner,function = "dsi4lane";
|
||||
allwinner,muxsel = <4>;
|
||||
allwinner,drive = <3>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
&dsi4lane_pins_b {
|
||||
allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9";
|
||||
allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9";
|
||||
allwinner,function = "dsi4lane_suspend";
|
||||
allwinner,muxsel = <7>;
|
||||
allwinner,drive = <1>;
|
||||
allwinner,pull = <0>;
|
||||
};
|
||||
|
||||
|
||||
&card0_boot_para { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
|
||||
/* reg = <0x0 0x2 0x0 0x0>; [> Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value <] */
|
||||
device_type = "card0_boot_para";
|
||||
card_ctrl = <0x0>;
|
||||
card_high_speed = <0x1>;
|
||||
card_line = <0x4>;
|
||||
pinctrl-0 = <&sdc0_pins_a>;
|
||||
};
|
||||
|
||||
&card2_boot_para { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
|
||||
/* reg = <0x0 0x3 0x0 0x0>; [> Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value <] */
|
||||
device_type = "card2_boot_para";
|
||||
card_ctrl = <0x2>;
|
||||
card_high_speed = <0x1>;
|
||||
card_line = <0x4>;
|
||||
pinctrl-0 = <&sdc2_pins_a>;
|
||||
sdc_ex_dly_used = <0x2>;
|
||||
sdc_io_1v8 = <0x1>;
|
||||
sdc_tm4_win_th = <0x08>;
|
||||
sdc_tm4_hs200_max_freq = <150>;
|
||||
sdc_tm4_hs400_max_freq = <100>;
|
||||
sdc_type = "tm4";
|
||||
};
|
||||
&gpio_bias { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
|
||||
device_type = "gpio_bias";
|
||||
pc_bias = <1800>;
|
||||
};
|
||||
|
||||
&nand0 {
|
||||
compatible = "allwinner,sun8iw20-nand";
|
||||
device_type = "nand0";
|
||||
//reg = <0x0 0x04011000 0x0 0x1000>;/* nand0 */
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&nand0_pins_a &nand0_pins_b>;
|
||||
pinctrl-1 = <&nand0_pins_c>;
|
||||
nand0_regulator1 = "vcc-nand";
|
||||
nand0_regulator2 = "none";
|
||||
nand0_cache_level = <0x55aaaa55>;
|
||||
nand0_flush_cache_num = <0x55aaaa55>;
|
||||
nand0_capacity_level = <0x55aaaa55>;
|
||||
nand0_id_number_ctl = <0x55aaaa55>;
|
||||
nand0_print_level = <0x55aaaa55>;
|
||||
nand0_p0 = <0x55aaaa55>;
|
||||
nand0_p1 = <0x55aaaa55>;
|
||||
nand0_p2 = <0x55aaaa55>;
|
||||
nand0_p3 = <0x55aaaa55>;
|
||||
chip_code = "sun8iw20";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
clock-frequency = <100000000>;
|
||||
pinctrl-0 = <&spi0_pins_a &spi0_pins_b>;
|
||||
pinctrl-1 = <&spi0_pins_c>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
/*spi-supply = <®_dcdc1>;*/
|
||||
spi_slave_mode = <0>;
|
||||
spi0_cs_number = <1>;
|
||||
spi0_cs_bitmap = <1>;
|
||||
status = "okay";
|
||||
|
||||
spi-nand@0 {
|
||||
compatible = "spi-nand";
|
||||
spi-max-frequency=<0x5F5E100>;
|
||||
reg = <0x0>;
|
||||
spi-rx-bus-width=<0x01>;
|
||||
spi-tx-bus-width=<0x01>;
|
||||
status="disabled";
|
||||
};
|
||||
};
|
||||
|
||||
&disp {
|
||||
disp_init_enable = <1>;
|
||||
disp_mode = <0>;
|
||||
|
||||
screen0_output_type = <1>;
|
||||
screen0_output_mode = <4>;
|
||||
|
||||
screen1_output_type = <1>;
|
||||
screen1_output_mode = <4>;
|
||||
|
||||
screen1_output_format = <0>;
|
||||
screen1_output_bits = <0>;
|
||||
screen1_output_eotf = <4>;
|
||||
screen1_output_cs = <257>;
|
||||
screen1_output_range = <2>;
|
||||
screen1_output_scan = <0>;
|
||||
screen1_output_aspect_ratio = <8>;
|
||||
|
||||
dev0_output_type = <1>;
|
||||
dev0_output_mode = <4>;
|
||||
dev0_screen_id = <0>;
|
||||
dev0_do_hpd = <0>;
|
||||
|
||||
dev1_output_type = <4>;
|
||||
dev1_output_mode = <10>;
|
||||
dev1_screen_id = <1>;
|
||||
dev1_do_hpd = <1>;
|
||||
|
||||
def_output_dev = <0>;
|
||||
|
||||
fb0_format = <0>;
|
||||
fb0_width = <800>;
|
||||
fb0_height = <480>;
|
||||
|
||||
fb1_format = <0>;
|
||||
fb1_width = <0>;
|
||||
fb1_height = <0>;
|
||||
chn_cfg_mode = <1>;
|
||||
|
||||
disp_para_zone = <1>;
|
||||
/*VCC-LCD*/
|
||||
/* dc1sw-supply = <®_dc1sw>;*/
|
||||
/*VCC-DSI*/
|
||||
/* eldo3-supply = <®_eldo3>;*/
|
||||
/*VCC-PD*/
|
||||
/* dcdc1-supply = <®_dcdc1>;*/
|
||||
};
|
||||
&lcd0 {
|
||||
lcd_used = <1>;
|
||||
|
||||
lcd_driver_name = "default_lcd";
|
||||
lcd_if = <0>;
|
||||
lcd_x = <800>;
|
||||
lcd_y = <480>;
|
||||
lcd_width = <150>;
|
||||
lcd_height = <94>;
|
||||
lcd_dclk_freq = <48>;
|
||||
|
||||
lcd_pwm_used = <1>;
|
||||
lcd_pwm_ch = <7>;
|
||||
lcd_pwm_freq = <10000>;
|
||||
lcd_pwm_pol = <1>;
|
||||
|
||||
lcd_hbp = <55>;
|
||||
lcd_ht = <1240>;
|
||||
lcd_hspw = <20>;
|
||||
lcd_vbp = <35>;
|
||||
lcd_vt = <650>;
|
||||
lcd_vspw = <10>;
|
||||
|
||||
lcd_lvds_if = <0>;
|
||||
lcd_lvds_colordepth = <1>;
|
||||
lcd_lvds_mode = <0>;
|
||||
lcd_frm = <0>;
|
||||
lcd_io_phase = <0x0000>;
|
||||
lcd_gamma_en = <0>;
|
||||
lcd_bright_curve_en = <0>;
|
||||
lcd_cmap_en = <0>;
|
||||
|
||||
deu_mode = <0>;
|
||||
lcdgamma4iep = <22>;
|
||||
smart_color = <90>;
|
||||
pinctrl-0 = <&rgb18_pins_a>;
|
||||
pinctrl-1 = <&rgb18_pins_b>;
|
||||
};
|
||||
|
||||
&aliases {
|
||||
nand0 = &nand0;
|
||||
twi6 = &twi6;
|
||||
pwm = &pwm;
|
||||
pwm0 = &pwm0;
|
||||
pwm1 = &pwm1;
|
||||
pwm2 = &pwm2;
|
||||
pwm3 = &pwm3;
|
||||
pwm4 = &pwm4;
|
||||
pwm5 = &pwm5;
|
||||
pwm6 = &pwm6;
|
||||
pwm7 = &pwm7;
|
||||
disp = &disp;
|
||||
lcd0 = &lcd0;
|
||||
lcd1 = &lcd1;
|
||||
eink = &eink;
|
||||
spi0 = &spi0;
|
||||
|
||||
};
|
||||
@@ -1,14 +0,0 @@
|
||||
-include target/allwinner/generic/common.mk
|
||||
|
||||
TARGET_CPU_ABI := armeabi
|
||||
# TARGET_CPU_ABI2 := armeabi
|
||||
TARGET_CPU_SMP := true
|
||||
TARGET_LINUX_VERSION:=3.10
|
||||
TARGET_UBOOT_VERSION:=2014.07
|
||||
TARGET_ARCH := arm
|
||||
TARGET_ARCH_VARIANT := arm926ej-s
|
||||
TARGET_CPU_VARIANT := arm926ej-s
|
||||
|
||||
TARGET_ARCH_PACKAGES := sunxi
|
||||
|
||||
TARGET_BOARD_PLATFORM := c600
|
||||
@@ -1,6 +0,0 @@
|
||||
config pragram "record"
|
||||
list "record_on" "amixer cset iface=MIXER,name='Left Input Mixer MIC1 Boost Switch' 1"
|
||||
list "record_on" "amixer cset iface=MIXER,name='Right Input Mixer MIC1 Boost Switch' 1"
|
||||
list "record_off" "amixer cset iface=MIXER,name='Left Input Mixer MIC1 Boost Switch' 0"
|
||||
list "record_off" "amixer cset iface=MIXER,name='Right Input Mixer MIC1 Boost Switch' 0"
|
||||
list "record_vol" "amixer cset iface=MIXER,name='MIC1 boost volume'"
|
||||
@@ -1,44 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2015-2016 Allwinner
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /build/LICENSE for more information.
|
||||
|
||||
define KernelPackage/sunxi-vfe
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=sunxi-vfe support
|
||||
FILES:=$(LINUX_DIR)/drivers/media/v4l2-core/videobuf2-core.ko
|
||||
FILES+=$(LINUX_DIR)/drivers/media/v4l2-core/videobuf2-dma-contig.ko
|
||||
FILES+=$(LINUX_DIR)/drivers/media/v4l2-core/videobuf2-memops.ko
|
||||
FILES+=$(LINUX_DIR)/drivers/media/platform/sunxi-vfe/vfe_io.ko
|
||||
FILES+=$(LINUX_DIR)/drivers/media/platform/sunxi-vfe/device/nt99141.ko
|
||||
FILES+=$(LINUX_DIR)/drivers/media/platform/sunxi-vfe/vfe_v4l2.ko
|
||||
AUTOLOAD:=$(call AutoLoad,90,videobuf2-core videobuf2-dma-contig videobuf2-memops vfe_io nt99141 vfe_v4l2)
|
||||
endef
|
||||
|
||||
define KernelPackage/sunxi-vfe/description
|
||||
Kernel modules for sunxi-vfe support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sunxi-vfe))
|
||||
|
||||
define KernelPackage/sunxi-sound
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=sun3iw1 sound support
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_SUNXI_SOC \
|
||||
CONFIG_SND_SUNXI_SOC_CODEC_CPU_DAI \
|
||||
CONFIG_SND_SUNXI_SOC_INTERNAL_SUN3IW1_AUDIOCODEC \
|
||||
CONFIG_SND_SUNXI_SOC_RW \
|
||||
CONFIG_SND_SUNXI_SOC_SUN3IW1_AUDIO_CODEC_MACHINE
|
||||
FILES:=$(LINUX_DIR)/sound/soc/sunxi/sunxi_cpudai.ko
|
||||
FILES+=$(LINUX_DIR)/sound/soc/sunxi/sun3iw1_codec.ko
|
||||
FILES+=$(LINUX_DIR)/sound/soc/sunxi/sun3iw1_sndcodec.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,sunxi_cpudai sun3iw1_codec sun3iw1_sndcodec)
|
||||
endef
|
||||
|
||||
define KernelPackage/sunxi-sound/description
|
||||
Kernel modules for sun3iw1-sound support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sunxi-sound))
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
insmod /lib/modules/3.10.65/xradio_core.ko
|
||||
#sleep 1
|
||||
insmod /lib/modules/3.10.65/xradio_wlan.ko
|
||||
#sleep 1
|
||||
|
||||
ifconfig wlan0 up
|
||||
ifconfig wlan0 192.168.100.1
|
||||
route add default gw 192.168.100.1 wlan0
|
||||
|
||||
#/etc/sd-spi-sw/sdspiinit.sh
|
||||
|
||||
hostapd -B /etc/hostapd.conf
|
||||
|
||||
udhcpd /etc/udhcpd.conf
|
||||
sleep 1
|
||||
|
||||
stupid-ftpd -f /etc/ftpd.conf
|
||||
@@ -1,127 +0,0 @@
|
||||
|
||||
#
|
||||
# This is a config-file for stupid-ftpd
|
||||
# ------------------------------------
|
||||
#
|
||||
# The standard path should be /etc/stupid-ftpd.conf
|
||||
# You can define other paths by using the "-f" option
|
||||
# when starting stupid-ftpd.
|
||||
#
|
||||
#
|
||||
# ATTENTION: 1) Remember, that the server is running with YOUR permissions.
|
||||
# It will fail to access other users directory, unless it is
|
||||
# root, but it also allows to access ALL YOUR directories,
|
||||
# which are deeper in a user's root-dir and YOU HAVE access to.
|
||||
# 2) To solve the problem, the best way is to define a group-ID
|
||||
# for stupid-ftpd.
|
||||
# Or if you aren't root: set the MAIN root (serverroot=) to
|
||||
# the highest directory depth which is possible.
|
||||
# 3) REMEMBER: DO NOT PUT THIS FILE in an accessible directory!!!
|
||||
# There are passwords defined here. The safest place is
|
||||
# outside the serverroot.
|
||||
|
||||
|
||||
# Server operation mode:
|
||||
# daemon - quiet in background
|
||||
# interactive - standard mode
|
||||
|
||||
#mode=interactive
|
||||
mode=daemon
|
||||
|
||||
# chroot to
|
||||
|
||||
#serverroot=/usr/home/cinek/tmp3/aaa
|
||||
serverroot=/mnt
|
||||
|
||||
# type of chroot
|
||||
# real - kernel chroot(), high security, but needs root privileges
|
||||
# virtual - no real chroot(), software side (virtual) chroot
|
||||
|
||||
changeroottype=virtual
|
||||
|
||||
|
||||
# Port number for the FTP-Protocol
|
||||
|
||||
port=21
|
||||
|
||||
|
||||
# Maximum users allowed to log in
|
||||
|
||||
maxusers=2
|
||||
|
||||
|
||||
# Message Of The Day (motd)
|
||||
# It will be displayed after the login procedure.
|
||||
|
||||
#motd=/tmp/stupid-ftpd.motd
|
||||
|
||||
|
||||
# Message on quit
|
||||
# It will be displayed when quitting.
|
||||
|
||||
#byemsg=/tmp/stupid-ftpd.bye
|
||||
|
||||
|
||||
# Log
|
||||
|
||||
#log=/tmp/stupid-ftpd.log
|
||||
|
||||
|
||||
# User list:
|
||||
# Format: user=<login> <passwd> <subdir> <maxlogins> <flags>
|
||||
# <login> user name
|
||||
# <passwd> password or * for anonymous access
|
||||
# <subdir> (internally appended to serverroot)
|
||||
# the user has access to the WHOLE SUBTREE,
|
||||
# if the server has access to it
|
||||
# <maxlogins> maximal logins with this usertype
|
||||
# <flags> D - download
|
||||
# U - upload + making directories
|
||||
# O - overwrite existing files
|
||||
# M - allows multiple logins
|
||||
# E - allows erase operations
|
||||
# A - allows EVERYTHING(!)
|
||||
#
|
||||
# user ftp is mapped to user anonymous, don't forget this
|
||||
#
|
||||
# Examples:
|
||||
# user=user1 passx /tmp 2 D
|
||||
# - login: user1, passwd: passx, max login twice (different IPs!)
|
||||
# only download rights from directory /tmp
|
||||
# user=user2 passy /home/user2 0 DU
|
||||
# - login: user2, passwd: passy, no login count limit (different IPs!)
|
||||
# download+upload rights to directory /home/user2
|
||||
# user=user3 passz /home/user3 5 DUOM
|
||||
# - login: user3, passwd: passz, max login count 5 (even from same IP)
|
||||
# download+upload+overwrite rights to directory /home/user3
|
||||
# user=user4 passq /tmp 10 -
|
||||
# - login: user4, passwd: passq, max login count 10 (even from same IP)
|
||||
# look-only rights at directory /tmp
|
||||
#
|
||||
# SEE: ATTENTION remark on the top of this file !!!
|
||||
|
||||
user=AW819 1663819 / 5 A
|
||||
|
||||
|
||||
# Banned hosts
|
||||
# "*" and "?" are allowed here
|
||||
|
||||
#ban=192.168.*
|
||||
#ban=localhost
|
||||
#ban=*.banme.com
|
||||
|
||||
|
||||
# Ban message (displayed to user who is banned)
|
||||
# Please don't use more than 70 characters.
|
||||
|
||||
#banmsg=Go away !
|
||||
|
||||
|
||||
# Login/password timeout
|
||||
|
||||
login-timeout=120
|
||||
|
||||
|
||||
# Timeout (while logged in)
|
||||
|
||||
timeout=240
|
||||
@@ -1,81 +0,0 @@
|
||||
interface=wlan0
|
||||
ssid=AW819
|
||||
ctrl_interface=/tmp/hostapd
|
||||
ctrl_interface_group=0
|
||||
|
||||
# channel 1-14 is 2.4 GHz ; channel 36, 40, 44, 46, 48, 52, 56, 60,
|
||||
# 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149,
|
||||
# 153, 157, 161 is 5GHz
|
||||
# The channels that are available for use in a particular country differ
|
||||
# according to the regulations of that country.
|
||||
channel=10
|
||||
|
||||
# Channel list restriction. This option allows hostapd to select one of the
|
||||
# provided channels when a channel should be automatically selected.
|
||||
# Default: not set (allow any enabled channel to be selected)
|
||||
#chanlist=100 104 108 112 116
|
||||
|
||||
# Beacon interval in kus (1.024 ms) (default: 100; range 15..65535)
|
||||
beacon_int=100
|
||||
|
||||
# DTIM (delivery traffic information message) period (range 1..255):
|
||||
# number of beacons between DTIMs (1 = every beacon includes DTIM element)
|
||||
# (default: 2)
|
||||
dtim_period=2
|
||||
|
||||
# Maximum number of stations allowed in station table. New stations will be
|
||||
# rejected after the station table is full. IEEE 802.11 has a limit of 2007
|
||||
# different association IDs, so this number should not be larger than that.
|
||||
# (default: 2007)
|
||||
max_num_sta=1
|
||||
|
||||
# Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE
|
||||
# 802.11g, Default: IEEE 802.11b )
|
||||
hw_mode=g
|
||||
|
||||
#If the wireless interface is included in a bridge,
|
||||
#an additional configuration parameter, bridge, is needed
|
||||
#bridge=br0
|
||||
# This field is a bit field that can be used to enable WPA
|
||||
# (IEEE 802.11i/D3.0)
|
||||
# and/orWPA2 (full IEEE 802.11i/RSN):
|
||||
# bit1 = IEEE 802.11i/RSN (WPA2) (dot11RSNAEnabled)
|
||||
wpa=2
|
||||
wpa_passphrase=12345678
|
||||
# Set of accepted key management algorithms
|
||||
# (WPA-PSK, WPA-EAP, or both).
|
||||
wpa_key_mgmt=WPA-PSK
|
||||
# Set of accepted cipher suites (encryption algorithms)
|
||||
# for pairwise keys
|
||||
wpa_pairwise=CCMP
|
||||
|
||||
# ieee80211n: Whether IEEE 802.11n (HT) is enabled
|
||||
# 0 = disabled (default)
|
||||
# 1 = enabled
|
||||
ieee80211n=1
|
||||
|
||||
wmm_enabled=1
|
||||
|
||||
|
||||
#wmm_enabled=1
|
||||
# ht_capab: HT capabilities (list of flags)
|
||||
# Supported channel width set: [HT40-] = both 20 MHz and 40 MHz
|
||||
# with secondary channel below the primary channel;
|
||||
# [HT40+] = both 20 MHz and 40 MHz with secondary channel upon
|
||||
# the primary channel
|
||||
# Note:There are limits on which channels can be used with HT40- and
|
||||
# HT40+.Following table shows the channels that may be available for
|
||||
# HT40- and HT40+ use per IEEE 802.11n Annex J:
|
||||
# freq HT40- HT40+
|
||||
# 2.4 GHz 5-13 1-7 (1-9 in Europe/Japan)
|
||||
# 5 GHz 40,48,56,64 36,44,52,60
|
||||
# Short GI for 20 MHz: [SHORT-GI-20] (disabled if not set)
|
||||
# Short GI for 40 MHz: [SHORT-GI-40] (disabled if not set)
|
||||
#ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40]
|
||||
ht_capab=[HT20]
|
||||
|
||||
#ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]
|
||||
|
||||
# Set as needed to indicate country in which device is operating.
|
||||
# This can limit available channels and transmit power.
|
||||
#country_code=US
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Example script
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
|
||||
START=11
|
||||
STOP=97
|
||||
|
||||
boot(){
|
||||
echo 0 > /sys/devices/soc/spi0/active
|
||||
echo 0 > /sys/devices/soc/sdc1/active
|
||||
echo 1 > /sys/devices/soc/spi0/active
|
||||
echo 0 > /sys/devices/soc/spi0/active
|
||||
echo 1 > /sys/devices/soc/sdc1/active
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
::sysinit:/etc/init.d/rcS S boot
|
||||
::shutdown:/etc/init.d/rcS K shutdown
|
||||
::askconsole:/bin/ash --login
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
if [ $1 == "up" ]
|
||||
then
|
||||
ifconfig wlan0 up > /dev/null && ifconfig wlan0 192.168.100.1 > /dev/null && route add default gw 192.168.100.1 wlan0 && hostapd /etc/hostapd.conf -B > /dev/null && udhcpd /etc/udhcpd.conf > /dev/null && stupid-ftpd -f /etc/ftpd.conf
|
||||
|
||||
elif [ $1 == "down" ]
|
||||
then
|
||||
kill `pidof stupid-ftpd`
|
||||
kill `pidof udhcpd`
|
||||
kill `pidof hostapd`
|
||||
ifconfig wlan0 down
|
||||
|
||||
elif [ $1 == "get_status" ]
|
||||
then
|
||||
ifconfig -a | grep "mon.wlan0" > /dev/null
|
||||
#echo "$?"
|
||||
fi
|
||||
@@ -1,57 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "-- run rc.final --"
|
||||
|
||||
wifi_connect1()
|
||||
{
|
||||
#example for setting mac address,The actual production needs to be revised.
|
||||
cp /etc/xr_wifi.conf /tmp/
|
||||
echo 4 > /proc/sys/kernel/printk
|
||||
echo "insmod wifi kernel module --------------------"
|
||||
insmod /lib/modules/3.10.65/xradio_wlan.ko
|
||||
echo "start wpa_supplicant ------------------------"
|
||||
wpa_supplicant -Dnl80211 -iwlan0 -c /etc/wpa_supplicant.conf -B
|
||||
sleep 1
|
||||
echo "start udhcpc ----------------"
|
||||
udhcpc -iwlan0 &
|
||||
}
|
||||
wifi_connect2()
|
||||
{
|
||||
#example for setting mac address,The actual production needs to be revised.
|
||||
cp /etc/xr_wifi.conf /tmp/
|
||||
count=0
|
||||
echo 4 > /proc/sys/kernel/printk
|
||||
echo "insmod wifi kernel module --------------------"
|
||||
insmod /lib/modules/3.10.65/xradio_wlan.ko
|
||||
echo "start wpa_supplicant ------------------------"
|
||||
wpa_supplicant -iwlan0 -Dnl80211 -c/etc/wpa_supplicant.conf > /tmp/wifi.log &
|
||||
|
||||
sleep 1
|
||||
|
||||
while true
|
||||
do
|
||||
usleep 500
|
||||
let count++
|
||||
grep "CTRL-EVENT-CONNECTED" /tmp/wifi.log && {
|
||||
echo "start udhcpc ----------------"
|
||||
/sbin/udhcpc -i wlan0 &
|
||||
return
|
||||
}
|
||||
if [ $count -eq 500 ]; then
|
||||
echo "wifi connect fail!!!!!!!!!!!!!!!!!!!!!!"
|
||||
return
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
echo "insmod F1C200s-board"
|
||||
if [ -f "/usr/bin/F1C200s-board" ]; then
|
||||
/usr/bin/F1C200s-board > /dev/null 2>&1 &
|
||||
sleep 3
|
||||
echo "app start..."
|
||||
fi
|
||||
|
||||
echo "-- wifi connect --"
|
||||
wifi_connect1
|
||||
|
||||
echo "-- end --"
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "-- run rc.preboot --"
|
||||
|
||||
echo "-- set volume --"
|
||||
#amixer cset iface=MIXER,name='head phone volume' 30
|
||||
tinymix set 22 32
|
||||
echo "-- play music --"
|
||||
#tinyplayer /etc/test.mp3 > /dev/null
|
||||
tinyplay /etc/kaiji.wav &
|
||||
|
||||
echo "-- end --"
|
||||
@@ -1 +0,0 @@
|
||||
90:85:dc:c6:92:77
|
||||
@@ -1,54 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2015-2016 Allwinner
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /build/LICENSE for more information.
|
||||
|
||||
TEST_MENU:=Test module Support
|
||||
|
||||
define KernelPackage/sunxi-timer
|
||||
SUBMENU:=$(TEST_MENU)
|
||||
TITLE:=sunxi timer test support
|
||||
DEPENDS:=@TARGET_c600_cuckoo
|
||||
KCONFIG:=CONFIG_SUNXI_TIMER_TEST
|
||||
FILES:=$(LINUX_DIR)/drivers/char/timer_test/sunxi_timer_test.ko
|
||||
AUTOLOAD:=$(call AutoProbe, sunxi_timer_test)
|
||||
endef
|
||||
|
||||
define KernelPackage/sunxi-timer/description
|
||||
Kernel modules for sunxi timer test support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sunxi-timer))
|
||||
|
||||
define KernelPackage/xradio-xr819
|
||||
SUBMENU:=$(WIRELESS_MENU)
|
||||
TITLE:=xr819 support
|
||||
DEPENDS:=@TARGET_c600_cuckoo +kmod-cfg80211
|
||||
FILES:=$(LINUX_DIR)/drivers/net/wireless/xradio/wlan/xradio_core.ko
|
||||
FILES+=$(LINUX_DIR)/drivers/net/wireless/xradio/wlan/xradio_wlan.ko
|
||||
FILES+=$(LINUX_DIR)/drivers/net/wireless/xradio/umac/xradio_mac.ko
|
||||
AUTOLOAD:=$(call AutoProbe, xradio_mac xradio_core xradio_wlan)
|
||||
endef
|
||||
|
||||
define KernelPackage/xradio-xr819/description
|
||||
Kernel modules for Allwinnertech XR819 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,xradio-xr819))
|
||||
define KernelPackage/touchscreen-icn85xx
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:= ICN85XX support
|
||||
DEPENDS:= +kmod-input-core
|
||||
KCONFIG:= \
|
||||
CONFIG_INPUT_TOUCHSCREEN \
|
||||
CONFIG_INPUT_TOUCHSCREEN_ICN85XX_TS
|
||||
FILES:=$(LINUX_DIR)/drivers/input/touchscreen/icn85xx/icn85xx_ts.ko
|
||||
AUTOLOAD:=$(call AutoProbe,icn85xx_ts.ko)
|
||||
endef
|
||||
|
||||
define KernelPackage/touchscreen-icn85xx/description
|
||||
Enable support for ICN85XX touchscreen port.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,touchscreen-icn85xx))
|
||||
@@ -0,0 +1,27 @@
|
||||
-include target/allwinner/d1-common/BoardConfigCommon.mk
|
||||
|
||||
TARGET_ROOTFS_IMAGES_USE_EXT4 := true
|
||||
TARGET_NORROOTFS_IMAGES_USE_SQUASHFS := true
|
||||
BOARD_ROOTFS_IMAGE_PARTITION_SIZE := 524288
|
||||
BOARD_ROOTFS_FLASH_BLOCK_SIZE := 4096
|
||||
|
||||
TARGET_OVERLAYFS_IMAGE_USE_EXT4 :=true
|
||||
TARGET_OVERLAYFS_IMAGE_USE_SQUASHFS :=true
|
||||
|
||||
BOARD_OVERLAYFS_IMAGE_PARTITION_SIZE := 524288
|
||||
BOARD_OVERLAYFS_FLASH_BLOCK_SIZE := 4096
|
||||
|
||||
TARGET_DATAFS_IMAGE_USE_EXT4 :=true
|
||||
TARGET_DATAFS_IMAGE_USE_SQUASHFS :=true
|
||||
TARGET_DATAFS_IMAGE_USE_VFAT :=true
|
||||
BOARD_DATAFS_IMAGE_PARTITION_SIZE := 524288
|
||||
BOARD_DATAFS_FLASH_BLOCK_SIZE := 4096
|
||||
|
||||
TARGET_VERSION_MANUFACTURER_URL := www.allwinnertech.com
|
||||
TARGET_VERSION_MANUFACTURER := allwinnertech
|
||||
TARGET_VERSION_PRODUCT := v3.5
|
||||
TARGET_VERSION_HWREV := v1.0
|
||||
|
||||
BOARD_CHARGER_ENABLE_SUSPEND := true
|
||||
|
||||
TARGET_CHIP := sun20iw1p1
|
||||