├── README.md ├── brandy └── brandy-2.0 │ └── u-boot-2018 │ ├── arch │ └── arm │ │ └── dts │ │ └── sun8iw20p1-soc-system.dts │ ├── configs │ └── sun8iw20p1_auto_t113_i_defconfig │ └── drivers │ └── video │ └── sunxi │ └── disp2 │ └── disp │ └── lcd │ ├── tft08006.c │ └── tft08006.h ├── buildroot └── buildroot-201902 │ └── configs │ └── sun8iw20p1_t113_defconfig ├── device └── config │ └── chips │ └── t113_i │ └── configs │ ├── evb1_auto │ ├── BoardConfig.mk │ ├── bin │ │ └── amp_rv0.bin │ ├── board.dts │ ├── bsp │ │ ├── BoardConfig.mk │ │ ├── BoardConfig_nor.mk │ │ ├── bootlogo.bmp │ │ ├── env.cfg │ │ ├── env_nor.cfg │ │ ├── sys_partition.fex │ │ └── sys_partition_nor.fex │ ├── buildroot │ │ ├── BoardConfig.mk │ │ ├── BoardConfig_nor.mk │ │ ├── bootlogo.bmp │ │ ├── env-recovery.cfg │ │ ├── env.cfg │ │ ├── env_ab.cfg │ │ ├── env_nor.cfg │ │ ├── postinstall_A.sh │ │ ├── postinstall_B.sh │ │ ├── preinstall_A.sh │ │ ├── preinstall_B.sh │ │ ├── rdiff │ │ ├── sw-description-ab │ │ ├── sw-description-ab-rdiff │ │ ├── sw-description-recovery │ │ ├── sw-subimgs-ab-rdiff.cfg │ │ ├── sw-subimgs-ab.cfg │ │ ├── sw-subimgs-recovery.cfg │ │ ├── sys_partition-recovery.fex │ │ ├── sys_partition.fex │ │ ├── sys_partition_ab.fex │ │ └── sys_partition_nor.fex │ ├── env.cfg │ ├── linux-5.4 │ │ ├── board.dts │ │ ├── config-5.4 │ │ ├── config-5.4-recovery │ │ └── config-5.4.b │ ├── sys_config.fex │ ├── sys_partition.fex │ └── uboot-board.dts │ └── evb1_auto_nand │ ├── BoardConfig.mk │ ├── bin │ ├── amp_dsp0.bin │ └── amp_rv0.bin │ ├── board.dts │ ├── bsp │ ├── bootlogo.bmp │ ├── env.cfg │ └── sys_partition.fex │ ├── buildroot │ ├── BoardConfig.mk │ ├── bootlogo.bmp │ ├── env.cfg │ └── sys_partition.fex │ ├── env.cfg │ ├── linux-5.4 │ ├── board.dts │ ├── config-5.4 │ └── config-5.4-recovery │ ├── openwrt │ ├── bootlogo.bmp │ ├── sys_partition.fex │ └── sys_partition_nor.fex │ ├── sys_config.fex │ ├── sys_partition.fex │ └── uboot-board.dts ├── kernel └── linux-5.4 │ ├── arch │ └── arm │ │ └── boot │ │ └── dts │ │ └── sun8iw20p1.dtsi │ └── drivers │ └── video │ └── fbdev │ └── sunxi │ └── disp2 │ └── disp │ ├── Makefile │ └── lcd │ ├── Kconfig │ ├── tft08006.c │ └── tft08006.h ├── openwrt └── target │ └── t113_i │ ├── Makefile │ ├── generic │ ├── BoardRules_generic.mk │ └── image │ │ ├── Config.in │ │ ├── Makefile │ │ ├── initramfs-base-files.txt │ │ └── ramdisk.img │ ├── t113_i-common │ ├── BoardRules_common.mk │ ├── base-files │ │ └── etc │ │ │ ├── config │ │ │ └── smartlinkd │ │ │ ├── fw_env.config │ │ │ └── inittab │ ├── boot-play │ │ └── boot.mp3 │ ├── boot-resource │ │ ├── boot-resource.ini │ │ └── boot-resource │ │ │ └── bootlogo.bmp │ └── modules.mk │ ├── t113_i-evb1_auto │ ├── BoardRules.mk │ ├── Makefile │ ├── TinaProducts.mk │ ├── amp_dsp.elf │ ├── base-files │ │ └── etc │ │ │ ├── asound.conf │ │ │ ├── config │ │ │ └── fstab │ │ │ ├── inittab │ │ │ └── rc.local │ ├── busybox-init-base-files │ │ ├── bin │ │ │ └── setusbconfig │ │ └── etc │ │ │ ├── asound.conf │ │ │ ├── init.d │ │ │ ├── load_script.conf │ │ │ ├── rc.final │ │ │ ├── rc.modules │ │ │ └── rc.preboot │ │ │ ├── inittab │ │ │ ├── profile │ │ │ ├── udhcpd.conf │ │ │ └── wpa_supplicant.conf │ ├── busybox-init-base-files_generate │ │ ├── S50usbcam │ │ ├── mk_extra_dir.sh │ │ └── rootfs_hook_squash.sh │ ├── defconfig │ ├── defconfig.io │ ├── defconfig_ota │ ├── modules.mk │ ├── t113_i_evb1_auto.mk │ ├── tina_busybox-init-base-files.mk │ └── vendorsetup.sh │ └── t113_i-evb1_auto_nand │ ├── BoardRules.mk │ ├── Makefile │ ├── TinaProducts.mk │ ├── base-files │ └── etc │ │ ├── asound.conf │ │ ├── config │ │ └── fstab │ │ ├── fw_env.config │ │ ├── inittab │ │ └── rc.local │ ├── defconfig │ ├── defconfig_ota │ ├── modules.mk │ ├── swupdate │ ├── postinstall_A.sh │ ├── postinstall_B.sh │ ├── preinstall_A.sh │ ├── preinstall_B.sh │ ├── sw-description-ab-rdiff │ ├── sw-description-ab-ubi │ ├── sw-description-ab-ubi-sign │ ├── sw-description-ubi │ ├── sw-description-ubi-sign │ ├── sw-subimgs-ab-rdiff.cfg │ ├── sw-subimgs-ab-ubi-sign.cfg │ ├── sw-subimgs-ab-ubi.cfg │ ├── sw-subimgs-ubi-sign.cfg │ └── sw-subimgs-ubi.cfg │ ├── t113_i_evb1_auto_nand.mk │ └── vendorsetup.sh ├── pic └── T113i-DevKit_TOP.jpg └── platform └── allwinner └── wireless └── firmware └── xr829 ├── boot_xr829.bin ├── etf_xr829.bin ├── fw_xr829.bin ├── fw_xr829_bt.bin ├── fw_xr829_bt_40M.bin ├── sdd_xr829.bin └── sdd_xr829_40M.bin /README.md: -------------------------------------------------------------------------------- 1 | # T113i_DevKitF_Tina5SDK 2 | ![](pic/T113i-DevKit_TOP.jpg) 3 | 4 | -------------------------------------------------------------------------------- /brandy/brandy-2.0/u-boot-2018/configs/sun8iw20p1_auto_t113_i_defconfig: -------------------------------------------------------------------------------- 1 | CONFIG_ARM=y 2 | CONFIG_ARCH_SUNXI=y 3 | CONFIG_MACH_SUN8IW20=y 4 | CONFIG_SUNXI_GPIO_V2=y 5 | #CONFIG_AXP_GPIO=y 6 | CONFIG_SYS_CONFIG_NAME="sun8iw20p1" 7 | CONFIG_DEFAULT_DEVICE_TREE="sun8iw20p1-soc-system" 8 | # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set 9 | CONFIG_CONSOLE_MUX=y 10 | CONFIG_SUNXI_NECESSARY_REPLACE_FDT=y 11 | CONFIG_RESERVE_FDT_SIZE=0x20000 12 | CONFIG_PRE_CONSOLE_BUFFER=n 13 | # CONFIG_OF_BOARD=y 14 | CONFIG_OF_SEPARATE=y 15 | CONFIG_SYS_TEXT_BASE=0x43000000 16 | CONFIG_SUNXI_FDT_ADDR=0x41800000 17 | CONFIG_SUNXI_MALLOC_LEN=0x3600000 18 | 19 | # Environment 20 | CONFIG_ENV_IS_IN_SUNXI_FLASH=y 21 | CONFIG_SYS_MAXARGS=64 22 | CONFIG_SUNXI_REDUNDAND_ENVIRONMENT=y 23 | CONFIG_SYS_REDUNDAND_ENVIRONMENT=y 24 | CONFIG_SUNXI_ENV_PARTITION="env" 25 | CONFIG_SUNXI_ENV_REDUNDAND_PARTITION="env-redund" 26 | CONFIG_ENV_SIZE=0x20000 27 | 28 | #Sunxi_mac 29 | CONFIG_SUNXI_MAC=y 30 | CONFIG_SUNXI_USER_KEY=y 31 | 32 | #system 33 | CONFIG_ARM_SMCCC=y 34 | CONFIG_SUNXI_DMA=y 35 | 36 | #axp 37 | #CONFIG_R_I2C0_ENABLE=y 38 | #CONFIG_SYS_SUNXI_R_I2C0_SLAVE=0x34 39 | #CONFIG_SYS_SUNXI_R_I2C0_SPEED=400000 40 | #CONFIG_SUNXI_POWER=y 41 | #CONFIG_SUNXI_PMU=y 42 | #CONFIG_SUNXI_BMU=y 43 | #CONFIG_AXP2585_POWER=y 44 | 45 | #key 46 | #CONFIG_SUNXI_PHY_KEY=y 47 | #CONFIG_SUNXI_LRADC_KEY=y 48 | 49 | 50 | # 51 | # PWM_SUNXI 52 | # 53 | # CONFIG_PWM_SUNXI_NEW is not set 54 | CONFIG_PWM_SUNXI=y 55 | 56 | #SPI 57 | CONFIG_SPI=y 58 | CONFIG_SUNXI_SPI=y 59 | CONFIG_SPI_FLASH=y 60 | CONFIG_SPI_FLASH_WINBOND=y 61 | CONFIG_SPI_FLASH_EON=y 62 | CONFIG_SPI_FLASH_GIGADEVICE=y 63 | CONFIG_SPI_FLASH_ISSI=y 64 | CONFIG_SPI_FLASH_MACRONIX=y 65 | CONFIG_SPI_FLASH_SPANSION=y 66 | CONFIG_SPI_FLASH_ATMEL=y 67 | CONFIG_SPI_FLASH_STMICRO=y 68 | CONFIG_SPI_FLASH_SST=y 69 | CONFIG_SPI_FLASH_PUYA=y 70 | CONFIG_SPI_FLASH_FM=y 71 | CONFIG_SPI_FLASH_XT=y 72 | CONFIG_SPI_FLASH_ADESTO=y 73 | CONFIG_SPI_FLASH_XMC=y 74 | CONFIG_SPI_SAMP_DL_EN=y 75 | 76 | CONFIG_SF_DEFAULT_SPEED=50000000 77 | # BIT(12) BIT(13) (SPI_RX_DUAL|SPI_RX_QUAD) 78 | CONFIG_SF_DEFAULT_MODE=0x3000 79 | CONFIG_SPINOR_UBOOT_OFFSET=128 80 | CONFIG_SPINOR_LOGICAL_OFFSET=2016 81 | 82 | # flash 83 | CONFIG_SUNXI_SDMMC=y 84 | CONFIG_MMC=y 85 | CONFIG_SUNXI_FLASH=y 86 | CONFIG_SUNXI_NAND=y 87 | CONFIG_SUNXI_UBIFS=y 88 | CONFIG_SUNXI_COMM_NAND_V1=y 89 | CONFIG_SUNXI_SPINOR=y 90 | CONFIG_SIMULATE_MULTIPLANE=y 91 | 92 | #usb otg config 93 | CONFIG_SUNXI_USB=y 94 | CONFIG_SUNXI_EFEX=y 95 | CONFIG_SUNXI_BURN=y 96 | CONFIG_SUNXI_FASTBOOT=y 97 | #partition 98 | CONFIG_EFI_PARTITION=y 99 | 100 | #image 101 | CONFIG_ANDROID_BOOT_IMAGE=y 102 | 103 | #sprite 104 | CONFIG_SUNXI_SPRITE=y 105 | CONFIG_SUNXI_SECURE_STORAGE=y 106 | CONFIG_SUNXI_SPRITE_CARTOON=y 107 | 108 | #secure feature 109 | CONFIG_SUNXI_SECURE_BOOT=y 110 | CONFIG_SUNXI_KEYBOX=y 111 | 112 | CONFIG_SUNXI_HOMLET=y 113 | CONFIG_SUNXI_HDCP_HASH=y 114 | CONFIG_SUNXI_HDCP_IN_SECURESTORAGE=y 115 | CONFIG_SUNXI_EXTERN_SECURE_MM_LAYOUT=y 116 | 117 | #cmd 118 | CONFIG_CMD_SUNXI_TIMER=y 119 | CONFIG_CMD_SUNXI_SPRITE=y 120 | CONFIG_CMD_SUNXI_EFEX=y 121 | CONFIG_CMD_SUNXI_BURN=y 122 | CONFIG_CMD_GPT=y 123 | CONFIG_CMD_FAT=y 124 | CONFIG_CMD_FASTBOOT=y 125 | CONFIG_CMD_SUNXI_DMA=y 126 | CONFIG_CMD_SUNXI_MEMTEST=y 127 | CONFIG_CMD_PART=y 128 | CONFIG_CMD_SUNXI_AUTO_FEL=n 129 | CONFIG_CMD_SUNXI_BOOTR=y 130 | #arisc 131 | #CONFIG_SUNXI_ARISC_EXIST=y 132 | 133 | CONFIG_SUNXI_INITRD_ROUTINE=y 134 | #dsp 135 | #CONFIG_XTENSA_DSP=y 136 | # Serial drivers 137 | # 138 | CONFIG_BAUDRATE=115200 139 | CONFIG_SPECIFY_CONSOLE_INDEX=y 140 | CONFIG_CONS_INDEX=1 141 | # 142 | 143 | 144 | 145 | #rtos 146 | CONFIG_BOOT_RISCV=y 147 | CONFIG_CMD_SUNXI_BOOTRV=y 148 | 149 | # 150 | # SUNXI LOGO DISPLAY 151 | # 152 | CONFIG_CMD_SUNXI_BMP=y 153 | #CONFIG_SUNXI_ADVERT_PICTURE=y 154 | CONFIG_LZMA=y 155 | # CONFIG_SUNXI_SPINOR_BMP is not set 156 | # CONFIG_ENABLE_ADVERT_PICTURE is not set 157 | # CONFIG_CMD_SUNXI_JPEG is not set 158 | CONFIG_DISP2_SUNXI=y 159 | # CONFIG_DEFAULT_PHY is not set 160 | CONFIG_AW_PHY=y 161 | # CONFIG_VDPO_DISP2_SUNXI is not set 162 | #CONFIG_TV_DISP2_SUNXI=y 163 | # CONFIG_DISP2_TV_GM7121 is not set 164 | # CONFIG_DISP2_TV_AC200 is not set 165 | # CONFIG_EDP_DISP2_SUNXI is not set 166 | # CONFIG_EINK_PANEL_USED is not set 167 | 168 | # 169 | # LCD panels select 170 | # 171 | CONFIG_LCD_SUPPORT_K101IM2QA04=y 172 | CONFIG_LCD_SUPPORT_K101IM2BYL02L=y 173 | CONFIG_LCD_SUPPORT_BP101WX1=y 174 | CONFIG_LCD_SUPPORT_FX070=y 175 | CONFIG_LCD_SUPPORT_K080_IM2HYL802R_800X1280=y 176 | CONFIG_LCD_SUPPORT_K101_IM2BYL02_L_800X1280=n 177 | #CONFIG_LCD_SUPPORT_GG1P4062UTSW 178 | # CONFIG_LCD_SUPPORT_DX0960BE40A1 is not set 179 | # CONFIG_LCD_SUPPORT_TFT720X1280 is not set 180 | # CONFIG_LCD_SUPPORT_FD055HD003S is not set 181 | CONFIG_LCD_SUPPORT_HE0801A068=y 182 | CONFIG_LCD_SUPPORT_KD080D24=y 183 | CONFIG_LCD_SUPPORT_TFT08006=y 184 | # CONFIG_LCD_SUPPORT_ILI9341 is not set 185 | # CONFIG_LCD_SUPPORT_LH219WQ1 is not set 186 | # CONFIG_LCD_SUPPORT_LS029B3SX02 is not set 187 | # CONFIG_LCD_SUPPORT_LT070ME05000 is not set 188 | # CONFIG_LCD_SUPPORT_S6D7AA0X01 is not set 189 | # CONFIG_LCD_SUPPORT_T27P06 is not set 190 | # CONFIG_LCD_SUPPORT_TFT720x1280 is not set 191 | # CONFIG_LCD_SUPPORT_WTQ05027D01 is not set 192 | # CONFIG_LCD_SUPPORT_H245QBN02 is not set 193 | # CONFIG_LCD_SUPPORT_ST7789V is not set 194 | # CONFIG_LCD_SUPPORT_ST7796S is not set 195 | # CONFIG_LCD_SUPPORT_ST7701S is not set 196 | # CONFIG_LCD_SUPPORT_T30P106 is not set 197 | # CONFIG_LCD_SUPPORT_TO20T20000 is not set 198 | # CONFIG_LCD_SUPPORT_FRD450H40014 is not set 199 | # CONFIG_LCD_SUPPORT_S2003T46G is not set 200 | # CONFIG_LCD_SUPPORT_WILLIAMLCD is not set 201 | # CONFIG_LCD_SUPPORT_LQ101R1SX03 is not set 202 | # CONFIG_LCD_SUPPORT_INET_DSI_PANEL is not set 203 | # CONFIG_LCD_SUPPORT_WTL096601G03 is not set 204 | 205 | # 206 | # Display engine feature select 207 | # 208 | # CONFIG_DISP2_SUNXI_SUPPORT_SMBL is not set 209 | # CONFIG_DISP2_SUNXI_SUPPORT_ENAHNCE is not set 210 | 211 | 212 | # 213 | # Clock 214 | # 215 | CONFIG_CLK_SUNXI=y 216 | 217 | # BOOT GUI 218 | # 219 | CONFIG_BOOT_GUI=y 220 | # CONFIG_UPDATE_DISPLAY_MODE is not set 221 | # CONFIG_CONFIG_LCD_CHECK_SKIP_OPEN is not set 222 | # CONFIG_BOOT_GUI_DOUBLE_BUF is not set 223 | # CONFIG_BOOT_GUI_TEST is not set 224 | -------------------------------------------------------------------------------- /brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/tft08006.h: -------------------------------------------------------------------------------- 1 | /* drivers/video/sunxi/disp2/disp/lcd/tft08006.h 2 | * 3 | * Copyright (c) 2017 Allwinnertech Co., Ltd. 4 | * Author: zhengxiaobin 5 | * 6 | * tft08006 panel driver 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License version 2 as 10 | * published by the Free Software Foundation. 11 | */ 12 | 13 | #ifndef _TFT08006_H 14 | #define _TFT08006_H 15 | 16 | #include "panels.h" 17 | 18 | extern __lcd_panel_t tft08006_panel; 19 | 20 | extern s32 bsp_disp_get_panel_info(u32 screen_id, disp_panel_para *info); 21 | 22 | #endif /*End of file*/ 23 | -------------------------------------------------------------------------------- /buildroot/buildroot-201902/configs/sun8iw20p1_t113_defconfig: -------------------------------------------------------------------------------- 1 | BR2_arm=y 2 | BR2_cortex_a7=y 3 | BR2_ARM_EABI=y 4 | BR2_SVN="svn" 5 | BR2_JLEVEL=16 6 | BR2_TOOLCHAIN_EXTERNAL=y 7 | BR2_TARGET_GENERIC_HOSTNAME="kunos" 8 | BR2_TARGET_GENERIC_ISSUE="Welcome to Allwinner KunoOS Platform" 9 | BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y 10 | BR2_SYSTEM_BIN_SH_BASH=y 11 | BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" 12 | BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y 13 | BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/../config/buildroot/post_build.sh" 14 | BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y 15 | BR2_PACKAGE_OTA_BURNBOOT=y 16 | BR2_PACKAGE_ADBD=y 17 | BR2_PACKAGE_CPU_MONITOR=y 18 | BR2_PACKAGE_MTOP=y 19 | BR2_PACKAGE_WIFIMANAGER=y 20 | BR2_PACKAGE_WIFIMANAGER_LIB=y 21 | BR2_PACKAGE_WIFIMANAGER_DEMO=y 22 | BR2_PACKAGE_BTMANAGER=y 23 | BR2_PACKAGE_BTMG_DEMO=y 24 | BR2_PACKAGE_WIFI_FIRMWARE=y 25 | BR2_PACKAGE_XR829_FIRMWARE=y 26 | BR2_PACKAGE_XR829_USE_40M=y 27 | BR2_PACKAGE_BUSYBOX_INIT_BASE_FILES=y 28 | BR2_PACKAGE_CEDARX=y 29 | BR2_PACKAGE_JPEGDECODE=y 30 | BR2_PACKAGE_TRECORDER=y 31 | BR2_PACKAGE_ENCODERTEST=y 32 | BR2_PACKAGE_TRECORDERDEMO=y 33 | BR2_PACKAGE_JPEGDECODEDEMO=y 34 | BR2_PACKAGE_TPLAYERDEMO=y 35 | BR2_PACKAGE_BACKPLAYDEMO=y 36 | BR2_PACKAGE_TPLAYER=y 37 | BR2_PACKAGE_LV_G2D_TEST=y 38 | BR2_PACKAGE_PQD=y 39 | LUAPI_LAYER_ALLOC_LAY=y 40 | BR2_PACKAGE_AMP_SHELL=y 41 | BR2_PACKAGE_RPMSG=y 42 | BR2_PACKAGE_RPMSG_DEMO=y 43 | BR2_PACKAGE_RPMSG_TEST=y 44 | BR2_PACKAGE_RPBUF=y 45 | BR2_PACKAGE_RPBUF_DEMO=y 46 | BR2_PACKAGE_RPBUF_TEST=y 47 | BR2_PACKAGE_LIBCEDARSE=y 48 | BR2_PACKAGE_CEDARSE_PARM_ADJUST=y 49 | BR2_PACKAGE_CEDARSE_DEMO=y 50 | BR2_PACKAGE_ALSA_UTILS=y 51 | BR2_PACKAGE_ALSA_UTILS_AMIXER=y 52 | BR2_PACKAGE_ALSA_UTILS_APLAY=y 53 | BR2_PACKAGE_BELLAGIO=y 54 | BR2_PACKAGE_BLUEZ_ALSA_HCITOP=y 55 | BR2_PACKAGE_BLUEZ_ALSA_RFCOMM=y 56 | BR2_PACKAGE_FAAD2=y 57 | BR2_PACKAGE_FLAC=y 58 | BR2_PACKAGE_LAME=y 59 | BR2_PACKAGE_MPG123=y 60 | BR2_PACKAGE_MUSEPACK=y 61 | BR2_PACKAGE_WAVPACK=y 62 | BR2_PACKAGE_LIBTOOL=y 63 | BR2_PACKAGE_DOSFSTOOLS=y 64 | BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y 65 | BR2_PACKAGE_E2FSPROGS=y 66 | BR2_PACKAGE_EXFAT=y 67 | BR2_PACKAGE_EXFAT_UTILS=y 68 | BR2_PACKAGE_MTD=y 69 | BR2_PACKAGE_NTFS_3G=y 70 | BR2_PACKAGE_NTFS_3G_ENCRYPTED=y 71 | BR2_PACKAGE_NTFS_3G_NTFSPROGS=y 72 | BR2_PACKAGE_DIRECTFB=y 73 | BR2_PACKAGE_FREERDP=y 74 | # BR2_PACKAGE_FREERDP_CLIENT_WL is not set 75 | BR2_PACKAGE_DTV_SCAN_TABLES=y 76 | BR2_PACKAGE_I2C_TOOLS=y 77 | BR2_PACKAGE_LIBUMP=y 78 | BR2_PACKAGE_MEMTESTER=y 79 | BR2_PACKAGE_MINICOM=y 80 | BR2_PACKAGE_UBOOT_TOOLS=y 81 | BR2_PACKAGE_UBOOT_TOOLS_HAVEREDUNDENV=y 82 | BR2_PACKAGE_PYTHON3=y 83 | BR2_PACKAGE_FDK_AAC=y 84 | BR2_PACKAGE_LIBMAD=y 85 | BR2_PACKAGE_LIBSAMPLERATE=y 86 | BR2_PACKAGE_OPUS=y 87 | BR2_PACKAGE_SPEEX=y 88 | BR2_PACKAGE_TAGLIB=y 89 | BR2_PACKAGE_TINYALSA=y 90 | BR2_PACKAGE_TREMOR=y 91 | BR2_PACKAGE_VO_AACENC=y 92 | BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING=y 93 | BR2_PACKAGE_MYSQL=y 94 | BR2_PACKAGE_POSTGRESQL=y 95 | BR2_PACKAGE_LIBCONFIG=y 96 | BR2_PACKAGE_LIBJPEG=y 97 | BR2_PACKAGE_LIBRSVG=y 98 | BR2_PACKAGE_LIBVA=y 99 | BR2_PACKAGE_OPENJPEG=y 100 | BR2_PACKAGE_WAYLAND=y 101 | BR2_PACKAGE_WAYLAND_PROTOCOLS=y 102 | BR2_PACKAGE_WEBP=y 103 | BR2_PACKAGE_LIBINPUT=y 104 | BR2_PACKAGE_LIBUSB=y 105 | BR2_PACKAGE_LIBV4L=y 106 | BR2_PACKAGE_LIBV4L_UTILS=y 107 | BR2_PACKAGE_LIBXKBCOMMON=y 108 | BR2_PACKAGE_LIBASS=y 109 | BR2_PACKAGE_LIBDVDREAD=y 110 | BR2_PACKAGE_LIBMMS=y 111 | BR2_PACKAGE_LIBMPEG2=y 112 | BR2_PACKAGE_LIBOPENH264=y 113 | BR2_PACKAGE_LIBTHEORA=y 114 | BR2_PACKAGE_LIBVPX=y 115 | BR2_PACKAGE_X264=y 116 | BR2_PACKAGE_X265=y 117 | BR2_PACKAGE_LIBCURL=y 118 | BR2_PACKAGE_LIBRSYNC=y 119 | BR2_PACKAGE_LIBSOCKETCAN=y 120 | BR2_PACKAGE_LIBSOUP=y 121 | BR2_PACKAGE_LIBSRTP=y 122 | BR2_PACKAGE_NEON=y 123 | BR2_PACKAGE_RTMPDUMP=y 124 | BR2_PACKAGE_LIBICAL=y 125 | BR2_PACKAGE_LIBUCI=y 126 | BR2_PACKAGE_PCRE_16=y 127 | BR2_PACKAGE_PCRE_32=y 128 | BR2_PACKAGE_PCRE2=y 129 | BR2_PACKAGE_PCRE2_16=y 130 | BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y 131 | BR2_PACKAGE_BLUEZ5_UTILS_MONITOR=y 132 | BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y 133 | BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED=y 134 | # BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NETWORK is not set 135 | BR2_PACKAGE_CAN_UTILS=y 136 | BR2_PACKAGE_DNSMASQ=y 137 | BR2_PACKAGE_DNSMASQ_DNSSEC=y 138 | BR2_PACKAGE_DNSMASQ_IDN=y 139 | BR2_PACKAGE_DNSMASQ_CONNTRACK=y 140 | BR2_PACKAGE_HOSTAPD=y 141 | BR2_PACKAGE_HOSTAPD_EAP=y 142 | BR2_PACKAGE_HOSTAPD_WPS=y 143 | BR2_PACKAGE_IPERF=y 144 | BR2_PACKAGE_IPERF3=y 145 | BR2_PACKAGE_IPROUTE2=y 146 | BR2_PACKAGE_IPTABLES=y 147 | BR2_PACKAGE_IPTABLES_BPF_NFSYNPROXY=y 148 | BR2_PACKAGE_IPTABLES_NFTABLES=y 149 | BR2_PACKAGE_IW=y 150 | BR2_PACKAGE_WPA_SUPPLICANT=y 151 | BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y 152 | BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY=y 153 | BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING=y 154 | BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y 155 | BR2_PACKAGE_WPA_SUPPLICANT_EAP=y 156 | BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT=y 157 | BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y 158 | BR2_PACKAGE_WPA_SUPPLICANT_WPS=y 159 | BR2_PACKAGE_WPA_SUPPLICANT_CLI=y 160 | BR2_PACKAGE_ANDROID_TOOLS=y 161 | BR2_PACKAGE_SWUPDATE=y 162 | SWUPDATE_CONFIG_DOWNLOAD=y 163 | BR2_PACKAGE_VIM=y 164 | BR2_TARGET_ROOTFS_EXT2=y 165 | BR2_TARGET_ROOTFS_EXT2_4=y 166 | BR2_TARGET_ROOTFS_EXT2_SIZE="512M" 167 | # BR2_TARGET_ROOTFS_TAR is not set 168 | BR2_PACKAGE_HOST_DOSFSTOOLS=y 169 | BR2_PACKAGE_HOST_DTC=y 170 | BR2_PACKAGE_HOST_GENEXT2FS=y 171 | BR2_PACKAGE_HOST_GENIMAGE=y 172 | BR2_PACKAGE_HOST_MTOOLS=y 173 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | LICHEE_CHIP:=sun8iw20p1 2 | LICHEE_PRODUCT:=t113_evb1_auto 3 | LICHEE_BOARD:=t113_evb1_auto 4 | LICHEE_FLASH:= 5 | LICHEE_ARCH:=arm 6 | LICHEE_KERN_DEFCONF:=config-5.4 7 | LICHEE_KERN_DEFCONF_RECOVERY:=config-5.4-recovery 8 | LICHEE_BUILDING_SYSTEM:=buildroot 9 | LICHEE_BR_VER:=201902 10 | LICHEE_BR_DEFCONF:=sun8iw20p1_t113_defconfig 11 | LICHEE_COMPILER_TAR=arm/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz 12 | LICHEE_BRANDY_VER:=2.0 13 | LICHEE_BRANDY_DEFCONF:=sun8iw20p1_auto_t113_i_defconfig 14 | LICHEE_REDUNDANT_ENV_SIZE:=0x20000 15 | LICHEE_ROOTFS:=target-arm-linaro-5.3.tar.bz2 16 | LICHEE_COMPRESS:=gzip 17 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/bin/amp_rv0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto/bin/amp_rv0.bin -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/board.dts: -------------------------------------------------------------------------------- 1 | linux-5.4/board.dts -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/bsp/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | LICHEE_KERN_DEFCONF:=sun8iw20p1smp_t113_auto_defconfig 2 | LICHEE_BUILDING_SYSTEM:=buildroot 3 | LICHEE_BR_VER:=201902 4 | LICHEE_BR_DEFCONF:=sun8iw20p1_longan_defconfig 5 | LICHEE_COMPILER_TAR=gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz 6 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/bsp/BoardConfig_nor.mk: -------------------------------------------------------------------------------- 1 | LICHEE_CHIP:=sun8iw20p1 2 | LICHEE_ARCH:=arm 3 | LICHEE_BRANDY_VER:=2.0 4 | LICHEE_FLASH:=nor 5 | LICHEE_BRANDY_DEFCONF:=sun8iw20p1_defconfig 6 | LICHEE_KERN_VER:=5.4 7 | LICHEE_KERN_DEFCONF:=sun8iw20p1smp_min_defconfig 8 | LICHEE_ROOTFS:=target-arm-linaro-5.3.tar.bz2 9 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/bsp/bootlogo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto/bsp/bootlogo.bmp -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/bsp/env.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlycon=uart8250,mmio32,0x02500000 4 | initcall_debug=0 5 | console=ttyAS0,115200 6 | nand_root=ubi0_5 7 | nor_root=/dev/mtdblock5 8 | mmc_root=/dev/mmcblk0p5 9 | mtd_name=sys 10 | rootfstype=ubifs,rw 11 | init=/init 12 | loglevel=8 13 | cma=8M 14 | mac= 15 | wifi_mac= 16 | bt_mac= 17 | specialstr= 18 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 19 | dsp0_partition=dsp0 20 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 21 | setargs_nor=setenv bootargs earlycon=${earlycon} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 22 | setargs_nand=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 23 | setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 24 | setargs_mmc=setenv bootargs earlycon=${earlycon} 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 25 | #nand command syntax: sunxi_flash read address partition_name read_bytes 26 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 27 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 28 | boot_normal=sunxi_flash read 43000000 boot;bootm 43000000 29 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 30 | boot_fastboot=fastboot 31 | 32 | #uboot system env config 33 | bootdelay=0 34 | #default bootcmd, will change at runtime according to key press 35 | #default nand boot 36 | bootcmd=run setargs_nand boot_dsp0 boot_normal 37 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/bsp/env_nor.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlycon=uart8250,mmio32,0x02500000 4 | initcall_debug=0 5 | console=ttyAS0,115200 6 | nand_root=ubi0_5 7 | nor_root=/dev/mtdblock5 8 | mmc_root=/dev/mmcblk0p5 9 | mtd_name=sys 10 | rootfstype=ubifs,rw 11 | init=/init 12 | loglevel=8 13 | cma=8M 14 | mac= 15 | wifi_mac= 16 | bt_mac= 17 | specialstr= 18 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 19 | dsp0_partition=dsp0 20 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 21 | setargs_nor=setenv bootargs earlycon=${earlycon} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 22 | setargs_nand=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 23 | setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 24 | setargs_mmc=setenv bootargs earlycon=${earlycon} 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 25 | #nand command syntax: sunxi_flash read address partition_name read_bytes 26 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 27 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 28 | boot_normal=sunxi_flash read 43000000 boot;bootm 43000000 29 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 30 | boot_fastboot=fastboot 31 | 32 | #uboot system env config 33 | bootdelay=0 34 | #default bootcmd, will change at runtime according to key press 35 | #default nand boot 36 | bootcmd=run setargs_nor boot_normal 37 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/bsp/sys_partition.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 34438 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | 43 | [partition] 44 | name = env 45 | size = 2048 46 | downloadfile = "env.fex" 47 | user_type = 0x8000 48 | 49 | [partition] 50 | name = env-redund 51 | size = 2048 52 | downloadfile = "env.fex" 53 | user_type = 0x8000 54 | 55 | [partition] 56 | name = boot 57 | size = 35200 58 | downloadfile = "boot.fex" 59 | user_type = 0x8000 60 | 61 | [partition] 62 | name = rootfs 63 | size = 1048576 64 | downloadfile = "rootfs.fex" 65 | user_type = 0x8000 66 | 67 | [partition] 68 | name = dsp0 69 | size = 2048 70 | downloadfile = "amp_dsp0.fex" 71 | user_type = 0x8000 72 | 73 | [partition] 74 | name = private 75 | size = 2048 76 | ;downloadfile = "" 77 | user_type = 0x8000 78 | 79 | [partition] 80 | name = UDISK 81 | user_type = 0x8100 82 | 83 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/bsp/sys_partition_nor.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;-------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;-------------------------------------------------------------------------------------------------- 9 | ;**************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;**************************************************** 12 | [mbr] 13 | size = 16 14 | 15 | ;******************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍 33 | ;******************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 256 39 | ;downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | [partition] 43 | name = env 44 | size = 256 45 | downloadfile = "env.fex" 46 | user_type = 0x8000 47 | 48 | [partition] 49 | name = env-redund 50 | size = 256 51 | downloadfile = "env.fex" 52 | user_type = 0x8000 53 | 54 | [partition] 55 | name = boot 56 | size = 19200 57 | downloadfile = "boot.fex" 58 | user_type = 0x8000 59 | 60 | [partition] 61 | name = rootfs 62 | size = 9728 63 | downloadfile = "rootfs_nor.fex" 64 | user_type = 0x8000 65 | 66 | [partition] 67 | name = dsp0 68 | size = 512 69 | downloadfile = "amp_dsp0.fex" 70 | user_type = 0x8000 71 | 72 | [partition] 73 | name = UDISK 74 | user_type = 0x8100 75 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | LICHEE_KERN_DEFCONF:=config-5.4 2 | #LICHEE_KERN_DEFCONF_RECOVERY:=sun8iw20p1smp_t113_recovery_defconfig 3 | LICHEE_BUILDING_SYSTEM:=buildroot 4 | LICHEE_BR_VER:=201902 5 | LICHEE_BR_DEFCONF:=sun8iw20p1_t113_defconfig 6 | LICHEE_COMPILER_TAR=arm/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz 7 | LICHEE_BRANDY_DEFCONF:=sun8iw20p1_auto_t113_i_defconfig 8 | LICHEE_REDUNDANT_ENV_SIZE:=0x20000 9 | LICHEE_RTOS_PROJECT_NAME:=t113_i_c906_evb1_auto 10 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/BoardConfig_nor.mk: -------------------------------------------------------------------------------- 1 | LICHEE_CHIP:=sun8iw20p1 2 | LICHEE_ARCH:=arm 3 | LICHEE_BRANDY_VER:=2.0 4 | LICHEE_FLASH:=nor 5 | LICHEE_BRANDY_DEFCONF:=sun8iw20p1_defconfig 6 | LICHEE_KERN_VER:=5.4 7 | LICHEE_KERN_DEFCONF:=sun8iw20p1smp_min_defconfig 8 | LICHEE_ROOTFS:=target-arm-linaro-5.3.tar.bz2 9 | 10 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/bootlogo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto/buildroot/bootlogo.bmp -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/env-recovery.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlycon=uart8250,mmio32,0x02500000 4 | initcall_debug=0 5 | console=ttyAS0,115200 6 | nand_root=ubi0_5 7 | mmc_root=/dev/mmcblk0p5 8 | mtd_name=sys 9 | rootfstype=ubifs,rw 10 | boot_partition=boot 11 | init=/init 12 | loglevel=8 13 | cma=16M 14 | mac= 15 | wifi_mac= 16 | bt_mac= 17 | specialstr= 18 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 19 | dsp0_partition=dsp0 20 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 21 | setargs_nand=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 22 | setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 23 | setargs_mmc=setenv bootargs earlycon=${earlycon} 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 24 | #nand command syntax: sunxi_flash read address partition_name read_bytes 25 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 26 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 27 | boot_normal=sunxi_flash read 43000000 ${boot_partition};bootm 43000000 28 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 29 | boot_fastboot=fastboot 30 | 31 | #uboot system env config 32 | bootdelay=0 33 | #default bootcmd, will change at runtime according to key press 34 | #default nand boot 35 | bootcmd=run setargs_mmc boot_dsp0 boot_normal 36 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/env.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlycon=uart8250,mmio32,0x02500000 4 | initcall_debug=0 5 | console=ttyS0,115200 6 | nand_root=ubi0_5 7 | mmc_root=/dev/mmcblk0p5 8 | mtd_name=sys 9 | rootfstype=ubifs,rw 10 | init=/init 11 | loglevel=8 12 | cma=16M 13 | mac= 14 | wifi_mac= 15 | bt_mac= 16 | specialstr= 17 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 18 | dsp0_partition=dsp0 19 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 20 | setargs_nand=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} rootwait init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 21 | setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} rootwait init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 22 | setargs_mmc=setenv bootargs earlycon=${earlycon} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} rootwait init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 23 | #nand command syntax: sunxi_flash read address partition_name read_bytes 24 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 25 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 26 | boot_normal=sunxi_flash read 43000000 boot;bootm 43000000 27 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 28 | boot_fastboot=fastboot 29 | 30 | #uboot system env config 31 | bootdelay=0 32 | #default bootcmd, will change at runtime according to key press 33 | #default nand boot 34 | bootcmd=run setargs_mmc boot_normal 35 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/env_ab.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlycon=uart8250,mmio32,0x02500000 4 | initcall_debug=0 5 | console=ttyAS0,115200 6 | nand_root=ubi0_5 7 | mmc_root=/dev/mmcblk0p5 8 | mtd_name=sys 9 | rootfstype=ubifs,rw 10 | root_partition=rootfsA 11 | boot_partition=bootA 12 | init=/init 13 | loglevel=8 14 | cma=32M 15 | mac= 16 | wifi_mac= 17 | bt_mac= 18 | specialstr= 19 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 20 | dsp0_partition=dsp0 21 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 22 | setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlycon=${earlycon} 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 23 | setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlycon=${earlycon} 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 24 | setargs_mmc=setenv bootargs ubi.block=0,${root_partition} earlycon=${earlycon} 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 25 | #nand command syntax: sunxi_flash read address partition_name read_bytes 26 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 27 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 28 | boot_normal=sunxi_flash read 43000000 ${boot_partition};bootm 43000000 29 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 30 | boot_fastboot=fastboot 31 | 32 | #uboot system env config 33 | bootdelay=0 34 | #default bootcmd, will change at runtime according to key press 35 | #default nand boot 36 | bootcmd=run setargs_mmc boot_dsp0 boot_normal 37 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/env_nor.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlycon=uart8250,mmio32,0x02500000 4 | initcall_debug=0 5 | console=ttyAS0,115200 6 | nand_root=ubi0_5 7 | nor_root=/dev/mtdblock5 8 | mmc_root=/dev/mmcblk0p5 9 | mtd_name=sys 10 | rootfstype=ubifs,rw 11 | init=/init 12 | loglevel=8 13 | cma=8M 14 | mac= 15 | wifi_mac= 16 | bt_mac= 17 | specialstr= 18 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 19 | dsp0_partition=dsp0 20 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 21 | setargs_nor=setenv bootargs earlycon=${earlycon} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 22 | setargs_nand=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 23 | setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 24 | setargs_mmc=setenv bootargs earlycon=${earlycon} 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 25 | #nand command syntax: sunxi_flash read address partition_name read_bytes 26 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 27 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 28 | boot_normal=sunxi_flash read 43000000 boot;bootm 43000000 29 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 30 | boot_fastboot=fastboot 31 | 32 | #uboot system env config 33 | bootdelay=0 34 | #default bootcmd, will change at runtime according to key press 35 | #default nand boot 36 | bootcmd=run setargs_nor boot_normal 37 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/postinstall_A.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ -e /dev/by-name/bootA_fifo ] && dd if=/dev/zero of=/dev/by-name/bootA_fifo 4 | [ -e /dev/by-name/rootfsA_fifo ] && dd if=/dev/zero of=/dev/by-name/rootfsA_fifo 5 | #[ -e /dev/by-name/dsp0A_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp0A_fifo 6 | #[ -e /dev/by-name/dsp1A_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp1A_fifo 7 | 8 | sleep 1 9 | 10 | [ -e /dev/by-name/bootA_fifo ] && return 1 11 | [ -e /dev/by-name/rootfsA_fifo ] && return 1 12 | #[ -e /dev/by-name/dsp0A_fifo ] && return 1 13 | #[ -e /dev/by-name/dsp1A_fifo ] && return 1 14 | 15 | return 0 16 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/postinstall_B.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ -e /dev/by-name/bootB_fifo ] && dd if=/dev/zero of=/dev/by-name/bootB_fifo 4 | [ -e /dev/by-name/rootfsB_fifo ] && dd if=/dev/zero of=/dev/by-name/rootfsB_fifo 5 | #[ -e /dev/by-name/dsp0B_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp0B_fifo 6 | #[ -e /dev/by-name/dsp1B_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp1B_fifo 7 | 8 | sleep 1 9 | 10 | [ -e /dev/by-name/bootB_fifo ] && return 1 11 | [ -e /dev/by-name/rootfsB_fifo ] && return 1 12 | #[ -e /dev/by-name/dsp0B_fifo ] && return 1 13 | #[ -e /dev/by-name/dsp1B_fifo ] && return 1 14 | 15 | return 0 16 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/preinstall_A.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #remove old fifo 4 | [ -e /dev/by-name/bootA_fifo ] && dd if=/dev/zero of=/dev/by-name/bootA_fifo 5 | [ -e /dev/by-name/rootfsA_fifo ] && dd if=/dev/zero of=/dev/by-name/rootfsA_fifo 6 | #[ -e /dev/by-name/dsp0A_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp0A_fifo 7 | #[ -e /dev/by-name/dsp1A_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp1A_fifo 8 | 9 | #create new fifo 10 | ubiupdatevol /dev/by-name/bootA -f & 11 | ubiupdatevol /dev/by-name/rootfsA -f & 12 | #ubiupdatevol /dev/by-name/dsp0A -f & 13 | #ubiupdatevol /dev/by-name/dsp1A -f & 14 | 15 | sleep 1 16 | 17 | [ ! -e /dev/by-name/bootA_fifo ] && return 1 18 | [ ! -e /dev/by-name/rootfsA_fifo ] && return 1 19 | #[ ! -e /dev/by-name/dsp0A_fifo ] && return 1 20 | #[ ! -e /dev/by-name/dsp1A_fifo ] && return 1 21 | 22 | return 0 23 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/preinstall_B.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #remove old fifo 4 | [ -e /dev/by-name/bootB_fifo ] && dd if=/dev/zero of=/dev/by-name/bootB_fifo 5 | [ -e /dev/by-name/rootfsB_fifo ] && dd if=/dev/zero of=/dev/by-name/rootfsB_fifo 6 | #[ -e /dev/by-name/dsp0B_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp0B_fifo 7 | #[ -e /dev/by-name/dsp1B_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp1B_fifo 8 | 9 | #create new fifo 10 | ubiupdatevol /dev/by-name/bootB -f & 11 | ubiupdatevol /dev/by-name/rootfsB -f & 12 | #ubiupdatevol /dev/by-name/dsp0B -f & 13 | #ubiupdatevol /dev/by-name/dsp1B -f & 14 | 15 | sleep 1 16 | 17 | [ ! -e /dev/by-name/bootB_fifo ] && return 1 18 | [ ! -e /dev/by-name/rootfsB_fifo ] && return 1 19 | #[ ! -e /dev/by-name/dsp0B_fifo ] && return 1 20 | #[ ! -e /dev/by-name/dsp1B_fifo ] && return 1 21 | 22 | return 0 23 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/rdiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto/buildroot/rdiff -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sw-description-ab: -------------------------------------------------------------------------------- 1 | software = 2 | { 3 | version = "0.1.0"; 4 | description = "Firmware update for T113 Project"; 5 | 6 | stable = { 7 | 8 | /* now in systemA, we need to upgrade systemB(bootB, rootfsB, dspxB) */ 9 | now_A_next_B = { 10 | images: ( 11 | { 12 | filename = "kernel"; 13 | device = "/dev/mmcblk0p5"; 14 | installed-directly = true; 15 | }, 16 | { 17 | filename = "rootfs"; 18 | device = "/dev/mmcblk0p7"; 19 | installed-directly = true; 20 | }/*, 21 | { 22 | filename = "uboot"; 23 | type = "awuboot"; 24 | }, 25 | { 26 | filename = "boot0"; 27 | type = "awboot0"; 28 | }*/ 29 | ); 30 | bootenv: ( 31 | { 32 | name = "swu_mode"; 33 | value = ""; 34 | }, 35 | { 36 | name = "boot_partition"; 37 | value = "bootB"; 38 | }, 39 | { 40 | name = "root_partition"; 41 | value = "rootfsB"; 42 | }, 43 | { 44 | name = "swu_next"; 45 | value = "reboot"; 46 | } 47 | ); 48 | }; 49 | 50 | /* now in systemB, we need to upgrade systemA(bootA, rootfsA, dspxA) */ 51 | now_B_next_A = { 52 | images: ( 53 | { 54 | filename = "kernel"; 55 | device = "/dev/mmcblk0p4"; 56 | installed-directly = true; 57 | }, 58 | { 59 | filename = "rootfs"; 60 | device = "/dev/mmcblk0p6"; 61 | installed-directly = true; 62 | }/*, 63 | { 64 | filename = "uboot"; 65 | type = "awuboot"; 66 | }, 67 | { 68 | filename = "boot0"; 69 | type = "awboot0"; 70 | }*/ 71 | ); 72 | bootenv: ( 73 | { 74 | name = "swu_mode"; 75 | value = ""; 76 | }, 77 | { 78 | name = "boot_partition"; 79 | value = "bootA"; 80 | }, 81 | { 82 | name = "root_partition"; 83 | value = "rootfsA"; 84 | }, 85 | { 86 | name = "swu_next"; 87 | value = "reboot"; 88 | } 89 | ); 90 | }; 91 | 92 | 93 | }; 94 | 95 | /* when not call with -e xxx,xxx just clean */ 96 | bootenv: ( 97 | { 98 | name = "swu_param"; 99 | value = ""; 100 | }, 101 | { 102 | name = "swu_software"; 103 | value = ""; 104 | }, 105 | { 106 | name = "swu_mode"; 107 | value = ""; 108 | }, 109 | { 110 | name = "swu_version"; 111 | value = ""; 112 | } 113 | ); 114 | 115 | } 116 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sw-description-ab-rdiff: -------------------------------------------------------------------------------- 1 | software = 2 | { 3 | version = "0.1.0"; 4 | description = "Firmware update for T113 Project"; 5 | 6 | stable = { 7 | 8 | /* now in systemA, we need to upgrade systemB(bootB, rootfsB, dspxB) */ 9 | now_A_next_B = { 10 | images: ( 11 | { 12 | filename = "kernel.rdiff.delta"; 13 | type = "rdiff_image"; 14 | device = "/dev/mmcblk0p5"; 15 | properties: { 16 | rdiffbase = ["/dev/mmcblk0p4"]; 17 | }; 18 | }, 19 | { 20 | filename = "rootfs.rdiff.delta"; 21 | type = "rdiff_image"; 22 | device = "/dev/mmcblk0p7"; 23 | properties: { 24 | rdiffbase = ["/dev/mmcblk0p6"]; 25 | }; 26 | }, 27 | { 28 | filename = "uboot"; 29 | type = "awuboot"; 30 | }, 31 | { 32 | filename = "boot0"; 33 | type = "awboot0"; 34 | } 35 | ); 36 | bootenv: ( 37 | { 38 | name = "swu_mode"; 39 | value = ""; 40 | }, 41 | { 42 | name = "boot_partition"; 43 | value = "bootB"; 44 | }, 45 | { 46 | name = "root_partition"; 47 | value = "rootfsB"; 48 | }, 49 | { 50 | name = "swu_next"; 51 | value = "reboot"; 52 | } 53 | ); 54 | }; 55 | 56 | /* now in systemB, we need to upgrade systemA(bootA, rootfsA, dspxA) */ 57 | now_B_next_A = { 58 | images: ( 59 | { 60 | filename = "kernel.rdiff.delta"; 61 | type = "rdiff_image"; 62 | device = "/dev/mmcblk0p4"; 63 | properties: { 64 | rdiffbase = ["/dev/mmcblk0p5"]; 65 | }; 66 | }, 67 | { 68 | filename = "rootfs.rdiff.delta"; 69 | type = "rdiff_image"; 70 | device = "/dev/mmcblk0p6"; 71 | properties: { 72 | rdiffbase = ["/dev/mmcblk0p7"]; 73 | }; 74 | }, 75 | { 76 | filename = "uboot"; 77 | type = "awuboot"; 78 | }, 79 | { 80 | filename = "boot0"; 81 | type = "awboot0"; 82 | } 83 | ); 84 | bootenv: ( 85 | { 86 | name = "swu_mode"; 87 | value = ""; 88 | }, 89 | { 90 | name = "boot_partition"; 91 | value = "bootA"; 92 | }, 93 | { 94 | name = "root_partition"; 95 | value = "rootfsA"; 96 | }, 97 | { 98 | name = "swu_next"; 99 | value = "reboot"; 100 | } 101 | ); 102 | }; 103 | 104 | 105 | }; 106 | 107 | /* when not call with -e xxx,xxx just clean */ 108 | bootenv: ( 109 | { 110 | name = "swu_param"; 111 | value = ""; 112 | }, 113 | { 114 | name = "swu_software"; 115 | value = ""; 116 | }, 117 | { 118 | name = "swu_mode"; 119 | value = ""; 120 | }, 121 | { 122 | name = "swu_version"; 123 | value = ""; 124 | } 125 | ); 126 | 127 | } 128 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sw-description-recovery: -------------------------------------------------------------------------------- 1 | software = 2 | { 3 | version = "0.1.0"; 4 | description = "Firmware update for t507 demo2.0 Project"; 5 | 6 | stable = { 7 | 8 | /* upgrade recovery,uboot,boot0 ==> change swu_mode,boot_partition ==> reboot */ 9 | upgrade_recovery = { 10 | /* upgrade recovery */ 11 | images: ( 12 | /*{ 13 | filename = "rootfsbak"; 14 | device = "/dev/mmcblk0p5"; 15 | #device = "/dev/by-name/rootfs"; 16 | installed-directly = true; 17 | }, 18 | { 19 | filename = "rootfs"; 20 | #device = "/dev/by-name/rootfs"; 21 | device = "/dev/mmcblk0p4"; 22 | installed-directly = true; 23 | },*/ 24 | { 25 | filename = "recovery"; 26 | device = "/dev/mmcblk0p6"; 27 | #device = "/dev/by-name/recovery"; 28 | installed-directly = true; 29 | }/*, 30 | { 31 | filename = "uboot"; 32 | type = "awuboot"; 33 | }, 34 | { 35 | filename = "boot0"; 36 | type = "awboot0"; 37 | }*/ 38 | ); 39 | /* change swu_mode to upgrade_kernel,boot_partition to recovery & reboot*/ 40 | bootenv: ( 41 | { 42 | name = "swu_mode"; 43 | value = ""; 44 | }, 45 | { 46 | name = "boot_partition"; 47 | value = "recovery"; 48 | }, 49 | { 50 | name = "swu_next"; 51 | value = "reboot"; 52 | } 53 | ); 54 | }; 55 | 56 | /* upgrade kernel,rootfs ==> change sw_mode */ 57 | upgrade_system = { 58 | /* upgrade kernel,rootfs */ 59 | images: ( 60 | { 61 | filename = "kernel"; 62 | #device = "/dev/by-name/boot"; 63 | device = "/dev/mmcblk0p4"; 64 | installed-directly = true; 65 | }, 66 | { 67 | filename = "rootfs"; 68 | #device = "/dev/by-name/rootfs"; 69 | device = "/dev/mmcblk0p5"; 70 | installed-directly = true; 71 | } 72 | ); 73 | /* change sw_mode to upgrade_usr,change boot_partition to boot */ 74 | bootenv: ( 75 | { 76 | name = "swu_mode"; 77 | value = ""; 78 | }, 79 | { 80 | name = "boot_partition"; 81 | value = "boot"; 82 | }, 83 | { 84 | name = "swu_next"; 85 | value = "reboot"; 86 | } 87 | ); 88 | }; 89 | 90 | /* upgrade usr ==> clean ==> reboot */ 91 | upgrade_usr = { 92 | /* upgrade usr */ 93 | 94 | /* clean swu_param,swu_software,swu_mode & reboot */ 95 | bootenv: ( 96 | { 97 | name = "swu_param"; 98 | value = ""; 99 | }, 100 | { 101 | name = "swu_software"; 102 | value = ""; 103 | }, 104 | { 105 | name = "swu_mode"; 106 | value = ""; 107 | }, 108 | { 109 | name = "swu_next"; 110 | value = "reboot"; 111 | } 112 | ); 113 | }; 114 | 115 | }; 116 | 117 | /* when not call with -e xxx,xxx just clean */ 118 | bootenv: ( 119 | { 120 | name = "swu_param"; 121 | value = ""; 122 | }, 123 | { 124 | name = "swu_software"; 125 | value = ""; 126 | }, 127 | { 128 | name = "swu_mode"; 129 | value = ""; 130 | }, 131 | { 132 | name = "swu_version"; 133 | value = ""; 134 | } 135 | ); 136 | } 137 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sw-subimgs-ab-rdiff.cfg: -------------------------------------------------------------------------------- 1 | swota_file_list=( 2 | ${LICHEE_BOARD_CONFIG_DIR}/${LICHEE_LINUX_DEV}/sw-description-ab-rdiff:sw-description 3 | #out/${TARGET_BOARD}/uboot.img:uboot 4 | #out/${TARGET_BOARD}/boot0.img:boot0 5 | ${LICHEE_OUT_DIR}/swupdate_delta/delta/kernel.rdiff.delta 6 | ${LICHEE_OUT_DIR}/swupdate_delta/delta/rootfs.rdiff.delta 7 | #out/${TARGET_BOARD}/swupdate/swupdate_delta/delta/dsp0.rdiff.delta 8 | #out/${TARGET_BOARD}/swupdate/swupdate_delta/delta/dsp1.rdiff.delta 9 | #${LICHEE_BOARD_CONFIG_DIR}/${LICHEE_LINUX_DEV}/preinstall_A.sh 10 | #${LICHEE_BOARD_CONFIG_DIR}/${LICHEE_LINUX_DEV}/postinstall_A.sh 11 | #${LICHEE_BOARD_CONFIG_DIR}/${LICHEE_LINUX_DEV}/preinstall_B.sh 12 | #${LICHEE_BOARD_CONFIG_DIR}/${LICHEE_LINUX_DEV}/postinstall_B.sh 13 | ) 14 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sw-subimgs-ab.cfg: -------------------------------------------------------------------------------- 1 | swota_file_list=( 2 | ${LICHEE_BOARD_CONFIG_DIR}/${LICHEE_LINUX_DEV}/sw-description-ab:sw-description 3 | #out/${TARGET_BOARD}/boot_initramfs_recovery.img:recovery 4 | #${LICHEE_PACK_OUT_DIR}/u-boot.fex:uboot 5 | #${LICHEE_PACK_OUT_DIR}/boot0_sdcard.fex:boot0 6 | ${LICHEE_PLAT_OUT}/boot.img:kernel 7 | ${LICHEE_PLAT_OUT}/rootfs.ext4:rootfs 8 | #out/${TARGET_BOARD}/image/dsp0.fex:dsp0 9 | #out/${TARGET_BOARD}/image/dsp1.fex:dsp1 10 | #out/${TARGET_BOARD}/usr.img:usr 11 | ) 12 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sw-subimgs-recovery.cfg: -------------------------------------------------------------------------------- 1 | swota_file_list=( 2 | ${LICHEE_BOARD_CONFIG_DIR}/longan/sw-description-recovery:sw-description 3 | ${LICHEE_PLAT_OUT}/recovery.img:recovery 4 | #${LICHEE_PLAT_OUT}/uboot.img:uboot 5 | #${LICHEE_PLAT_OUT}/boot0.img:boot0 6 | ${LICHEE_PLAT_OUT}/rootfs.ext4:rootfs 7 | ${LICHEE_PLAT_OUT}/boot.img:kernel 8 | #${LICHEE_PLAT_OUT}/usr.img:usr 9 | ) 10 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sys_partition-recovery.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 34438 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | 43 | [partition] 44 | name = env 45 | size = 2048 46 | downloadfile = "env.fex" 47 | user_type = 0x8000 48 | 49 | [partition] 50 | name = env-redund 51 | size = 2048 52 | downloadfile = "env.fex" 53 | user_type = 0x8000 54 | 55 | [partition] 56 | name = boot 57 | size = 61440 58 | downloadfile = "boot.fex" 59 | user_type = 0x8000 60 | 61 | [partition] 62 | name = rootfs 63 | size = 2097152 64 | downloadfile = "rootfs.fex" 65 | user_type = 0x8000 66 | 67 | [partition] 68 | name = recovery 69 | size = 231072 70 | ;downloadfile = "recovery.fex" 71 | user_type = 0x8000 72 | 73 | [partition] 74 | name = dsp0 75 | size = 2048 76 | downloadfile = "amp_dsp0.fex" 77 | user_type = 0x8000 78 | 79 | [partition] 80 | name = private 81 | size = 32768 82 | ro = 0 83 | user_type = 0x8000 84 | 85 | [partition] 86 | name = UDISK 87 | user_type = 0x8100 88 | 89 | 90 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sys_partition.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 34438 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | 43 | [partition] 44 | name = env 45 | size = 2048 46 | downloadfile = "env.fex" 47 | user_type = 0x8000 48 | 49 | [partition] 50 | name = env-redund 51 | size = 2048 52 | downloadfile = "env.fex" 53 | user_type = 0x8000 54 | 55 | [partition] 56 | name = boot 57 | size = 35200 58 | downloadfile = "boot.fex" 59 | user_type = 0x8000 60 | 61 | [partition] 62 | name = rootfs 63 | size = 2097152 64 | downloadfile = "rootfs.fex" 65 | user_type = 0x8000 66 | 67 | [partition] 68 | name = riscv 69 | size = 2048 70 | downloadfile = "amp_rv0.fex" 71 | user_type = 0x8000 72 | 73 | [partition] 74 | name = private 75 | size = 32768 76 | ro = 0 77 | user_type = 0x8000 78 | 79 | [partition] 80 | name = UDISK 81 | user_type = 0x8100 82 | 83 | 84 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sys_partition_ab.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 34438 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | 43 | [partition] 44 | name = env 45 | size = 2048 46 | downloadfile = "env.fex" 47 | user_type = 0x8000 48 | 49 | [partition] 50 | name = env-redund 51 | size = 2048 52 | downloadfile = "env.fex" 53 | user_type = 0x8000 54 | 55 | [partition] 56 | name = bootA 57 | size = 35200 58 | downloadfile = "boot.fex" 59 | user_type = 0x8000 60 | 61 | [partition] 62 | name = bootB 63 | size = 35200 64 | downloadfile = "boot.fex" 65 | user_type = 0x8000 66 | 67 | [partition] 68 | name = rootfsA 69 | size = 2097152 70 | downloadfile = "rootfs.fex" 71 | user_type = 0x8000 72 | 73 | [partition] 74 | name = rootfsB 75 | size = 2097152 76 | downloadfile = "rootfs.fex" 77 | user_type = 0x8000 78 | 79 | [partition] 80 | name = dsp0 81 | size = 2048 82 | downloadfile = "amp_dsp0.fex" 83 | user_type = 0x8000 84 | 85 | [partition] 86 | name = private 87 | size = 32768 88 | ro = 0 89 | user_type = 0x8000 90 | 91 | [partition] 92 | name = UDISK 93 | user_type = 0x8100 94 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/buildroot/sys_partition_nor.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;-------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;-------------------------------------------------------------------------------------------------- 9 | ;**************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;**************************************************** 12 | [mbr] 13 | size = 16 14 | 15 | ;******************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍 33 | ;******************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 256 39 | ;downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | [partition] 43 | name = env 44 | size = 256 45 | downloadfile = "env.fex" 46 | user_type = 0x8000 47 | 48 | [partition] 49 | name = env-redund 50 | size = 256 51 | downloadfile = "env.fex" 52 | user_type = 0x8000 53 | 54 | [partition] 55 | name = boot 56 | size = 19200 57 | downloadfile = "boot.fex" 58 | user_type = 0x8000 59 | 60 | [partition] 61 | name = rootfs 62 | size = 9728 63 | downloadfile = "rootfs_nor.fex" 64 | user_type = 0x8000 65 | 66 | [partition] 67 | name = dsp0 68 | size = 512 69 | downloadfile = "amp_dsp0.fex" 70 | user_type = 0x8000 71 | 72 | [partition] 73 | name = UDISK 74 | user_type = 0x8100 75 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/env.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlyprintk=sunxi-uart,0x02500000 4 | initcall_debug=0 5 | console=ttyS0,115200 6 | nand_root=/dev/ubiblock0_5 7 | mmc_root=/dev/mmcblk0p5 8 | mtd_name=sys 9 | rootfstype=squashfs 10 | root_partition=rootfs 11 | boot_partition=boot 12 | init=/init 13 | rdinit=/rdinit 14 | loglevel=8 15 | cma=16M 16 | mac= 17 | wifi_mac= 18 | bt_mac= 19 | specialstr= 20 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 21 | dsp0_partition=dsp0 22 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 23 | 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} rdinit=${rdinit} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 24 | 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} rdinit=${rdinit} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 25 | setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} rdinit=${rdinit} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 26 | #nand command syntax: sunxi_flash read address partition_name read_bytes 27 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 28 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 29 | boot_normal=sunxi_flash read 43000000 ${boot_partition};bootm 43000000 30 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 31 | boot_fastboot=fastboot 32 | 33 | #uboot system env config 34 | bootdelay=0 35 | #default bootcmd, will change at runtime according to key press 36 | #default nand boot 37 | bootcmd=run setargs_nand boot_normal 38 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/linux-5.4/config-5.4: -------------------------------------------------------------------------------- 1 | # CONFIG_LOCALVERSION_AUTO is not set 2 | CONFIG_SYSVIPC=y 3 | CONFIG_NO_HZ=y 4 | CONFIG_HIGH_RES_TIMERS=y 5 | CONFIG_PREEMPT=y 6 | CONFIG_BSD_PROCESS_ACCT=y 7 | CONFIG_BSD_PROCESS_ACCT_V3=y 8 | CONFIG_IKCONFIG=y 9 | CONFIG_IKCONFIG_PROC=y 10 | CONFIG_LOG_BUF_SHIFT=14 11 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y 12 | # CONFIG_SYSFS_SYSCALL is not set 13 | CONFIG_KALLSYMS_ALL=y 14 | CONFIG_EMBEDDED=y 15 | # CONFIG_PERF_EVENTS is not set 16 | # CONFIG_COMPAT_BRK is not set 17 | CONFIG_PROFILING=y 18 | CONFIG_ARCH_SUNXI=y 19 | # CONFIG_MACH_SUN4I is not set 20 | # CONFIG_MACH_SUN5I is not set 21 | # CONFIG_MACH_SUN6I is not set 22 | # CONFIG_MACH_SUN7I is not set 23 | # CONFIG_MACH_SUN8I is not set 24 | # CONFIG_MACH_SUN9I is not set 25 | CONFIG_ARCH_SUN8IW20=y 26 | CONFIG_EVB_PLATFORM=y 27 | CONFIG_SUNXI_SOC_NAME="sun8iw20" 28 | # CONFIG_VDSO is not set 29 | CONFIG_SMP=y 30 | CONFIG_SCHED_MC=y 31 | CONFIG_NR_CPUS=2 32 | CONFIG_ARM_PSCI=y 33 | CONFIG_OABI_COMPAT=y 34 | CONFIG_HIGHMEM=y 35 | # CONFIG_ARM_MODULE_PLTS is not set 36 | # CONFIG_ATAGS is not set 37 | CONFIG_CMDLINE="loglevel=8 initcall_debug=1 console=ttyS0 init=/init" 38 | CONFIG_CPU_FREQ=y 39 | CONFIG_CPU_FREQ_STAT=y 40 | CONFIG_CPU_FREQ_TIMES=y 41 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y 42 | CONFIG_CPU_FREQ_GOV_USERSPACE=y 43 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y 44 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y 45 | CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y 46 | CONFIG_CPUFREQ_DT=y 47 | CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y 48 | CONFIG_VFP=y 49 | CONFIG_NEON=y 50 | CONFIG_PM_WAKELOCKS=y 51 | CONFIG_PM_DEBUG=y 52 | CONFIG_PM_ADVANCED_DEBUG=y 53 | CONFIG_JUMP_LABEL=y 54 | CONFIG_MODULES=y 55 | CONFIG_MODULE_UNLOAD=y 56 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set 57 | # CONFIG_COMPACTION is not set 58 | CONFIG_CMA=y 59 | CONFIG_NET=y 60 | CONFIG_PACKET=y 61 | CONFIG_UNIX=y 62 | CONFIG_UNIX_DIAG=y 63 | CONFIG_NET_KEY=y 64 | CONFIG_INET=y 65 | CONFIG_IP_MULTICAST=y 66 | CONFIG_IP_ADVANCED_ROUTER=y 67 | CONFIG_IP_FIB_TRIE_STATS=y 68 | CONFIG_IP_MULTIPLE_TABLES=y 69 | CONFIG_INET_IPCOMP=y 70 | CONFIG_INET_UDP_DIAG=y 71 | CONFIG_IPV6_TUNNEL=y 72 | CONFIG_NETLINK_DIAG=y 73 | CONFIG_CAN=y 74 | CONFIG_CAN_SUN8I=y 75 | CONFIG_BT=y 76 | CONFIG_BT_RFCOMM=y 77 | CONFIG_BT_RFCOMM_TTY=y 78 | CONFIG_BT_HCIUART=y 79 | CONFIG_BT_HCIUART_H4=y 80 | CONFIG_XR_BT_LPM=y 81 | CONFIG_CFG80211=y 82 | CONFIG_RFKILL=y 83 | CONFIG_RFKILL_GPIO=y 84 | CONFIG_UEVENT_HELPER=y 85 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 86 | CONFIG_DEVTMPFS=y 87 | CONFIG_DEVTMPFS_MOUNT=y 88 | CONFIG_SUNXI_MBUS=y 89 | CONFIG_MTD=y 90 | CONFIG_MTD_BLOCK=y 91 | CONFIG_AW_MTD_SPINAND=y 92 | CONFIG_MTD_UBI_BLOCK=y 93 | CONFIG_SUNXI_RFKILL=y 94 | CONFIG_SUNXI_ADDR_MGT=y 95 | CONFIG_SUNXI_BOOTEVENT=y 96 | CONFIG_SCSI=y 97 | CONFIG_BLK_DEV_SD=y 98 | CONFIG_NETDEVICES=y 99 | CONFIG_SUNXI_GMAC=y 100 | CONFIG_USB_USBNET=y 101 | CONFIG_XR829_WLAN=m 102 | CONFIG_INPUT_EVDEV=y 103 | CONFIG_INPUT_SENSORINIT=y 104 | CONFIG_KEYBOARD_SUNXI=y 105 | # CONFIG_INPUT_MOUSE is not set 106 | CONFIG_INPUT_TOUCHSCREEN=y 107 | CONFIG_TOUCHSCREEN_SUNXI=y 108 | # CONFIG_TOUCHSCREEN_GSLX680NEW is not set 109 | CONFIG_TOUCHSCREEN_GT9XXNEW_TS=m 110 | CONFIG_INPUT_SENSOR=y 111 | # CONFIG_LEGACY_PTYS is not set 112 | # CONFIG_DEVMEM is not set 113 | # CONFIG_HW_RANDOM is not set 114 | CONFIG_SUNXI_G2D=y 115 | CONFIG_SUNXI_G2D_MIXER=y 116 | CONFIG_SUNXI_G2D_ROTATE=y 117 | CONFIG_SUNXI_DI=y 118 | CONFIG_SUNXI_DI_V1XX=y 119 | CONFIG_SUNXI_SYS_INFO=y 120 | CONFIG_SUNXI_SMC=y 121 | CONFIG_I2C=y 122 | CONFIG_I2C_CHARDEV=y 123 | CONFIG_I2C_SUNXI=y 124 | CONFIG_SPI=y 125 | CONFIG_SPI_SUNXI=y 126 | CONFIG_SPI_SPIDEV=y 127 | CONFIG_PINCTRL_SUNXI_DEBUGFS=y 128 | CONFIG_POWER_SUPPLY=y 129 | CONFIG_THERMAL=y 130 | CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR=y 131 | CONFIG_THERMAL_GOV_STEP_WISE=y 132 | CONFIG_THERMAL_GOV_USER_SPACE=y 133 | CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y 134 | CONFIG_CPU_THERMAL=y 135 | CONFIG_THERMAL_EMULATION=y 136 | CONFIG_SUNXI_THERMAL=y 137 | CONFIG_WATCHDOG=y 138 | CONFIG_SUNXI_WATCHDOG=y 139 | CONFIG_MFD_SUN6I_PRCM=y 140 | CONFIG_REGULATOR=y 141 | CONFIG_REGULATOR_FIXED_VOLTAGE=y 142 | CONFIG_SUNXI_REGULATOR_PWM=y 143 | CONFIG_RC_CORE=y 144 | CONFIG_RC_DECODERS=y 145 | CONFIG_IR_NEC_DECODER=y 146 | CONFIG_IR_RC5_DECODER=y 147 | CONFIG_RC_DEVICES=y 148 | CONFIG_IR_RX_SUNXI=y 149 | CONFIG_MEDIA_SUPPORT=y 150 | CONFIG_MEDIA_CAMERA_SUPPORT=y 151 | CONFIG_MEDIA_CONTROLLER=y 152 | CONFIG_VIDEO_V4L2_SUBDEV_API=y 153 | CONFIG_MEDIA_USB_SUPPORT=y 154 | CONFIG_USB_VIDEO_CLASS=y 155 | CONFIG_USB_GSPCA=y 156 | CONFIG_V4L_PLATFORM_DRIVERS=y 157 | CONFIG_VIDEO_SUNXI_TVD=y 158 | CONFIG_SUNXI_PLATFORM_DRIVERS=y 159 | CONFIG_VIDEO_SUNXI_VIN=y 160 | CONFIG_CSI_VIN=y 161 | # CONFIG_CSI_CCI is not set 162 | CONFIG_SENSOR_N5_DVP=y 163 | CONFIG_FB=y 164 | CONFIG_DISP2_SUNXI=y 165 | CONFIG_DISP2_SUNXI_DEBUG=y 166 | # CONFIG_DISP2_SUNXI_DEVICE_OFF_ON_RELEASE is not set 167 | CONFIG_SOUND=y 168 | CONFIG_SND=y 169 | CONFIG_SND_SOC=y 170 | CONFIG_SND_SUNXI_SOC_SUN8IW20_CODEC=y 171 | CONFIG_SND_SUNXI_SOC_SIMPLE_CARD=y 172 | CONFIG_SND_SUNXI_SOC_DAUDIO=y 173 | CONFIG_USB=y 174 | CONFIG_USB_EHCI_HCD=y 175 | CONFIG_USB_EHCI_HCD_SUNXI=y 176 | CONFIG_USB_OHCI_HCD=y 177 | CONFIG_USB_OHCI_HCD_SUNXI=y 178 | CONFIG_USB_SUNXI_HCD=y 179 | CONFIG_USB_SUNXI_HCI=y 180 | CONFIG_USB_SUNXI_EHCI0=y 181 | CONFIG_USB_SUNXI_EHCI1=y 182 | CONFIG_USB_SUNXI_OHCI0=y 183 | CONFIG_USB_SUNXI_OHCI1=y 184 | CONFIG_USB_STORAGE=y 185 | CONFIG_USB_STORAGE_REALTEK=y 186 | CONFIG_USB_STORAGE_DATAFAB=y 187 | CONFIG_USB_STORAGE_FREECOM=y 188 | CONFIG_USB_STORAGE_ISD200=y 189 | CONFIG_USB_STORAGE_USBAT=y 190 | CONFIG_USB_STORAGE_SDDR09=y 191 | CONFIG_USB_STORAGE_SDDR55=y 192 | CONFIG_USB_STORAGE_JUMPSHOT=y 193 | CONFIG_USB_STORAGE_ALAUDA=y 194 | CONFIG_USB_STORAGE_ONETOUCH=y 195 | CONFIG_USB_STORAGE_KARMA=y 196 | CONFIG_USB_STORAGE_CYPRESS_ATACB=y 197 | CONFIG_USB_STORAGE_ENE_UB6250=y 198 | CONFIG_USB_UAS=y 199 | CONFIG_USB_GADGET=y 200 | CONFIG_USB_SUNXI_UDC0=y 201 | CONFIG_USB_CONFIGFS=y 202 | CONFIG_USB_CONFIGFS_UEVENT=y 203 | CONFIG_USB_CONFIGFS_SERIAL=y 204 | CONFIG_USB_CONFIGFS_RNDIS=y 205 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y 206 | CONFIG_USB_CONFIGFS_F_FS=y 207 | CONFIG_USB_CONFIGFS_F_HID=y 208 | CONFIG_USB_SUNXI_USB=y 209 | CONFIG_USB_SUNXI_USB_MANAGER=y 210 | CONFIG_USB_SUNXI_USB_DEBUG=y 211 | CONFIG_USB_SUNXI_USB_ADB=y 212 | CONFIG_USB_ROLE_SWITCH=y 213 | CONFIG_MMC=y 214 | CONFIG_MMC_SUNXI=y 215 | CONFIG_RTC_CLASS=y 216 | CONFIG_RTC_DRV_SUNXI=y 217 | CONFIG_SUNXI_REBOOT_FLAG=y 218 | CONFIG_SUNXI_RTC_BOOTCOUNT=y 219 | CONFIG_DMADEVICES=y 220 | CONFIG_DMA_SUN6I=y 221 | CONFIG_STAGING=y 222 | CONFIG_ION=y 223 | CONFIG_ION_SYSTEM_HEAP=y 224 | CONFIG_ION_CMA_HEAP=y 225 | CONFIG_EXFAT_FS=y 226 | CONFIG_EXFAT_DELAYED_SYNC=y 227 | CONFIG_EXFAT_KERNEL_DEBUG=y 228 | CONFIG_EXFAT_DEBUG_MSG=y 229 | # CONFIG_COMMON_CLK_DEBUG is not set 230 | # CONFIG_CLK_SUNXI_CLOCKS is not set 231 | # CONFIG_CLK_SUNXI_DDR is not set 232 | # CONFIG_CLK_SUNXI_PRCM_SUN6I is not set 233 | # CONFIG_CLK_SUNXI_PRCM_SUN8I is not set 234 | # CONFIG_CLK_SUNXI_PRCM_SUN9I is not set 235 | # CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set 236 | CONFIG_SUNXI_MAILBOX=y 237 | CONFIG_SUNXI_IOMMU=y 238 | CONFIG_SUNXI_IOMMU_DEBUG=y 239 | CONFIG_SUNXI_IOMMU_TESTS=y 240 | CONFIG_REMOTEPROC=y 241 | CONFIG_SUNXI_REMOTEPROC=y 242 | CONFIG_SUNXI_REMOTEPROC_HIFI4_BOOT=y 243 | CONFIG_SUNXI_REMOTEPROC_C906_BOOT=y 244 | CONFIG_RPMSG_VIRTIO=y 245 | CONFIG_RPMSG_CTRL=y 246 | CONFIG_RPBUF_SERVICE_RPMSG=y 247 | CONFIG_RPBUF_CONTROLLER_SUNXI=y 248 | # CONFIG_SUNXI_SRAM is not set 249 | CONFIG_SUNXI_PM_DOMAINS=y 250 | CONFIG_SUNXI_SID=y 251 | CONFIG_PWM=y 252 | CONFIG_PWM_SUNXI_GROUP=y 253 | CONFIG_ANDROID=y 254 | CONFIG_NVMEM_SUNXI_SID=y 255 | CONFIG_EXT4_FS=y 256 | CONFIG_EXT4_FS_POSIX_ACL=y 257 | CONFIG_EXT4_FS_SECURITY=y 258 | CONFIG_EXT4_DEBUG=y 259 | # CONFIG_DNOTIFY is not set 260 | CONFIG_FUSE_FS=y 261 | CONFIG_CUSE=y 262 | CONFIG_VIRTIO_FS=y 263 | CONFIG_OVERLAY_FS=y 264 | CONFIG_MSDOS_FS=y 265 | CONFIG_VFAT_FS=y 266 | CONFIG_FAT_DEFAULT_UTF8=y 267 | CONFIG_NTFS_FS=y 268 | CONFIG_NTFS_RW=y 269 | CONFIG_TMPFS=y 270 | CONFIG_TMPFS_POSIX_ACL=y 271 | CONFIG_UBIFS_FS=y 272 | CONFIG_UBIFS_FS_ADVANCED_COMPR=y 273 | # CONFIG_UBIFS_FS_ZLIB is not set 274 | # CONFIG_UBIFS_FS_ZSTD is not set 275 | CONFIG_SQUASHFS=y 276 | CONFIG_SQUASHFS_XZ=y 277 | CONFIG_NLS_CODEPAGE_437=y 278 | CONFIG_NLS_ISO8859_1=y 279 | CONFIG_CRYPTO_ARC4=y 280 | CONFIG_CRYPTO_DES=y 281 | CONFIG_CRYPTO_ZSTD=y 282 | CONFIG_CRYPTO_USER_API_HASH=y 283 | CONFIG_CRYPTO_USER_API_SKCIPHER=y 284 | CONFIG_CRYPTO_USER_API_RNG=y 285 | CONFIG_CRYPTO_USER_API_AEAD=y 286 | CONFIG_CRYPTO_DEV_SUNXI=m 287 | CONFIG_DMA_CMA=y 288 | CONFIG_PRINTK_TIME=y 289 | CONFIG_DEBUG_INFO=y 290 | CONFIG_FRAME_WARN=2048 291 | CONFIG_DEBUG_FS=y 292 | CONFIG_MAGIC_SYSRQ=y 293 | CONFIG_DEBUG_VM=y 294 | # CONFIG_SCHED_DEBUG is not set 295 | CONFIG_DEBUG_MUTEXES=y 296 | CONFIG_STACKTRACE=y 297 | # CONFIG_FTRACE is not set 298 | CONFIG_ATOMIC64_SELFTEST=y 299 | CONFIG_DEBUG_LL=y 300 | CONFIG_DEBUG_UART_PHYS=0x02500000 301 | CONFIG_DEBUG_UART_VIRT=0xf2500000 302 | CONFIG_EARLY_PRINTK=y 303 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/linux-5.4/config-5.4-recovery: -------------------------------------------------------------------------------- 1 | # CONFIG_LOCALVERSION_AUTO is not set 2 | CONFIG_SYSVIPC=y 3 | CONFIG_NO_HZ=y 4 | CONFIG_HIGH_RES_TIMERS=y 5 | CONFIG_PREEMPT=y 6 | CONFIG_BSD_PROCESS_ACCT=y 7 | CONFIG_BSD_PROCESS_ACCT_V3=y 8 | CONFIG_IKCONFIG=y 9 | CONFIG_IKCONFIG_PROC=y 10 | CONFIG_LOG_BUF_SHIFT=14 11 | CONFIG_BLK_DEV_INITRD=y 12 | CONFIG_RD_GZIP=y 13 | # CONFIG_RD_BZIP2 is not set 14 | # CONFIG_RD_LZMA is not set 15 | # CONFIG_RD_XZ is not set 16 | # CONFIG_RD_LZO is not set 17 | # CONFIG_RD_LZ4 is not set 18 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y 19 | # CONFIG_SYSFS_SYSCALL is not set 20 | CONFIG_KALLSYMS_ALL=y 21 | CONFIG_EMBEDDED=y 22 | # CONFIG_PERF_EVENTS is not set 23 | # CONFIG_COMPAT_BRK is not set 24 | CONFIG_PROFILING=y 25 | CONFIG_ARCH_SUNXI=y 26 | # CONFIG_MACH_SUN4I is not set 27 | # CONFIG_MACH_SUN5I is not set 28 | # CONFIG_MACH_SUN6I is not set 29 | # CONFIG_MACH_SUN7I is not set 30 | # CONFIG_MACH_SUN8I is not set 31 | # CONFIG_MACH_SUN9I is not set 32 | CONFIG_ARCH_SUN8IW20=y 33 | CONFIG_EVB_PLATFORM=y 34 | CONFIG_SUNXI_SOC_NAME="sun8iw20" 35 | # CONFIG_VDSO is not set 36 | CONFIG_SMP=y 37 | CONFIG_SCHED_MC=y 38 | CONFIG_NR_CPUS=2 39 | CONFIG_ARM_PSCI=y 40 | CONFIG_OABI_COMPAT=y 41 | CONFIG_HIGHMEM=y 42 | # CONFIG_ARM_MODULE_PLTS is not set 43 | # CONFIG_ATAGS is not set 44 | CONFIG_CMDLINE="loglevel=8 initcall_debug=1 console=ttyS0 init=/init" 45 | CONFIG_CPU_FREQ=y 46 | CONFIG_CPU_FREQ_STAT=y 47 | CONFIG_CPU_FREQ_TIMES=y 48 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y 49 | CONFIG_CPU_FREQ_GOV_USERSPACE=y 50 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y 51 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y 52 | CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y 53 | CONFIG_CPUFREQ_DT=y 54 | CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y 55 | CONFIG_VFP=y 56 | CONFIG_NEON=y 57 | CONFIG_PM_WAKELOCKS=y 58 | CONFIG_PM_DEBUG=y 59 | CONFIG_PM_ADVANCED_DEBUG=y 60 | CONFIG_JUMP_LABEL=y 61 | CONFIG_MODULES=y 62 | CONFIG_MODULE_UNLOAD=y 63 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set 64 | # CONFIG_COMPACTION is not set 65 | CONFIG_CMA=y 66 | CONFIG_NET=y 67 | CONFIG_PACKET=y 68 | CONFIG_UNIX=y 69 | CONFIG_UNIX_DIAG=y 70 | CONFIG_NET_KEY=y 71 | CONFIG_INET=y 72 | CONFIG_IP_MULTICAST=y 73 | CONFIG_IP_ADVANCED_ROUTER=y 74 | CONFIG_IP_FIB_TRIE_STATS=y 75 | CONFIG_IP_MULTIPLE_TABLES=y 76 | CONFIG_INET_IPCOMP=y 77 | CONFIG_INET_UDP_DIAG=y 78 | CONFIG_IPV6_TUNNEL=y 79 | CONFIG_NETLINK_DIAG=y 80 | CONFIG_CAN=y 81 | CONFIG_BT=y 82 | CONFIG_BT_RFCOMM=y 83 | CONFIG_BT_RFCOMM_TTY=y 84 | CONFIG_BT_HCIUART=y 85 | CONFIG_BT_HCIUART_H4=y 86 | CONFIG_XR_BT_LPM=m 87 | CONFIG_CFG80211=y 88 | CONFIG_RFKILL=y 89 | CONFIG_RFKILL_GPIO=y 90 | CONFIG_UEVENT_HELPER=y 91 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 92 | CONFIG_DEVTMPFS=y 93 | CONFIG_SUNXI_MBUS=y 94 | CONFIG_MTD=y 95 | CONFIG_SUNXI_RFKILL=y 96 | CONFIG_SUNXI_ADDR_MGT=y 97 | CONFIG_SUNXI_BOOTEVENT=y 98 | CONFIG_SCSI=y 99 | CONFIG_BLK_DEV_SD=y 100 | CONFIG_NETDEVICES=y 101 | CONFIG_SUNXI_GMAC=y 102 | CONFIG_XR829_WLAN=m 103 | CONFIG_INPUT_EVDEV=y 104 | # CONFIG_INPUT_SENSORINIT is not set 105 | CONFIG_KEYBOARD_SUNXI=y 106 | # CONFIG_INPUT_MOUSE is not set 107 | # CONFIG_LEGACY_PTYS is not set 108 | # CONFIG_DEVMEM is not set 109 | CONFIG_SERIAL_8250=y 110 | CONFIG_SERIAL_8250_CONSOLE=y 111 | # CONFIG_HW_RANDOM is not set 112 | CONFIG_SUNXI_DI=y 113 | CONFIG_SUNXI_DI_V1XX=y 114 | CONFIG_SUNXI_SYS_INFO=y 115 | CONFIG_SUNXI_SMC=y 116 | CONFIG_SPI=y 117 | CONFIG_SPI_SUNXI=y 118 | CONFIG_SPI_SPIDEV=y 119 | CONFIG_PINCTRL_SUNXI_DEBUGFS=y 120 | CONFIG_POWER_SUPPLY=y 121 | CONFIG_THERMAL=y 122 | CONFIG_THERMAL_GOV_USER_SPACE=y 123 | CONFIG_CPU_THERMAL=y 124 | CONFIG_THERMAL_EMULATION=y 125 | CONFIG_SUNXI_THERMAL=y 126 | CONFIG_WATCHDOG=y 127 | CONFIG_SUNXI_WATCHDOG=y 128 | CONFIG_MFD_SUN6I_PRCM=y 129 | CONFIG_REGULATOR=y 130 | CONFIG_REGULATOR_FIXED_VOLTAGE=y 131 | CONFIG_RC_CORE=y 132 | CONFIG_RC_DECODERS=y 133 | CONFIG_IR_NEC_DECODER=y 134 | CONFIG_IR_RC5_DECODER=y 135 | CONFIG_RC_DEVICES=y 136 | CONFIG_IR_RX_SUNXI=y 137 | CONFIG_FB=y 138 | CONFIG_DISP2_SUNXI=y 139 | CONFIG_DISP2_SUNXI_DEBUG=y 140 | # CONFIG_DISP2_SUNXI_DEVICE_OFF_ON_RELEASE is not set 141 | # CONFIG_USB_SUPPORT is not set 142 | CONFIG_MMC=y 143 | CONFIG_MMC_SUNXI=y 144 | CONFIG_RTC_CLASS=y 145 | CONFIG_RTC_DRV_SUNXI=y 146 | CONFIG_SUNXI_REBOOT_FLAG=y 147 | CONFIG_SUNXI_RTC_BOOTCOUNT=y 148 | CONFIG_DMADEVICES=y 149 | CONFIG_DMA_SUN6I=y 150 | CONFIG_STAGING=y 151 | CONFIG_ION=y 152 | CONFIG_ION_SYSTEM_HEAP=y 153 | CONFIG_ION_CMA_HEAP=y 154 | CONFIG_EXFAT_FS=y 155 | CONFIG_EXFAT_DELAYED_SYNC=y 156 | CONFIG_EXFAT_KERNEL_DEBUG=y 157 | CONFIG_EXFAT_DEBUG_MSG=y 158 | # CONFIG_COMMON_CLK_DEBUG is not set 159 | # CONFIG_CLK_SUNXI_CLOCKS is not set 160 | # CONFIG_CLK_SUNXI_DDR is not set 161 | # CONFIG_CLK_SUNXI_PRCM_SUN6I is not set 162 | # CONFIG_CLK_SUNXI_PRCM_SUN8I is not set 163 | # CONFIG_CLK_SUNXI_PRCM_SUN9I is not set 164 | # CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set 165 | CONFIG_MAILBOX=y 166 | CONFIG_SUNXI_MAILBOX=y 167 | CONFIG_SUNXI_IOMMU=y 168 | CONFIG_SUNXI_IOMMU_DEBUG=y 169 | CONFIG_SUNXI_IOMMU_TESTS=y 170 | CONFIG_RPMSG_CHAR=y 171 | CONFIG_RPMSG_VIRTIO=y 172 | CONFIG_RPMSG_SUNXI_TTY=y 173 | CONFIG_SUNXI_SID=y 174 | CONFIG_ANDROID=y 175 | CONFIG_NVMEM_SUNXI_SID=y 176 | CONFIG_EXT4_FS=y 177 | CONFIG_EXT4_FS_POSIX_ACL=y 178 | CONFIG_EXT4_FS_SECURITY=y 179 | CONFIG_EXT4_DEBUG=y 180 | # CONFIG_DNOTIFY is not set 181 | # CONFIG_INOTIFY_USER is not set 182 | CONFIG_FUSE_FS=y 183 | CONFIG_CUSE=y 184 | CONFIG_VIRTIO_FS=y 185 | CONFIG_OVERLAY_FS=y 186 | CONFIG_MSDOS_FS=y 187 | CONFIG_VFAT_FS=y 188 | CONFIG_FAT_DEFAULT_UTF8=y 189 | CONFIG_NTFS_FS=y 190 | CONFIG_NTFS_RW=y 191 | CONFIG_TMPFS=y 192 | CONFIG_TMPFS_POSIX_ACL=y 193 | CONFIG_CONFIGFS_FS=y 194 | CONFIG_SQUASHFS=y 195 | CONFIG_SQUASHFS_XZ=y 196 | CONFIG_NLS_CODEPAGE_437=y 197 | CONFIG_NLS_ISO8859_1=y 198 | CONFIG_CRYPTO_ARC4=y 199 | CONFIG_CRYPTO_DES=y 200 | CONFIG_CRYPTO_LZO=y 201 | CONFIG_CRYPTO_ZSTD=y 202 | CONFIG_CRYPTO_USER_API_HASH=y 203 | CONFIG_CRYPTO_USER_API_SKCIPHER=y 204 | CONFIG_CRYPTO_USER_API_RNG=y 205 | CONFIG_CRYPTO_USER_API_AEAD=y 206 | CONFIG_CRYPTO_DEV_SUNXI=m 207 | CONFIG_DMA_CMA=y 208 | CONFIG_PRINTK_TIME=y 209 | CONFIG_DEBUG_INFO=y 210 | CONFIG_FRAME_WARN=2048 211 | CONFIG_DEBUG_FS=y 212 | CONFIG_MAGIC_SYSRQ=y 213 | CONFIG_DEBUG_VM=y 214 | # CONFIG_SCHED_DEBUG is not set 215 | CONFIG_DEBUG_MUTEXES=y 216 | CONFIG_STACKTRACE=y 217 | # CONFIG_FTRACE is not set 218 | CONFIG_ATOMIC64_SELFTEST=y 219 | CONFIG_DEBUG_LL=y 220 | CONFIG_DEBUG_UART_PHYS=0x02500000 221 | CONFIG_DEBUG_UART_VIRT=0xf2500000 222 | CONFIG_EARLY_PRINTK=y 223 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/linux-5.4/config-5.4.b: -------------------------------------------------------------------------------- 1 | # CONFIG_LOCALVERSION_AUTO is not set 2 | CONFIG_SYSVIPC=y 3 | CONFIG_NO_HZ=y 4 | CONFIG_HIGH_RES_TIMERS=y 5 | CONFIG_PREEMPT=y 6 | CONFIG_BSD_PROCESS_ACCT=y 7 | CONFIG_BSD_PROCESS_ACCT_V3=y 8 | CONFIG_IKCONFIG=y 9 | CONFIG_IKCONFIG_PROC=y 10 | CONFIG_LOG_BUF_SHIFT=14 11 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y 12 | # CONFIG_SYSFS_SYSCALL is not set 13 | CONFIG_KALLSYMS_ALL=y 14 | CONFIG_EMBEDDED=y 15 | # CONFIG_PERF_EVENTS is not set 16 | # CONFIG_COMPAT_BRK is not set 17 | CONFIG_PROFILING=y 18 | CONFIG_ARCH_SUNXI=y 19 | # CONFIG_MACH_SUN4I is not set 20 | # CONFIG_MACH_SUN5I is not set 21 | # CONFIG_MACH_SUN6I is not set 22 | # CONFIG_MACH_SUN7I is not set 23 | # CONFIG_MACH_SUN8I is not set 24 | # CONFIG_MACH_SUN9I is not set 25 | CONFIG_ARCH_SUN8IW20=y 26 | CONFIG_EVB_PLATFORM=y 27 | CONFIG_SUNXI_SOC_NAME="sun8iw20" 28 | # CONFIG_VDSO is not set 29 | CONFIG_SMP=y 30 | CONFIG_SCHED_MC=y 31 | CONFIG_ARM_PSCI=y 32 | CONFIG_OABI_COMPAT=y 33 | CONFIG_HIGHMEM=y 34 | # CONFIG_ARM_MODULE_PLTS is not set 35 | # CONFIG_ATAGS is not set 36 | CONFIG_CMDLINE="loglevel=8 initcall_debug=1 console=ttyS0 init=/init" 37 | CONFIG_CPU_FREQ=y 38 | CONFIG_CPU_FREQ_STAT=y 39 | CONFIG_CPU_FREQ_TIMES=y 40 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y 41 | CONFIG_CPU_FREQ_GOV_USERSPACE=y 42 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y 43 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y 44 | CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y 45 | CONFIG_CPUFREQ_DT=y 46 | CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y 47 | CONFIG_VFP=y 48 | CONFIG_NEON=y 49 | CONFIG_PM_WAKELOCKS=y 50 | CONFIG_PM_DEBUG=y 51 | CONFIG_PM_ADVANCED_DEBUG=y 52 | CONFIG_JUMP_LABEL=y 53 | CONFIG_MODULES=y 54 | CONFIG_MODULE_UNLOAD=y 55 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set 56 | # CONFIG_COMPACTION is not set 57 | CONFIG_CMA=y 58 | CONFIG_NET=y 59 | CONFIG_PACKET=y 60 | CONFIG_UNIX=y 61 | CONFIG_UNIX_DIAG=y 62 | CONFIG_NET_KEY=y 63 | CONFIG_INET=y 64 | CONFIG_IP_MULTICAST=y 65 | CONFIG_IP_ADVANCED_ROUTER=y 66 | CONFIG_IP_FIB_TRIE_STATS=y 67 | CONFIG_IP_MULTIPLE_TABLES=y 68 | CONFIG_INET_IPCOMP=y 69 | CONFIG_INET_UDP_DIAG=y 70 | CONFIG_IPV6_TUNNEL=y 71 | CONFIG_NETLINK_DIAG=y 72 | CONFIG_CAN=y 73 | CONFIG_CAN_SUN8I=y 74 | CONFIG_BT=y 75 | CONFIG_BT_RFCOMM=y 76 | CONFIG_BT_RFCOMM_TTY=y 77 | CONFIG_BT_HCIUART=y 78 | CONFIG_BT_HCIUART_H4=y 79 | CONFIG_XR_BT_LPM=m 80 | CONFIG_CFG80211=y 81 | CONFIG_RFKILL=y 82 | CONFIG_RFKILL_GPIO=y 83 | CONFIG_UEVENT_HELPER=y 84 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 85 | CONFIG_DEVTMPFS=y 86 | CONFIG_SUNXI_MBUS=y 87 | CONFIG_MTD=y 88 | CONFIG_SUNXI_RFKILL=y 89 | CONFIG_SUNXI_ADDR_MGT=y 90 | CONFIG_SUNXI_BOOTEVENT=y 91 | CONFIG_SCSI=y 92 | CONFIG_BLK_DEV_SD=y 93 | CONFIG_NETDEVICES=y 94 | CONFIG_SUNXI_GMAC=y 95 | CONFIG_XR829_WLAN=m 96 | CONFIG_XR819S_WLAN=m 97 | CONFIG_INPUT_EVDEV=y 98 | CONFIG_INPUT_SENSORINIT=y 99 | CONFIG_KEYBOARD_SUNXI=y 100 | # CONFIG_INPUT_MOUSE is not set 101 | CONFIG_INPUT_TOUCHSCREEN=y 102 | CONFIG_TOUCHSCREEN_SUNXI=y 103 | # CONFIG_TOUCHSCREEN_GSLX680NEW is not set 104 | CONFIG_TOUCHSCREEN_GT9XXNEW_TS=y 105 | CONFIG_INPUT_SENSOR=y 106 | CONFIG_SUNXI_GPADC=y 107 | # CONFIG_LEGACY_PTYS is not set 108 | # CONFIG_DEVMEM is not set 109 | CONFIG_SERIAL_8250=y 110 | CONFIG_SERIAL_8250_CONSOLE=y 111 | # CONFIG_HW_RANDOM is not set 112 | CONFIG_SUNXI_G2D=y 113 | CONFIG_SUNXI_G2D_MIXER=y 114 | CONFIG_SUNXI_G2D_ROTATE=y 115 | CONFIG_SUNXI_DI=y 116 | CONFIG_SUNXI_DI_V1XX=y 117 | CONFIG_SUNXI_SYS_INFO=y 118 | CONFIG_SUNXI_SMC=y 119 | CONFIG_I2C=y 120 | CONFIG_I2C_CHARDEV=y 121 | CONFIG_I2C_SUNXI=y 122 | CONFIG_SPI=y 123 | CONFIG_SPI_SUNXI=y 124 | CONFIG_SPI_SPIDEV=y 125 | CONFIG_PINCTRL_SUNXI_DEBUGFS=y 126 | CONFIG_POWER_SUPPLY=y 127 | CONFIG_THERMAL=y 128 | CONFIG_THERMAL_GOV_USER_SPACE=y 129 | CONFIG_CPU_THERMAL=y 130 | CONFIG_THERMAL_EMULATION=y 131 | CONFIG_SUNXI_THERMAL=y 132 | CONFIG_WATCHDOG=y 133 | CONFIG_SUNXI_WATCHDOG=y 134 | CONFIG_MFD_SUN6I_PRCM=y 135 | CONFIG_REGULATOR=y 136 | CONFIG_REGULATOR_FIXED_VOLTAGE=y 137 | CONFIG_SUNXI_REGULATOR_PWM=y 138 | CONFIG_RC_CORE=y 139 | CONFIG_RC_DECODERS=y 140 | CONFIG_IR_NEC_DECODER=y 141 | CONFIG_IR_RC5_DECODER=y 142 | CONFIG_RC_DEVICES=y 143 | CONFIG_IR_RX_SUNXI=y 144 | CONFIG_MEDIA_SUPPORT=y 145 | CONFIG_MEDIA_CAMERA_SUPPORT=y 146 | CONFIG_MEDIA_CONTROLLER=y 147 | CONFIG_VIDEO_V4L2_SUBDEV_API=y 148 | CONFIG_MEDIA_USB_SUPPORT=y 149 | CONFIG_USB_VIDEO_CLASS=y 150 | CONFIG_USB_GSPCA=y 151 | CONFIG_V4L_PLATFORM_DRIVERS=y 152 | CONFIG_VIDEO_SUNXI_TVD=y 153 | CONFIG_SUNXI_PLATFORM_DRIVERS=y 154 | CONFIG_VIDEO_SUNXI_VIN=y 155 | CONFIG_CSI_VIN=y 156 | # CONFIG_CSI_CCI is not set 157 | CONFIG_VIDEO_SUNXI_CAR_REVERSE=y 158 | CONFIG_VIDEO_SUNXI_VIN_SPECIAL=y 159 | CONFIG_VIDEO_SUNXI_TVD_SPECIAL=y 160 | CONFIG_FB=y 161 | CONFIG_DISP2_SUNXI=y 162 | CONFIG_DISP2_SUNXI_DEBUG=y 163 | # CONFIG_DISP2_SUNXI_DEVICE_OFF_ON_RELEASE is not set 164 | CONFIG_SOUND=y 165 | CONFIG_SND=y 166 | CONFIG_SND_SOC=y 167 | CONFIG_SND_SUNXI_SOC_SUN8IW20_CODEC=y 168 | CONFIG_SND_SUNXI_SOC_SIMPLE_CARD=y 169 | CONFIG_SND_SUNXI_SOC_DAUDIO=y 170 | CONFIG_USB=y 171 | CONFIG_USB_EHCI_HCD=y 172 | CONFIG_USB_EHCI_HCD_SUNXI=y 173 | CONFIG_USB_OHCI_HCD=y 174 | CONFIG_USB_OHCI_HCD_SUNXI=y 175 | CONFIG_USB_SUNXI_HCD=y 176 | CONFIG_USB_SUNXI_HCI=y 177 | CONFIG_USB_SUNXI_EHCI0=y 178 | CONFIG_USB_SUNXI_EHCI1=y 179 | CONFIG_USB_SUNXI_OHCI0=y 180 | CONFIG_USB_SUNXI_OHCI1=y 181 | CONFIG_USB_STORAGE=y 182 | CONFIG_USB_STORAGE_REALTEK=y 183 | CONFIG_USB_STORAGE_DATAFAB=y 184 | CONFIG_USB_STORAGE_FREECOM=y 185 | CONFIG_USB_STORAGE_ISD200=y 186 | CONFIG_USB_STORAGE_USBAT=y 187 | CONFIG_USB_STORAGE_SDDR09=y 188 | CONFIG_USB_STORAGE_SDDR55=y 189 | CONFIG_USB_STORAGE_JUMPSHOT=y 190 | CONFIG_USB_STORAGE_ALAUDA=y 191 | CONFIG_USB_STORAGE_ONETOUCH=y 192 | CONFIG_USB_STORAGE_KARMA=y 193 | CONFIG_USB_STORAGE_CYPRESS_ATACB=y 194 | CONFIG_USB_STORAGE_ENE_UB6250=y 195 | CONFIG_USB_UAS=y 196 | CONFIG_USB_GADGET=y 197 | CONFIG_USB_SUNXI_UDC0=y 198 | CONFIG_USB_CONFIGFS=y 199 | CONFIG_USB_CONFIGFS_UEVENT=y 200 | CONFIG_USB_CONFIGFS_SERIAL=y 201 | CONFIG_USB_CONFIGFS_RNDIS=y 202 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y 203 | CONFIG_USB_CONFIGFS_F_FS=y 204 | CONFIG_USB_CONFIGFS_F_HID=y 205 | CONFIG_USB_SUNXI_USB=y 206 | CONFIG_USB_SUNXI_USB_MANAGER=y 207 | CONFIG_USB_SUNXI_USB_DEBUG=y 208 | CONFIG_USB_SUNXI_USB_ADB=y 209 | CONFIG_USB_ROLE_SWITCH=y 210 | CONFIG_MMC=y 211 | CONFIG_MMC_SUNXI=y 212 | CONFIG_RTC_CLASS=y 213 | CONFIG_RTC_DRV_SUNXI=y 214 | CONFIG_SUNXI_REBOOT_FLAG=y 215 | CONFIG_SUNXI_RTC_BOOTCOUNT=y 216 | CONFIG_DMADEVICES=y 217 | CONFIG_DMA_SUN6I=y 218 | CONFIG_STAGING=y 219 | CONFIG_ION=y 220 | CONFIG_ION_SYSTEM_HEAP=y 221 | CONFIG_ION_CMA_HEAP=y 222 | # CONFIG_COMMON_CLK_DEBUG is not set 223 | # CONFIG_CLK_SUNXI_CLOCKS is not set 224 | # CONFIG_CLK_SUNXI_DDR is not set 225 | # CONFIG_CLK_SUNXI_PRCM_SUN6I is not set 226 | # CONFIG_CLK_SUNXI_PRCM_SUN8I is not set 227 | # CONFIG_CLK_SUNXI_PRCM_SUN9I is not set 228 | # CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set 229 | CONFIG_SUNXI_MAILBOX=y 230 | CONFIG_SUNXI_IOMMU=y 231 | CONFIG_SUNXI_IOMMU_DEBUG=y 232 | CONFIG_SUNXI_IOMMU_TESTS=y 233 | CONFIG_REMOTEPROC=y 234 | CONFIG_SUNXI_REMOTEPROC=y 235 | CONFIG_SUNXI_REMOTEPROC_SRM_CORE=y 236 | CONFIG_SUNXI_REMOTEPROC_SRM_DEV=y 237 | CONFIG_RPMSG_CHAR=y 238 | CONFIG_RPMSG_VIRTIO=y 239 | CONFIG_RPMSG_SUNXI_TTY=y 240 | CONFIG_SUNXI_SID=y 241 | CONFIG_PWM=y 242 | CONFIG_PWM_SUNXI_GROUP=y 243 | CONFIG_ANDROID=y 244 | CONFIG_NVMEM_SUNXI_SID=y 245 | CONFIG_EXT4_FS=y 246 | CONFIG_EXT4_FS_POSIX_ACL=y 247 | CONFIG_EXT4_FS_SECURITY=y 248 | CONFIG_EXT4_DEBUG=y 249 | # CONFIG_DNOTIFY is not set 250 | # CONFIG_INOTIFY_USER is not set 251 | CONFIG_FUSE_FS=y 252 | CONFIG_MSDOS_FS=y 253 | CONFIG_VFAT_FS=y 254 | CONFIG_TMPFS=y 255 | CONFIG_TMPFS_POSIX_ACL=y 256 | CONFIG_NLS_CODEPAGE_437=y 257 | CONFIG_NLS_ISO8859_1=y 258 | CONFIG_CRYPTO_ARC4=y 259 | CONFIG_CRYPTO_DES=y 260 | CONFIG_CRYPTO_LZO=y 261 | CONFIG_CRYPTO_ZSTD=y 262 | CONFIG_CRYPTO_USER_API_HASH=y 263 | CONFIG_CRYPTO_USER_API_SKCIPHER=y 264 | CONFIG_CRYPTO_USER_API_RNG=y 265 | CONFIG_CRYPTO_USER_API_AEAD=y 266 | CONFIG_CRYPTO_DEV_SUNXI=m 267 | CONFIG_DMA_CMA=y 268 | CONFIG_PRINTK_TIME=y 269 | CONFIG_DEBUG_INFO=y 270 | CONFIG_FRAME_WARN=2048 271 | CONFIG_DEBUG_FS=y 272 | CONFIG_MAGIC_SYSRQ=y 273 | CONFIG_DEBUG_VM=y 274 | # CONFIG_SCHED_DEBUG is not set 275 | CONFIG_DEBUG_MUTEXES=y 276 | CONFIG_STACKTRACE=y 277 | # CONFIG_FTRACE is not set 278 | CONFIG_ATOMIC64_SELFTEST=y 279 | CONFIG_DEBUG_LL=y 280 | CONFIG_DEBUG_UART_PHYS=0x02500000 281 | CONFIG_DEBUG_UART_VIRT=0xf2500000 282 | CONFIG_EARLY_PRINTK=y 283 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto/sys_partition.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 16332 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | 43 | [partition] 44 | name = env 45 | size = 2048 46 | downloadfile = "env.fex" 47 | user_type = 0x8000 48 | 49 | [partition] 50 | name = env-redund 51 | size = 2048 52 | downloadfile = "env.fex" 53 | user_type = 0x8000 54 | 55 | [partition] 56 | name = boot 57 | size = 35200 58 | downloadfile = "boot.fex" 59 | user_type = 0x8000 60 | 61 | [partition] 62 | name = rootfs 63 | size = 213192 64 | downloadfile = "rootfs.fex" 65 | user_type = 0x8000 66 | 67 | [partition] 68 | name = recovery 69 | size = 40960 70 | ;downloadfile = "recovery.fex" 71 | user_type = 0x8000 72 | 73 | [partition] 74 | name = dsp0 75 | size = 2048 76 | downloadfile = "amp_dsp0.fex" 77 | user_type = 0x8000 78 | 79 | [partition] 80 | name = private 81 | size = 32768 82 | ro = 0 83 | user_type = 0x8000 84 | 85 | [partition] 86 | name = UDISK 87 | user_type = 0x8100 88 | 89 | 90 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | LICHEE_KERN_DEFCONF:=config-5.4 2 | LICHEE_KERN_DEFCONF_RECOVERY:=sun8iw20p1simp_t113_recovery_defconfig 3 | LICHEE_BUILDING_SYSTEM:=buildroot 4 | LICHEE_BR_VER:=201902 5 | LICHEE_BR_DEFCONF:=sun8iw20p1_t113_i_nand_defconfig 6 | LICHEE_COMPILER_TAR=gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz 7 | LICHEE_BRANDY_DEFCONF:=sun8iw20p1_auto_t113_i_nand_defconfig 8 | LICHEE_REDUNDANT_ENV_SIZE:=0x20000 9 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/bin/amp_dsp0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto_nand/bin/amp_dsp0.bin -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/bin/amp_rv0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto_nand/bin/amp_rv0.bin -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/board.dts: -------------------------------------------------------------------------------- 1 | linux-5.4/board.dts -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/bsp/bootlogo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto_nand/bsp/bootlogo.bmp -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/bsp/env.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlycon=uart8250,mmio32,0x02500000 4 | initcall_debug=0 5 | console=ttyAS0,115200 6 | nand_root=ubi0_5 7 | mmc_root=/dev/mmcblk0p5 8 | mtd_name=sys 9 | rootfstype=ubifs,rw 10 | init=/init 11 | loglevel=8 12 | cma=8M 13 | mac= 14 | wifi_mac= 15 | bt_mac= 16 | specialstr= 17 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 18 | dsp0_partition=dsp0 19 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 20 | setargs_nand=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 21 | setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 22 | setargs_mmc=setenv bootargs earlycon=${earlycon} 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 23 | #nand command syntax: sunxi_flash read address partition_name read_bytes 24 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 25 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 26 | boot_normal=sunxi_flash read 43000000 boot;bootm 43000000 27 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 28 | boot_fastboot=fastboot 29 | 30 | #uboot system env config 31 | bootdelay=0 32 | #default bootcmd, will change at runtime according to key press 33 | #default nand boot 34 | bootcmd=run setargs_nand boot_dsp0 boot_normal 35 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/bsp/sys_partition.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 34438 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | 43 | [partition] 44 | name = env 45 | size = 2048 46 | downloadfile = "env.fex" 47 | user_type = 0x8000 48 | 49 | [partition] 50 | name = env-redund 51 | size = 2048 52 | downloadfile = "env.fex" 53 | user_type = 0x8000 54 | 55 | [partition] 56 | name = boot 57 | size = 35200 58 | downloadfile = "boot.fex" 59 | user_type = 0x8000 60 | 61 | [partition] 62 | name = rootfs 63 | size = 32768 64 | downloadfile = "rootfs-ubifs.fex" 65 | user_type = 0x8000 66 | 67 | [partition] 68 | name = dsp0 69 | size = 2048 70 | downloadfile = "dsp0.fex" 71 | user_type = 0x8000 72 | 73 | [partition] 74 | name = private 75 | size = 2048 76 | ;downloadfile = "" 77 | user_type = 0x8000 78 | 79 | [partition] 80 | name = UDISK 81 | user_type = 0x8100 82 | 83 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/buildroot/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | LICHEE_KERN_DEFCONF:=sun8iw20p1smp_auto_nand_defconfig 2 | LICHEE_KERN_DEFCONF_RECOVERY:=sun8iw20p1simp_t113_recovery_defconfig 3 | LICHEE_BUILDING_SYSTEM:=buildroot 4 | LICHEE_BR_VER:=201902 5 | LICHEE_BR_DEFCONF:=sun8iw20p1_t113_i_nand_defconfig 6 | LICHEE_COMPILER_TAR=gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz 7 | LICHEE_BRANDY_DEFCONF:=sun8iw20p1_auto_t113_i_nand_defconfig 8 | LICHEE_REDUNDANT_ENV_SIZE:=0x20000 9 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/buildroot/bootlogo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto_nand/buildroot/bootlogo.bmp -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/buildroot/env.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlycon=uart8250,mmio32,0x02500000 4 | initcall_debug=0 5 | console=ttyAS0,115200 6 | nand_root=ubi0_5 7 | mmc_root=/dev/mmcblk0p5 8 | mtd_name=sys 9 | rootfstype=ubifs,rw 10 | init=/init 11 | loglevel=8 12 | cma=8M 13 | mac= 14 | wifi_mac= 15 | bt_mac= 16 | specialstr= 17 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 18 | dsp0_partition=dsp0 19 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 20 | setargs_nand=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 21 | setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlycon=${earlycon} 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 22 | setargs_mmc=setenv bootargs earlycon=${earlycon} 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 23 | #nand command syntax: sunxi_flash read address partition_name read_bytes 24 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 25 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 26 | boot_normal=sunxi_flash read 43000000 boot;bootm 43000000 27 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 28 | boot_fastboot=fastboot 29 | 30 | #uboot system env config 31 | bootdelay=0 32 | #default bootcmd, will change at runtime according to key press 33 | #default nand boot 34 | bootcmd=run setargs_nand boot_normal 35 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/buildroot/sys_partition.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 34438 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | 43 | [partition] 44 | name = env 45 | size = 2048 46 | downloadfile = "env.fex" 47 | user_type = 0x8000 48 | 49 | [partition] 50 | name = env-redund 51 | size = 2048 52 | downloadfile = "env.fex" 53 | user_type = 0x8000 54 | 55 | [partition] 56 | name = boot 57 | size = 35200 58 | downloadfile = "boot.fex" 59 | user_type = 0x8000 60 | 61 | [partition] 62 | name = rootfs 63 | size = 81920 64 | downloadfile = "rootfs-ubifs.fex" 65 | user_type = 0x8000 66 | 67 | [partition] 68 | name = dsp0 69 | size = 2048 70 | downloadfile = "dsp0.fex" 71 | user_type = 0x8000 72 | 73 | [partition] 74 | name = private 75 | size = 2048 76 | ;downloadfile = "" 77 | user_type = 0x8000 78 | 79 | [partition] 80 | name = UDISK 81 | user_type = 0x8100 82 | 83 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/env.cfg: -------------------------------------------------------------------------------- 1 | 2 | #kernel command arguments 3 | earlyprintk=sunxi-uart,0x02500000 4 | initcall_debug=0 5 | console=ttyS0,115200 6 | nand_root=/dev/ubiblock0_5 7 | mmc_root=/dev/mmcblk0p5 8 | mtd_name=sys 9 | rootfstype=squashfs 10 | root_partition=rootfs 11 | boot_partition=boot 12 | init=/init 13 | rdinit=/rdinit 14 | loglevel=8 15 | cma=16M 16 | mac= 17 | wifi_mac= 18 | bt_mac= 19 | specialstr= 20 | keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 21 | dsp0_partition=dsp0 22 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 23 | 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} rdinit=${rdinit} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 24 | 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} rdinit=${rdinit} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 25 | setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} rdinit=${rdinit} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 26 | #nand command syntax: sunxi_flash read address partition_name read_bytes 27 | #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) 28 | boot_dsp0=sunxi_flash read 43000000 ${dsp0_partition};bootr 43000000 0 0 29 | boot_normal=sunxi_flash read 43000000 ${boot_partition};bootm 43000000 30 | boot_recovery=sunxi_flash read 43000000 recovery;bootm 43000000 31 | boot_fastboot=fastboot 32 | 33 | #uboot system env config 34 | bootdelay=0 35 | #default bootcmd, will change at runtime according to key press 36 | #default nand boot 37 | bootcmd=run setargs_nand boot_normal 38 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/linux-5.4/config-5.4-recovery: -------------------------------------------------------------------------------- 1 | # CONFIG_LOCALVERSION_AUTO is not set 2 | CONFIG_SYSVIPC=y 3 | CONFIG_NO_HZ=y 4 | CONFIG_HIGH_RES_TIMERS=y 5 | CONFIG_PREEMPT=y 6 | CONFIG_BSD_PROCESS_ACCT=y 7 | CONFIG_BSD_PROCESS_ACCT_V3=y 8 | CONFIG_IKCONFIG=y 9 | CONFIG_IKCONFIG_PROC=y 10 | CONFIG_LOG_BUF_SHIFT=14 11 | CONFIG_BLK_DEV_INITRD=y 12 | CONFIG_RD_GZIP=y 13 | # CONFIG_RD_BZIP2 is not set 14 | # CONFIG_RD_LZMA is not set 15 | # CONFIG_RD_XZ is not set 16 | # CONFIG_RD_LZO is not set 17 | # CONFIG_RD_LZ4 is not set 18 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y 19 | # CONFIG_SYSFS_SYSCALL is not set 20 | CONFIG_KALLSYMS_ALL=y 21 | CONFIG_EMBEDDED=y 22 | # CONFIG_PERF_EVENTS is not set 23 | # CONFIG_COMPAT_BRK is not set 24 | CONFIG_PROFILING=y 25 | CONFIG_ARCH_SUNXI=y 26 | # CONFIG_MACH_SUN4I is not set 27 | # CONFIG_MACH_SUN5I is not set 28 | # CONFIG_MACH_SUN6I is not set 29 | # CONFIG_MACH_SUN7I is not set 30 | # CONFIG_MACH_SUN8I is not set 31 | # CONFIG_MACH_SUN9I is not set 32 | CONFIG_ARCH_SUN8IW20=y 33 | CONFIG_EVB_PLATFORM=y 34 | CONFIG_SUNXI_SOC_NAME="sun8iw20" 35 | # CONFIG_VDSO is not set 36 | CONFIG_SMP=y 37 | CONFIG_SCHED_MC=y 38 | CONFIG_NR_CPUS=2 39 | CONFIG_ARM_PSCI=y 40 | CONFIG_OABI_COMPAT=y 41 | CONFIG_HIGHMEM=y 42 | # CONFIG_ARM_MODULE_PLTS is not set 43 | # CONFIG_ATAGS is not set 44 | CONFIG_CMDLINE="loglevel=8 initcall_debug=1 console=ttyS0 init=/init" 45 | CONFIG_CPU_FREQ=y 46 | CONFIG_CPU_FREQ_STAT=y 47 | CONFIG_CPU_FREQ_TIMES=y 48 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y 49 | CONFIG_CPU_FREQ_GOV_USERSPACE=y 50 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y 51 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y 52 | CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y 53 | CONFIG_CPUFREQ_DT=y 54 | CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y 55 | CONFIG_VFP=y 56 | CONFIG_NEON=y 57 | CONFIG_PM_WAKELOCKS=y 58 | CONFIG_PM_DEBUG=y 59 | CONFIG_PM_ADVANCED_DEBUG=y 60 | CONFIG_JUMP_LABEL=y 61 | CONFIG_MODULES=y 62 | CONFIG_MODULE_UNLOAD=y 63 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set 64 | # CONFIG_COMPACTION is not set 65 | CONFIG_CMA=y 66 | CONFIG_NET=y 67 | CONFIG_PACKET=y 68 | CONFIG_UNIX=y 69 | CONFIG_UNIX_DIAG=y 70 | CONFIG_NET_KEY=y 71 | CONFIG_INET=y 72 | CONFIG_IP_MULTICAST=y 73 | CONFIG_IP_ADVANCED_ROUTER=y 74 | CONFIG_IP_FIB_TRIE_STATS=y 75 | CONFIG_IP_MULTIPLE_TABLES=y 76 | CONFIG_INET_IPCOMP=y 77 | CONFIG_INET_UDP_DIAG=y 78 | CONFIG_IPV6_TUNNEL=y 79 | CONFIG_NETLINK_DIAG=y 80 | CONFIG_CAN=y 81 | CONFIG_BT=y 82 | CONFIG_BT_RFCOMM=y 83 | CONFIG_BT_RFCOMM_TTY=y 84 | CONFIG_BT_HCIUART=y 85 | CONFIG_BT_HCIUART_H4=y 86 | CONFIG_XR_BT_LPM=m 87 | CONFIG_CFG80211=y 88 | CONFIG_RFKILL=y 89 | CONFIG_RFKILL_GPIO=y 90 | CONFIG_UEVENT_HELPER=y 91 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 92 | CONFIG_DEVTMPFS=y 93 | CONFIG_SUNXI_MBUS=y 94 | CONFIG_MTD=y 95 | CONFIG_SUNXI_RFKILL=y 96 | CONFIG_SUNXI_ADDR_MGT=y 97 | CONFIG_SUNXI_BOOTEVENT=y 98 | CONFIG_SCSI=y 99 | CONFIG_BLK_DEV_SD=y 100 | CONFIG_NETDEVICES=y 101 | CONFIG_SUNXI_GMAC=y 102 | CONFIG_XR829_WLAN=m 103 | CONFIG_INPUT_EVDEV=y 104 | # CONFIG_INPUT_SENSORINIT is not set 105 | CONFIG_KEYBOARD_SUNXI=y 106 | # CONFIG_INPUT_MOUSE is not set 107 | # CONFIG_LEGACY_PTYS is not set 108 | # CONFIG_DEVMEM is not set 109 | CONFIG_SERIAL_8250=y 110 | CONFIG_SERIAL_8250_CONSOLE=y 111 | # CONFIG_HW_RANDOM is not set 112 | CONFIG_SUNXI_DI=y 113 | CONFIG_SUNXI_DI_V1XX=y 114 | CONFIG_SUNXI_SYS_INFO=y 115 | CONFIG_SUNXI_SMC=y 116 | CONFIG_SPI=y 117 | CONFIG_SPI_SUNXI=y 118 | CONFIG_SPI_SPIDEV=y 119 | CONFIG_PINCTRL_SUNXI_DEBUGFS=y 120 | CONFIG_POWER_SUPPLY=y 121 | CONFIG_THERMAL=y 122 | CONFIG_THERMAL_GOV_USER_SPACE=y 123 | CONFIG_CPU_THERMAL=y 124 | CONFIG_THERMAL_EMULATION=y 125 | CONFIG_SUNXI_THERMAL=y 126 | CONFIG_WATCHDOG=y 127 | CONFIG_SUNXI_WATCHDOG=y 128 | CONFIG_MFD_SUN6I_PRCM=y 129 | CONFIG_REGULATOR=y 130 | CONFIG_REGULATOR_FIXED_VOLTAGE=y 131 | CONFIG_RC_CORE=y 132 | CONFIG_RC_DECODERS=y 133 | CONFIG_IR_NEC_DECODER=y 134 | CONFIG_IR_RC5_DECODER=y 135 | CONFIG_RC_DEVICES=y 136 | CONFIG_IR_RX_SUNXI=y 137 | CONFIG_FB=y 138 | CONFIG_DISP2_SUNXI=y 139 | CONFIG_DISP2_SUNXI_DEBUG=y 140 | # CONFIG_DISP2_SUNXI_DEVICE_OFF_ON_RELEASE is not set 141 | # CONFIG_USB_SUPPORT is not set 142 | CONFIG_MMC=y 143 | CONFIG_MMC_SUNXI=y 144 | CONFIG_RTC_CLASS=y 145 | CONFIG_RTC_DRV_SUNXI=y 146 | CONFIG_SUNXI_REBOOT_FLAG=y 147 | CONFIG_SUNXI_RTC_BOOTCOUNT=y 148 | CONFIG_DMADEVICES=y 149 | CONFIG_DMA_SUN6I=y 150 | CONFIG_STAGING=y 151 | CONFIG_ION=y 152 | CONFIG_ION_SYSTEM_HEAP=y 153 | CONFIG_ION_CMA_HEAP=y 154 | CONFIG_EXFAT_FS=y 155 | CONFIG_EXFAT_DELAYED_SYNC=y 156 | CONFIG_EXFAT_KERNEL_DEBUG=y 157 | CONFIG_EXFAT_DEBUG_MSG=y 158 | # CONFIG_COMMON_CLK_DEBUG is not set 159 | # CONFIG_CLK_SUNXI_CLOCKS is not set 160 | # CONFIG_CLK_SUNXI_DDR is not set 161 | # CONFIG_CLK_SUNXI_PRCM_SUN6I is not set 162 | # CONFIG_CLK_SUNXI_PRCM_SUN8I is not set 163 | # CONFIG_CLK_SUNXI_PRCM_SUN9I is not set 164 | # CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set 165 | CONFIG_MAILBOX=y 166 | CONFIG_SUNXI_MAILBOX=y 167 | CONFIG_SUNXI_IOMMU=y 168 | CONFIG_SUNXI_IOMMU_DEBUG=y 169 | CONFIG_SUNXI_IOMMU_TESTS=y 170 | CONFIG_RPMSG_CHAR=y 171 | CONFIG_RPMSG_VIRTIO=y 172 | CONFIG_RPMSG_SUNXI_TTY=y 173 | CONFIG_SUNXI_SID=y 174 | CONFIG_ANDROID=y 175 | CONFIG_NVMEM_SUNXI_SID=y 176 | CONFIG_EXT4_FS=y 177 | CONFIG_EXT4_FS_POSIX_ACL=y 178 | CONFIG_EXT4_FS_SECURITY=y 179 | CONFIG_EXT4_DEBUG=y 180 | # CONFIG_DNOTIFY is not set 181 | # CONFIG_INOTIFY_USER is not set 182 | CONFIG_FUSE_FS=y 183 | CONFIG_CUSE=y 184 | CONFIG_VIRTIO_FS=y 185 | CONFIG_OVERLAY_FS=y 186 | CONFIG_MSDOS_FS=y 187 | CONFIG_VFAT_FS=y 188 | CONFIG_FAT_DEFAULT_UTF8=y 189 | CONFIG_NTFS_FS=y 190 | CONFIG_NTFS_RW=y 191 | CONFIG_TMPFS=y 192 | CONFIG_TMPFS_POSIX_ACL=y 193 | CONFIG_CONFIGFS_FS=y 194 | CONFIG_SQUASHFS=y 195 | CONFIG_SQUASHFS_XZ=y 196 | CONFIG_NLS_CODEPAGE_437=y 197 | CONFIG_NLS_ISO8859_1=y 198 | CONFIG_CRYPTO_ARC4=y 199 | CONFIG_CRYPTO_DES=y 200 | CONFIG_CRYPTO_LZO=y 201 | CONFIG_CRYPTO_ZSTD=y 202 | CONFIG_CRYPTO_USER_API_HASH=y 203 | CONFIG_CRYPTO_USER_API_SKCIPHER=y 204 | CONFIG_CRYPTO_USER_API_RNG=y 205 | CONFIG_CRYPTO_USER_API_AEAD=y 206 | CONFIG_CRYPTO_DEV_SUNXI=m 207 | CONFIG_DMA_CMA=y 208 | CONFIG_PRINTK_TIME=y 209 | CONFIG_DEBUG_INFO=y 210 | CONFIG_FRAME_WARN=2048 211 | CONFIG_DEBUG_FS=y 212 | CONFIG_MAGIC_SYSRQ=y 213 | CONFIG_DEBUG_VM=y 214 | # CONFIG_SCHED_DEBUG is not set 215 | CONFIG_DEBUG_MUTEXES=y 216 | CONFIG_STACKTRACE=y 217 | # CONFIG_FTRACE is not set 218 | CONFIG_ATOMIC64_SELFTEST=y 219 | CONFIG_DEBUG_LL=y 220 | CONFIG_DEBUG_UART_PHYS=0x02500000 221 | CONFIG_DEBUG_UART_VIRT=0xf2500000 222 | CONFIG_EARLY_PRINTK=y 223 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/openwrt/bootlogo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/device/config/chips/t113_i/configs/evb1_auto_nand/openwrt/bootlogo.bmp -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/openwrt/sys_partition.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 3443 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | [partition] 43 | name = env 44 | size = 2048 45 | downloadfile = "env.fex" 46 | user_type = 0x8000 47 | 48 | [partition] 49 | name = env-redund 50 | size = 2048 51 | downloadfile = "env.fex" 52 | user_type = 0x8000 53 | 54 | [partition] 55 | name = boot 56 | size = 35200 57 | downloadfile = "boot.fex" 58 | user_type = 0x8000 59 | 60 | [partition] 61 | name = rootfs 62 | size = 32768 63 | downloadfile = "rootfs.fex" 64 | user_type = 0x8000 65 | 66 | [partition] 67 | name = dsp0 68 | size = 2048 69 | downloadfile = "amp_dsp0.fex" 70 | user_type = 0x8000 71 | 72 | [partition] 73 | name = private 74 | size = 10240 75 | user_type = 0x8000 76 | 77 | [partition] 78 | name = rootfs_data 79 | size = 10240 80 | user_type = 0x8000 81 | 82 | [partition] 83 | name = UDISK 84 | name = rootfs_data 85 | size = 10240 86 | user_type = 0x8000 87 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/openwrt/sys_partition_nor.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;-------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;-------------------------------------------------------------------------------------------------- 9 | ;**************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;**************************************************** 12 | [mbr] 13 | size = 16 14 | 15 | ;******************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍 33 | ;******************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 256 39 | ;downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | [partition] 43 | name = env 44 | size = 256 45 | downloadfile = "env.fex" 46 | user_type = 0x8000 47 | 48 | [partition] 49 | name = env-redund 50 | size = 256 51 | downloadfile = "env.fex" 52 | user_type = 0x8000 53 | 54 | [partition] 55 | name = boot 56 | size = 19200 57 | downloadfile = "boot.fex" 58 | user_type = 0x8000 59 | 60 | [partition] 61 | name = rootfs 62 | size = 9728 63 | downloadfile = "rootfs_nor.fex" 64 | user_type = 0x8000 65 | 66 | [partition] 67 | name = dsp0 68 | size = 512 69 | downloadfile = "amp_dsp0.fex" 70 | user_type = 0x8000 71 | 72 | [partition] 73 | name = UDISK 74 | user_type = 0x8100 75 | -------------------------------------------------------------------------------- /device/config/chips/t113_i/configs/evb1_auto_nand/sys_partition.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------- 4 | 5 | 6 | ;--------------------------------------------------------------------------------------------------- 7 | ; 固件下载参数配置 8 | ;--------------------------------------------------------------------------------------------------- 9 | ;*************************************************************************************************** 10 | ; mbr的大小, 以Kbyte为单位 11 | ;*************************************************************************************************** 12 | [mbr] 13 | size = 16384 14 | 15 | ;*************************************************************************************************** 16 | ; 分区配置 17 | ; 18 | ; 19 | ; partition 定义范例: 20 | ; [partition] ; //表示是一个分区 21 | ; name = USERFS2 ; //分区名称 22 | ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T 23 | ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 24 | ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 25 | ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 26 | ; user_type = ? ; //私有用法 27 | ; verify = 1 ; //要求量产完成后校验是否正确 28 | ; 29 | ; 注:1、name唯一, 不允许同名 30 | ; 2、name最大12个字符 31 | ; 3、size = 0, 将创建一个无大小的空分区 32 | ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) 33 | ;*************************************************************************************************** 34 | [partition_start] 35 | 36 | [partition] 37 | name = boot-resource 38 | size = 34438 39 | downloadfile = "boot-resource.fex" 40 | user_type = 0x8000 41 | 42 | 43 | [partition] 44 | name = env 45 | size = 2048 46 | downloadfile = "env.fex" 47 | user_type = 0x8000 48 | 49 | [partition] 50 | name = env-redund 51 | size = 2048 52 | downloadfile = "env.fex" 53 | user_type = 0x8000 54 | 55 | [partition] 56 | name = boot 57 | size = 35200 58 | downloadfile = "boot.fex" 59 | user_type = 0x8000 60 | 61 | [partition] 62 | name = rootfs 63 | size = 32768 64 | downloadfile = "rootfs.fex" 65 | user_type = 0x8000 66 | 67 | [partition] 68 | name = dsp0 69 | size = 2048 70 | downloadfile = "amp_dsp0.fex" 71 | user_type = 0x8000 72 | 73 | [partition] 74 | name = recovery 75 | size = 10240 76 | ;downloadfile = "recovery.fex" 77 | user_type = 0x8000 78 | 79 | [partition] 80 | name = UDISK 81 | user_type = 0x8100 82 | 83 | -------------------------------------------------------------------------------- /kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/Makefile: -------------------------------------------------------------------------------- 1 | include $(obj)/de/Makefile 2 | 3 | # define_trace.h needs to know how to find our header 4 | CFLAGS_disp_trace.o := -I$(src) 5 | 6 | obj-$(CONFIG_DISP2_SUNXI) += disp.o 7 | 8 | disp-objs := dev_disp.o dev_fb.o dev_disp_debugfs.o 9 | disp-objs += disp_sys_intf.o 10 | disp-objs += disp_trace.o 11 | disp-$(CONFIG_DISP2_SUNXI_COMPOSER) += dev_composer.o 12 | disp-objs += de/disp_display.o de/disp_features.o de/disp_device.o \ 13 | de/disp_lcd.o de/disp_manager.o de/disp_private.o \ 14 | de/disp_smart_backlight.o de/disp_enhance.o de/disp_capture.o \ 15 | de/disp_tv.o de/disp_vdevice.o \ 16 | de/disp_vga.o de/rpmsg_preview.o \ 17 | de/disp_vdpo.o de/disp_edp.o de/disp_rtwb.o 18 | 19 | disp-$(CONFIG_EINK_PANEL_USED) += de/disp_eink_manager.o \ 20 | de/eink_buffer_manager.o de/eink_pipeline_manager.o \ 21 | de/disp_format_convert.o 22 | 23 | disp-objs += de/disp_vga.o \ 24 | de/disp_vdpo.o de/disp_edp.o 25 | disp-$(CONFIG_SUNXI_DISP2_FB_ROTATION_SUPPORT) += de/disp_rotation_sw.o 26 | disp-$(CONFIG_SUNXI_DISP2_FB_HW_ROTATION_SUPPORT) += fb_g2d_rot.o 27 | 28 | disp-objs += lcd/panels.o lcd/lcd_source.o lcd/default_panel.o 29 | disp-objs += of_service.o de/lcd_debug.o 30 | 31 | disp-$(CONFIG_LCD_SUPPORT_HE0801A068) += lcd/he0801a068.o 32 | disp-$(CONFIG_EINK_PANEL_USED) += lcd/default_eink.o 33 | disp-$(CONFIG_LCD_SUPPORT_LT070ME05000) += lcd/lt070me05000.o 34 | disp-$(CONFIG_LCD_SUPPORT_WTQ05027D01) += lcd/wtq05027d01.o 35 | disp-$(CONFIG_LCD_SUPPORT_T27P06) += lcd/t27p06.o 36 | disp-$(CONFIG_LCD_SUPPORT_DX0960BE40A1) += lcd/dx0960be40a1.o 37 | disp-$(CONFIG_LCD_SUPPORT_TFT720X1280) += lcd/tft720x1280.o 38 | disp-$(CONFIG_LCD_SUPPORT_S6D7AA0X01) += lcd/S6D7AA0X01.o 39 | disp-$(CONFIG_LCD_SUPPORT_GG1P4062UTSW) += lcd/cpu_gg1p4062utsw.o 40 | disp-$(CONFIG_LCD_SUPPORT_LS029B3SX02) += lcd/ls029b3sx02.o 41 | disp-$(CONFIG_LCD_SUPPORT_FD055HD003S) += lcd/fd055hd003s.o 42 | disp-$(CONFIG_LCD_SUPPORT_FRD450H40014) += lcd/frd450h40014.o 43 | disp-$(CONFIG_LCD_SUPPORT_H245QBN02) += lcd/h245qbn02.o 44 | disp-$(CONFIG_LCD_SUPPORT_ILI9341) += lcd/ili9341.o 45 | disp-$(CONFIG_LCD_SUPPORT_LH219WQ1) += lcd/lh219wq1.o 46 | disp-$(CONFIG_LCD_SUPPORT_ST7789V) += lcd/st7789v.o 47 | disp-$(CONFIG_LCD_SUPPORT_ST7796S) += lcd/st7796s.o 48 | disp-$(CONFIG_LCD_SUPPORT_ST7701S) += lcd/st7701s.o 49 | disp-$(CONFIG_LCD_SUPPORT_WTL096601G03) += lcd/wtl096601g03.o 50 | disp-$(CONFIG_LCD_SUPPORT_T30P106) += lcd/t30p106.o 51 | disp-$(CONFIG_LCD_SUPPORT_TO20T20000) += lcd/to20t20000.o 52 | disp-$(CONFIG_LCD_SUPPORT_S2003T46G) += lcd/s2003t46g.o 53 | disp-$(CONFIG_LCD_SUPPORT_WILLIAMLCD) += lcd/WilliamLcd.o 54 | disp-$(CONFIG_LCD_SUPPORT_LQ101R1SX03) += lcd/lq101r1sx03.o 55 | disp-$(CONFIG_LCD_SUPPORT_INET_DSI_PANEL) += lcd/inet_dsi_panel.o 56 | disp-$(CONFIG_LCD_SUPPORT_RT13QV005D) += lcd/rt13qv005d.o 57 | disp-$(CONFIG_LCD_SUPPORT_ILI9881C) += lcd/ili9881c.o 58 | disp-$(CONFIG_LCD_SUPPORT_TM_DSI_PANEL) += lcd/tm_dsi_panel.o 59 | disp-$(CONFIG_LCD_SUPPORT_ST7789V_CPU) += lcd/st7789v_cpu.o 60 | disp-$(CONFIG_LCD_SUPPORT_JD9366AB_3) += lcd/jd9366ab_3.o 61 | disp-$(CONFIG_LCD_SUPPORT_TFT08006) += lcd/tft08006.o 62 | disp-$(CONFIG_LCD_SUPPORT_BP101WX1_206) += lcd/bp101wx1-206.o 63 | disp-$(CONFIG_LCD_SUPPORT_FX070) += lcd/fx070.o 64 | disp-$(CONFIG_LCD_SUPPORT_K101IM2QA04) += lcd/k101im2qa04.o 65 | disp-$(CONFIG_LCD_SUPPORT_CC08021801_310_800X1280) += lcd/CC08021801_310_800X1280.o 66 | disp-$(CONFIG_LCD_SUPPORT_K080_IM2HYL802R_800X1280) += lcd/K080_IM2HYL802R_800X1280.o 67 | disp-$(CONFIG_LCD_SUPPORT_K101_IM2BYL02_L_800X1280) += lcd/K101_IM2BYL02_L_800X1280.o 68 | disp-$(CONFIG_LCD_SUPPORT_NT35510_MIPI) += lcd/nt35510.o 69 | disp-$(CONFIG_LCD_SUPPORT_B080UAN01_MIPI1200X1920) += lcd/b080uan01_mipi1200x1920.o 70 | disp-y += lcd/super_lcd_driver.o 71 | 72 | disp-$(CONFIG_EINK_PANEL_USED) += de/disp_eink_manager.o \ 73 | de/eink_buffer_manager.o de/eink_pipeline_manager.o \ 74 | de/disp_format_convert.o lcd/default_eink.o 75 | 76 | disp-objs += $(obj_low) 77 | 78 | disp-$(CONFIG_SUNXI_DISP2_PQ) += pq/drv_pq.o pq/pq_common.o 79 | 80 | -------------------------------------------------------------------------------- /kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/Kconfig: -------------------------------------------------------------------------------- 1 | config LCD_SUPPORT_GG1P4062UTSW 2 | bool "LCD support cpu_gg1p4062utsw panel" 3 | default n 4 | ---help--- 5 | If you want to support cpu_gg1p4062utsw panel for display driver, select it. 6 | 7 | config LCD_SUPPORT_DX0960BE40A1 8 | bool "LCD support dx0960be40a1 panel" 9 | default n 10 | ---help--- 11 | If you want to support dx0960be40a1 panel for display driver, select it. 12 | 13 | config LCD_SUPPORT_TFT720X1280 14 | bool "LCD support dx0960be40a1 panel" 15 | default n 16 | ---help--- 17 | If you want to support dx0960be40a1 panel for display driver, select it. 18 | 19 | config LCD_SUPPORT_FD055HD003S 20 | bool "LCD support fd055hd003s panel" 21 | default n 22 | ---help--- 23 | If you want to support fd055hd003s panel for display driver, select it. 24 | 25 | config LCD_SUPPORT_HE0801A068 26 | bool "LCD support he0801a068 panel" 27 | default y 28 | ---help--- 29 | If you want to support he0801a068 panel for display driver, select it. 30 | 31 | config LCD_SUPPORT_ILI9341 32 | bool "LCD support ili9341 panel" 33 | default n 34 | ---help--- 35 | If you want to support ili9341 panel for display driver, select it. 36 | 37 | config LCD_SUPPORT_LH219WQ1 38 | bool "LCD support LH219WQ1 panel" 39 | default n 40 | ---help--- 41 | If you want to support LH219WQ1 panel for display driver, select it. 42 | 43 | config LCD_SUPPORT_LS029B3SX02 44 | bool "LCD support ls029b3sx02 panel" 45 | default n 46 | ---help--- 47 | If you want to support ls029b3sx02 panel for display driver, select it. 48 | 49 | config LCD_SUPPORT_LT070ME05000 50 | bool "LCD support lt070me05000 panel" 51 | default n 52 | ---help--- 53 | If you want to support lt070me05000 panel for display driver, select it. 54 | 55 | 56 | config LCD_SUPPORT_S6D7AA0X01 57 | bool "LCD support S6D7AA0X01 panel" 58 | default n 59 | ---help--- 60 | If you want to support S6D7AA0X01 panel for display driver, select it. 61 | 62 | 63 | config LCD_SUPPORT_T27P06 64 | bool "LCD support t27p06 panel" 65 | default n 66 | ---help--- 67 | If you want to support t27p06 panel for display driver, select it. 68 | 69 | config LCD_SUPPORT_TFT720x1280 70 | bool "LCD support tft720x1280 panel" 71 | default n 72 | ---help--- 73 | If you want to support tft720x1280 panel for display driver, select it. 74 | 75 | 76 | config LCD_SUPPORT_WTQ05027D01 77 | bool "LCD support wtq05027d01 panel" 78 | default n 79 | ---help--- 80 | If you want to support wtq05027d01 panel for display driver, select it. 81 | 82 | config LCD_SUPPORT_H245QBN02 83 | bool "LCD support H245QBN02 panel" 84 | default n 85 | ---help--- 86 | If you want to support H245QBN02 panel for display driver, select it. 87 | 88 | config LCD_SUPPORT_ST7789V 89 | bool "LCD support ST7789V panel" 90 | default n 91 | ---help--- 92 | If you want to support ST7789V panel for display driver, select it. 93 | 94 | config LCD_SUPPORT_ST7796S 95 | bool "LCD support ST7796S panel" 96 | default n 97 | ---help--- 98 | If you want to support ST7796S panel for display driver, select it. 99 | 100 | config LCD_SUPPORT_ST7701S 101 | bool "LCD support ST7701S panel" 102 | default n 103 | ---help--- 104 | If you want to support ST7701S panel for display driver, select it. 105 | 106 | config LCD_SUPPORT_T30P106 107 | bool "LCD support T30P106 panel" 108 | default n 109 | ---help--- 110 | If you want to support T30P106 panel for display driver, select it. 111 | 112 | config LCD_SUPPORT_TO20T20000 113 | bool "LCD support TO20T20000 panel" 114 | default n 115 | ---help--- 116 | If you want to support TO20T20000 panel for display driver, select it. 117 | 118 | config LCD_SUPPORT_FRD450H40014 119 | bool "LCD support FRD450H40014 panel" 120 | default n 121 | ---help--- 122 | If you want to support FRD450H40014 panel for display driver, select it. 123 | 124 | config LCD_SUPPORT_S2003T46G 125 | bool "LCD support S2003T46G panel" 126 | default n 127 | ---help--- 128 | If you want to support S2003T46G panel for display driver, select it. 129 | 130 | config LCD_SUPPORT_WILLIAMLCD 131 | bool "LCD support WilliamLcd panel" 132 | default y 133 | ---help--- 134 | If you want to support WilliamLcd panel for display driver, select it. 135 | 136 | config LCD_SUPPORT_LQ101R1SX03 137 | bool "LCD support lq101r1sx03 panel" 138 | default y 139 | ---help--- 140 | If you want to support lq101r1sx03 panel for display driver, select it. 141 | 142 | config LCD_SUPPORT_INET_DSI_PANEL 143 | bool "LCD support inet_dsi_panel panel" 144 | default y 145 | ---help--- 146 | If you want to support inet_dsi_panel panel for display driver, select it. 147 | 148 | config LCD_SUPPORT_WTL096601G03 149 | bool "LCD support WTL096601G03 panel" 150 | default n 151 | ---help--- 152 | If you want to support WTL096601G03 panel for display driver, select it. 153 | 154 | config LCD_SUPPORT_RT13QV005D 155 | bool "LCD support rt13qv005d panel" 156 | default n 157 | ---help--- 158 | If you want to support rt13qv005d panel for display driver, select it. 159 | 160 | config LCD_SUPPORT_ST7789V_CPU 161 | bool "LCD support st7789v_cpu panel" 162 | default n 163 | ---help--- 164 | If you want to support st7789v_cpu panel for display driver, select it. 165 | 166 | config LCD_SUPPORT_CC08021801_310_800X1280 167 | bool "LCD support CC08021801_310_800X1280 panel" 168 | default y 169 | ---help--- 170 | If you want to support CC08021801_310_800X1280 panel for display driver, select it. 171 | 172 | config LCD_SUPPORT_JD9366AB_3 173 | bool "LCD support JD9366AB_3 panel" 174 | default n 175 | ---help--- 176 | If you want to support JD9366AB_3 panel for display driver, select it. 177 | 178 | config LCD_SUPPORT_TFT08006 179 | bool "LCD support TFT08006 panel" 180 | default n 181 | ---help--- 182 | If you want to support tft08006 panel for display driver, select it. 183 | 184 | config LCD_SUPPORT_BP101WX1_206 185 | bool "LCD support bp101wx1-206 panel" 186 | default y 187 | ---help--- 188 | If you want to support bp101wx1-206 panel for display driver, select it. 189 | 190 | config LCD_SUPPORT_FX070 191 | bool "LCD support fx070 panel" 192 | default y 193 | ---help--- 194 | If you want to support fx070 panel for display driver, select it. 195 | 196 | config LCD_SUPPORT_K101IM2QA04 197 | bool "LCD support K101IM2QA04 panel" 198 | default y 199 | ---help--- 200 | If you want to support K101IM2QA04 panel for display driver, select it. 201 | 202 | config LCD_SUPPORT_K101_IM2BYL02_L_800X1280 203 | bool "LCD support K101_IM2BYL02_L_800X1280 panel" 204 | default y 205 | ---help--- 206 | If you want to support K101_IM2BYL02_L_800X1280 panel for display driver, select it. 207 | 208 | config LCD_SUPPORT_K080_IM2HYL802R_800X1280 209 | bool "LCD support K080_IM2HYL802R_800X1280 panel" 210 | default y 211 | ---help--- 212 | If you want to support K080_IM2HYL802R_800X1280 panel for display driver, select it. 213 | 214 | config LCD_SUPPORT_NT35510_MIPI 215 | bool "LCD support nt35510_mipi panel" 216 | default n 217 | help 218 | If you want to support nt35510_mipi panel for display driver, select it. 219 | 220 | config LCD_SUPPORT_B080UAN01_MIPI1200X1920 221 | bool "LCD support b080uan01 mipi 1200x1920 panel" 222 | default n 223 | help 224 | If you want to support b080uan01 mipi 1200x1920 panel for display driver, select it. 225 | -------------------------------------------------------------------------------- /kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/tft08006.h: -------------------------------------------------------------------------------- 1 | /* drivers/video/sunxi/disp2/disp/lcd/tft08006.h 2 | * 3 | * Copyright (c) 2021 Allwinnertech Co., Ltd. 4 | * 5 | * tft08006 panel driver 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License version 2 as 9 | * published by the Free Software Foundation. 10 | */ 11 | 12 | #ifndef _TFT08006_H 13 | #define _TFT08006_H 14 | 15 | #include "panels.h" 16 | 17 | extern struct __lcd_panel tft08006_panel; 18 | 19 | extern s32 bsp_disp_get_panel_info(u32 screen_id, struct disp_panel_para *info); 20 | 21 | #endif /*End of file*/ 22 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2007 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | include $(TOPDIR)/rules.mk 8 | include $(INCLUDE_DIR)/target.mk 9 | 10 | export TARGET_BUILD=1 11 | 12 | prereq clean download prepare compile install recovery_menuconfig ramfs_menuconfig menuconfig nconfig oldconfig update refresh: FORCE 13 | @+$(NO_TRACE_MAKE) -C $(BOARD) $@ 14 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/generic/BoardRules_generic.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015-2016 Allwinner 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /build/LICENSE for more information. 6 | 7 | TARGET_CPU_VARIANT:=$(subst ",,$(word 1,$(subst +," ,$(CONFIG_CPU_TYPE)))) 8 | 9 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/generic/image/Config.in: -------------------------------------------------------------------------------- 1 | config SUNXI_SD_BOOT_PART 2 | bool "Build filesystem for Boot (SD Card) partition" 3 | default n 4 | 5 | config SUNXI_SD_BOOT_PARTSIZE 6 | int "Boot (SD Card) filesystem partition size (in MB)" 7 | depends on SUNXI_SD_BOOT_PART 8 | default 4 9 | 10 | choice 11 | prompt "Boot (SD Card) Kernel format" 12 | default SUNXI_SD_BOOT_KERNEL_FORMAT_UIMAGE 13 | 14 | config SUNXI_SD_BOOT_KERNEL_FORMAT_UIMAGE 15 | bool "uImage" 16 | 17 | config SUNXI_SD_BOOT_KERNEL_FORMAT_BOOTIMG 18 | bool "boot.img" 19 | endchoice 20 | 21 | config SUNXI_MKBOOTIMG_WITH_COMPRESS_KERNEL 22 | bool "mkbootimge with compressed kernel" 23 | depends on SUNXI_SD_BOOT_KERNEL_FORMAT_BOOTIMG 24 | default n 25 | 26 | config SUNXI_MKBOOTIMG_ADD_DTB 27 | bool "mkbootimge add dtb to boot.img" 28 | depends on SUNXI_SD_BOOT_KERNEL_FORMAT_BOOTIMG 29 | default n 30 | 31 | config SUNXI_SMALL_STORAGE_OTA 32 | bool "For storage less than 32M, enable this when using ota" 33 | default n 34 | 35 | config SUNXI_RECOVERY_INITRAMFS_PART 36 | bool "Build filesystem for Boot-Recovery initramfs partition" 37 | default n 38 | 39 | config SUNXI_RECOVERY_INITRAMFS_PARTSIZE 40 | int "Boot-Recovery initramfs filesystem partition size (in MB)" 41 | depends on SUNXI_RECOVERY_INITRAMFS_PART 42 | default 7 43 | 44 | 45 | choice 46 | prompt "Boot-Recovery initramfs Kernel format" 47 | default SUNXI_RECOVERY_INITRAMFS_KERNEL_FORMAT_UIMAGE 48 | 49 | config SUNXI_RECOVERY_INITRAMFS_KERNEL_FORMAT_UIMAGE 50 | bool "uImage" 51 | 52 | config SUNXI_RECOVERY_INITRAMFS_KERNEL_FORMAT_BOOTIMG 53 | bool "boot.img" 54 | endchoice 55 | 56 | config SUNXI_SEPARATE_APP_FROM_ROOTFS 57 | bool "Separate /mnt/app from rootfs" 58 | default n 59 | 60 | config SUNXI_SEPARATE_DATA_FROM_ROOTFS 61 | bool "Separate /data from rootfs" 62 | default n 63 | 64 | menuconfig CUSTOMIZE_IMAGE_NAME 65 | bool "customize image name" 66 | default n 67 | help 68 | Customize image name 69 | 70 | choice 71 | prompt "Boot Image(kernel) name suffix" 72 | default SUNXI_BOOT_IMAGE_NAME_SUFFIX_NONE 73 | depends on CUSTOMIZE_IMAGE_NAME 74 | help 75 | Customize Boot image(kernel) name 76 | 77 | config SUNXI_BOOT_IMAGE_NAME_SUFFIX_NONE 78 | bool "boot.img/boot_initramfs.img" 79 | 80 | config SUNXI_BOOT_IMAGE_NAME_SUFFIX_RECOVERY 81 | bool "boot_recovery.img/boot_initramfs_recovery.img" 82 | 83 | config SUNXI_BOOT_IMAGE_NAME_SUFFIX_RAMFS 84 | bool "boot_ramfs.img/boot_initramfs_ramfs.img" 85 | endchoice 86 | 87 | choice 88 | prompt "Rootfs Image name suffix" 89 | default SUNXI_ROOTFS_IMAGE_NAME_SUFFIX_NONE 90 | depends on CUSTOMIZE_IMAGE_NAME 91 | help 92 | Customize rootfs image name 93 | 94 | config SUNXI_ROOTFS_IMAGE_NAME_SUFFIX_NONE 95 | bool "rootfs.img" 96 | 97 | config SUNXI_ROOTFS_IMAGE_NAME_SUFFIX_RECOVERY 98 | bool "rootfs_recovery.img" 99 | 100 | config SUNXI_ROOTFS_IMAGE_NAME_SUFFIX_RAMFS 101 | bool "rootfs_ramfs.img" 102 | endchoice 103 | 104 | menuconfig CUSTOMIZE_CONFIG_FILE 105 | bool "customize config file" 106 | default n 107 | help 108 | Customize image config file 109 | 110 | choice 111 | prompt "Kernel config file suffix" 112 | default KERNEL_CONFIG_FILE_SUFFIX_NONE 113 | depends on CUSTOMIZE_CONFIG_FILE 114 | help 115 | Customize kernel config file 116 | 117 | config KERNEL_CONFIG_FILE_SUFFIX_NONE 118 | bool "config-x.x" 119 | 120 | config KERNEL_CONFIG_FILE_SUFFIX_RECOVERY 121 | bool "config-x.x_recovery" 122 | 123 | config KERNEL_CONFIG_FILE_SUFFIX_RAMFS 124 | bool "config-x.x_ramfs" 125 | endchoice 126 | 127 | menuconfig TARGET_ROOTFS_INCLUDE_KERNEL 128 | bool "Include kernel in root filesystem" 129 | depends on TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS 130 | default n 131 | help 132 | Include the kernel image in the rootfs. Typically, the image is placed 133 | below /boot. 134 | 135 | config TARGET_ROOTFS_INCLUDE_UIMAGE 136 | bool "include uImage" if TARGET_ROOTFS_INCLUDE_KERNEL 137 | default y 138 | help 139 | This option might not apply to all targets. Make sure 140 | to check target/allwinner//image/Makefile to 141 | see if this option will have any effect. 142 | 143 | config TARGET_ROOTFS_INCLUDE_ZIMAGE 144 | bool "include zImage" if TARGET_ROOTFS_INCLUDE_KERNEL 145 | default y 146 | help 147 | This option might not apply to all targets. Make sure 148 | to check target/allwinner//image/Makefile to 149 | see if this option will have any effect. 150 | 151 | config TARGET_ROOTFS_INCLUDE_FIT 152 | bool "include FIT" if TARGET_ROOTFS_INCLUDE_KERNEL 153 | default y 154 | help 155 | This option might not apply to all targets. Make sure 156 | to check target/allwinner//image/Makefile to 157 | see if this option will have any effect. 158 | 159 | config TARGET_ROOTFS_INCLUDE_DTB 160 | bool "Include DTB in root filesystem" 161 | depends on USES_DEVICETREE && (TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS) 162 | default n 163 | help 164 | Include the device tree blob file(s) in the rootfs. Typically the DTBs 165 | are placed below /boot. 166 | 167 | comment "Kernel Image Compression Mode setting" 168 | 169 | menuconfig TARGET_KERNEL_COMPRESSION_MODE 170 | bool "kernel compression mode setting" 171 | default n 172 | help 173 | setting kernel image compression mode. 174 | 175 | choice 176 | prompt "Compression" 177 | default KERNEL_KERNEL_GZIP 178 | depends on TARGET_KERNEL_COMPRESSION_MODE 179 | help 180 | Select kernel image compression. 181 | 182 | config KERNEL_KERNEL_GZIP 183 | bool "Gzip" 184 | 185 | config KERNEL_KERNEL_LZMA 186 | bool "LZMA" 187 | 188 | config KERNEL_KERNEL_XZ 189 | bool "XZ" 190 | 191 | config KERNEL_KERNEL_LZO 192 | bool "LZO" 193 | endchoice 194 | 195 | comment "Downsize root filesystem" 196 | 197 | config REDUCE_ROOTFS_SIZE 198 | bool "downsize the root filesystem or initramfs" 199 | default n 200 | help 201 | This option will reduce the storage size of the rootfs. Please read file 202 | scripts/reduce-rootfs-size.sh. 203 | 204 | comment "Optimize kernel size" 205 | 206 | config REDUCE_KERNEL_SIZE 207 | bool "downsize the kernel size (EXPERIMENTAL)" 208 | default n 209 | help 210 | This option will reduce the storage size of the kernel by removing log 211 | and debug information. Please read file scripts/reduce-kernel-size.sh 212 | 213 | comment "Boot Time Optimization" 214 | 215 | config BOOT_TIME_OPTIMIZATION 216 | bool "Boot Time Optimization" 217 | depends on KERNEL_KERNEL_LZO && ( KERNEL_SQUASHFS_ZLIB || TARGET_ROOTFS_EXT4FS) 218 | default n 219 | help 220 | This option will optimize boot time. 221 | 222 | 223 | config SUNXI_MAKE_REDUNDANT_ENV 224 | bool "sunxi make redundant env data" 225 | default n 226 | help 227 | Create redundant env data with mkenvimage tools 228 | 229 | config SUNXI_REDUNDANT_ENV_SIZE 230 | string "redundant env data size" 231 | depends on SUNXI_MAKE_REDUNDANT_ENV 232 | default 0x20000 233 | help 234 | redundant env data size 235 | 236 | config SUNXI_NO_ROOTFS_IMG 237 | bool "don't create rootfs.img for recovery" 238 | default n 239 | help 240 | recovery no need rootfs.img, so don't create rootfs.img 241 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/generic/image/initramfs-base-files.txt: -------------------------------------------------------------------------------- 1 | nod /dev/console 600 0 0 c 5 1 2 | nod /dev/null 666 0 0 c 1 3 3 | nod /dev/zero 666 0 0 c 1 5 4 | nod /dev/tty 666 0 0 c 5 0 5 | nod /dev/tty0 660 0 0 c 4 0 6 | nod /dev/tty1 660 0 0 c 4 1 7 | nod /dev/random 666 0 0 c 1 8 8 | nod /dev/urandom 666 0 0 c 1 9 9 | dir /dev/pts 755 0 0 10 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/generic/image/ramdisk.img: -------------------------------------------------------------------------------- 1 | ramdisk.img 2 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-common/BoardRules_common.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015-2016 Allwinner 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /build/LICENSE for more information. 6 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-common/base-files/etc/config/smartlinkd: -------------------------------------------------------------------------------- 1 | config pragram "record" 2 | list "record_on" "amixer cset iface=MIXER,name='Left Input Mixer MIC1 Boost Switch' 1" 3 | list "record_on" "amixer cset iface=MIXER,name='Right Input Mixer MIC1 Boost Switch' 1" 4 | list "record_off" "amixer cset iface=MIXER,name='Left Input Mixer MIC1 Boost Switch' 0" 5 | list "record_off" "amixer cset iface=MIXER,name='Right Input Mixer MIC1 Boost Switch' 0" 6 | list "record_vol" "amixer cset iface=MIXER,name='MIC1 boost volume'" 7 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-common/base-files/etc/fw_env.config: -------------------------------------------------------------------------------- 1 | # Configuration file for fw_(printenv/setenv) utility. 2 | # Up to two entries are valid, in this case the redundant 3 | # environment sector is assumed present. 4 | # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. 5 | # Futhermore, if the Flash sector size is omitted, this value is assumed to 6 | # be the same as the Environment size, which is valid for NOR and SPI-dataflash 7 | # Device offset must be prefixed with 0x to be parsed as a hexadecimal value. 8 | 9 | # NOR example 10 | # MTD device name Device offset Env. size Flash sector size Number of sectors 11 | # /dev/mtd1 0x0000 0x4000 0x4000 12 | # /dev/mtd2 0x0000 0x4000 0x4000 13 | 14 | # MTD SPI-dataflash example 15 | # MTD device name Device offset Env. size Flash sector size Number of sectors 16 | #/dev/mtd5 0x4200 0x4200 17 | #/dev/mtd6 0x4200 0x4200 18 | 19 | # NAND example 20 | #/dev/mtd0 0x4000 0x4000 0x20000 2 21 | 22 | # On a block device a negative offset is treated as a backwards offset from the 23 | # end of the device/partition, rather than a forwards offset from the start. 24 | 25 | # Block device example 26 | #/dev/mmcblk0 0xc0000 0x20000 27 | #/dev/mmcblk0 -0x20000 0x20000 28 | 29 | # VFAT example 30 | #/boot/uboot.env 0x0000 0x4000 31 | 32 | # UBI volume 33 | #/dev/ubi0_0 0x0 0x1f000 0x1f000 34 | #/dev/ubi0_1 0x0 0x1f000 0x1f000 35 | 36 | # UBI volume by name 37 | #/dev/ubi0:env 0x0 0x1f000 0x1f000 38 | #/dev/ubi0:env-redund 0x0 0x1f000 0x1f000 39 | 40 | 41 | # Allwinner Tina 42 | /dev/by-name/env 0x0000 0x20000 43 | /dev/by-name/env-redund 0x0000 0x20000 44 | 45 | # Allwinner Tina UBI volume 46 | #/dev/ubi0:env 0x0 0x20000 0x20000 47 | #/dev/ubi0:env-redund 0x0 0x20000 0x20000 48 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-common/base-files/etc/inittab: -------------------------------------------------------------------------------- 1 | ::sysinit:/etc/init.d/rcS S boot 2 | ::shutdown:/etc/init.d/rcS K shutdown 3 | tts/0::askfirst:/bin/ash --login 4 | ttyS0::askfirst:/bin/ash --login 5 | tty1::askfirst:/bin/ash --login 6 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-common/boot-play/boot.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/openwrt/target/t113_i/t113_i-common/boot-play/boot.mp3 -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-common/boot-resource/boot-resource.ini: -------------------------------------------------------------------------------- 1 | 2 | [system] 3 | ver=100 4 | date=2009-7-03 5 | ID=937ae0d0-50e3-43c2-9b84-bfef0cd21a41 6 | 7 | [fsinfo] 8 | disccnt=1 9 | disc0=c 10 | ;------------------------------------------------------------------------------------------------------------- 11 | ; 12 | ;------------------------------------------------------------------------------------------------------------- 13 | [c] 14 | ;�ļ�ϵͳ�̷� 15 | disc=c 16 | 17 | ;�ļ�ϵͳ�������� 18 | fsname=.\boot-resource.fex 19 | 20 | ;�ļ�ϵͳ���� 21 | format=fat16 22 | 23 | ;�ļ�ϵͳsize(k) 24 | size=8192 25 | 26 | ;�ļ�ϵͳ���� 27 | attr=0 28 | 29 | ;root location and counter define 30 | rootcnt=1 31 | root0=.\boot-resource 32 | 33 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-common/boot-resource/boot-resource/bootlogo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/openwrt/target/t113_i/t113_i-common/boot-resource/boot-resource/bootlogo.bmp -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/BoardRules.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015-2016 Allwinner 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /build/LICENSE for more information. 6 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2013-2016 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | 10 | ARCH:=arm 11 | BOARD:=t113_i-evb1_auto 12 | BOARDNAME:=t113_i-evb1_auto 13 | FEATURES:=fpu dt 14 | CPU_TYPE:=cortex-a7 15 | CPU_SUBTYPE:=neon 16 | MAINTAINER:=Allwinner 17 | 18 | KERNEL_PATCHVER:=5.4 19 | UBOOT_PATCHVER:=2018 20 | KERNELNAME:=zImage dtbs 21 | 22 | include $(INCLUDE_DIR)/target.mk 23 | 24 | DEFAULT_PACKAGES = base-files libc libgcc busybox 25 | 26 | $(eval $(call BuildTarget)) 27 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/TinaProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2013 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | PRODUCT_MAKEFILES := \ 18 | $(LOCAL_DIR)/t113_i_evb1_auto.mk 19 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/amp_dsp.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/openwrt/target/t113_i/t113_i-evb1_auto/amp_dsp.elf -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/base-files/etc/asound.conf: -------------------------------------------------------------------------------- 1 | 2 | # T113 3 | # audiocodec 4 | 5 | ctl.!default { 6 | type hw 7 | card audiocodec 8 | } 9 | 10 | pcm.!default { 11 | type asym 12 | playback.pcm "Playback" 13 | capture.pcm "CaptureDsnoop" 14 | } 15 | 16 | pcm.PlaybackEQ { 17 | type plug 18 | slave.pcm { 19 | type awequal 20 | slave.pcm "Playback" 21 | config_file "/etc/awequal.conf" 22 | tuning_support false 23 | verbose true 24 | } 25 | slave.rate 48000 26 | slave.format S16_LE 27 | slave.channels 2 28 | } 29 | 30 | pcm.Playback { 31 | type plug 32 | slave.pcm { 33 | type softvol 34 | slave.pcm PlaybackDmix 35 | control { 36 | name "Soft Volume Master" 37 | card audiocodec 38 | } 39 | min_dB -51.0 40 | max_dB 0.0 41 | resolution 256 42 | } 43 | slave.rate 48000 44 | slave.format S16_LE 45 | } 46 | 47 | pcm.PlaybackDmix { 48 | type plug 49 | slave.pcm { 50 | type dmix 51 | ipc_key 1111 52 | ipc_perm 0666 53 | slave { 54 | pcm "hw:audiocodec" 55 | format S16_LE 56 | rate 48000 57 | channels 2 58 | period_size 960 59 | periods 8 60 | } 61 | } 62 | } 63 | 64 | pcm.Capture { 65 | type hw 66 | card audiocodec 67 | } 68 | 69 | pcm.CaptureMic { 70 | type hooks 71 | slave.pcm { 72 | type plug 73 | slave { 74 | pcm "CaptureDsnoop" 75 | channels 3 76 | } 77 | ttable.0.2 1 78 | } 79 | hooks.0 { 80 | type ctl_elems 81 | hook_args [ 82 | { 83 | name "ADC1 Input LINEINL Switch" 84 | optional true 85 | value 1 86 | } 87 | { 88 | name "ADC2 Input LINEINR Switch" 89 | optional true 90 | value 1 91 | } 92 | { 93 | name "MIC3 Input Select" 94 | optional true 95 | value 0 96 | } 97 | { 98 | name "ADC3 Input MIC3 Boost Switch" 99 | optional true 100 | value 1 101 | } 102 | 103 | ] 104 | } 105 | } 106 | 107 | pcm.CaptureDsnoop { 108 | type plug 109 | slave.pcm { 110 | type dsnoop 111 | ipc_key 2222 112 | ipc_perm 0666 113 | slave { 114 | pcm "hw:audiocodec" 115 | rate 16000 116 | channels 3 117 | period_size 640 118 | periods 4 119 | } 120 | } 121 | } 122 | 123 | pcm.CaptureDsnoop1 { 124 | type plug 125 | slave.pcm { 126 | type dsnoop 127 | ipc_key 2222 128 | ipc_perm 0666 129 | slave { 130 | pcm "hw:audiocodec" 131 | rate 16000 132 | channels 1 133 | period_size 640 134 | periods 4 135 | } 136 | } 137 | } 138 | 139 | pcm.CaptureDaudio0 { 140 | type plug 141 | slave.pcm { 142 | type dsnoop 143 | ipc_key 4444 144 | ipc_perm 0666 145 | slave { 146 | pcm "hw:snddaudio0" 147 | rate 16000 148 | channels 2 149 | period_size 640 150 | periods 4 151 | } 152 | } 153 | } 154 | 155 | pcm.CaptureMulti1 { 156 | type plug 157 | slave.pcm { 158 | type multi 159 | slaves { 160 | a { pcm "CaptureDsnoop1" channels 1 } 161 | b { pcm "CaptureDaudio0" channels 2 } 162 | } 163 | bindings { 164 | 0 { slave a channel 0 } 165 | 1 { slave b channel 0 } 166 | 2 { slave b channel 1 } 167 | } 168 | } 169 | ttable.0.0 1 170 | ttable.1.1 1 171 | ttable.2.1 1 172 | 173 | } 174 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/base-files/etc/config/fstab: -------------------------------------------------------------------------------- 1 | config 'global' 2 | option anon_swap '0' 3 | option anon_mount '0' 4 | option auto_swap '1' 5 | option auto_mount '1' 6 | option delay_root '5' 7 | option check_fs '1' 8 | 9 | config 'mount' 10 | option target '/boot' 11 | option device '/dev/by-name/boot' 12 | option options 'ro,sync' 13 | option enabled '1' 14 | 15 | config 'mount' 16 | option target '/boot-res' 17 | option device '/dev/by-name/boot-res' 18 | option options 'ro,sync' 19 | option enabled '1' 20 | 21 | config 'mount' 22 | option target '/mnt/UDISK' 23 | option device '/dev/by-name/UDISK' 24 | option options 'rw,async' 25 | option enabled '0' 26 | 27 | config 'mount' 28 | option target '/overlay' 29 | option device '/dev/by-name/UDISK' 30 | option options 'rw,async' 31 | option enabled '1' 32 | 33 | config 'mount' 34 | option target '/mnt/SDCARD' 35 | option device '/dev/mmcblk1' 36 | option options 'rw,async' 37 | option enabled '1' 38 | 39 | config 'mount' 40 | option target '/mnt/SDCARD' 41 | option device '/dev/mmcblk1p1' 42 | option options 'rw,async' 43 | option enabled '1' 44 | 45 | config 'mount' 46 | option target '/mnt/exUDISK' 47 | option device '/dev/sda' 48 | option options 'rw,async' 49 | option enabled '1' 50 | 51 | config 'mount' 52 | option target '/mnt/exUDISK' 53 | option device '/dev/sda1' 54 | option options 'rw,async' 55 | option enabled '1' 56 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/base-files/etc/inittab: -------------------------------------------------------------------------------- 1 | ::sysinit:/etc/init.d/rcS S boot 2 | ::shutdown:/etc/init.d/rcS K shutdown 3 | tts/0::askfirst:/bin/ash --login 4 | ttyS3::askfirst:/bin/ash --login 5 | ttyS0::askfirst:/bin/ash --login 6 | tty1::askfirst:/bin/ash --login 7 | X 8 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/base-files/etc/rc.local: -------------------------------------------------------------------------------- 1 | # Put your custom commands here that should be executed once 2 | # the system init finished. By default this file does nothing. 3 | 4 | amixer -Dhw:audiocodec cset name="Headphone Switch" 1 5 | 6 | 7 | # capture 8 | amixer -Dhw:audiocodec cset name='MIC3 Input Select' 0 9 | 10 | amixer -Dhw:audiocodec cset name='ADC1 Input LINEINL Switch' 1 11 | amixer -Dhw:audiocodec cset name='ADC2 Input LINEINR Switch' 1 12 | amixer -Dhw:audiocodec cset name='ADC3 Input MIC3 Boost Switch' 1 13 | 14 | amixer -Dhw:audiocodec cset name='LINEINL gain volume' 1 15 | amixer -Dhw:audiocodec cset name='LINEINR gain volume' 1 16 | amixer -Dhw:audiocodec cset name='MIC3 gain volume' 19 17 | 18 | exit 0 19 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/asound.conf: -------------------------------------------------------------------------------- 1 | 2 | # R528 3 | # audiocodec 4 | 5 | ctl.!default { 6 | type hw 7 | card audiocodec 8 | } 9 | 10 | pcm.!default { 11 | type asym 12 | playback.pcm "Playback" 13 | capture.pcm "CaptureDsnoop" 14 | } 15 | 16 | pcm.Playback { 17 | type plug 18 | slave.pcm { 19 | type softvol 20 | slave.pcm PlaybackDmix 21 | control { 22 | name "Soft Volume Master" 23 | card audiocodec 24 | } 25 | min_dB -51.0 26 | max_dB 0.0 27 | resolution 256 28 | } 29 | slave.rate 48000 30 | slave.format S16_LE 31 | } 32 | 33 | pcm.PlaybackDmix { 34 | type plug 35 | slave.pcm { 36 | type dmix 37 | ipc_key 1111 38 | ipc_perm 0666 39 | slave { 40 | pcm "hw:audiocodec" 41 | format S16_LE 42 | rate 48000 43 | channels 2 44 | period_size 1024 45 | periods 4 46 | } 47 | } 48 | } 49 | 50 | pcm.Capture { 51 | type hw 52 | card audiocodec 53 | } 54 | 55 | pcm.CaptureDsnoop { 56 | type plug 57 | slave.pcm { 58 | type dsnoop 59 | ipc_key 2222 60 | ipc_perm 0666 61 | slave { 62 | pcm "hw:audiocodec" 63 | rate 16000 64 | channels 3 65 | period_size 1024 66 | periods 4 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/init.d/load_script.conf: -------------------------------------------------------------------------------- 1 | adbd -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/init.d/rc.final: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "------run rc.final file-----" 4 | #echo "insmod wifi modules" 5 | #insmod /lib/modules/3.4.39/8723ds.ko 6 | #insmod /lib/modules/3.4.39/bcmdhd.ko 7 | #insmod /lib/modules/3.4.39/xradio_mac.ko 8 | #insmod /lib/modules/3.4.39/xradio_core.ko 9 | #insmod /lib/modules/3.4.39/xradio_wlan.ko 10 | 11 | export TSLIB_CALIBFILE=/etc/pointercal 12 | export TSLIB_CONFFILE=/etc/ts.conf 13 | export TSLIB_PLUGINDIR=/usr/lib/ts 14 | export TSLIB_CONSOLEDEVICE=none 15 | export TSLIB_FBDEVICE=/dev/fb0 16 | export TSLIB_TSDEVICE=/dev/input/event3 17 | 18 | #export LD_LIBRARY_PATH=/usr/lib/eyesee-mpp:${LD_LIBRARY_PATH} 19 | #ulimit -c unlimited 20 | #echo /mnt/extsd/core.exe[%e].pid[%p].sig[%s] > /proc/sys/kernel/core_pattern 21 | 22 | #for i in /etc/init.d/S??* ;do 23 | 24 | # Ignore dangling symlinks (if any). 25 | # [ ! -f "$i" ] && continue 26 | 27 | # case "$i" in 28 | # *.sh) 29 | # Source shell script for speed. 30 | # ( 31 | # trap - INT QUIT TSTP 32 | # set start 33 | # . $i 34 | # ) 35 | # ;; 36 | # *) 37 | # No sh extension, so fork subprocess. 38 | # $i start 39 | # ;; 40 | # esac 41 | #done 42 | 43 | #if [ -z "$(grep '\' /proc/mounts)" ]; then 44 | # ! /bin/mount -t vfat /dev/mmcblk0 /mnt/extsd 2>/dev/null && 45 | # /bin/mount -t vfat /dev/mmcblk0p1 /mnt/extsd 46 | #fi 47 | #free > /dev/console 48 | #mount -t debugfs none /tmp 49 | #echo lcd0 > /tmp/dispdbg/name 50 | #echo disable > /tmp/dispdbg/command 51 | #echo 1 > /tmp/dispdbg/start 52 | #echo enable > /tmp/dispdbg/command 53 | #echo 1 > /tmp/dispdbg/start 54 | #umount /tmp 55 | if [ x${boot_partition} == xboot ];then 56 | amixer cset name="Headphone Switch" 1 57 | cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host 58 | nice -n -20 /usr/bin/story_bin & 59 | else 60 | cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host 61 | export swu_software=$(fw_printenv -n swu_software 2>/dev/null) 62 | export swu_mode=$(fw_printenv -n swu_mode 2>/dev/null) 63 | nice -n -20 /usr/bin/story_ota_bin & 64 | fi 65 | if [ -e /tmp/private/ ]; then 66 | echo "clear private mount info" 67 | umount /tmp/private/ 68 | rm -rf /tmp/private 69 | ubiblock -r /dev/by-name/private 70 | fi 71 | 72 | 73 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/init.d/rc.modules: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "------run rc.modules file-----" 3 | export boot_partition=$(fw_printenv -n boot_partition 2>/dev/null) 4 | if [ x${boot_partition} == xboot ];then 5 | /sbin/insmod /lib/modules/5.4.61/usb-storage.ko 6 | /sbin/insmod /lib/modules/5.4.61/sunxi_gpadc.ko 7 | /sbin/insmod /lib/modules/5.4.61/gt9xxnew_ts.ko 8 | echo 0x07090160 0x083F10F7 > /sys/class/sunxi_dump/write 9 | /sbin/insmod /lib/modules/5.4.61/xr819s.ko 10 | wpa_supplicant -Dnl80211 -iwlan0 -c /etc/wifi/wpa_supplicant.conf -B 11 | fi 12 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/init.d/rc.preboot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "------run rc.preboot file-----" 4 | if [ -e /dev/by-name/private ]; then 5 | echo "install private mount info" 6 | mkdir /tmp/private/ 7 | /usr/sbin/ubiblock -c /dev/by-name/private 8 | echo `ls -al /dev/by-name/private` > /tmp/private.txt 9 | dev_num=`/usr/bin/awk -F "_" '{print $2}' /tmp/private.txt` 10 | mount /dev/ubiblock0_${dev_num} /tmp/private/ 11 | rm -rf /tmp/private.txt 12 | fi 13 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/inittab: -------------------------------------------------------------------------------- 1 | # /etc/inittab 2 | # 3 | # Copyright (C) 2001 Erik Andersen 4 | # 5 | # Note: BusyBox init doesn't support runlevels. The runlevels field is 6 | # completely ignored by BusyBox init. If you want runlevels, use 7 | # sysvinit. 8 | # 9 | # Format for each entry: ::: 10 | # 11 | # id == tty to run on, or empty for /dev/console 12 | # runlevels == ignored 13 | # action == one of sysinit, respawn, askfirst, wait, and once 14 | # process == program to run 15 | 16 | # Startup the system 17 | ::sysinit:/etc/preinit 18 | ::sysinit:/bin/mount -t proc proc /proc 19 | ::sysinit:/bin/mount -t tmpfs tmpfs /run 20 | ::sysinit:/bin/mount -o remount,rw / 21 | ::sysinit:/bin/mkdir -p /dev/pts 22 | ::sysinit:/bin/mkdir -p /dev/shm 23 | ::sysinit:/bin/mount -a 24 | ::sysinit:/bin/hostname -F /etc/hostname 25 | # now run any rc scripts 26 | #::sysinit:/etc/init.d/rcS 27 | ::sysinit:/etc/init.d/rcS boot 28 | 29 | # Put a getty on the serial port 30 | /dev/console::respawn:-/bin/sh 31 | #ttyS0::respawn:/sbin/getty -n -L ttyS0 115200 vt100 -n -l /bin/sh # GENERIC_SERIAL 32 | 33 | # Stuff to do for the 3-finger salute 34 | #::ctrlaltdel:/sbin/reboot 35 | 36 | # Stuff to do before rebooting 37 | ::shutdown:/etc/init.d/rcK 38 | ::shutdown:/sbin/swapoff -a 39 | ::shutdown:/bin/umount -a -r 40 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/profile: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "------run profile file-----" 3 | [ -f /etc/banner ] && cat /etc/banner 4 | [ -e /tmp/.failsafe ] && cat /etc/banner.failsafe 5 | fgrep -sq '/ overlay ro,' /proc/mounts && { 6 | echo 'Your JFFS2-partition seems full and overlayfs is mounted read-only.' 7 | echo 'Please try to remove files from /overlay/upper/... and reboot!' 8 | } 9 | 10 | export PATH="%PATH%" 11 | export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6) 12 | export HOME=${HOME:-/root} 13 | export PS1='\u@\h:\w\$ ' 14 | export LD_LIBRARY_PATH=/usr/lib/eyesee-mpp:${LD_LIBRARY_PATH} 15 | 16 | ulimit -c unlimited 17 | grep debugfs /proc/filesystems && mount -t debugfs none /sys/kernel/debug 18 | alias usbhost="cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host" 19 | alias usbdevice="cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_device" 20 | [ -x /bin/more ] || alias more=less 21 | [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi 22 | 23 | [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc 24 | 25 | [ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; } 26 | [ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } 27 | 28 | [ -n "$FAILSAFE" ] || { 29 | for FILE in /etc/profile.d/*.sh; do 30 | [ -e "$FILE" ] && . "$FILE" 31 | done 32 | unset FILE 33 | } 34 | [ -x /bin/ll ] || alias ll='ls -al' 35 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/udhcpd.conf: -------------------------------------------------------------------------------- 1 | # Sample udhcpd configuration file (/etc/udhcpd.conf) 2 | # Values shown are defaults 3 | 4 | # The start and end of the IP lease block 5 | start 192.168.10.100 6 | end 192.168.10.254 7 | 8 | # The interface that udhcpd will use 9 | interface wlan0 10 | 11 | # The maximum number of leases (includes addresses reserved 12 | # by OFFER's, DECLINE's, and ARP conflicts). Will be corrected 13 | # if it's bigger than IP lease block, but it ok to make it 14 | # smaller than lease block. 15 | #max_leases 254 16 | 17 | # The time period at which udhcpd will write out a dhcpd.leases 18 | # file. If this is 0, udhcpd will never automatically write a 19 | # lease file. Specified in seconds. 20 | #auto_time 7200 21 | 22 | # The amount of time that an IP will be reserved (leased to nobody) 23 | # if a DHCP decline message is received (seconds) 24 | #decline_time 3600 25 | 26 | # The amount of time that an IP will be reserved 27 | # if an ARP conflict occurs (seconds) 28 | #conflict_time 3600 29 | 30 | # How long an offered address is reserved (seconds) 31 | #offer_time 60 32 | 33 | # If client asks for lease below this value, it will be rounded up 34 | # to this value (seconds) 35 | #min_lease 60 36 | 37 | # The location of the leases file 38 | #lease_file /var/lib/misc/udhcpd.leases 39 | 40 | # The location of the pid file 41 | #pidfile /var/run/udhcpd.pid 42 | 43 | # Every time udhcpd writes a leases file, the below script will be called 44 | #notify_file # default: no script 45 | #notify_file dumpleases # useful for debugging 46 | 47 | # The following are bootp specific options 48 | # next server to use in bootstrap 49 | #siaddr 192.168.0.22 # default: 0.0.0.0 (none) 50 | # tftp server name 51 | #sname zorak # default: none 52 | # tftp file to download (e.g. kernel image) 53 | #boot_file /var/nfs_root # default: none 54 | 55 | # Static leases map 56 | #static_lease 00:60:08:11:CE:4E 192.168.0.54 57 | #static_lease 00:60:08:11:CE:3E 192.168.0.44 58 | 59 | # The remainder of options are DHCP options and can be specified with the 60 | # keyword 'opt' or 'option'. If an option can take multiple items, such 61 | # as the dns option, they can be listed on the same line, or multiple 62 | # lines. 63 | # Examples: 64 | opt dns 192.168.10.2 192.168.10.10 65 | option subnet 255.255.255.0 66 | opt router 192.168.10.2 67 | opt wins 192.168.10.10 68 | option dns 129.219.13.81 # appended to above DNS servers for a total of 3 69 | option domain local 70 | option lease 864000 # default: 10 days 71 | # Arbitrary option in hex form: 72 | option 0x08 01020304 # option 8: "cookie server IP addr: 1.2.3.4" 73 | 74 | # Currently supported options (for more info, see options.c): 75 | #opt lease NUM 76 | #opt subnet IP 77 | #opt broadcast IP 78 | #opt router IP_LIST 79 | #opt ipttl NUM 80 | #opt mtu NUM 81 | #opt hostname STRING # client's hostname 82 | #opt domain STRING # client's domain suffix 83 | #opt search STRING_LIST # search domains 84 | #opt nisdomain STRING 85 | #opt timezone NUM # (localtime - UTC_time) in seconds. signed 86 | #opt tftp STRING # tftp server name 87 | #opt bootfile STRING # tftp file to download (e.g. kernel image) 88 | #opt bootsize NUM # size of that file 89 | #opt rootpath STRING # (NFS) path to mount as root fs 90 | #opt wpad STRING 91 | #opt serverid IP # default: server's IP 92 | #opt message STRING # error message (udhcpd sends it on success too) 93 | # Options specifying server(s) 94 | #opt dns IP_LIST 95 | #opt wins IP_LIST 96 | #opt nissrv IP_LIST 97 | #opt ntpsrv IP_LIST 98 | #opt lprsrv IP_LIST 99 | #opt swapsrv IP 100 | # Obsolete options, no longer supported 101 | #opt logsrv IP_LIST # 704/UDP log server (not syslog!) 102 | #opt namesrv IP_LIST # IEN 116 name server, obsolete (August 1979!!!) 103 | #opt cookiesrv IP_LIST # RFC 865 "quote of the day" server, rarely (never?) used 104 | #opt timesrv IP_LIST # RFC 868 time server, rarely (never?) used 105 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files/etc/wpa_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=/var/log/wpa_supplicant 2 | update_config=1 3 | 4 | network={ 5 | ssid="xxxx" 6 | psk="xxxx" 7 | } -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files_generate/S50usbcam: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | MODULES_DIR="/lib/modules/`uname -r`" 4 | 5 | run(){ 6 | while [ 1 ] 7 | do 8 | sleep 1 9 | otg_role=`cat /sys/devices/platform/soc/usbc0/otg_role` 10 | if [ "$otg_role" = "usb_device" ] 11 | then 12 | if [ $isudc == 0 ] 13 | then 14 | echo $udc > /sys/kernel/config/usb_gadget/g1/UDC 15 | isudc=1 16 | fi 17 | else 18 | isudc=0 19 | fi 20 | done 21 | } 22 | 23 | uvc_create_frame() 24 | { 25 | format=$1 26 | name=$2 27 | width=$3 28 | height=$4 29 | 30 | dir=streaming/$format/$name/${height}p 31 | mkdir -p $dir 32 | echo $width > $dir/wWidth 33 | echo $height > $dir/wHeight 34 | echo $(($width * $height * 2 )) > $dir/dwMaxVideoFrameBufferSize 35 | #20,30fps 36 | #cat < $dir/dwFrameInterval 37 | #500000 38 | #333333 39 | #EOF 40 | #30fps 41 | echo 333333 > $dir/dwFrameInterval 42 | echo 333333 > $dir/dwDefaultFrameInterval 43 | echo $(($width * $height * 2 * 30 * 8)) > $dir/dwMinBitRate 44 | echo $(($width * $height * 2 * 30 * 8)) > $dir/dwMaxBitRate 45 | } 46 | 47 | enable_uvc() 48 | { 49 | cd /sys/kernel/config/usb_gadget/g1/functions 50 | mkdir uvc.usb0 51 | cd uvc.usb0 52 | 53 | uvc_create_frame mjpeg m 1920 1080 54 | uvc_create_frame mjpeg m 1280 720 55 | uvc_create_frame mjpeg m 640 480 56 | uvc_create_frame uncompressed u 320 240 57 | uvc_create_frame h264 h 1920 1080 58 | uvc_create_frame h264 h 1280 720 59 | 60 | mkdir -p streaming/header/h 61 | 62 | ln -s streaming/mjpeg/m/ streaming/header/h/ 63 | ln -s streaming/uncompressed/u/ streaming/header/h/ 64 | ln -s streaming/h264/h/ streaming/header/h/ 65 | 66 | ln -s streaming/header/h/ streaming/class/fs 67 | ln -s streaming/header/h/ streaming/class/hs 68 | 69 | mkdir -p control/header/h 70 | 71 | ln -s control/header/h/ control/class/fs/ 72 | ln -s control/header/h/ control/class/ss/ 73 | 74 | ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/ /sys/kernel/config/usb_gadget/g1/configs/c.1/ 75 | } 76 | 77 | start() { 78 | echo "enable android usb" 79 | 80 | insmod $MODULES_DIR/sunxi_usb_udc.ko 81 | insmod $MODULES_DIR/sunxi_usbc.ko 82 | 83 | mount -t configfs none /sys/kernel/config 84 | mkdir /sys/kernel/config/usb_gadget/g1 85 | echo "0x1f3a" > /sys/kernel/config/usb_gadget/g1/idVendor 86 | echo "0x100d" > /sys/kernel/config/usb_gadget/g1/idProduct 87 | 88 | echo 0xef > /sys/kernel/config/usb_gadget/g1/bDeviceClass 89 | echo 0x02 > /sys/kernel/config/usb_gadget/g1/bDeviceSubClass 90 | echo 0x01 > /sys/kernel/config/usb_gadget/g1/bDeviceProtocol 91 | 92 | mkdir /sys/kernel/config/usb_gadget/g1/configs/c.1 93 | echo 0xc0 > /sys/kernel/config/usb_gadget/g1/configs/c.1/bmAttributes 94 | echo 500 > /sys/kernel/config/usb_gadget/g1/configs/c.1/MaxPower 95 | mkdir /sys/kernel/config/usb_gadget/g1/strings/0x409 96 | echo "Tina UVC" > /sys/kernel/config/usb_gadget/g1/strings/0x409/product 97 | 98 | #echo Y > /sys/module/usb_f_uvc/parameters/bulk_streaming_ep 99 | enable_uvc 100 | 101 | ls /sys/class/udc/ | xargs echo > /sys/kernel/config/usb_gadget/g1/UDC 102 | } 103 | 104 | stop() { 105 | echo "disable android usb" 106 | 107 | killall adbd 2>/dev/null 108 | 109 | echo > /sys/kernel/config/usb_gadget/g1/UDC 110 | rm -f /sys/kernel/config/usb_gadget/g1/configs/c.1/mass_storage.usb0 111 | rm -f /sys/kernel/config/usb_gadget/g1/configs/c.1/uvc.usb0 112 | 113 | rmmod $MODULES_DIR/sunxi_usbc.ko 114 | rmmod $MODULES_DIR/sunxi_usb_udc.ko 115 | } 116 | 117 | case "$1" in 118 | start) 119 | start 120 | ;; 121 | stop) 122 | # stop 123 | ;; 124 | restart|reload) 125 | stop 126 | start 127 | ;; 128 | *) 129 | echo "Usage: $0 {start|stop|restart}" 130 | exit 1 131 | esac 132 | 133 | exit $? 134 | 135 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files_generate/mk_extra_dir.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | pwd=$(dirname $0) 4 | 5 | echo $pwd $1 6 | 7 | mkdir -vp $1/squashfs 8 | mkdir -vp $1/home 9 | mkdir -vp $1/data 10 | mkdir -vp $1/mnt/extsd 11 | mkdir -vp $1/mnt/sdcard 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/busybox-init-base-files_generate/rootfs_hook_squash.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | pwd=$(dirname $0) 6 | 7 | mkdir -p $1/etc 8 | mkdir -p $1/etc/init.d 9 | mkdir -p $1/usr/bin 10 | #if [ -f ${pwd}/profile ]; then 11 | # cp -f ${pwd}/profile $1/etc/profile 12 | #else 13 | # echo "fatal error! ${pwd}/profile is not exist!" 14 | # exit 1 15 | #fi 16 | 17 | #$pwd/import_udhcpd.sh $1 18 | #$pwd/import_timezone.sh $1 19 | #$pwd/import_cron.sh $1 20 | $pwd/mk_extra_dir.sh $1 21 | #$pwd/export_extra_env.sh $1 22 | #$pwd/gen_nfsmount.sh $1 23 | #$pwd/install_init_script.sh $1 24 | 25 | #install -m 777 $pwd/preinit $1/etc/preinit 26 | #$pwd/gen_inittab.sh $1 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/modules.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015-2016 Allwinner 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /build/LICENSE for more information. 6 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/t113_i_evb1_auto.mk: -------------------------------------------------------------------------------- 1 | $(call inherit-product-if-exists, target/allwinner/t113_i-common/t113_i-common.mk) 2 | 3 | PRODUCT_PACKAGES += 4 | 5 | PRODUCT_COPY_FILES += 6 | 7 | PRODUCT_AAPT_CONFIG := large xlarge hdpi xhdpi 8 | PRODUCT_AAPT_PERF_CONFIG := xhdpi 9 | PRODUCT_CHARACTERISTICS := musicbox 10 | 11 | PRODUCT_BRAND := allwinner 12 | PRODUCT_NAME := t113_i_evb1_auto 13 | PRODUCT_DEVICE := t113_i-evb1_auto 14 | PRODUCT_MODEL := Allwinner t113 evb1_auto board 15 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/tina_busybox-init-base-files.mk: -------------------------------------------------------------------------------- 1 | ############################################################################################ 2 | # t113-evb1 busybox-init-base-files for tina(OpenWrt) Linux 3 | # 4 | # t113-evb1 busybox-init-base-files will generate shell script according to some 5 | # environmental variables. so tina_busybox-init-base-files.mk is needed. 6 | # 7 | # Version: v1.0 8 | # Date : 2019-3-19 9 | # Author : PDC-PD5 10 | ############################################################################################ 11 | TARGET_DIR := $(CURDIR)/busybox-init-base-files 12 | HOOKS := $(CURDIR)/busybox-init-base-files_generate/rootfs_hook_squash.sh 13 | all: 14 | @echo ================================================== 15 | @echo target/allwinner/t113-evb1/tina_busybox-init-basefiles.mk is called to generate shell scripts 16 | @echo ================================================== 17 | (${HOOKS} ${TARGET_DIR} >/dev/null) || { \ 18 | echo "Execute the ${HOOKS} is failed"; \ 19 | exit 1; \ 20 | } 21 | @echo generate shell scripts done! 22 | 23 | clean: 24 | @echo ================================================== 25 | @echo target/allwinner/t113-evb1/tina_busybox-init-basefiles.mk is called to clean shell scripts 26 | @echo ================================================== 27 | # -rm -f ${TARGET_DIR}/etc/TZ 28 | # -rm -rf ${TARGET_DIR}/etc/cron.d 29 | # -rm -f ${TARGET_DIR}/etc/init.d/S00appdriver 30 | # -rm -f ${TARGET_DIR}/etc/init.d/S00kfc 31 | # -rm -f ${TARGET_DIR}/etc/init.d/S00part 32 | # -rm -f ${TARGET_DIR}/etc/init.d/S00mpp 33 | # -rm -f ${TARGET_DIR}/etc/init.d/S01logging 34 | # -rm -f ${TARGET_DIR}/etc/init.d/S10udev 35 | # -rm -f ${TARGET_DIR}/etc/init.d/S11dev 36 | # -rm -f ${TARGET_DIR}/etc/init.d/S20urandom 37 | # -rm -f ${TARGET_DIR}/etc/init.d/S40network 38 | # -rm -f ${TARGET_DIR}/etc/init.d/S41netparam 39 | # -rm -f ${TARGET_DIR}/etc/init.d/S50telnet 40 | # -rm -f ${TARGET_DIR}/etc/init.d/S50usb 41 | # -rm -f ${TARGET_DIR}/etc/init.d/S91vm 42 | # -rm -f ${TARGET_DIR}/etc/init.d/rcK 43 | # -rm -f ${TARGET_DIR}/etc/init.d/run_adbd 44 | # -rm -f ${TARGET_DIR}/etc/inittab 45 | # -rm -f ${TARGET_DIR}/etc/preinit 46 | # -rm -f ${TARGET_DIR}/etc/profile 47 | # -rm -rf ${TARGET_DIR}/etc/sysconfig 48 | # -rm -f ${TARGET_DIR}/etc/udhcpd.conf 49 | # -rm -f ${TARGET_DIR}/usr/bin/nfsmount 50 | # -rm -f ${TARGET_DIR}/usr/bin/run-cron 51 | # -rm -rf ${TARGET_DIR}/usr/share 52 | @echo clean shell scripts done! 53 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto/vendorsetup.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2012 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # This file is executed by build/envsetup.sh, and can use anything 18 | # defined in envsetup.sh. 19 | # 20 | # In particular, you can add lunch options with the add_lunch_combo 21 | # function: add_lunch_combo generic-eng 22 | 23 | add_lunch_combo t113_i-evb1_auto-tina 24 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/BoardRules.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015-2016 Allwinner 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /build/LICENSE for more information. 6 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2013-2016 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | 10 | ARCH:=arm 11 | BOARD:=t113_i-evb1_auto_nand 12 | BOARDNAME:=t113_i-evb1_auto_nand 13 | FEATURES:=fpu dt 14 | CPU_TYPE:=cortex-a7 15 | CPU_SUBTYPE:=neon 16 | MAINTAINER:=Allwinner 17 | 18 | KERNEL_PATCHVER:=5.15 19 | UBOOT_PATCHVER:=2018 20 | KERNELNAME:=zImage dtbs 21 | 22 | include $(INCLUDE_DIR)/target.mk 23 | 24 | DEFAULT_PACKAGES = base-files libc libgcc busybox 25 | 26 | $(eval $(call BuildTarget)) 27 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/TinaProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2013 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | PRODUCT_MAKEFILES := \ 18 | $(LOCAL_DIR)/t113_i_evb1_auto_nand.mk 19 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/base-files/etc/asound.conf: -------------------------------------------------------------------------------- 1 | 2 | # T113 3 | # audiocodec 4 | 5 | ctl.!default { 6 | type hw 7 | card audiocodec 8 | } 9 | 10 | pcm.!default { 11 | type asym 12 | playback.pcm "Playback" 13 | capture.pcm "CaptureDsnoop" 14 | } 15 | 16 | pcm.PlaybackEQ { 17 | type plug 18 | slave.pcm { 19 | type awequal 20 | slave.pcm "Playback" 21 | config_file "/etc/awequal.conf" 22 | tuning_support false 23 | verbose true 24 | } 25 | slave.rate 48000 26 | slave.format S16_LE 27 | slave.channels 2 28 | } 29 | 30 | pcm.Playback { 31 | type plug 32 | slave.pcm { 33 | type softvol 34 | slave.pcm PlaybackDmix 35 | control { 36 | name "Soft Volume Master" 37 | card audiocodec 38 | } 39 | min_dB -51.0 40 | max_dB 0.0 41 | resolution 256 42 | } 43 | slave.rate 48000 44 | slave.format S16_LE 45 | } 46 | 47 | pcm.PlaybackDmix { 48 | type plug 49 | slave.pcm { 50 | type dmix 51 | ipc_key 1111 52 | ipc_perm 0666 53 | slave { 54 | pcm "hw:audiocodec" 55 | format S16_LE 56 | rate 48000 57 | channels 2 58 | period_size 960 59 | periods 8 60 | } 61 | } 62 | } 63 | 64 | pcm.Capture { 65 | type hw 66 | card audiocodec 67 | } 68 | 69 | pcm.CaptureMic { 70 | type hooks 71 | slave.pcm { 72 | type plug 73 | slave { 74 | pcm "CaptureDsnoop" 75 | channels 3 76 | } 77 | ttable.0.2 1 78 | } 79 | hooks.0 { 80 | type ctl_elems 81 | hook_args [ 82 | { 83 | name "ADC1 Input LINEINL Switch" 84 | optional true 85 | value 1 86 | } 87 | { 88 | name "ADC2 Input LINEINR Switch" 89 | optional true 90 | value 1 91 | } 92 | { 93 | name "MIC3 Input Select" 94 | optional true 95 | value 0 96 | } 97 | { 98 | name "ADC3 Input MIC3 Boost Switch" 99 | optional true 100 | value 1 101 | } 102 | 103 | ] 104 | } 105 | } 106 | 107 | pcm.CaptureDsnoop { 108 | type plug 109 | slave.pcm { 110 | type dsnoop 111 | ipc_key 2222 112 | ipc_perm 0666 113 | slave { 114 | pcm "hw:audiocodec" 115 | rate 16000 116 | channels 3 117 | period_size 640 118 | periods 4 119 | } 120 | } 121 | } 122 | 123 | pcm.CaptureDsnoop1 { 124 | type plug 125 | slave.pcm { 126 | type dsnoop 127 | ipc_key 2222 128 | ipc_perm 0666 129 | slave { 130 | pcm "hw:audiocodec" 131 | rate 16000 132 | channels 1 133 | period_size 640 134 | periods 4 135 | } 136 | } 137 | } 138 | 139 | pcm.CaptureDaudio0 { 140 | type plug 141 | slave.pcm { 142 | type dsnoop 143 | ipc_key 4444 144 | ipc_perm 0666 145 | slave { 146 | pcm "hw:snddaudio0" 147 | rate 16000 148 | channels 2 149 | period_size 640 150 | periods 4 151 | } 152 | } 153 | } 154 | 155 | pcm.CaptureMulti1 { 156 | type plug 157 | slave.pcm { 158 | type multi 159 | slaves { 160 | a { pcm "CaptureDsnoop1" channels 1 } 161 | b { pcm "CaptureDaudio0" channels 2 } 162 | } 163 | bindings { 164 | 0 { slave a channel 0 } 165 | 1 { slave b channel 0 } 166 | 2 { slave b channel 1 } 167 | } 168 | } 169 | ttable.0.0 1 170 | ttable.1.1 1 171 | ttable.2.1 1 172 | 173 | } 174 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/base-files/etc/config/fstab: -------------------------------------------------------------------------------- 1 | config 'global' 2 | option anon_swap '0' 3 | option anon_mount '0' 4 | option auto_swap '1' 5 | option auto_mount '1' 6 | option delay_root '5' 7 | option check_fs '1' 8 | 9 | config 'mount' 10 | option target '/boot' 11 | option device '/dev/by-name/boot' 12 | option options 'ro,sync' 13 | option enabled '1' 14 | 15 | config 'mount' 16 | option target '/boot-res' 17 | option device '/dev/by-name/boot-res' 18 | option options 'ro,sync' 19 | option enabled '1' 20 | 21 | config 'mount' 22 | option target '/mnt/UDISK' 23 | option device '/dev/by-name/UDISK' 24 | option options 'rw,async' 25 | option enabled '0' 26 | 27 | config 'mount' 28 | option target '/overlay' 29 | option device '/dev/by-name/UDISK' 30 | option options 'rw,async' 31 | option enabled '1' 32 | 33 | config 'mount' 34 | option target '/mnt/SDCARD' 35 | option device '/dev/mmcblk0' 36 | option options 'rw,async' 37 | option enabled '1' 38 | 39 | config 'mount' 40 | option target '/mnt/SDCARD' 41 | option device '/dev/mmcblk0p1' 42 | option options 'rw,async' 43 | option enabled '1' 44 | 45 | config 'mount' 46 | option target '/mnt/exUDISK' 47 | option device '/dev/sda' 48 | option options 'rw,async' 49 | option enabled '1' 50 | 51 | config 'mount' 52 | option target '/mnt/exUDISK' 53 | option device '/dev/sda1' 54 | option options 'rw,async' 55 | option enabled '1' 56 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/base-files/etc/fw_env.config: -------------------------------------------------------------------------------- 1 | # Configuration file for fw_(printenv/setenv) utility. 2 | # Up to two entries are valid, in this case the redundant 3 | # environment sector is assumed present. 4 | # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. 5 | # Futhermore, if the Flash sector size is omitted, this value is assumed to 6 | # be the same as the Environment size, which is valid for NOR and SPI-dataflash 7 | # Device offset must be prefixed with 0x to be parsed as a hexadecimal value. 8 | 9 | # NOR example 10 | # MTD device name Device offset Env. size Flash sector size Number of sectors 11 | # /dev/mtd1 0x0000 0x4000 0x4000 12 | # /dev/mtd2 0x0000 0x4000 0x4000 13 | 14 | # MTD SPI-dataflash example 15 | # MTD device name Device offset Env. size Flash sector size Number of sectors 16 | #/dev/mtd5 0x4200 0x4200 17 | #/dev/mtd6 0x4200 0x4200 18 | 19 | # NAND example 20 | #/dev/mtd0 0x4000 0x4000 0x20000 2 21 | 22 | # On a block device a negative offset is treated as a backwards offset from the 23 | # end of the device/partition, rather than a forwards offset from the start. 24 | 25 | # Block device example 26 | #/dev/mmcblk0 0xc0000 0x20000 27 | #/dev/mmcblk0 -0x20000 0x20000 28 | 29 | # VFAT example 30 | #/boot/uboot.env 0x0000 0x4000 31 | 32 | # UBI volume 33 | #/dev/ubi0_0 0x0 0x1f000 0x1f000 34 | #/dev/ubi0_1 0x0 0x1f000 0x1f000 35 | 36 | # UBI volume by name 37 | #/dev/ubi0:env 0x0 0x1f000 0x1f000 38 | #/dev/ubi0:env-redund 0x0 0x1f000 0x1f000 39 | 40 | 41 | # Allwinner Tina 42 | #/dev/by-name/env 0x0000 0x20000 43 | #/dev/by-name/env-redund 0x0000 0x20000 44 | 45 | # Allwinner Tina UBI volume 46 | /dev/ubi0:env 0x0 0x20000 0x20000 47 | /dev/ubi0:env-redund 0x0 0x20000 0x20000 48 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/base-files/etc/inittab: -------------------------------------------------------------------------------- 1 | ::sysinit:/etc/init.d/rcS S boot 2 | ::shutdown:/etc/init.d/rcS K shutdown 3 | tts/0::askfirst:/bin/ash --login 4 | ttyS3::askfirst:/bin/ash --login 5 | ttyS0::askfirst:/bin/ash --login 6 | tty1::askfirst:/bin/ash --login 7 | X 8 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/base-files/etc/rc.local: -------------------------------------------------------------------------------- 1 | # Put your custom commands here that should be executed once 2 | # the system init finished. By default this file does nothing. 3 | 4 | amixer -Dhw:audiocodec cset name="Headphone Switch" 1 5 | 6 | 7 | # capture 8 | amixer -Dhw:audiocodec cset name='MIC3 Input Select' 0 9 | 10 | amixer -Dhw:audiocodec cset name='ADC1 Input LINEINL Switch' 1 11 | amixer -Dhw:audiocodec cset name='ADC2 Input LINEINR Switch' 1 12 | amixer -Dhw:audiocodec cset name='ADC3 Input MIC3 Boost Switch' 1 13 | 14 | amixer -Dhw:audiocodec cset name='LINEINL gain volume' 1 15 | amixer -Dhw:audiocodec cset name='LINEINR gain volume' 1 16 | amixer -Dhw:audiocodec cset name='MIC3 gain volume' 19 17 | 18 | exit 0 19 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/modules.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015-2016 Allwinner 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /build/LICENSE for more information. 6 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/postinstall_A.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ -e /dev/by-name/bootA_fifo ] && dd if=/dev/zero of=/dev/by-name/bootA_fifo 4 | [ -e /dev/by-name/rootfsA_fifo ] && dd if=/dev/zero of=/dev/by-name/rootfsA_fifo 5 | #[ -e /dev/by-name/dsp0A_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp0A_fifo 6 | #[ -e /dev/by-name/dsp1A_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp1A_fifo 7 | 8 | sleep 1 9 | 10 | [ -e /dev/by-name/bootA_fifo ] && return 1 11 | [ -e /dev/by-name/rootfsA_fifo ] && return 1 12 | #[ -e /dev/by-name/dsp0A_fifo ] && return 1 13 | #[ -e /dev/by-name/dsp1A_fifo ] && return 1 14 | 15 | return 0 16 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/postinstall_B.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ -e /dev/by-name/bootB_fifo ] && dd if=/dev/zero of=/dev/by-name/bootB_fifo 4 | [ -e /dev/by-name/rootfsB_fifo ] && dd if=/dev/zero of=/dev/by-name/rootfsB_fifo 5 | #[ -e /dev/by-name/dsp0B_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp0B_fifo 6 | #[ -e /dev/by-name/dsp1B_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp1B_fifo 7 | 8 | sleep 1 9 | 10 | [ -e /dev/by-name/bootB_fifo ] && return 1 11 | [ -e /dev/by-name/rootfsB_fifo ] && return 1 12 | #[ -e /dev/by-name/dsp0B_fifo ] && return 1 13 | #[ -e /dev/by-name/dsp1B_fifo ] && return 1 14 | 15 | return 0 16 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/preinstall_A.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #remove old fifo 4 | [ -e /dev/by-name/bootA_fifo ] && dd if=/dev/zero of=/dev/by-name/bootA_fifo 5 | [ -e /dev/by-name/rootfsA_fifo ] && dd if=/dev/zero of=/dev/by-name/rootfsA_fifo 6 | #[ -e /dev/by-name/dsp0A_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp0A_fifo 7 | #[ -e /dev/by-name/dsp1A_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp1A_fifo 8 | 9 | #create new fifo 10 | ubiupdatevol /dev/by-name/bootA -f & 11 | ubiupdatevol /dev/by-name/rootfsA -f & 12 | #ubiupdatevol /dev/by-name/dsp0A -f & 13 | #ubiupdatevol /dev/by-name/dsp1A -f & 14 | 15 | sleep 1 16 | 17 | [ ! -e /dev/by-name/bootA_fifo ] && return 1 18 | [ ! -e /dev/by-name/rootfsA_fifo ] && return 1 19 | #[ ! -e /dev/by-name/dsp0A_fifo ] && return 1 20 | #[ ! -e /dev/by-name/dsp1A_fifo ] && return 1 21 | 22 | return 0 23 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/preinstall_B.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #remove old fifo 4 | [ -e /dev/by-name/bootB_fifo ] && dd if=/dev/zero of=/dev/by-name/bootB_fifo 5 | [ -e /dev/by-name/rootfsB_fifo ] && dd if=/dev/zero of=/dev/by-name/rootfsB_fifo 6 | #[ -e /dev/by-name/dsp0B_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp0B_fifo 7 | #[ -e /dev/by-name/dsp1B_fifo ] && dd if=/dev/zero of=/dev/by-name/dsp1B_fifo 8 | 9 | #create new fifo 10 | ubiupdatevol /dev/by-name/bootB -f & 11 | ubiupdatevol /dev/by-name/rootfsB -f & 12 | #ubiupdatevol /dev/by-name/dsp0B -f & 13 | #ubiupdatevol /dev/by-name/dsp1B -f & 14 | 15 | sleep 1 16 | 17 | [ ! -e /dev/by-name/bootB_fifo ] && return 1 18 | [ ! -e /dev/by-name/rootfsB_fifo ] && return 1 19 | #[ ! -e /dev/by-name/dsp0B_fifo ] && return 1 20 | #[ ! -e /dev/by-name/dsp1B_fifo ] && return 1 21 | 22 | return 0 23 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ab-rdiff: -------------------------------------------------------------------------------- 1 | software = 2 | { 3 | version = "0.1.0"; 4 | description = "Firmware update for Tina Project"; 5 | 6 | stable = { 7 | 8 | /* now in systemA, we need to upgrade systemB(bootB, rootfsB, dspxB) */ 9 | now_A_next_B = { 10 | images: ( 11 | { 12 | filename = "kernel.rdiff.delta"; 13 | type = "rdiff_image"; 14 | device = "/dev/by-name/bootB_fifo"; 15 | properties: { 16 | rdiffbase = ["/dev/by-name/bootA"]; 17 | }; 18 | }, 19 | { 20 | filename = "rootfs.rdiff.delta"; 21 | type = "rdiff_image"; 22 | device = "/dev/by-name/rootfsB_fifo"; 23 | properties: { 24 | rdiffbase = ["/dev/by-name/rootfsA"]; 25 | }; 26 | }, 27 | { 28 | filename = "uboot"; 29 | type = "awuboot"; 30 | }, 31 | { 32 | filename = "boot0"; 33 | type = "awboot0"; 34 | } 35 | ); 36 | scripts: ( 37 | { 38 | filename = "preinstall_B.sh"; 39 | type = "preinstall"; 40 | }, 41 | { 42 | filename = "postinstall_B.sh"; 43 | type = "postinstall"; 44 | } 45 | ); 46 | bootenv: ( 47 | { 48 | name = "swu_mode"; 49 | value = ""; 50 | }, 51 | { 52 | name = "boot_partition"; 53 | value = "bootB"; 54 | }, 55 | { 56 | name = "root_partition"; 57 | value = "rootfsB"; 58 | }, 59 | { 60 | name = "swu_next"; 61 | value = "reboot"; 62 | } 63 | ); 64 | }; 65 | 66 | /* now in systemB, we need to upgrade systemA(bootA, rootfsA, dspxA) */ 67 | now_B_next_A = { 68 | images: ( 69 | { 70 | filename = "kernel.rdiff.delta"; 71 | type = "rdiff_image"; 72 | device = "/dev/by-name/bootA_fifo"; 73 | properties: { 74 | rdiffbase = ["/dev/by-name/bootB"]; 75 | }; 76 | }, 77 | { 78 | filename = "rootfs.rdiff.delta"; 79 | type = "rdiff_image"; 80 | device = "/dev/by-name/rootfsA_fifo"; 81 | properties: { 82 | rdiffbase = ["/dev/by-name/rootfsB"]; 83 | }; 84 | }, 85 | { 86 | filename = "uboot"; 87 | type = "awuboot"; 88 | }, 89 | { 90 | filename = "boot0"; 91 | type = "awboot0"; 92 | } 93 | ); 94 | scripts: ( 95 | { 96 | filename = "preinstall_A.sh"; 97 | type = "preinstall"; 98 | }, 99 | { 100 | filename = "postinstall_A.sh"; 101 | type = "postinstall"; 102 | } 103 | ); 104 | bootenv: ( 105 | { 106 | name = "swu_mode"; 107 | value = ""; 108 | }, 109 | { 110 | name = "boot_partition"; 111 | value = "bootA"; 112 | }, 113 | { 114 | name = "root_partition"; 115 | value = "rootfsA"; 116 | }, 117 | { 118 | name = "swu_next"; 119 | value = "reboot"; 120 | } 121 | ); 122 | }; 123 | 124 | 125 | }; 126 | 127 | /* when not call with -e xxx,xxx just clean */ 128 | bootenv: ( 129 | { 130 | name = "swu_param"; 131 | value = ""; 132 | }, 133 | { 134 | name = "swu_software"; 135 | value = ""; 136 | }, 137 | { 138 | name = "swu_mode"; 139 | value = ""; 140 | }, 141 | { 142 | name = "swu_version"; 143 | value = ""; 144 | } 145 | ); 146 | 147 | } 148 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ab-ubi: -------------------------------------------------------------------------------- 1 | software = 2 | { 3 | version = "0.1.0"; 4 | description = "Firmware update for Tina Project"; 5 | 6 | stable = { 7 | 8 | /* now in systemA, we need to upgrade systemB(bootB, rootfsB) */ 9 | now_A_next_B = { 10 | images: ( 11 | { 12 | filename = "kernel"; 13 | volume = "bootB" 14 | installed-directly = true; 15 | }, 16 | { 17 | filename = "rootfs"; 18 | volume = "rootfsB" 19 | installed-directly = true; 20 | }, 21 | { 22 | filename = "uboot"; 23 | type = "awuboot"; 24 | }, 25 | { 26 | filename = "boot0"; 27 | type = "awboot0"; 28 | } 29 | ); 30 | bootenv: ( 31 | { 32 | name = "swu_mode"; 33 | value = ""; 34 | }, 35 | { 36 | name = "boot_partition"; 37 | value = "bootB"; 38 | }, 39 | { 40 | name = "root_partition"; 41 | value = "rootfsB"; 42 | }, 43 | { 44 | name = "systemAB_next"; 45 | value = "B"; 46 | }, 47 | { 48 | name = "swu_next"; 49 | value = "reboot"; 50 | } 51 | ); 52 | }; 53 | 54 | /* now in systemB, we need to upgrade systemA(bootA, rootfsA) */ 55 | now_B_next_A = { 56 | images: ( 57 | { 58 | filename = "kernel"; 59 | volume = "bootA" 60 | installed-directly = true; 61 | }, 62 | { 63 | filename = "rootfs"; 64 | volume = "rootfsA" 65 | installed-directly = true; 66 | }, 67 | { 68 | filename = "uboot"; 69 | type = "awuboot"; 70 | }, 71 | { 72 | filename = "boot0"; 73 | type = "awboot0"; 74 | } 75 | ); 76 | bootenv: ( 77 | { 78 | name = "swu_mode"; 79 | value = ""; 80 | }, 81 | { 82 | name = "boot_partition"; 83 | value = "bootA"; 84 | }, 85 | { 86 | name = "root_partition"; 87 | value = "rootfsA"; 88 | }, 89 | { 90 | name = "systemAB_next"; 91 | value = "A"; 92 | }, 93 | { 94 | name = "swu_next"; 95 | value = "reboot"; 96 | } 97 | ); 98 | }; 99 | }; 100 | 101 | /* when not call with -e xxx,xxx just clean */ 102 | bootenv: ( 103 | { 104 | name = "swu_param"; 105 | value = ""; 106 | }, 107 | { 108 | name = "swu_software"; 109 | value = ""; 110 | }, 111 | { 112 | name = "swu_mode"; 113 | value = ""; 114 | }, 115 | { 116 | name = "swu_version"; 117 | value = ""; 118 | } 119 | ); 120 | 121 | } 122 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ab-ubi-sign: -------------------------------------------------------------------------------- 1 | software = 2 | { 3 | version = "0.1.0"; 4 | description = "Firmware update for Tina Project"; 5 | 6 | stable = { 7 | 8 | /* now in systemA, we need to upgrade systemB(bootB, rootfsB) */ 9 | now_A_next_B = { 10 | images: ( 11 | { 12 | filename = "kernel"; 13 | volume = "bootB" 14 | sha256 = "@kernel" 15 | installed-directly = true; 16 | }, 17 | { 18 | filename = "rootfs"; 19 | volume = "rootfsB" 20 | sha256 = "@rootfs" 21 | installed-directly = true; 22 | }, 23 | { 24 | filename = "uboot"; 25 | type = "awuboot"; 26 | sha256 = "@uboot" 27 | }, 28 | { 29 | filename = "boot0"; 30 | type = "awboot0"; 31 | sha256 = "@boot0" 32 | } 33 | ); 34 | bootenv: ( 35 | { 36 | name = "swu_mode"; 37 | value = ""; 38 | }, 39 | { 40 | name = "boot_partition"; 41 | value = "bootB"; 42 | }, 43 | { 44 | name = "root_partition"; 45 | value = "rootfsB"; 46 | }, 47 | { 48 | name = "systemAB_next"; 49 | value = "B"; 50 | }, 51 | { 52 | name = "swu_next"; 53 | value = "reboot"; 54 | } 55 | ); 56 | }; 57 | 58 | /* now in systemB, we need to upgrade systemA(bootA, rootfsA) */ 59 | now_B_next_A = { 60 | images: ( 61 | { 62 | filename = "kernel"; 63 | volume = "bootA" 64 | sha256 = "@@kernel" 65 | installed-directly = true; 66 | }, 67 | { 68 | filename = "rootfs"; 69 | volume = "rootfsA" 70 | sha256 = "@rootfs" 71 | installed-directly = true; 72 | }, 73 | { 74 | filename = "uboot"; 75 | type = "awuboot"; 76 | sha256 = "@uboot" 77 | }, 78 | { 79 | filename = "boot0"; 80 | type = "awboot0"; 81 | sha256 = "@boot0" 82 | } 83 | ); 84 | bootenv: ( 85 | { 86 | name = "swu_mode"; 87 | value = ""; 88 | }, 89 | { 90 | name = "boot_partition"; 91 | value = "bootA"; 92 | }, 93 | { 94 | name = "root_partition"; 95 | value = "rootfsA"; 96 | }, 97 | { 98 | name = "systemAB_next"; 99 | value = "A"; 100 | }, 101 | { 102 | name = "swu_next"; 103 | value = "reboot"; 104 | } 105 | ); 106 | }; 107 | }; 108 | 109 | /* when not call with -e xxx,xxx just clean */ 110 | bootenv: ( 111 | { 112 | name = "swu_param"; 113 | value = ""; 114 | }, 115 | { 116 | name = "swu_software"; 117 | value = ""; 118 | }, 119 | { 120 | name = "swu_mode"; 121 | value = ""; 122 | }, 123 | { 124 | name = "swu_version"; 125 | value = ""; 126 | } 127 | ); 128 | 129 | } 130 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ubi: -------------------------------------------------------------------------------- 1 | software = 2 | { 3 | version = "0.1.0"; 4 | description = "Firmware update for Tina Project"; 5 | 6 | stable = { 7 | 8 | /* upgrade recovery,uboot,boot0 ==> change swu_mode,boot_partition ==> reboot */ 9 | upgrade_recovery = { 10 | /* upgrade recovery */ 11 | images: ( 12 | { 13 | filename = "recovery"; 14 | volume = "recovery" 15 | installed-directly = true; 16 | }, 17 | { 18 | filename = "uboot"; 19 | type = "awuboot"; 20 | }, 21 | { 22 | filename = "boot0"; 23 | type = "awboot0"; 24 | } 25 | ); 26 | /* change swu_mode to upgrade_kernel,boot_partition to recovery & reboot*/ 27 | bootenv: ( 28 | { 29 | name = "swu_mode"; 30 | value = "upgrade_kernel"; 31 | }, 32 | { 33 | name = "boot_partition"; 34 | value = "recovery"; 35 | }, 36 | { 37 | name = "swu_next"; 38 | value = "reboot"; 39 | } 40 | ); 41 | }; 42 | 43 | /* upgrade kernel,rootfs ==> change sw_mode */ 44 | upgrade_kernel = { 45 | /* upgrade kernel,rootfs */ 46 | images: ( 47 | { 48 | filename = "kernel"; 49 | volume = "boot" 50 | installed-directly = true; 51 | }, 52 | { 53 | filename = "rootfs"; 54 | volume = "rootfs" 55 | installed-directly = true; 56 | } 57 | ); 58 | /* change sw_mode to upgrade_usr,change boot_partition to boot */ 59 | bootenv: ( 60 | { 61 | name = "swu_mode"; 62 | value = "upgrade_usr"; 63 | }, 64 | { 65 | name = "boot_partition"; 66 | value = "boot"; 67 | } 68 | ); 69 | }; 70 | 71 | /* upgrade usr ==> clean ==> reboot */ 72 | upgrade_usr = { 73 | /* upgrade usr */ 74 | 75 | /* clean swu_param,swu_software,swu_mode & reboot */ 76 | bootenv: ( 77 | { 78 | name = "swu_param"; 79 | value = ""; 80 | }, 81 | { 82 | name = "swu_software"; 83 | value = ""; 84 | }, 85 | { 86 | name = "swu_mode"; 87 | value = ""; 88 | }, 89 | { 90 | name = "swu_next"; 91 | value = "reboot"; 92 | } 93 | ); 94 | }; 95 | 96 | }; 97 | 98 | /* when not call with -e xxx,xxx just clean */ 99 | bootenv: ( 100 | { 101 | name = "swu_param"; 102 | value = ""; 103 | }, 104 | { 105 | name = "swu_software"; 106 | value = ""; 107 | }, 108 | { 109 | name = "swu_mode"; 110 | value = ""; 111 | }, 112 | { 113 | name = "swu_version"; 114 | value = ""; 115 | } 116 | ); 117 | 118 | } 119 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ubi-sign: -------------------------------------------------------------------------------- 1 | software = 2 | { 3 | version = "0.1.0"; 4 | description = "Firmware update for Tina Project"; 5 | 6 | stable = { 7 | 8 | /* upgrade recovery,uboot,boot0 ==> change swu_mode,boot_partition ==> reboot */ 9 | upgrade_recovery = { 10 | /* upgrade recovery */ 11 | images: ( 12 | { 13 | filename = "recovery"; 14 | volume = "recovery" 15 | sha256 = "@recovery" 16 | installed-directly = true; 17 | }, 18 | { 19 | filename = "uboot"; 20 | type = "awuboot"; 21 | sha256 = "@uboot" 22 | }, 23 | { 24 | filename = "boot0"; 25 | type = "awboot0"; 26 | sha256 = "@boot0" 27 | } 28 | ); 29 | /* change swu_mode to upgrade_kernel,boot_partition to recovery & reboot*/ 30 | bootenv: ( 31 | { 32 | name = "swu_mode"; 33 | value = "upgrade_kernel"; 34 | }, 35 | { 36 | name = "boot_partition"; 37 | value = "recovery"; 38 | }, 39 | { 40 | name = "swu_next"; 41 | value = "reboot"; 42 | } 43 | ); 44 | }; 45 | 46 | /* upgrade kernel,rootfs ==> change sw_mode */ 47 | upgrade_kernel = { 48 | /* upgrade kernel,rootfs */ 49 | images: ( 50 | { 51 | filename = "kernel"; 52 | volume = "boot" 53 | sha256 = "@kernel" 54 | installed-directly = true; 55 | }, 56 | { 57 | filename = "rootfs"; 58 | volume = "rootfs" 59 | sha256 = "@rootfs" 60 | installed-directly = true; 61 | } 62 | ); 63 | /* change sw_mode to upgrade_usr,change boot_partition to boot */ 64 | bootenv: ( 65 | { 66 | name = "swu_mode"; 67 | value = "upgrade_usr"; 68 | }, 69 | { 70 | name = "boot_partition"; 71 | value = "boot"; 72 | } 73 | ); 74 | }; 75 | 76 | /* upgrade usr ==> clean ==> reboot */ 77 | upgrade_usr = { 78 | /* upgrade usr */ 79 | 80 | /* clean swu_param,swu_software,swu_mode & reboot */ 81 | bootenv: ( 82 | { 83 | name = "swu_param"; 84 | value = ""; 85 | }, 86 | { 87 | name = "swu_software"; 88 | value = ""; 89 | }, 90 | { 91 | name = "swu_mode"; 92 | value = ""; 93 | }, 94 | { 95 | name = "swu_next"; 96 | value = "reboot"; 97 | } 98 | ); 99 | }; 100 | 101 | }; 102 | 103 | /* when not call with -e xxx,xxx just clean */ 104 | bootenv: ( 105 | { 106 | name = "swu_param"; 107 | value = ""; 108 | }, 109 | { 110 | name = "swu_software"; 111 | value = ""; 112 | }, 113 | { 114 | name = "swu_mode"; 115 | value = ""; 116 | }, 117 | { 118 | name = "swu_version"; 119 | value = ""; 120 | } 121 | ); 122 | 123 | } 124 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-subimgs-ab-rdiff.cfg: -------------------------------------------------------------------------------- 1 | swota_file_list=( 2 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ab-rdiff:sw-description 3 | ${LICHEE_PLAT_OUT}/uboot.img:uboot 4 | ${LICHEE_PLAT_OUT}/boot0.img:boot0 5 | ${LICHEE_PLAT_OUT}/swupdate/swupdate_delta/delta/kernel.rdiff.delta 6 | ${LICHEE_PLAT_OUT}/swupdate/swupdate_delta/delta/rootfs.rdiff.delta 7 | #${LICHEE_PLAT_OUT}/swupdate/swupdate_delta/delta/dsp0.rdiff.delta 8 | #${LICHEE_PLAT_OUT}/swupdate/swupdate_delta/delta/dsp1.rdiff.delta 9 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/preinstall_A.sh 10 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/postinstall_A.sh 11 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/preinstall_B.sh 12 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/postinstall_B.sh 13 | ) 14 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-subimgs-ab-ubi-sign.cfg: -------------------------------------------------------------------------------- 1 | swota_file_list=( 2 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ab-ubi-sign:sw-description 3 | ${LICHEE_PLAT_OUT}/uboot.img:uboot 4 | ${LICHEE_PLAT_OUT}/boot0.img:boot0 5 | ${LICHEE_PLAT_OUT}/boot.img:kernel 6 | ${LICHEE_PLAT_OUT}/rootfs.img:rootfs 7 | ) 8 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-subimgs-ab-ubi.cfg: -------------------------------------------------------------------------------- 1 | swota_file_list=( 2 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ab-ubi:sw-description 3 | ${LICHEE_PLAT_OUT}/uboot.img:uboot 4 | ${LICHEE_PLAT_OUT}/boot0.img:boot0 5 | ${LICHEE_PLAT_OUT}/boot.img:kernel 6 | ${LICHEE_PLAT_OUT}/rootfs.img:rootfs 7 | ) 8 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-subimgs-ubi-sign.cfg: -------------------------------------------------------------------------------- 1 | swota_file_list=( 2 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ubi-sign:sw-description 3 | ${LICHEE_PLAT_OUT}/recovery.img:recovery 4 | ${LICHEE_PLAT_OUT}/uboot.img:uboot 5 | ${LICHEE_PLAT_OUT}/boot0.img:boot0 6 | ${LICHEE_PLAT_OUT}/boot.img:kernel 7 | ${LICHEE_PLAT_OUT}/rootfs.img:rootfs 8 | ) 9 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-subimgs-ubi.cfg: -------------------------------------------------------------------------------- 1 | swota_file_list=( 2 | openwrt/target/t113_i/t113_i-evb1_auto_nand/swupdate/sw-description-ubi:sw-description 3 | ${LICHEE_PLAT_OUT}/recovery.img:recovery 4 | ${LICHEE_PLAT_OUT}/uboot.img:uboot 5 | ${LICHEE_PLAT_OUT}/boot0.img:boot0 6 | ${LICHEE_PLAT_OUT}/boot.img:kernel 7 | ${LICHEE_PLAT_OUT}/rootfs.img:rootfs 8 | ) 9 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/t113_i_evb1_auto_nand.mk: -------------------------------------------------------------------------------- 1 | $(call inherit-product-if-exists, target/allwinner/t113_i-common/t113_i-common.mk) 2 | 3 | PRODUCT_PACKAGES += 4 | 5 | PRODUCT_COPY_FILES += 6 | 7 | PRODUCT_AAPT_CONFIG := large xlarge hdpi xhdpi 8 | PRODUCT_AAPT_PERF_CONFIG := xhdpi 9 | PRODUCT_CHARACTERISTICS := musicbox 10 | 11 | PRODUCT_BRAND := allwinner 12 | PRODUCT_NAME := t113_i_evb1_auto_nand 13 | PRODUCT_DEVICE := t113_i-evb1_auto_nand 14 | PRODUCT_MODEL := Allwinner t113 evb1_auto_nand board 15 | -------------------------------------------------------------------------------- /openwrt/target/t113_i/t113_i-evb1_auto_nand/vendorsetup.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2012 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # This file is executed by build/envsetup.sh, and can use anything 18 | # defined in envsetup.sh. 19 | # 20 | # In particular, you can add lunch options with the add_lunch_combo 21 | # function: add_lunch_combo generic-eng 22 | 23 | add_lunch_combo t113_i-evb1_auto_nand-tina 24 | -------------------------------------------------------------------------------- /pic/T113i-DevKit_TOP.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/pic/T113i-DevKit_TOP.jpg -------------------------------------------------------------------------------- /platform/allwinner/wireless/firmware/xr829/boot_xr829.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/platform/allwinner/wireless/firmware/xr829/boot_xr829.bin -------------------------------------------------------------------------------- /platform/allwinner/wireless/firmware/xr829/etf_xr829.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/platform/allwinner/wireless/firmware/xr829/etf_xr829.bin -------------------------------------------------------------------------------- /platform/allwinner/wireless/firmware/xr829/fw_xr829.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/platform/allwinner/wireless/firmware/xr829/fw_xr829.bin -------------------------------------------------------------------------------- /platform/allwinner/wireless/firmware/xr829/fw_xr829_bt.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/platform/allwinner/wireless/firmware/xr829/fw_xr829_bt.bin -------------------------------------------------------------------------------- /platform/allwinner/wireless/firmware/xr829/fw_xr829_bt_40M.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/platform/allwinner/wireless/firmware/xr829/fw_xr829_bt_40M.bin -------------------------------------------------------------------------------- /platform/allwinner/wireless/firmware/xr829/sdd_xr829.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/platform/allwinner/wireless/firmware/xr829/sdd_xr829.bin -------------------------------------------------------------------------------- /platform/allwinner/wireless/firmware/xr829/sdd_xr829_40M.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DongshanPI/T113i_DevKitF_Tina5SDK/72afcd3fb8d33c1e956f89bc46a2b40136bba951/platform/allwinner/wireless/firmware/xr829/sdd_xr829_40M.bin --------------------------------------------------------------------------------