This commit is contained in:
刘可亮
2024-01-27 08:47:24 +08:00
parent d3bd993b5f
commit 9f7ba67007
2345 changed files with 74421 additions and 76616 deletions

View File

@@ -253,16 +253,19 @@ config AIC_USING_SDMC2
bool "Using SDMC2"
default n
select AIC_SDMC_DRV
select AIC_USING_RTL8733_WLAN0
source "bsp/artinchip/drv/sdmc/Kconfig"
config AIC_USING_RTL8733_WLAN0
bool "Using Rtl8733 Wlan0"
default n
select RTL8733_WLAN_DRV
#---------------------------
# WLAN device global option
#---------------------------
comment "WLAN Related:"
source "bsp/peripheral/wireless/rtl8733/Kconfig.dev"
menuconfig AIC_WIRELESS_LAN
bool "Using Wireless Lan"
default n
source "bsp/peripheral/wireless/Kconfig"
#================================================
# Analog Class
@@ -270,17 +273,6 @@ source "bsp/peripheral/wireless/rtl8733/Kconfig.dev"
comment "Analog Related:"
#---------------------------
# RTP device global option
#---------------------------
config AIC_USING_RTP
bool "Using RTP"
default n
select AIC_RTP_DRV
source "bsp/artinchip/drv/rtp/Kconfig"
#---------------------------
# TSEN device global option
#---------------------------
@@ -294,6 +286,14 @@ config AIC_USING_TSEN
# GPAI device global option
#---------------------------
config AIC_USING_GPAI
bool "Using GPAI"
default n
select AIC_GPAI_DRV
menu "GPAI options"
depends on AIC_USING_GPAI
config AIC_USING_GPAI0
bool "Using GPAI0"
default n
@@ -334,6 +334,9 @@ config AIC_USING_GPAI7
default n
select AIC_GPAI_DRV
source "bsp/artinchip/drv/gpai/Kconfig.dev"
endmenu
#================================================
# MutiMedia Class
#================================================

View File

@@ -147,6 +147,7 @@ static const struct romfs_dirent _mountpoint_root[] =
{
{ROMFS_DIRENT_DIR, "ram", RT_NULL, 0},
{ROMFS_DIRENT_DIR, "data", RT_NULL, 0},
{ROMFS_DIRENT_DIR, "rodata", RT_NULL, 0},
{ROMFS_DIRENT_DIR, "sdcard", RT_NULL, 0},
{ROMFS_DIRENT_DIR, "udisk", RT_NULL, 0},
};
@@ -164,9 +165,12 @@ const struct dfs_mount_tbl mount_table[] = {
#ifdef LPKG_RAMDISK_TYPE_INITDATA
{"ramdisk0", "/ram", "elm", 0, 0, 0},
#endif
#ifdef AIC_USING_SDMC0
{"mmc0p2", "/rodata", "elm", 0, 0, 0},
{"mmc0p3", "/data", "elm", 0, 0, 0},
#endif
#ifdef AIC_USING_SDMC1
{"sd0p0", "/sdcard", "elm", 0, 0, 0},
{"sd0", "/sdcard", "elm", 0, 0, 0},
{"sd1", "/sdcard", "elm", 0, 0, 0},
#endif
#if (defined(AIC_USING_USB0_HOST) || defined(AIC_USING_USB1_HOST))
{"udisk", "/udisk", "elm", 0, 0, 0},

View File

@@ -73,6 +73,7 @@
},
"system": {
"upgmode": { // Set PIN to enter BROM's upgrading mode
// If set upgmode_pin_cfg_reg to "0", disable bootpin detect in PBP
"upgmode_pin_cfg_reg": "0x18700080", // PINMUX REG, PA0
"upgmode_pin_cfg_val": "0x10321", // PINMUX VAL
"upgmode_pin_input_reg": "0x18700000", // INPUT VAL REG

View File

@@ -41,16 +41,16 @@
"attr": ["block", "required"],
"part": ["os"]
},
//"res": {
// "file": "app.fatfs",
// "attr": ["block", "optional"],
// "part": ["rodata"]
//},
//"app": {
// "file": "user.ext4",
// "attr": ["block", "optional"],
// "part": ["data"]
//},
"res": {
"file": "rodata.fatfs",
"attr": ["block", "optional"],
"part": ["rodata"]
},
"app": {
"file": "data.fatfs",
"attr": ["block", "optional"],
"part": ["data"]
},
},
},
"temporary": { // Pre-proccess to generate image components from raw data