diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index 0f73fe93ea43b62cfb886fa4b8c5178a7d88e1b6..ad703189ea7fce7c991b6c9a9a8c23ef6f1657d1 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -1,3 +1,19 @@ +# Phytium Standalone SDK 2024-06-13 ChangeLog + +Change Log since 2024-06-11 + +## example + +- change tftboot to tftpboot directory +- refine exception example trace function +- set default sdkconfig CONFIG_IMAGE_MAX_LENGTH=0x2000000 in aarch64 mode + +# Phytium FreeRTOS SDK 2024-06-12 ChangeLog + +## example + +- change i2c example to use standalone drivers api + # Phytium FreeRTOS SDK 2024-05-10 ChangeLog Change Log since 2024-05-09 diff --git a/docs/reference/usr/usage.md b/docs/reference/usr/usage.md index 6fdcfba269e500bb13ef224921e204583611ee2a..0562aef33b6b36dc569c0ee525e2715b733696c3 100644 --- a/docs/reference/usr/usage.md +++ b/docs/reference/usr/usage.md @@ -60,7 +60,7 @@ sudo apt-get install tftp-hpa tftpd-hpa sudo apt-get install xinetd ``` -- 新建 tftboot 目录, `/mnt/d/tftboot`, 确保 tftboot 目录有执行权限`chmod 777 /**/tftboot` +- 新建 tftpboot 目录, `/mnt/d/tftpboot`, 确保 tftpboot 目录有执行权限`chmod 777 /**/tftpboot` - 配置主机 tftpboot 服务, 新建并配置文件`/etc/xinetd.d/tftp` @@ -74,7 +74,7 @@ server tftp wait = yes user = root server = /usr/sbin/in.tftpd - server_args = -s /mnt/d/tftboot + server_args = -s /mnt/d/tftpboot disable = no per_source = 11 cps = 100 2 @@ -88,7 +88,7 @@ server tftp $ sudo service tftpd-hpa start ``` -- 修改主机`tftp`配置,指向`tftboot`目录 +- 修改主机`tftp`配置,指向`tftpboot`目录 修改/etc/default/tftpd-hpa ``` @@ -96,7 +96,7 @@ $ sudo nano /etc/default/tftpd-hpa # /etc/default/tftpd-hpa TFTP_USERNAME="tftp" -TFTP_DIRECTORY="/mnt/d/tftboot" +TFTP_DIRECTORY="/mnt/d/tftpboot" TFTP_ADDRESS=":69" TFTP_OPTIONS="-l -c -s" ``` @@ -108,7 +108,7 @@ $ sudo service tftpd-hpa restart ``` - 测试主机`tftp`服务的可用性 - > 登录`tftp`服务,获取`tftboot`目录下的一个文件 + > 登录`tftp`服务,获取`tftpboot`目录下的一个文件 ``` $ tftp 192.168.4.50 @@ -139,15 +139,15 @@ tftp> q ### 1.3.3 配置开发板 ip,连通 host 下载启动镜像 -- 将`BIN`文件或者`ELF`文件复制到`tftboot`目录 +- 将`BIN`文件或者`ELF`文件复制到`tftpboot`目录 - 此步骤目前已经集成到`make image`阶段,可以省略,如果未成功,可进行手动复制 ``` -$ cp ./freertos.bin /mnt/d/tftboot +$ cp ./freertos.bin /mnt/d/tftpboot ``` ``` -$ cp ./freertos.elf /mnt/d/tftboot +$ cp ./freertos.elf /mnt/d/tftpboot ``` - 连通开发板串口,进入`u-boot`界面,配置开发板`ip`,`host`侧`ip`和网关地址 diff --git a/drivers/i2c/fi2c_os.c b/drivers/i2c/fi2c_os.c index c921a5e3737c965803bc4f85daee49e5840ad14d..35ae91d89ee2791201d0f68953f8af4b8d2f0b43 100644 --- a/drivers/i2c/fi2c_os.c +++ b/drivers/i2c/fi2c_os.c @@ -163,6 +163,7 @@ void FFreeRTOSI2cDeinit(FFreeRTOSI2c *os_i2c_p) /* 避免没有关闭中断,存在触发 */ InterruptMask(os_i2c_p->i2c_device.config.irq_num); + FI2cClearAbort(os_i2c_p->i2c_device.config.base_addr);/* 清除错误状态 */ FI2cDeInitialize(&os_i2c_p->i2c_device); FASSERT_MSG(NULL != os_i2c_p->wr_semaphore, "Semaphore not exists!!!"); diff --git a/drivers/pwm/fpwm_os.c b/drivers/pwm/fpwm_os.c index f56f435616cbed7a9a5b732dd78dddfa342c6552..4fab837d36fba6e429326b61c23fb7bcaed5925b 100644 --- a/drivers/pwm/fpwm_os.c +++ b/drivers/pwm/fpwm_os.c @@ -110,7 +110,7 @@ static FError FFreeRTOSPwmControl(FFreeRTOSPwm *os_pwm_p, int cmd, void *arg) break; case FREERTOS_PWM_CTRL_GET: - ret = FPwmVariableGet(&os_pwm_p->pwm_ctrl, configuration->channel, &configuration->pwm_cfg); + FPwmVariableGet(&os_pwm_p->pwm_ctrl, configuration->channel, &configuration->pwm_cfg); break; case FREERTOS_PWM_CTRL_ENABLE: diff --git a/drivers/spi/fspim/fspim_os.c b/drivers/spi/fspim/fspim_os.c index a97735ad0fffadebdaa6012fed94ba313cd0d37c..352f8762407ef4d1b45187ebd9269184b2f1eb4b 100644 --- a/drivers/spi/fspim/fspim_os.c +++ b/drivers/spi/fspim/fspim_os.c @@ -162,7 +162,7 @@ FFreeRTOSSpim *FFreeRTOSSpimInit(u32 id, const FFreeRTOSSpimConifg *input_config config.en_test = instance->config.inner_loopback; config.en_dma = instance->config.en_dma; config.irq_prority = FFREERTOS_SPIM_IRQ_PRIORITY; - config.max_freq_hz = FSPIM_OS_MAX_SPEED; + config.freq_hz = FSPIM_OS_MAX_SPEED; FIOMuxInit(); FIOPadSetSpimMux(id); diff --git a/example/freertos_feature/eventgroup/configs/d2000_aarch32_test_eventgroup.config b/example/freertos_feature/eventgroup/configs/d2000_aarch32_test_eventgroup.config index a8a19a6b2f3f4099450347591b6b3eb7937a6d36..6922f0a738dbd753dd4a3913f07ab65dfd020401 100644 --- a/example/freertos_feature/eventgroup/configs/d2000_aarch32_test_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/d2000_aarch32_test_eventgroup.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/d2000_aarch64_test_eventgroup.config b/example/freertos_feature/eventgroup/configs/d2000_aarch64_test_eventgroup.config index 79d759463f95d16b3a868f2d3dfb0f4f21582d00..2219ca8e4dae4dac5fd781dace16a21494d95a45 100644 --- a/example/freertos_feature/eventgroup/configs/d2000_aarch64_test_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/d2000_aarch64_test_eventgroup.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/e2000d_aarch32_demo_eventgroup.config b/example/freertos_feature/eventgroup/configs/e2000d_aarch32_demo_eventgroup.config index 260104522f368b98a1e4c7f5c0c8342c690a66f5..de807ef0290629c9bde0b5e96e09269d52770847 100644 --- a/example/freertos_feature/eventgroup/configs/e2000d_aarch32_demo_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/e2000d_aarch32_demo_eventgroup.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/e2000d_aarch64_demo_eventgroup.config b/example/freertos_feature/eventgroup/configs/e2000d_aarch64_demo_eventgroup.config index 79db9b0c1c53d5c9401c37754b47d84c69137d97..4d5a7fdeb02a10eebf2c00a3cffd835d4e459718 100644 --- a/example/freertos_feature/eventgroup/configs/e2000d_aarch64_demo_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/e2000d_aarch64_demo_eventgroup.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/e2000q_aarch32_demo_eventgroup.config b/example/freertos_feature/eventgroup/configs/e2000q_aarch32_demo_eventgroup.config index dd4fff77348f2d146858ca57e00e02f7cb8adf33..f328af98db9d659258540609cf3b458c3245d3a5 100644 --- a/example/freertos_feature/eventgroup/configs/e2000q_aarch32_demo_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/e2000q_aarch32_demo_eventgroup.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/e2000q_aarch64_demo_eventgroup.config b/example/freertos_feature/eventgroup/configs/e2000q_aarch64_demo_eventgroup.config index 772b569e6752ffe1faa8e87e08829934d0fe60fe..a3562eb8087bffac805b31d8e8436560cce840bd 100644 --- a/example/freertos_feature/eventgroup/configs/e2000q_aarch64_demo_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/e2000q_aarch64_demo_eventgroup.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/ft2004_aarch32_dsk_eventgroup.config b/example/freertos_feature/eventgroup/configs/ft2004_aarch32_dsk_eventgroup.config index 6d2466dd8dea98c90bd4c8ffa03864299bf9abb7..f562819ce790516193b4d5503f45016c77a12a07 100644 --- a/example/freertos_feature/eventgroup/configs/ft2004_aarch32_dsk_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/ft2004_aarch32_dsk_eventgroup.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/ft2004_aarch64_dsk_eventgroup.config b/example/freertos_feature/eventgroup/configs/ft2004_aarch64_dsk_eventgroup.config index 9f0a21242febef4ebb613534d101c2f30fc6469d..e8183d0bd79136115a80031aeade331bb4f4eac2 100644 --- a/example/freertos_feature/eventgroup/configs/ft2004_aarch64_dsk_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/ft2004_aarch64_dsk_eventgroup.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/phytiumpi_aarch32_firefly_eventgroup.config b/example/freertos_feature/eventgroup/configs/phytiumpi_aarch32_firefly_eventgroup.config index 5e0297fcdd2e069b630d5d01fc17eff777a27e09..619579a843aebc2591db934ca43cfcc41089aa5a 100644 --- a/example/freertos_feature/eventgroup/configs/phytiumpi_aarch32_firefly_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/phytiumpi_aarch32_firefly_eventgroup.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -82,6 +82,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -190,7 +191,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -236,12 +237,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/configs/phytiumpi_aarch64_firefly_eventgroup.config b/example/freertos_feature/eventgroup/configs/phytiumpi_aarch64_firefly_eventgroup.config index 80adb0621f0244fc61a6b6e01c03f35e9521ae12..af84fedf8864fd600bd78bfa41341829505e929a 100644 --- a/example/freertos_feature/eventgroup/configs/phytiumpi_aarch64_firefly_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/phytiumpi_aarch64_firefly_eventgroup.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -76,6 +76,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -184,7 +185,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -225,12 +226,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/makefile b/example/freertos_feature/eventgroup/makefile index e76c56925dc2b1606030e28943022889728ff603..4cdad37abc9d3403d56f48019b5bc80be45a84d4 100644 --- a/example/freertos_feature/eventgroup/makefile +++ b/example/freertos_feature/eventgroup/makefile @@ -14,9 +14,9 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk # 用户定义的编译目标文件上传路径 ifeq ($(OS),Windows_NT) -USR_BOOT_DIR ?= /d/tftboot +USR_BOOT_DIR ?= /d/tftpboot else -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot endif image: diff --git a/example/freertos_feature/eventgroup/sdkconfig b/example/freertos_feature/eventgroup/sdkconfig index 80adb0621f0244fc61a6b6e01c03f35e9521ae12..af84fedf8864fd600bd78bfa41341829505e929a 100644 --- a/example/freertos_feature/eventgroup/sdkconfig +++ b/example/freertos_feature/eventgroup/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -76,6 +76,7 @@ CONFIG_TARGET_NAME="eventgroup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -184,7 +185,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -225,12 +226,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/eventgroup/sdkconfig.h b/example/freertos_feature/eventgroup/sdkconfig.h index a6cad9afc4a4839a910ac797390885aa4a6627e1..d764170b04431a20d890417424ebfa67659ce151 100644 --- a/example/freertos_feature/eventgroup/sdkconfig.h +++ b/example/freertos_feature/eventgroup/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -71,6 +70,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -203,11 +203,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/freertos_feature/interrupt/configs/d2000_aarch32_test_interrupt.config b/example/freertos_feature/interrupt/configs/d2000_aarch32_test_interrupt.config index ee0a9634c2a8e9a2340b805bd1c9fecaddc25a7a..2bc4cc359c17915dd794a491510e50aecd5a229c 100644 --- a/example/freertos_feature/interrupt/configs/d2000_aarch32_test_interrupt.config +++ b/example/freertos_feature/interrupt/configs/d2000_aarch32_test_interrupt.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/d2000_aarch64_test_interrupt.config b/example/freertos_feature/interrupt/configs/d2000_aarch64_test_interrupt.config index e9c1b3cb5259a183656cca4ea093fdaa2b36291f..1549d99f7d59119bb14a79026e88c97bf9909321 100644 --- a/example/freertos_feature/interrupt/configs/d2000_aarch64_test_interrupt.config +++ b/example/freertos_feature/interrupt/configs/d2000_aarch64_test_interrupt.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/e2000d_aarch32_demo_interrupt.config b/example/freertos_feature/interrupt/configs/e2000d_aarch32_demo_interrupt.config index 848d281a4cdeeb8a587dc47dfa8c77d8741a1dce..1072d559efe6959d7c7c2b41a0fb1b5e0237d9a3 100644 --- a/example/freertos_feature/interrupt/configs/e2000d_aarch32_demo_interrupt.config +++ b/example/freertos_feature/interrupt/configs/e2000d_aarch32_demo_interrupt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/e2000d_aarch64_demo_interrupt.config b/example/freertos_feature/interrupt/configs/e2000d_aarch64_demo_interrupt.config index 6ecb5bcf92808ed7b3fc3f6a8f74a46625705980..b740328f5e670b9cda124c7d8a7eb49345d6a90d 100644 --- a/example/freertos_feature/interrupt/configs/e2000d_aarch64_demo_interrupt.config +++ b/example/freertos_feature/interrupt/configs/e2000d_aarch64_demo_interrupt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/e2000q_aarch32_demo_interrupt.config b/example/freertos_feature/interrupt/configs/e2000q_aarch32_demo_interrupt.config index 614698adc839ea0b9f2bed0f45d3861655e39bc2..9f747ee952977f1b9a1b28853d11d1b13a02df52 100644 --- a/example/freertos_feature/interrupt/configs/e2000q_aarch32_demo_interrupt.config +++ b/example/freertos_feature/interrupt/configs/e2000q_aarch32_demo_interrupt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/e2000q_aarch64_demo_interrupt.config b/example/freertos_feature/interrupt/configs/e2000q_aarch64_demo_interrupt.config index 45fdf1334cc255a0a76c64e69bde9fc8b7d0b6c5..af610b2993dc4b434414372aa061b600b0f22c6d 100644 --- a/example/freertos_feature/interrupt/configs/e2000q_aarch64_demo_interrupt.config +++ b/example/freertos_feature/interrupt/configs/e2000q_aarch64_demo_interrupt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/ft2004_aarch32_dsk_interrupt.config b/example/freertos_feature/interrupt/configs/ft2004_aarch32_dsk_interrupt.config index 4397434bbd1306e89b255f2b0c8c15afdb9399f1..ee1d01326b8bbe7cbe5d114139c9333df280e4b9 100644 --- a/example/freertos_feature/interrupt/configs/ft2004_aarch32_dsk_interrupt.config +++ b/example/freertos_feature/interrupt/configs/ft2004_aarch32_dsk_interrupt.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/ft2004_aarch64_dsk_interrupt.config b/example/freertos_feature/interrupt/configs/ft2004_aarch64_dsk_interrupt.config index a419898e64d39da16b4f4bb5b5e19db32ddbeee0..314a9d1b12a735da9488fb8ca38b6d97e1def16a 100644 --- a/example/freertos_feature/interrupt/configs/ft2004_aarch64_dsk_interrupt.config +++ b/example/freertos_feature/interrupt/configs/ft2004_aarch64_dsk_interrupt.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/phytiumpi_aarch32_firefly_interrupt.config b/example/freertos_feature/interrupt/configs/phytiumpi_aarch32_firefly_interrupt.config index da9e4b231ae4bd5e9507042e9bcf60ff828d9f36..7a2a3dcd36bb9c488891d81fd6601f7a10217435 100644 --- a/example/freertos_feature/interrupt/configs/phytiumpi_aarch32_firefly_interrupt.config +++ b/example/freertos_feature/interrupt/configs/phytiumpi_aarch32_firefly_interrupt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/configs/phytiumpi_aarch64_firefly_interrupt.config b/example/freertos_feature/interrupt/configs/phytiumpi_aarch64_firefly_interrupt.config index ff813e8cd9fce0518f5a976ae80968e2bb4eb24b..8afba0b1036470d1e7d3703af2ef55e8b2e7bc40 100644 --- a/example/freertos_feature/interrupt/configs/phytiumpi_aarch64_firefly_interrupt.config +++ b/example/freertos_feature/interrupt/configs/phytiumpi_aarch64_firefly_interrupt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/makefile b/example/freertos_feature/interrupt/makefile index 03b5b5f1191ca6b52759850f9b37fb4d9969917f..5d3b169a539131d4a9359b0ac2d6999831ab8d4b 100644 --- a/example/freertos_feature/interrupt/makefile +++ b/example/freertos_feature/interrupt/makefile @@ -20,7 +20,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/freertos_feature/interrupt/sdkconfig b/example/freertos_feature/interrupt/sdkconfig index ff813e8cd9fce0518f5a976ae80968e2bb4eb24b..8afba0b1036470d1e7d3703af2ef55e8b2e7bc40 100644 --- a/example/freertos_feature/interrupt/sdkconfig +++ b/example/freertos_feature/interrupt/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/interrupt/sdkconfig.h b/example/freertos_feature/interrupt/sdkconfig.h index e7683d78188e86411633fe872f955231d3b41eab..80e0b2c2709f49a7aee02b645c51076519e1da52 100644 --- a/example/freertos_feature/interrupt/sdkconfig.h +++ b/example/freertos_feature/interrupt/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/freertos_feature/queue/configs/d2000_aarch32_test_queue.config b/example/freertos_feature/queue/configs/d2000_aarch32_test_queue.config index 404e474d581b1fd06883498aeea6bdd9cf1b004a..155086ed1d76d0450791d54bbff8f42de5ede5bd 100644 --- a/example/freertos_feature/queue/configs/d2000_aarch32_test_queue.config +++ b/example/freertos_feature/queue/configs/d2000_aarch32_test_queue.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/d2000_aarch64_test_queue.config b/example/freertos_feature/queue/configs/d2000_aarch64_test_queue.config index 65ec6e1a6d4396ab6e169aebe1aad0d68cf8e531..ebb7210c02922ebd53fcdeb2a5e8f666e856073b 100644 --- a/example/freertos_feature/queue/configs/d2000_aarch64_test_queue.config +++ b/example/freertos_feature/queue/configs/d2000_aarch64_test_queue.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/e2000d_aarch32_demo_queue.config b/example/freertos_feature/queue/configs/e2000d_aarch32_demo_queue.config index 63e951af645b16399179bd9f7fc4771a35b98de9..59142b235a062e800c3fcbd57b8367b72655a65c 100644 --- a/example/freertos_feature/queue/configs/e2000d_aarch32_demo_queue.config +++ b/example/freertos_feature/queue/configs/e2000d_aarch32_demo_queue.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/e2000d_aarch64_demo_queue.config b/example/freertos_feature/queue/configs/e2000d_aarch64_demo_queue.config index 1f2637379da2922da85f64bb78346ed14651d98e..9be439969558f34e9e8cfdb0b75cdfb6e35a5589 100644 --- a/example/freertos_feature/queue/configs/e2000d_aarch64_demo_queue.config +++ b/example/freertos_feature/queue/configs/e2000d_aarch64_demo_queue.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/e2000q_aarch32_demo_queue.config b/example/freertos_feature/queue/configs/e2000q_aarch32_demo_queue.config index 0c23a235fd6d8dd10291dbc774adbb323b752327..f12b3f3bef02d30f150b0da674a288283fe896e5 100644 --- a/example/freertos_feature/queue/configs/e2000q_aarch32_demo_queue.config +++ b/example/freertos_feature/queue/configs/e2000q_aarch32_demo_queue.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/e2000q_aarch64_demo_queue.config b/example/freertos_feature/queue/configs/e2000q_aarch64_demo_queue.config index c54a5c5792701f71eb01fae63a4aec1554e79f3e..22520453e44bcdaa3d6bcd4dacef04384bcafce1 100644 --- a/example/freertos_feature/queue/configs/e2000q_aarch64_demo_queue.config +++ b/example/freertos_feature/queue/configs/e2000q_aarch64_demo_queue.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/ft2004_aarch32_dsk_queue.config b/example/freertos_feature/queue/configs/ft2004_aarch32_dsk_queue.config index c9d96c53b34b86bd3ce59534b52aa087f89a1db6..ab127692a575b2614d83552ebd77b6895168d14e 100644 --- a/example/freertos_feature/queue/configs/ft2004_aarch32_dsk_queue.config +++ b/example/freertos_feature/queue/configs/ft2004_aarch32_dsk_queue.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/ft2004_aarch64_dsk_queue.config b/example/freertos_feature/queue/configs/ft2004_aarch64_dsk_queue.config index 636b273878baf72f5b9578000153d1338ffdd223..dbe61f1891fcbb70f329193937184d24514772b5 100644 --- a/example/freertos_feature/queue/configs/ft2004_aarch64_dsk_queue.config +++ b/example/freertos_feature/queue/configs/ft2004_aarch64_dsk_queue.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/phytiumpi_aarch32_firefly_queue.config b/example/freertos_feature/queue/configs/phytiumpi_aarch32_firefly_queue.config index c8dfe338d948fb7a9131aa637324b69b511c1852..b7a7c3fdcf139cd0341dcb9f255e95fbcaef78e7 100644 --- a/example/freertos_feature/queue/configs/phytiumpi_aarch32_firefly_queue.config +++ b/example/freertos_feature/queue/configs/phytiumpi_aarch32_firefly_queue.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/configs/phytiumpi_aarch64_firefly_queue.config b/example/freertos_feature/queue/configs/phytiumpi_aarch64_firefly_queue.config index 19a410647363c0f5384cd33c063022c86a5c0595..f5be9c941ece6e9ea645f66de8bf82e55ebfe11b 100644 --- a/example/freertos_feature/queue/configs/phytiumpi_aarch64_firefly_queue.config +++ b/example/freertos_feature/queue/configs/phytiumpi_aarch64_firefly_queue.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/makefile b/example/freertos_feature/queue/makefile index 03b5b5f1191ca6b52759850f9b37fb4d9969917f..5d3b169a539131d4a9359b0ac2d6999831ab8d4b 100644 --- a/example/freertos_feature/queue/makefile +++ b/example/freertos_feature/queue/makefile @@ -20,7 +20,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/freertos_feature/queue/sdkconfig b/example/freertos_feature/queue/sdkconfig index 582fe74201673ce9d2aab9a1037824da8a8bd78a..f5be9c941ece6e9ea645f66de8bf82e55ebfe11b 100644 --- a/example/freertos_feature/queue/sdkconfig +++ b/example/freertos_feature/queue/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="queue" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -198,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -239,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/queue/sdkconfig.h b/example/freertos_feature/queue/sdkconfig.h index 5174dd79a0a79d3f9356d77a56078c3d36304627..866701d387a369e3d0f9c68bc184795517573245 100644 --- a/example/freertos_feature/queue/sdkconfig.h +++ b/example/freertos_feature/queue/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -83,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -215,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/freertos_feature/resource/configs/d2000_aarch32_test_resoure.config b/example/freertos_feature/resource/configs/d2000_aarch32_test_resoure.config index 1697870c17f4846f12f6967f3859f79952e0d5cb..4766547b5fd98b798a9e8c8acb5dfee1a3a31bc8 100644 --- a/example/freertos_feature/resource/configs/d2000_aarch32_test_resoure.config +++ b/example/freertos_feature/resource/configs/d2000_aarch32_test_resoure.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/d2000_aarch64_test_resoure.config b/example/freertos_feature/resource/configs/d2000_aarch64_test_resoure.config index 49f3febb0b9bf754e36221c0b7efcd2c91c7c3d7..a95f357c726bc97141467047bc037a44621d63a1 100644 --- a/example/freertos_feature/resource/configs/d2000_aarch64_test_resoure.config +++ b/example/freertos_feature/resource/configs/d2000_aarch64_test_resoure.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/e2000d_aarch32_demo_resoure.config b/example/freertos_feature/resource/configs/e2000d_aarch32_demo_resoure.config index b1d149c48648b50ad97feb7fefe5ad6be7954675..a9a9384e0553232c1bb7a6553e54b5c03af1dcf5 100644 --- a/example/freertos_feature/resource/configs/e2000d_aarch32_demo_resoure.config +++ b/example/freertos_feature/resource/configs/e2000d_aarch32_demo_resoure.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/e2000d_aarch64_demo_resoure.config b/example/freertos_feature/resource/configs/e2000d_aarch64_demo_resoure.config index 7abf6ca3d42ce7ba66c645717ac69bf868d5824f..90e234a15d47c6d1ca8045196eeea26c45e8f85d 100644 --- a/example/freertos_feature/resource/configs/e2000d_aarch64_demo_resoure.config +++ b/example/freertos_feature/resource/configs/e2000d_aarch64_demo_resoure.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/e2000q_aarch32_demo_resoure.config b/example/freertos_feature/resource/configs/e2000q_aarch32_demo_resoure.config index e57f8199f2f8cf4771ee48bcf8943c7721623a96..c1c479d3f6b899b8ec3df454d22c9a8c06b184e0 100644 --- a/example/freertos_feature/resource/configs/e2000q_aarch32_demo_resoure.config +++ b/example/freertos_feature/resource/configs/e2000q_aarch32_demo_resoure.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/e2000q_aarch64_demo_resoure.config b/example/freertos_feature/resource/configs/e2000q_aarch64_demo_resoure.config index f9377ba9116c00a790fbe8705bbc7671eb16c413..65a523f43788fe48bcaf514365fe2c48c29906d4 100644 --- a/example/freertos_feature/resource/configs/e2000q_aarch64_demo_resoure.config +++ b/example/freertos_feature/resource/configs/e2000q_aarch64_demo_resoure.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/ft2004_aarch32_dsk_resoure.config b/example/freertos_feature/resource/configs/ft2004_aarch32_dsk_resoure.config index 57549fa818f2f87c42368a4bf7938b6dc10fba60..ceac1c7d3dc07d1623cf0dbad3a5c66c75cdbe30 100644 --- a/example/freertos_feature/resource/configs/ft2004_aarch32_dsk_resoure.config +++ b/example/freertos_feature/resource/configs/ft2004_aarch32_dsk_resoure.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/ft2004_aarch64_dsk_resoure.config b/example/freertos_feature/resource/configs/ft2004_aarch64_dsk_resoure.config index ffae19b3059f5b63fdd5545a95f2bab1ec457423..9c943e92b1a48929a09f311b0712dbe2de16345a 100644 --- a/example/freertos_feature/resource/configs/ft2004_aarch64_dsk_resoure.config +++ b/example/freertos_feature/resource/configs/ft2004_aarch64_dsk_resoure.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/phytiumpi_aarch32_firefly_resoure.config b/example/freertos_feature/resource/configs/phytiumpi_aarch32_firefly_resoure.config index 6f5f25052f950112d9a0e2375b2843f64fa50743..f1c38b29d4e6ae7cc47c3f62556a9033a6647ace 100644 --- a/example/freertos_feature/resource/configs/phytiumpi_aarch32_firefly_resoure.config +++ b/example/freertos_feature/resource/configs/phytiumpi_aarch32_firefly_resoure.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/configs/phytiumpi_aarch64_firefly_resoure.config b/example/freertos_feature/resource/configs/phytiumpi_aarch64_firefly_resoure.config index 51f69757a4070ce0fe416db1ba082758662652dc..6b19321b339f24dcd97c464634b3c06903afca53 100644 --- a/example/freertos_feature/resource/configs/phytiumpi_aarch64_firefly_resoure.config +++ b/example/freertos_feature/resource/configs/phytiumpi_aarch64_firefly_resoure.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/makefile b/example/freertos_feature/resource/makefile index 03b5b5f1191ca6b52759850f9b37fb4d9969917f..5d3b169a539131d4a9359b0ac2d6999831ab8d4b 100644 --- a/example/freertos_feature/resource/makefile +++ b/example/freertos_feature/resource/makefile @@ -20,7 +20,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/freertos_feature/resource/sdkconfig b/example/freertos_feature/resource/sdkconfig index 51f69757a4070ce0fe416db1ba082758662652dc..6b19321b339f24dcd97c464634b3c06903afca53 100644 --- a/example/freertos_feature/resource/sdkconfig +++ b/example/freertos_feature/resource/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="resoure" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/resource/sdkconfig.h b/example/freertos_feature/resource/sdkconfig.h index be128a948b868a00b808de1bc24947209d99da29..b0d73237a0a68fcf10822c56f5598c8deea50ec6 100644 --- a/example/freertos_feature/resource/sdkconfig.h +++ b/example/freertos_feature/resource/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/freertos_feature/software_timer/configs/d2000_aarch32_test_software_timer.config b/example/freertos_feature/software_timer/configs/d2000_aarch32_test_software_timer.config index 2d881cee4c650d2f9683b8863e1ce9c6d06e3e13..e0adac535e4c09bee085b20bee03b3df2cd3dbe4 100644 --- a/example/freertos_feature/software_timer/configs/d2000_aarch32_test_software_timer.config +++ b/example/freertos_feature/software_timer/configs/d2000_aarch32_test_software_timer.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/d2000_aarch64_test_software_timer.config b/example/freertos_feature/software_timer/configs/d2000_aarch64_test_software_timer.config index 1e7cd8be0d045e90b25d5da05349541bc392b106..d17e970ed6f8508f2194c587774db52f979d7a44 100644 --- a/example/freertos_feature/software_timer/configs/d2000_aarch64_test_software_timer.config +++ b/example/freertos_feature/software_timer/configs/d2000_aarch64_test_software_timer.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/e2000d_aarch32_demo_software_timer.config b/example/freertos_feature/software_timer/configs/e2000d_aarch32_demo_software_timer.config index e6c11a7d0099e2d20c5183a90ddc9f13c8114065..6b1b10a2409e4bba99f8bddf0a75971167482f2c 100644 --- a/example/freertos_feature/software_timer/configs/e2000d_aarch32_demo_software_timer.config +++ b/example/freertos_feature/software_timer/configs/e2000d_aarch32_demo_software_timer.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/e2000d_aarch64_demo_software_timer.config b/example/freertos_feature/software_timer/configs/e2000d_aarch64_demo_software_timer.config index 6c4d67b95941cdbc327b8b3741a50c702c9a247f..b784dd8369d22438ed1a83cf77fc442abdbb8099 100644 --- a/example/freertos_feature/software_timer/configs/e2000d_aarch64_demo_software_timer.config +++ b/example/freertos_feature/software_timer/configs/e2000d_aarch64_demo_software_timer.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/e2000q_aarch32_demo_software_timer.config b/example/freertos_feature/software_timer/configs/e2000q_aarch32_demo_software_timer.config index 51f95c4dc0f788c33174e7f195629cec3fdbf826..9a24a19969ef94d5615e8050724e3ee5b39a494a 100644 --- a/example/freertos_feature/software_timer/configs/e2000q_aarch32_demo_software_timer.config +++ b/example/freertos_feature/software_timer/configs/e2000q_aarch32_demo_software_timer.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/e2000q_aarch64_demo_software_timer.config b/example/freertos_feature/software_timer/configs/e2000q_aarch64_demo_software_timer.config index 6beaec60fe2dec2178d7efabe1477e8472dfbb46..e21296caa237bd5e59a36d7aaa81811dc9deca2f 100644 --- a/example/freertos_feature/software_timer/configs/e2000q_aarch64_demo_software_timer.config +++ b/example/freertos_feature/software_timer/configs/e2000q_aarch64_demo_software_timer.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/ft2004_aarch32_dsk_software_timer.config b/example/freertos_feature/software_timer/configs/ft2004_aarch32_dsk_software_timer.config index 185739f57c08ca1b846f6cb8fd5754e8cbde5c14..328f4a3888ecf16c8c95c41f5ee1664a24ed28bb 100644 --- a/example/freertos_feature/software_timer/configs/ft2004_aarch32_dsk_software_timer.config +++ b/example/freertos_feature/software_timer/configs/ft2004_aarch32_dsk_software_timer.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/ft2004_aarch64_dsk_software_timer.config b/example/freertos_feature/software_timer/configs/ft2004_aarch64_dsk_software_timer.config index 787ad7e445acd621c53eb86fa7dc12ae02ede3a3..a35750899fa8f602b802742b77a2ab3f83c77873 100644 --- a/example/freertos_feature/software_timer/configs/ft2004_aarch64_dsk_software_timer.config +++ b/example/freertos_feature/software_timer/configs/ft2004_aarch64_dsk_software_timer.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/phytiumpi_aarch32_firefly_software_timer.config b/example/freertos_feature/software_timer/configs/phytiumpi_aarch32_firefly_software_timer.config index 7986af625385d6697efa204cd81578ec07572af3..9e47717a17440fb28696dbe3f75636f8737d93f0 100644 --- a/example/freertos_feature/software_timer/configs/phytiumpi_aarch32_firefly_software_timer.config +++ b/example/freertos_feature/software_timer/configs/phytiumpi_aarch32_firefly_software_timer.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/configs/phytiumpi_aarch64_firefly_software_timer.config b/example/freertos_feature/software_timer/configs/phytiumpi_aarch64_firefly_software_timer.config index 11c4ebb4b96f4a93e96e3e2a29e2842fc6b1a44e..46eb45712994794ee99bb3e87ba728848f6f4a16 100644 --- a/example/freertos_feature/software_timer/configs/phytiumpi_aarch64_firefly_software_timer.config +++ b/example/freertos_feature/software_timer/configs/phytiumpi_aarch64_firefly_software_timer.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/makefile b/example/freertos_feature/software_timer/makefile index 03b5b5f1191ca6b52759850f9b37fb4d9969917f..5d3b169a539131d4a9359b0ac2d6999831ab8d4b 100644 --- a/example/freertos_feature/software_timer/makefile +++ b/example/freertos_feature/software_timer/makefile @@ -20,7 +20,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/freertos_feature/software_timer/sdkconfig b/example/freertos_feature/software_timer/sdkconfig index 11c4ebb4b96f4a93e96e3e2a29e2842fc6b1a44e..46eb45712994794ee99bb3e87ba728848f6f4a16 100644 --- a/example/freertos_feature/software_timer/sdkconfig +++ b/example/freertos_feature/software_timer/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="software_timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/software_timer/sdkconfig.h b/example/freertos_feature/software_timer/sdkconfig.h index 216132c5c9dc181a8c2f9456133c99421c70d830..f7bf89f3e4857d044b6117802af46eaca070c721 100644 --- a/example/freertos_feature/software_timer/sdkconfig.h +++ b/example/freertos_feature/software_timer/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/freertos_feature/task/configs/d2000_aarch32_test_task.config b/example/freertos_feature/task/configs/d2000_aarch32_test_task.config index 962ae73de6208c6a4fd37bab57a7eba5b7a40816..fa8644ea87c6385ccae66de82273c4b342e4bb4f 100644 --- a/example/freertos_feature/task/configs/d2000_aarch32_test_task.config +++ b/example/freertos_feature/task/configs/d2000_aarch32_test_task.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/d2000_aarch64_test_task.config b/example/freertos_feature/task/configs/d2000_aarch64_test_task.config index e920f1fe0d018265a4a807c35187842a4457b695..33d029ef71454ac25d0c0149bbf6a2c481d4a98c 100644 --- a/example/freertos_feature/task/configs/d2000_aarch64_test_task.config +++ b/example/freertos_feature/task/configs/d2000_aarch64_test_task.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/e2000d_aarch32_demo_task.config b/example/freertos_feature/task/configs/e2000d_aarch32_demo_task.config index bfde0fe18a18d2afe51340002a298d80d9ccc21f..d37f5725a7779547cdce42b10fb6e75cba443551 100644 --- a/example/freertos_feature/task/configs/e2000d_aarch32_demo_task.config +++ b/example/freertos_feature/task/configs/e2000d_aarch32_demo_task.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/e2000d_aarch64_demo_task.config b/example/freertos_feature/task/configs/e2000d_aarch64_demo_task.config index b14bb96e07e41362cfba9c64afaf4f4ee4c3cc55..560491b3a77a0715bdfaedb06ba54fbabaa4611f 100644 --- a/example/freertos_feature/task/configs/e2000d_aarch64_demo_task.config +++ b/example/freertos_feature/task/configs/e2000d_aarch64_demo_task.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/e2000q_aarch32_demo_task.config b/example/freertos_feature/task/configs/e2000q_aarch32_demo_task.config index 493d5ad9e409ea2ddbc7a58331575aafb87ddfa0..3bcc6ddb2989210b91a75fc50c711a98d8f7cc70 100644 --- a/example/freertos_feature/task/configs/e2000q_aarch32_demo_task.config +++ b/example/freertos_feature/task/configs/e2000q_aarch32_demo_task.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/e2000q_aarch64_demo_task.config b/example/freertos_feature/task/configs/e2000q_aarch64_demo_task.config index 585ac8ab64e85a21aa5009a60fe0ff2ef71903fd..0f4e1314d094076a977278988c4e7e83cdddaf25 100644 --- a/example/freertos_feature/task/configs/e2000q_aarch64_demo_task.config +++ b/example/freertos_feature/task/configs/e2000q_aarch64_demo_task.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/ft2004_aarch32_dsk_task.config b/example/freertos_feature/task/configs/ft2004_aarch32_dsk_task.config index ff80de4de712c06baf099ea85af763b35494a093..e19f2f7e8843132b3e6f2cd3fc0eaacee81de5c0 100644 --- a/example/freertos_feature/task/configs/ft2004_aarch32_dsk_task.config +++ b/example/freertos_feature/task/configs/ft2004_aarch32_dsk_task.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/ft2004_aarch64_dsk_task.config b/example/freertos_feature/task/configs/ft2004_aarch64_dsk_task.config index 5390537aed850c6a39ee412023f17af5fad121fe..d3b80df79508a997bb15c537c3e1c864f2dcd594 100644 --- a/example/freertos_feature/task/configs/ft2004_aarch64_dsk_task.config +++ b/example/freertos_feature/task/configs/ft2004_aarch64_dsk_task.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/phytiumpi_aarch32_firefly_task.config b/example/freertos_feature/task/configs/phytiumpi_aarch32_firefly_task.config index c2dd793850bbe9017f6cf5198e9f4741e1990ef2..e6de09f53d42317f0fffd3446a1640745675c557 100644 --- a/example/freertos_feature/task/configs/phytiumpi_aarch32_firefly_task.config +++ b/example/freertos_feature/task/configs/phytiumpi_aarch32_firefly_task.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/configs/phytiumpi_aarch64_firefly_task.config b/example/freertos_feature/task/configs/phytiumpi_aarch64_firefly_task.config index 1e4dd79838869ee453a1257be1acfeb572aa8de4..ae1db029e2a445938b4d5060f6b411f7db002a1d 100644 --- a/example/freertos_feature/task/configs/phytiumpi_aarch64_firefly_task.config +++ b/example/freertos_feature/task/configs/phytiumpi_aarch64_firefly_task.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/makefile b/example/freertos_feature/task/makefile index 03b5b5f1191ca6b52759850f9b37fb4d9969917f..5d3b169a539131d4a9359b0ac2d6999831ab8d4b 100644 --- a/example/freertos_feature/task/makefile +++ b/example/freertos_feature/task/makefile @@ -20,7 +20,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/freertos_feature/task/sdkconfig b/example/freertos_feature/task/sdkconfig index 1e4dd79838869ee453a1257be1acfeb572aa8de4..ae1db029e2a445938b4d5060f6b411f7db002a1d 100644 --- a/example/freertos_feature/task/sdkconfig +++ b/example/freertos_feature/task/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="task" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task/sdkconfig.h b/example/freertos_feature/task/sdkconfig.h index dc7210463f9dcb5e8a2a8c6e0b44eb9ee55e7656..a877696a07b0fdc205d0c686d17a7aa15d0e721e 100644 --- a/example/freertos_feature/task/sdkconfig.h +++ b/example/freertos_feature/task/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/freertos_feature/task_notify/configs/d2000_aarch32_test_task_notify.config b/example/freertos_feature/task_notify/configs/d2000_aarch32_test_task_notify.config index 0af7f0c14d46e9bd0365f5e03c80b9022665b742..7cb13b86f58ccf3450deb3c41881871779039150 100644 --- a/example/freertos_feature/task_notify/configs/d2000_aarch32_test_task_notify.config +++ b/example/freertos_feature/task_notify/configs/d2000_aarch32_test_task_notify.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/d2000_aarch64_test_task_notify.config b/example/freertos_feature/task_notify/configs/d2000_aarch64_test_task_notify.config index e1a6ca1ef7d9ab6fb41a9e3b1b6b2ac95d13a80c..79c49caa3e47a1b7e795d56b2b90dc9f35e7982a 100644 --- a/example/freertos_feature/task_notify/configs/d2000_aarch64_test_task_notify.config +++ b/example/freertos_feature/task_notify/configs/d2000_aarch64_test_task_notify.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/e2000d_aarch32_demo_task_notify.config b/example/freertos_feature/task_notify/configs/e2000d_aarch32_demo_task_notify.config index 163b238dcaf36578e493570ed7705cb317a12b2d..ae395259129386b64c6fd099bc35be7ed653f0c0 100644 --- a/example/freertos_feature/task_notify/configs/e2000d_aarch32_demo_task_notify.config +++ b/example/freertos_feature/task_notify/configs/e2000d_aarch32_demo_task_notify.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/e2000d_aarch64_demo_task_notify.config b/example/freertos_feature/task_notify/configs/e2000d_aarch64_demo_task_notify.config index 60900f3b46883afc467d08b126e5389bf892c82e..1bac5dd1f3fba7966f50ee18141d885b3db4bf85 100644 --- a/example/freertos_feature/task_notify/configs/e2000d_aarch64_demo_task_notify.config +++ b/example/freertos_feature/task_notify/configs/e2000d_aarch64_demo_task_notify.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/e2000q_aarch32_demo_task_notify.config b/example/freertos_feature/task_notify/configs/e2000q_aarch32_demo_task_notify.config index d5f65cd1957380c8f8890e9498ac9537ae53827c..30f00f6b654465ec36804234392a1613a2eeaa9d 100644 --- a/example/freertos_feature/task_notify/configs/e2000q_aarch32_demo_task_notify.config +++ b/example/freertos_feature/task_notify/configs/e2000q_aarch32_demo_task_notify.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/e2000q_aarch64_demo_task_notify.config b/example/freertos_feature/task_notify/configs/e2000q_aarch64_demo_task_notify.config index cacea1ecdc852f0ba13f299b0e1836aaef9e154f..d3988de1779b88e3a31c2465099247d65e591756 100644 --- a/example/freertos_feature/task_notify/configs/e2000q_aarch64_demo_task_notify.config +++ b/example/freertos_feature/task_notify/configs/e2000q_aarch64_demo_task_notify.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/ft2004_aarch32_dsk_task_notify.config b/example/freertos_feature/task_notify/configs/ft2004_aarch32_dsk_task_notify.config index 0564f8926305714b8a9c29c686abf6aa7bfff5bc..55dbbf2474429c4ca1249ebd45236cc10d90678c 100644 --- a/example/freertos_feature/task_notify/configs/ft2004_aarch32_dsk_task_notify.config +++ b/example/freertos_feature/task_notify/configs/ft2004_aarch32_dsk_task_notify.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/ft2004_aarch64_dsk_task_notify.config b/example/freertos_feature/task_notify/configs/ft2004_aarch64_dsk_task_notify.config index 83c2e2a4b02475543af278901557c80086cfde24..9359d1eb65ab39679c41dcf98ec167ef752b7a46 100644 --- a/example/freertos_feature/task_notify/configs/ft2004_aarch64_dsk_task_notify.config +++ b/example/freertos_feature/task_notify/configs/ft2004_aarch64_dsk_task_notify.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/phytiumpi_aarch32_firefly_task_notify.config b/example/freertos_feature/task_notify/configs/phytiumpi_aarch32_firefly_task_notify.config index 46297b0f9dea00f298ab4a02501032ce5ce1b1a0..a276beea52b5608e2cc21488a6777699de717cb0 100644 --- a/example/freertos_feature/task_notify/configs/phytiumpi_aarch32_firefly_task_notify.config +++ b/example/freertos_feature/task_notify/configs/phytiumpi_aarch32_firefly_task_notify.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/configs/phytiumpi_aarch64_firefly_task_notify.config b/example/freertos_feature/task_notify/configs/phytiumpi_aarch64_firefly_task_notify.config index dd8772b70e5b6531d180c637e6ab9fadbd283dc1..1224bbafe34eb283fe74dbff4fcad8d1a3c8df28 100644 --- a/example/freertos_feature/task_notify/configs/phytiumpi_aarch64_firefly_task_notify.config +++ b/example/freertos_feature/task_notify/configs/phytiumpi_aarch64_firefly_task_notify.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/makefile b/example/freertos_feature/task_notify/makefile index 03b5b5f1191ca6b52759850f9b37fb4d9969917f..5d3b169a539131d4a9359b0ac2d6999831ab8d4b 100644 --- a/example/freertos_feature/task_notify/makefile +++ b/example/freertos_feature/task_notify/makefile @@ -20,7 +20,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/freertos_feature/task_notify/sdkconfig b/example/freertos_feature/task_notify/sdkconfig index dd8772b70e5b6531d180c637e6ab9fadbd283dc1..1224bbafe34eb283fe74dbff4fcad8d1a3c8df28 100644 --- a/example/freertos_feature/task_notify/sdkconfig +++ b/example/freertos_feature/task_notify/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="task_notify" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/freertos_feature/task_notify/sdkconfig.h b/example/freertos_feature/task_notify/sdkconfig.h index c1e02bd46ba9e6a187ca1e4c126a9efd4ad61b65..7a9cb6b23385fc41ae43dc9a294e1dc5fe2e0de5 100644 --- a/example/freertos_feature/task_notify/sdkconfig.h +++ b/example/freertos_feature/task_notify/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/network/lwip_iperf/configs/d2000_aarch32_test_lwip_iperf.config b/example/network/lwip_iperf/configs/d2000_aarch32_test_lwip_iperf.config index d95dc2d2115fbf5ff1b95da920cccc08e5d70851..21853b3f2b4a41af9cd4372461282a070f131e3f 100644 --- a/example/network/lwip_iperf/configs/d2000_aarch32_test_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/d2000_aarch32_test_lwip_iperf.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -85,6 +86,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +205,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -249,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/d2000_aarch64_test_lwip_iperf.config b/example/network/lwip_iperf/configs/d2000_aarch64_test_lwip_iperf.config index 3f72053fb9cefbe61b18f55f7db2af55a8d56463..6ceb16dbac3e8e86662dc7ee61b1b4a48ec0d00f 100644 --- a/example/network/lwip_iperf/configs/d2000_aarch64_test_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/d2000_aarch64_test_lwip_iperf.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -79,6 +80,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -197,7 +199,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -238,12 +240,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/e2000d_aarch32_demo_lwip_iperf.config b/example/network/lwip_iperf/configs/e2000d_aarch32_demo_lwip_iperf.config index 18e076087440ad6e1d17bbf03e5e96b99288239b..d7db358dc502bbc421c564670a7b03f2b4b273a8 100644 --- a/example/network/lwip_iperf/configs/e2000d_aarch32_demo_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/e2000d_aarch32_demo_lwip_iperf.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -217,7 +219,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -263,12 +265,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/e2000d_aarch64_demo_lwip_iperf.config b/example/network/lwip_iperf/configs/e2000d_aarch64_demo_lwip_iperf.config index 2784a74673fe081c1996aeb78e56b68308303fd7..2b75de017e275ab1ed27508e0b1598f9d02592df 100644 --- a/example/network/lwip_iperf/configs/e2000d_aarch64_demo_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/e2000d_aarch64_demo_lwip_iperf.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -211,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -252,12 +254,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/e2000q_aarch32_demo_lwip_iperf.config b/example/network/lwip_iperf/configs/e2000q_aarch32_demo_lwip_iperf.config index 44ec4acbc0bddeb0ac7bb764ce5b0ca4f5563c74..8ffe7ec3b2c7110e02ab5dae9b19e75a6ddd0125 100644 --- a/example/network/lwip_iperf/configs/e2000q_aarch32_demo_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/e2000q_aarch32_demo_lwip_iperf.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -216,7 +218,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -262,12 +264,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/e2000q_aarch64_demo_lwip_iperf.config b/example/network/lwip_iperf/configs/e2000q_aarch64_demo_lwip_iperf.config index 856f57acd0a72200d34d88b3be961b39f4f1870c..00dabf7555da4ccc5abded6104aa6ccfebbc0c20 100644 --- a/example/network/lwip_iperf/configs/e2000q_aarch64_demo_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/e2000q_aarch64_demo_lwip_iperf.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -210,7 +212,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -251,12 +253,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/ft2004_aarch32_dsk_lwip_iperf.config b/example/network/lwip_iperf/configs/ft2004_aarch32_dsk_lwip_iperf.config index 554ddf28c8040cdf1f94d35393edf5ede8c9658f..fb2d3bb0af481d2f5482d1b9d277d0919e886098 100644 --- a/example/network/lwip_iperf/configs/ft2004_aarch32_dsk_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/ft2004_aarch32_dsk_lwip_iperf.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -85,6 +86,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +205,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -249,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/ft2004_aarch64_dsk_lwip_iperf.config b/example/network/lwip_iperf/configs/ft2004_aarch64_dsk_lwip_iperf.config index a51b54d6185bde5d78c9e1da5e3ea074a063176f..7a5750870a239822d9a0dafde846cd8c433c7f0a 100644 --- a/example/network/lwip_iperf/configs/ft2004_aarch64_dsk_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/ft2004_aarch64_dsk_lwip_iperf.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -79,6 +80,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -197,7 +199,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -238,12 +240,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/phytiumpi_aarch32_firefly_lwip_iperf.config b/example/network/lwip_iperf/configs/phytiumpi_aarch32_firefly_lwip_iperf.config index 7ddc51241c927243c0aa4dbf3faa1932bc780a69..7681c3ee00259dec8148d4b5fbe76b1dd083dc26 100644 --- a/example/network/lwip_iperf/configs/phytiumpi_aarch32_firefly_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/phytiumpi_aarch32_firefly_lwip_iperf.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -215,7 +217,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -261,12 +263,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/configs/phytiumpi_aarch64_firefly_lwip_iperf.config b/example/network/lwip_iperf/configs/phytiumpi_aarch64_firefly_lwip_iperf.config index 35e69fe5238afe71114974fd336a322684ea98aa..28a3a251a62cc9112a6fb3c63de8d9dddf4b747b 100644 --- a/example/network/lwip_iperf/configs/phytiumpi_aarch64_firefly_lwip_iperf.config +++ b/example/network/lwip_iperf/configs/phytiumpi_aarch64_firefly_lwip_iperf.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +211,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -250,12 +252,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/makefile b/example/network/lwip_iperf/makefile index 4b4feb160633c9a06bba13a1232ee35038121adc..585ed3cb954f5977f0891369f47358fb069b6cf4 100644 --- a/example/network/lwip_iperf/makefile +++ b/example/network/lwip_iperf/makefile @@ -14,9 +14,9 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk # 用户定义的编译目标文件上传路径 ifeq ($(OS),Windows_NT) -USR_BOOT_DIR ?= /d/tftboot +USR_BOOT_DIR ?= /d/tftpboot else -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot endif image: diff --git a/example/network/lwip_iperf/sdkconfig b/example/network/lwip_iperf/sdkconfig index 35e69fe5238afe71114974fd336a322684ea98aa..28a3a251a62cc9112a6fb3c63de8d9dddf4b747b 100644 --- a/example/network/lwip_iperf/sdkconfig +++ b/example/network/lwip_iperf/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="lwip_iperf" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +211,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -250,12 +252,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_iperf/sdkconfig.h b/example/network/lwip_iperf/sdkconfig.h index 43605663e355fb15aa74cfa1d177067e7395390f..b24dfd292857cb1dd583d99126f1bcf137a2dd9a 100644 --- a/example/network/lwip_iperf/sdkconfig.h +++ b/example/network/lwip_iperf/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU #define CONFIG_BOOT_WITH_FLUSH_CACHE /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -83,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -224,11 +225,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/network/lwip_startup/configs/d2000_aarch32_test_lwip_startup.config b/example/network/lwip_startup/configs/d2000_aarch32_test_lwip_startup.config index 44f3bd601ffffde3ac264cf43e6dab2bfa88f66e..df80adcb94c67e6f3e2e3e4662c03e26074cffd2 100644 --- a/example/network/lwip_startup/configs/d2000_aarch32_test_lwip_startup.config +++ b/example/network/lwip_startup/configs/d2000_aarch32_test_lwip_startup.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -85,6 +86,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +205,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -249,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/d2000_aarch64_test_lwip_startup.config b/example/network/lwip_startup/configs/d2000_aarch64_test_lwip_startup.config index 4f85ac4c3720ad73bf0fe1c3338aad137febf0cd..5fc01c4979ee0bf2c6fe3940fd4d2f6cd3b7e45d 100644 --- a/example/network/lwip_startup/configs/d2000_aarch64_test_lwip_startup.config +++ b/example/network/lwip_startup/configs/d2000_aarch64_test_lwip_startup.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -79,6 +80,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -197,7 +199,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -238,12 +240,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/e2000d_aarch32_demo_lwip_startup.config b/example/network/lwip_startup/configs/e2000d_aarch32_demo_lwip_startup.config index cf93a965277628e5238769022376a73cfa7d9926..c1d746b0199501ff6917b64df02fd3c106728437 100644 --- a/example/network/lwip_startup/configs/e2000d_aarch32_demo_lwip_startup.config +++ b/example/network/lwip_startup/configs/e2000d_aarch32_demo_lwip_startup.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -216,7 +218,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -262,12 +264,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/e2000d_aarch64_demo_lwip_startup.config b/example/network/lwip_startup/configs/e2000d_aarch64_demo_lwip_startup.config index 703a95cfffdfb0c87d94c1dfe6e0ce1c5577d110..1c81da6f01a26222b5a3b86e081772af0e7db796 100644 --- a/example/network/lwip_startup/configs/e2000d_aarch64_demo_lwip_startup.config +++ b/example/network/lwip_startup/configs/e2000d_aarch64_demo_lwip_startup.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -210,7 +212,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -251,12 +253,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/e2000q_aarch32_demo_lwip_startup.config b/example/network/lwip_startup/configs/e2000q_aarch32_demo_lwip_startup.config index 058485daf0bbe13f6e53a6f32cb44e525a1602e6..16dc7e5b5ce35ffeb559f8050decbbd05d10bce3 100644 --- a/example/network/lwip_startup/configs/e2000q_aarch32_demo_lwip_startup.config +++ b/example/network/lwip_startup/configs/e2000q_aarch32_demo_lwip_startup.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -215,7 +217,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -261,12 +263,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/e2000q_aarch64_demo_lwip_startup.config b/example/network/lwip_startup/configs/e2000q_aarch64_demo_lwip_startup.config index 75834b0e95310abf6bd624156c1ac97414d8ee22..b7f31155df2ae5530bf5142a709d1619448bc445 100644 --- a/example/network/lwip_startup/configs/e2000q_aarch64_demo_lwip_startup.config +++ b/example/network/lwip_startup/configs/e2000q_aarch64_demo_lwip_startup.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +211,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -250,12 +252,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/ft2004_aarch32_dsk_lwip_startup.config b/example/network/lwip_startup/configs/ft2004_aarch32_dsk_lwip_startup.config index e69adbfa88185d47ea352fe3d4341726e0636055..e686baa9966484b5b3b684ef06601c5ecef1528b 100644 --- a/example/network/lwip_startup/configs/ft2004_aarch32_dsk_lwip_startup.config +++ b/example/network/lwip_startup/configs/ft2004_aarch32_dsk_lwip_startup.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -85,6 +86,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +205,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -249,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/ft2004_aarch64_dsk_lwip_startup.config b/example/network/lwip_startup/configs/ft2004_aarch64_dsk_lwip_startup.config index 3145ebb01b52f075e814dd9d4abffa79dab9a394..b6f04e3aaff20d25f6a5fada0108f0ce7a6f8745 100644 --- a/example/network/lwip_startup/configs/ft2004_aarch64_dsk_lwip_startup.config +++ b/example/network/lwip_startup/configs/ft2004_aarch64_dsk_lwip_startup.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -79,6 +80,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -197,7 +199,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -238,12 +240,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/phytiumpi_aarch32_firefly_lwip_startup.config b/example/network/lwip_startup/configs/phytiumpi_aarch32_firefly_lwip_startup.config index 72c8bc607650914d846d606fc970210d8a709acc..521574a6b1aec8a69d1ceca0982e591c6e8101c5 100644 --- a/example/network/lwip_startup/configs/phytiumpi_aarch32_firefly_lwip_startup.config +++ b/example/network/lwip_startup/configs/phytiumpi_aarch32_firefly_lwip_startup.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -214,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +262,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/configs/phytiumpi_aarch64_firefly_lwip_startup.config b/example/network/lwip_startup/configs/phytiumpi_aarch64_firefly_lwip_startup.config index 2ad8d5cd584b4a03cf7357d8e5483704195fd430..94dbc83292d85b4751d5b3ae5520c681ff465874 100644 --- a/example/network/lwip_startup/configs/phytiumpi_aarch64_firefly_lwip_startup.config +++ b/example/network/lwip_startup/configs/phytiumpi_aarch64_firefly_lwip_startup.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +251,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/makefile b/example/network/lwip_startup/makefile index c051a270664c8500b6fafc2a0ff513b68fdcf781..01747b8802fa80782d442198dfe88bbef9b0ec2b 100644 --- a/example/network/lwip_startup/makefile +++ b/example/network/lwip_startup/makefile @@ -14,9 +14,9 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk # 用户定义的编译目标文件上传路径 ifeq ($(OS),Windows_NT) -USR_BOOT_DIR ?= /d/tftboot +USR_BOOT_DIR ?= /d/tftpboot else -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot endif image: diff --git a/example/network/lwip_startup/sdkconfig b/example/network/lwip_startup/sdkconfig index 2ad8d5cd584b4a03cf7357d8e5483704195fd430..94dbc83292d85b4751d5b3ae5520c681ff465874 100644 --- a/example/network/lwip_startup/sdkconfig +++ b/example/network/lwip_startup/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="lwip_startup" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +251,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/lwip_startup/sdkconfig.h b/example/network/lwip_startup/sdkconfig.h index 16d2fc4a241f300dc75f67d5f8ae16a48ac4d283..e1a81adf513595c1d0a0b85ca1f5403b2936cc16 100644 --- a/example/network/lwip_startup/sdkconfig.h +++ b/example/network/lwip_startup/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -83,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -223,11 +224,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/network/sockets/udp_multicast/configs/d2000_aarch32_test_udp_multicast.config b/example/network/sockets/udp_multicast/configs/d2000_aarch32_test_udp_multicast.config index 3f2f8ce0240057d3d145d1838be405732d7d6c80..e3c2152e5a27ca0b729feebb15bb9f5866c5a432 100644 --- a/example/network/sockets/udp_multicast/configs/d2000_aarch32_test_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/d2000_aarch32_test_udp_multicast.config @@ -53,11 +53,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -102,6 +103,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -220,7 +222,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -266,12 +268,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/d2000_aarch64_test_udp_multicast.config b/example/network/sockets/udp_multicast/configs/d2000_aarch64_test_udp_multicast.config index c38296d2a9ce1b111d6d907ddb2558c468667dda..053ef9d7b629ddaef18ba3fc30970569b5fe8262 100644 --- a/example/network/sockets/udp_multicast/configs/d2000_aarch64_test_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/d2000_aarch64_test_udp_multicast.config @@ -46,12 +46,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -214,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -255,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/e2000d_aarch32_demo_udp_multicast.config b/example/network/sockets/udp_multicast/configs/e2000d_aarch32_demo_udp_multicast.config index 3eb07a6cc4f996597ca5fec033135729685f6ab9..d8bee899b022c1e8eafcd28286387a25854cc06a 100644 --- a/example/network/sockets/udp_multicast/configs/e2000d_aarch32_demo_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/e2000d_aarch32_demo_udp_multicast.config @@ -53,10 +53,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -115,6 +116,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -233,7 +235,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -279,12 +281,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/e2000d_aarch64_demo_udp_multicast.config b/example/network/sockets/udp_multicast/configs/e2000d_aarch64_demo_udp_multicast.config index c4fa017311fb8341c6c7b79c80fcf1cd89e3842a..359fadd2abd61513784f5c56e974a30e976bdb27 100644 --- a/example/network/sockets/udp_multicast/configs/e2000d_aarch64_demo_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/e2000d_aarch64_demo_udp_multicast.config @@ -46,11 +46,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -109,6 +110,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -227,7 +229,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -268,12 +270,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/e2000q_aarch32_demo_udp_multicast.config b/example/network/sockets/udp_multicast/configs/e2000q_aarch32_demo_udp_multicast.config index f378784a1e9be75880f44821793b83acdfe26f7b..b936838e0f4e7ee552cb0cc3a5f29f11ce725610 100644 --- a/example/network/sockets/udp_multicast/configs/e2000q_aarch32_demo_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/e2000q_aarch32_demo_udp_multicast.config @@ -53,10 +53,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -114,6 +115,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -232,7 +234,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -278,12 +280,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/e2000q_aarch64_demo_udp_multicast.config b/example/network/sockets/udp_multicast/configs/e2000q_aarch64_demo_udp_multicast.config index 879f1637489848e409302a42b4bd843fe79fc160..ca873b297d0bc54e6548cd7e74a0f9f868846a1f 100644 --- a/example/network/sockets/udp_multicast/configs/e2000q_aarch64_demo_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/e2000q_aarch64_demo_udp_multicast.config @@ -46,11 +46,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -108,6 +109,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -226,7 +228,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -267,12 +269,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/ft2004_aarch32_dsk_udp_multicast.config b/example/network/sockets/udp_multicast/configs/ft2004_aarch32_dsk_udp_multicast.config index 657ecf4eae421955de074f5a4448216c937da073..fde94b6078731a37c711fdd0bf1c6697d1d7693b 100644 --- a/example/network/sockets/udp_multicast/configs/ft2004_aarch32_dsk_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/ft2004_aarch32_dsk_udp_multicast.config @@ -53,11 +53,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -102,6 +103,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -220,7 +222,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -266,12 +268,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/ft2004_aarch64_dsk_udp_multicast.config b/example/network/sockets/udp_multicast/configs/ft2004_aarch64_dsk_udp_multicast.config index 026dc1cb061c5600bc03fa6f7fd0adcf2f15f00b..4b76a463b64cd8017d699923efb7ff274e40f7ca 100644 --- a/example/network/sockets/udp_multicast/configs/ft2004_aarch64_dsk_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/ft2004_aarch64_dsk_udp_multicast.config @@ -46,12 +46,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -214,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -255,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y CONFIG_FREERTOS_USE_GMAC=y # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/phytiumpi_aarch32_firefly_udp_multicast.config b/example/network/sockets/udp_multicast/configs/phytiumpi_aarch32_firefly_udp_multicast.config index dd540a1c5245fcae5683b17f38e9cd45dc0ef470..ae18f47714c54e64f51d9b10bfb78abe70e5f5f3 100644 --- a/example/network/sockets/udp_multicast/configs/phytiumpi_aarch32_firefly_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/phytiumpi_aarch32_firefly_udp_multicast.config @@ -53,10 +53,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -113,6 +114,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -231,7 +233,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -277,12 +279,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/configs/phytiumpi_aarch64_firefly_udp_multicast.config b/example/network/sockets/udp_multicast/configs/phytiumpi_aarch64_firefly_udp_multicast.config index 55c21e68bff39cd4a26b630ac42d150e5003b3a1..5499ee66aaf18a9de945a4938baaf06b69ac4bd2 100644 --- a/example/network/sockets/udp_multicast/configs/phytiumpi_aarch64_firefly_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/phytiumpi_aarch64_firefly_udp_multicast.config @@ -46,11 +46,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -107,6 +108,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -225,7 +227,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -266,12 +268,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/makefile b/example/network/sockets/udp_multicast/makefile index 8b097234c307a47f1446dfadd9446385a993b29d..8bdf90a4af60a1fb93b6d657782f8c6986daf3d6 100644 --- a/example/network/sockets/udp_multicast/makefile +++ b/example/network/sockets/udp_multicast/makefile @@ -14,9 +14,9 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk # 用户定义的编译目标文件上传路径 ifeq ($(OS),Windows_NT) -USR_BOOT_DIR ?= /d/tftboot +USR_BOOT_DIR ?= /d/tftpboot else -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot endif image: diff --git a/example/network/sockets/udp_multicast/sdkconfig b/example/network/sockets/udp_multicast/sdkconfig index 55c21e68bff39cd4a26b630ac42d150e5003b3a1..5499ee66aaf18a9de945a4938baaf06b69ac4bd2 100644 --- a/example/network/sockets/udp_multicast/sdkconfig +++ b/example/network/sockets/udp_multicast/sdkconfig @@ -46,11 +46,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -107,6 +108,7 @@ CONFIG_TARGET_NAME="udp_multicast" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -225,7 +227,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -266,12 +268,6 @@ CONFIG_FREERTOS_USE_XMAC=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/sockets/udp_multicast/sdkconfig.h b/example/network/sockets/udp_multicast/sdkconfig.h index 1dfcb4720a480a17b6a575d7493ec8229623b27d..72d33a0d479008ba347211ecc1deb39f76591bae 100644 --- a/example/network/sockets/udp_multicast/sdkconfig.h +++ b/example/network/sockets/udp_multicast/sdkconfig.h @@ -42,11 +42,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -97,6 +97,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -237,11 +238,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/network/wlan/configs/e2000d_aarch32_demo_wlan.config b/example/network/wlan/configs/e2000d_aarch32_demo_wlan.config index 92bed7229c697b208aeafeb238a3960cc04365b7..41a56a2acd1054c173eef6edbfcce107a482ee98 100644 --- a/example/network/wlan/configs/e2000d_aarch32_demo_wlan.config +++ b/example/network/wlan/configs/e2000d_aarch32_demo_wlan.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="wlan" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +211,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -255,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/wlan/configs/e2000d_aarch64_demo_wlan.config b/example/network/wlan/configs/e2000d_aarch64_demo_wlan.config index bad5b3c74b25263b4e1e690828f636bb4a4299ce..0bebd8c04d360df282b794ca1fb49ba15e9de7d2 100644 --- a/example/network/wlan/configs/e2000d_aarch64_demo_wlan.config +++ b/example/network/wlan/configs/e2000d_aarch64_demo_wlan.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="wlan" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +205,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -244,12 +246,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/wlan/configs/e2000q_aarch32_demo_wlan.config b/example/network/wlan/configs/e2000q_aarch32_demo_wlan.config index c299d5355da42be508501af5c9d1571fd84a32e7..fc3850d7032aba3edb357ee5409bda11dcbb6ff5 100644 --- a/example/network/wlan/configs/e2000q_aarch32_demo_wlan.config +++ b/example/network/wlan/configs/e2000q_aarch32_demo_wlan.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="wlan" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -254,12 +256,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/wlan/configs/e2000q_aarch64_demo_wlan.config b/example/network/wlan/configs/e2000q_aarch64_demo_wlan.config index d2b051c3257f84bde67d47185ad41b9058deb8a3..dc39bdd02292009886b70c032638be54948a95dd 100644 --- a/example/network/wlan/configs/e2000q_aarch64_demo_wlan.config +++ b/example/network/wlan/configs/e2000q_aarch64_demo_wlan.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="wlan" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +204,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +245,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/wlan/makefile b/example/network/wlan/makefile index cd273bdc58455264201efa4964748c03f73a58c1..b82ed7c77add30d52a51e364b4fa464659ee127c 100644 --- a/example/network/wlan/makefile +++ b/example/network/wlan/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: $(MAKE) all -j diff --git a/example/network/wlan/sdkconfig b/example/network/wlan/sdkconfig index d2b051c3257f84bde67d47185ad41b9058deb8a3..dc39bdd02292009886b70c032638be54948a95dd 100644 --- a/example/network/wlan/sdkconfig +++ b/example/network/wlan/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="wlan" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +204,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +245,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/network/wlan/sdkconfig.h b/example/network/wlan/sdkconfig.h index 1e6e37a62b5c6e0d5951af498e17a8acdf239763..4363eaba0265b8effb5ade5bf2e640046d19df3a 100644 --- a/example/network/wlan/sdkconfig.h +++ b/example/network/wlan/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU #define CONFIG_BOOT_WITH_FLUSH_CACHE /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -84,6 +84,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -219,11 +220,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/adc/configs/e2000d_aarch32_demo_adc.config b/example/peripheral/adc/configs/e2000d_aarch32_demo_adc.config index 462f6dd4a23ea4c828e225682bbbc0aab49a89f0..745f75d7e81b9500387eac3f1ecde47812a63382 100644 --- a/example/peripheral/adc/configs/e2000d_aarch32_demo_adc.config +++ b/example/peripheral/adc/configs/e2000d_aarch32_demo_adc.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="adc" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/adc/configs/e2000d_aarch64_demo_adc.config b/example/peripheral/adc/configs/e2000d_aarch64_demo_adc.config index 42527f7ebd5ec82b98037b2b361ddbea11e9291e..08c35c94c48b3b043dc3f6c3c1751d2df5503cc9 100644 --- a/example/peripheral/adc/configs/e2000d_aarch64_demo_adc.config +++ b/example/peripheral/adc/configs/e2000d_aarch64_demo_adc.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="adc" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/adc/makefile b/example/peripheral/adc/makefile index 13c14898d0f8ad5159f3e5baa6067deda58349eb..92052c5942e04b8e61860dc5c8bbbefca925ff93 100644 --- a/example/peripheral/adc/makefile +++ b/example/peripheral/adc/makefile @@ -19,7 +19,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/adc/sdkconfig b/example/peripheral/adc/sdkconfig index 42527f7ebd5ec82b98037b2b361ddbea11e9291e..08c35c94c48b3b043dc3f6c3c1751d2df5503cc9 100644 --- a/example/peripheral/adc/sdkconfig +++ b/example/peripheral/adc/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="adc" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/adc/sdkconfig.h b/example/peripheral/adc/sdkconfig.h index 45d6a38dc0a94a84d7d0e91c6fb941cfb0da9426..2fd019f2a48e6a1d02940cd9484fe2e79b39d6a0 100644 --- a/example/peripheral/adc/sdkconfig.h +++ b/example/peripheral/adc/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -52,7 +52,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -86,6 +85,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -223,11 +223,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/can/can/configs/d2000_aarch32_test_can.config b/example/peripheral/can/can/configs/d2000_aarch32_test_can.config index 7b82cb105acc2727f6b004dbf9393804d2ec8bb1..95d6a47765029d2386fa0b95e57215fa374c8b98 100644 --- a/example/peripheral/can/can/configs/d2000_aarch32_test_can.config +++ b/example/peripheral/can/can/configs/d2000_aarch32_test_can.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -195,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/configs/d2000_aarch64_test_can.config b/example/peripheral/can/can/configs/d2000_aarch64_test_can.config index 37068088484221f22174cf806b557f745e386cd6..e827bc35d9b2147df444707086b4512dceb9df7f 100644 --- a/example/peripheral/can/can/configs/d2000_aarch64_test_can.config +++ b/example/peripheral/can/can/configs/d2000_aarch64_test_can.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -189,7 +190,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -230,12 +231,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/configs/e2000d_aarch32_demo_can.config b/example/peripheral/can/can/configs/e2000d_aarch32_demo_can.config index 45b6da6d8f5b2e2f567a67aaebdc0c383eafe557..1cf1d98841a2fdae4bc592811e2b41d2f65dab18 100644 --- a/example/peripheral/can/can/configs/e2000d_aarch32_demo_can.config +++ b/example/peripheral/can/can/configs/e2000d_aarch32_demo_can.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -254,12 +255,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/configs/e2000d_aarch64_demo_can.config b/example/peripheral/can/can/configs/e2000d_aarch64_demo_can.config index 4d5b5449a2cbc9b7572987b8e7a7391723480f2f..c315e4bb3b83baae12cc927dfaeb120644a6d532 100644 --- a/example/peripheral/can/can/configs/e2000d_aarch64_demo_can.config +++ b/example/peripheral/can/can/configs/e2000d_aarch64_demo_can.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/configs/e2000q_aarch32_demo_can.config b/example/peripheral/can/can/configs/e2000q_aarch32_demo_can.config index a3a5ef17c792a743c1b4a3c2e727a5b5b18061fd..8464bee902d2e4cd4b48ac645d697bb45a3f1d0f 100644 --- a/example/peripheral/can/can/configs/e2000q_aarch32_demo_can.config +++ b/example/peripheral/can/can/configs/e2000q_aarch32_demo_can.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/configs/e2000q_aarch64_demo_can.config b/example/peripheral/can/can/configs/e2000q_aarch64_demo_can.config index 59d83e2329c0bb9936d44a90310b70f7cfe77422..c16f2243136eb13630121f8fae9da14e6791f8c6 100644 --- a/example/peripheral/can/can/configs/e2000q_aarch64_demo_can.config +++ b/example/peripheral/can/can/configs/e2000q_aarch64_demo_can.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/configs/ft2004_aarch32_dsk_can.config b/example/peripheral/can/can/configs/ft2004_aarch32_dsk_can.config index c7f3c10bf4e9ebdb5e11fd4178cffb0ae0cb342c..e3e8c03cf1e399966a277e9ab976b109f6abbd45 100644 --- a/example/peripheral/can/can/configs/ft2004_aarch32_dsk_can.config +++ b/example/peripheral/can/can/configs/ft2004_aarch32_dsk_can.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -195,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/configs/ft2004_aarch64_dsk_can.config b/example/peripheral/can/can/configs/ft2004_aarch64_dsk_can.config index 38de14e49b7271fc17cd257a549e6dbc1f3283c4..def178973ca208d48f97c39957f8f300ffe9ac3a 100644 --- a/example/peripheral/can/can/configs/ft2004_aarch64_dsk_can.config +++ b/example/peripheral/can/can/configs/ft2004_aarch64_dsk_can.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -189,7 +190,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -230,12 +231,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/makefile b/example/peripheral/can/can/makefile index 941abe469ed0be7dc0390def62cecbeba1bb14d9..c34d5c423429bb4e3011ff5a7d308335e24ccd07 100644 --- a/example/peripheral/can/can/makefile +++ b/example/peripheral/can/can/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/can/can/sdkconfig b/example/peripheral/can/can/sdkconfig index 38de14e49b7271fc17cd257a549e6dbc1f3283c4..def178973ca208d48f97c39957f8f300ffe9ac3a 100644 --- a/example/peripheral/can/can/sdkconfig +++ b/example/peripheral/can/can/sdkconfig @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="can" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -189,7 +190,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -230,12 +231,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/can/sdkconfig.h b/example/peripheral/can/can/sdkconfig.h index eeaad9bfb094f9e15d6212c184b2b9f188e55cca..39aab9d74add71e76270bc3c09550c3b2657cef3 100644 --- a/example/peripheral/can/can/sdkconfig.h +++ b/example/peripheral/can/can/sdkconfig.h @@ -28,12 +28,12 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE /* CONFIG_USE_L3CACHE is not set */ -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F32BIT_MEMORY_LENGTH 0x80000000 #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -74,6 +73,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -207,11 +207,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/can/canfd/configs/e2000d_aarch32_demo_canfd.config b/example/peripheral/can/canfd/configs/e2000d_aarch32_demo_canfd.config index 58f0764591fe8459140b931d4067794d7b572f7e..9939d1059a1ca31893f331887d2e5a7fbe76ecc5 100644 --- a/example/peripheral/can/canfd/configs/e2000d_aarch32_demo_canfd.config +++ b/example/peripheral/can/canfd/configs/e2000d_aarch32_demo_canfd.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="canfd" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -254,12 +255,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/canfd/configs/e2000d_aarch64_demo_canfd.config b/example/peripheral/can/canfd/configs/e2000d_aarch64_demo_canfd.config index c6228501d0f7af6d6b3c8c3d14011174a5086923..8ca50802f1f6e11fb5e37d281ded82cbb12cfd2d 100644 --- a/example/peripheral/can/canfd/configs/e2000d_aarch64_demo_canfd.config +++ b/example/peripheral/can/canfd/configs/e2000d_aarch64_demo_canfd.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="canfd" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/canfd/configs/e2000q_aarch32_demo_canfd.config b/example/peripheral/can/canfd/configs/e2000q_aarch32_demo_canfd.config index 1cb15e5ad30f8571476bc65a54c3f04eb523cc7d..307b656562003411ae7b9ef82ac19f5f04e0986b 100644 --- a/example/peripheral/can/canfd/configs/e2000q_aarch32_demo_canfd.config +++ b/example/peripheral/can/canfd/configs/e2000q_aarch32_demo_canfd.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="canfd" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/canfd/configs/e2000q_aarch64_demo_canfd.config b/example/peripheral/can/canfd/configs/e2000q_aarch64_demo_canfd.config index 4df84b1008be5f809158d9ddbaff5084441faf24..41d480a80fa2d666ba25079139241254651b2e96 100644 --- a/example/peripheral/can/canfd/configs/e2000q_aarch64_demo_canfd.config +++ b/example/peripheral/can/canfd/configs/e2000q_aarch64_demo_canfd.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="canfd" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/canfd/makefile b/example/peripheral/can/canfd/makefile index 941abe469ed0be7dc0390def62cecbeba1bb14d9..c34d5c423429bb4e3011ff5a7d308335e24ccd07 100644 --- a/example/peripheral/can/canfd/makefile +++ b/example/peripheral/can/canfd/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/can/canfd/sdkconfig b/example/peripheral/can/canfd/sdkconfig index 4df84b1008be5f809158d9ddbaff5084441faf24..41d480a80fa2d666ba25079139241254651b2e96 100644 --- a/example/peripheral/can/canfd/sdkconfig +++ b/example/peripheral/can/canfd/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="canfd" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/can/canfd/sdkconfig.h b/example/peripheral/can/canfd/sdkconfig.h index 57b613eb87c5a5228b7b0f7aaf0226ab514c7a5d..b8f47bb47e2d6cdb4b94789fc57112f0ca66086e 100644 --- a/example/peripheral/can/canfd/sdkconfig.h +++ b/example/peripheral/can/canfd/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -52,7 +52,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -85,6 +84,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -218,11 +218,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/dma/ddma/configs/e2000d_aarch32_demo_ddma.config b/example/peripheral/dma/ddma/configs/e2000d_aarch32_demo_ddma.config index fb77c7c7b1eaca02607aecb24f171779792a8c65..64af9dc5de38681db00e1cc317560fda0d787906 100644 --- a/example/peripheral/dma/ddma/configs/e2000d_aarch32_demo_ddma.config +++ b/example/peripheral/dma/ddma/configs/e2000d_aarch32_demo_ddma.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="ddma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -210,7 +211,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -256,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/ddma/configs/e2000d_aarch64_demo_ddma.config b/example/peripheral/dma/ddma/configs/e2000d_aarch64_demo_ddma.config index 5b3e13492658f56aa7972fde84be230260ca9f3c..43fc6d6d57d80e63f74d9bae00c11b825d1b5aa9 100644 --- a/example/peripheral/dma/ddma/configs/e2000d_aarch64_demo_ddma.config +++ b/example/peripheral/dma/ddma/configs/e2000d_aarch64_demo_ddma.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="ddma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -204,7 +205,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -245,12 +246,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/ddma/configs/e2000q_aarch32_demo_ddma.config b/example/peripheral/dma/ddma/configs/e2000q_aarch32_demo_ddma.config index 26d97f0648518b67555b73f1fbd6fbe0779193b6..5721e469f347b9b164b9acf0218e3f7720a26a48 100644 --- a/example/peripheral/dma/ddma/configs/e2000q_aarch32_demo_ddma.config +++ b/example/peripheral/dma/ddma/configs/e2000q_aarch32_demo_ddma.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="ddma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -255,12 +256,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/ddma/configs/e2000q_aarch64_demo_ddma.config b/example/peripheral/dma/ddma/configs/e2000q_aarch64_demo_ddma.config index 2b4301f766042d310f55f439bfbd4a7c1aea644f..807c221284c87c353943ea516bfab76993c4ca35 100644 --- a/example/peripheral/dma/ddma/configs/e2000q_aarch64_demo_ddma.config +++ b/example/peripheral/dma/ddma/configs/e2000q_aarch64_demo_ddma.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="ddma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +204,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -244,12 +245,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/ddma/configs/phytiumpi_aarch32_firefly_ddma.config b/example/peripheral/dma/ddma/configs/phytiumpi_aarch32_firefly_ddma.config index 49b7e6dcbe58d166d499324259e3e4e3f5bb3772..9899d8be7be31b8b87676a19f8efbd0749676616 100644 --- a/example/peripheral/dma/ddma/configs/phytiumpi_aarch32_firefly_ddma.config +++ b/example/peripheral/dma/ddma/configs/phytiumpi_aarch32_firefly_ddma.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="ddma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -254,12 +255,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/ddma/configs/phytiumpi_aarch64_firefly_ddma.config b/example/peripheral/dma/ddma/configs/phytiumpi_aarch64_firefly_ddma.config index ce24ffcd1e7a2d7cf620fbef3ba5ec5189263e5b..d1dd6f5a6babfc1a5fd56d9d9872550cf6a61f2a 100644 --- a/example/peripheral/dma/ddma/configs/phytiumpi_aarch64_firefly_ddma.config +++ b/example/peripheral/dma/ddma/configs/phytiumpi_aarch64_firefly_ddma.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="ddma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/ddma/makefile b/example/peripheral/dma/ddma/makefile index d1eea10c696e5fe644767b24f2b2945c521cadb2..11579fd3a6ad29e7dc16b82e2eac1444e0371843 100644 --- a/example/peripheral/dma/ddma/makefile +++ b/example/peripheral/dma/ddma/makefile @@ -19,7 +19,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/dma/ddma/sdkconfig b/example/peripheral/dma/ddma/sdkconfig index ce24ffcd1e7a2d7cf620fbef3ba5ec5189263e5b..d1dd6f5a6babfc1a5fd56d9d9872550cf6a61f2a 100644 --- a/example/peripheral/dma/ddma/sdkconfig +++ b/example/peripheral/dma/ddma/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="ddma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/ddma/sdkconfig.h b/example/peripheral/dma/ddma/sdkconfig.h index 06e5cd024630ceb5794a4b4b9a5b17947fcc03cf..b950c57323eb34de5fdfbfad5ed30a204d78f7f3 100644 --- a/example/peripheral/dma/ddma/sdkconfig.h +++ b/example/peripheral/dma/ddma/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -219,11 +219,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ #define CONFIG_FREERTOS_USE_FSPIM diff --git a/example/peripheral/dma/gdma/configs/e2000d_aarch32_demo_gdma.config b/example/peripheral/dma/gdma/configs/e2000d_aarch32_demo_gdma.config index f27162900127bc28f107f0b1a1eeb8dcbbaac8af..f93a362b5b675427ae3170ab8678076e5f9c8aa9 100644 --- a/example/peripheral/dma/gdma/configs/e2000d_aarch32_demo_gdma.config +++ b/example/peripheral/dma/gdma/configs/e2000d_aarch32_demo_gdma.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="gdma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -255,12 +256,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/gdma/configs/e2000d_aarch64_demo_gdma.config b/example/peripheral/dma/gdma/configs/e2000d_aarch64_demo_gdma.config index 153528447d526ad2f89af2a33eb145fb19e43e1d..29b647531f6a6f5e930f3240c27a4ce873acb8f3 100644 --- a/example/peripheral/dma/gdma/configs/e2000d_aarch64_demo_gdma.config +++ b/example/peripheral/dma/gdma/configs/e2000d_aarch64_demo_gdma.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="gdma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +204,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -244,12 +245,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/gdma/configs/e2000q_aarch32_demo_gdma.config b/example/peripheral/dma/gdma/configs/e2000q_aarch32_demo_gdma.config index 80414dec67dbfa40832698d267cbf1587ef0ce57..bb1339aef8e806ed8b98a1a24efe0f26ec74627a 100644 --- a/example/peripheral/dma/gdma/configs/e2000q_aarch32_demo_gdma.config +++ b/example/peripheral/dma/gdma/configs/e2000q_aarch32_demo_gdma.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="gdma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -254,12 +255,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/gdma/configs/e2000q_aarch64_demo_gdma.config b/example/peripheral/dma/gdma/configs/e2000q_aarch64_demo_gdma.config index 3dab1ecca28011fb6199921923657ea7d5f91fa6..845319b07b9ab1eedaadc605b1995ab59802c24d 100644 --- a/example/peripheral/dma/gdma/configs/e2000q_aarch64_demo_gdma.config +++ b/example/peripheral/dma/gdma/configs/e2000q_aarch64_demo_gdma.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="gdma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/gdma/configs/phytiumpi_aarch32_firefly_gdma.config b/example/peripheral/dma/gdma/configs/phytiumpi_aarch32_firefly_gdma.config index 10fca93234adcc3d822932e4ac0edf075196be3e..2cdfbf909c0c93668f6c3e05222a3e8395b0e47b 100644 --- a/example/peripheral/dma/gdma/configs/phytiumpi_aarch32_firefly_gdma.config +++ b/example/peripheral/dma/gdma/configs/phytiumpi_aarch32_firefly_gdma.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="gdma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/gdma/configs/phytiumpi_aarch64_firefly_gdma.config b/example/peripheral/dma/gdma/configs/phytiumpi_aarch64_firefly_gdma.config index bffc52ab79bb44c6f9896af36d696a983568b1c5..f360ba0b2ae8baa760be4f2812d49dc75a1f25f9 100644 --- a/example/peripheral/dma/gdma/configs/phytiumpi_aarch64_firefly_gdma.config +++ b/example/peripheral/dma/gdma/configs/phytiumpi_aarch64_firefly_gdma.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="gdma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/gdma/makefile b/example/peripheral/dma/gdma/makefile index d1eea10c696e5fe644767b24f2b2945c521cadb2..11579fd3a6ad29e7dc16b82e2eac1444e0371843 100644 --- a/example/peripheral/dma/gdma/makefile +++ b/example/peripheral/dma/gdma/makefile @@ -19,7 +19,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/dma/gdma/sdkconfig b/example/peripheral/dma/gdma/sdkconfig index bffc52ab79bb44c6f9896af36d696a983568b1c5..f360ba0b2ae8baa760be4f2812d49dc75a1f25f9 100644 --- a/example/peripheral/dma/gdma/sdkconfig +++ b/example/peripheral/dma/gdma/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="gdma" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/dma/gdma/sdkconfig.h b/example/peripheral/dma/gdma/sdkconfig.h index 9788056ce9c0865da220569b7d254e8797c4b3d6..388d560fcc2bd07209ef7024c2886d781707041b 100644 --- a/example/peripheral/dma/gdma/sdkconfig.h +++ b/example/peripheral/dma/gdma/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -218,11 +218,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/gpio/configs/d2000_aarch32_test_gpio.config b/example/peripheral/gpio/configs/d2000_aarch32_test_gpio.config index 25b8fff6397ecc1cce51062c897523ebb4ea41ab..e2e26034c4f11b20d4daa736204039ce147c81ef 100644 --- a/example/peripheral/gpio/configs/d2000_aarch32_test_gpio.config +++ b/example/peripheral/gpio/configs/d2000_aarch32_test_gpio.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -85,6 +86,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 diff --git a/example/peripheral/gpio/configs/d2000_aarch64_test_gpio.config b/example/peripheral/gpio/configs/d2000_aarch64_test_gpio.config index 0a8064d35893e18ceea493573115e3de1f05ac27..04897b56fdcb6520c7e493bb9e90cb715ce75312 100644 --- a/example/peripheral/gpio/configs/d2000_aarch64_test_gpio.config +++ b/example/peripheral/gpio/configs/d2000_aarch64_test_gpio.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -79,6 +80,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +190,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options diff --git a/example/peripheral/gpio/configs/e2000d_aarch32_demo_gpio.config b/example/peripheral/gpio/configs/e2000d_aarch32_demo_gpio.config index d228f6b83159785fe1c43418d2333075be3d1f6e..2221685a0ce853c69e690df07ba0a76c33e2bcfe 100644 --- a/example/peripheral/gpio/configs/e2000d_aarch32_demo_gpio.config +++ b/example/peripheral/gpio/configs/e2000d_aarch32_demo_gpio.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 diff --git a/example/peripheral/gpio/configs/e2000d_aarch64_demo_gpio.config b/example/peripheral/gpio/configs/e2000d_aarch64_demo_gpio.config index 4e519923ec63186766de357151b7d994c03b02f7..f48654f2e770df7df3c12b8eb04fc5e2b5a45d0f 100644 --- a/example/peripheral/gpio/configs/e2000d_aarch64_demo_gpio.config +++ b/example/peripheral/gpio/configs/e2000d_aarch64_demo_gpio.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options diff --git a/example/peripheral/gpio/configs/e2000q_aarch32_demo_gpio.config b/example/peripheral/gpio/configs/e2000q_aarch32_demo_gpio.config index 7b94d88be1158235e7763f82037c49120e641cac..c15250b77e957fe6996722af68a120f54324aca8 100644 --- a/example/peripheral/gpio/configs/e2000q_aarch32_demo_gpio.config +++ b/example/peripheral/gpio/configs/e2000q_aarch32_demo_gpio.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 diff --git a/example/peripheral/gpio/configs/e2000q_aarch64_demo_gpio.config b/example/peripheral/gpio/configs/e2000q_aarch64_demo_gpio.config index 76053a37b775467b313cbb1765a6f09c6dace6e9..10b111a69adb2916328a00e7a0f014e288a7e2a5 100644 --- a/example/peripheral/gpio/configs/e2000q_aarch64_demo_gpio.config +++ b/example/peripheral/gpio/configs/e2000q_aarch64_demo_gpio.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options diff --git a/example/peripheral/gpio/configs/phytiumpi_aarch32_firefly_gpio.config b/example/peripheral/gpio/configs/phytiumpi_aarch32_firefly_gpio.config index 2394dd530df46410155737742b985485347249d1..ce6b4229e18267a2f289de230accc447d1384cfa 100644 --- a/example/peripheral/gpio/configs/phytiumpi_aarch32_firefly_gpio.config +++ b/example/peripheral/gpio/configs/phytiumpi_aarch32_firefly_gpio.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 diff --git a/example/peripheral/gpio/configs/phytiumpi_aarch64_firefly_gpio.config b/example/peripheral/gpio/configs/phytiumpi_aarch64_firefly_gpio.config index 285769ffdab2e3ab25a73caae786368af90d4c7f..eb7a2bc1afa386829361c3141e2cb844725f454b 100644 --- a/example/peripheral/gpio/configs/phytiumpi_aarch64_firefly_gpio.config +++ b/example/peripheral/gpio/configs/phytiumpi_aarch64_firefly_gpio.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options diff --git a/example/peripheral/gpio/makefile b/example/peripheral/gpio/makefile index 8cdbb131737371bf472dd0695f73ceba32b2c1a4..7d8648d56925028498d523ada5d575ee23f46f24 100644 --- a/example/peripheral/gpio/makefile +++ b/example/peripheral/gpio/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/gpio/sdkconfig b/example/peripheral/gpio/sdkconfig index 285769ffdab2e3ab25a73caae786368af90d4c7f..eb7a2bc1afa386829361c3141e2cb844725f454b 100644 --- a/example/peripheral/gpio/sdkconfig +++ b/example/peripheral/gpio/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="gpio" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options diff --git a/example/peripheral/gpio/sdkconfig.h b/example/peripheral/gpio/sdkconfig.h index c24b49d1c45c3ea1e3889e727d7c3bf2d32b2b3a..55d8b3aef8073eb2435ffb59690716f06510f534 100644 --- a/example/peripheral/gpio/sdkconfig.h +++ b/example/peripheral/gpio/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -83,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ diff --git a/example/peripheral/i2c/configs/e2000d_aarch32_demo_i2c.config b/example/peripheral/i2c/configs/e2000d_aarch32_demo_i2c.config index fd2654eaa15ff76eca93f4d9109484ad32d908f0..f09f513c9f304306b2a4e85d7bc0295dbb0ff876 100644 --- a/example/peripheral/i2c/configs/e2000d_aarch32_demo_i2c.config +++ b/example/peripheral/i2c/configs/e2000d_aarch32_demo_i2c.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="i2c" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -215,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -261,12 +262,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2c/configs/e2000d_aarch64_demo_i2c.config b/example/peripheral/i2c/configs/e2000d_aarch64_demo_i2c.config index 49e99e7cb21947447e9f0040888458b4d3ca4d21..c5ec3864a2c413929ff6dc4cc877c93600242472 100644 --- a/example/peripheral/i2c/configs/e2000d_aarch64_demo_i2c.config +++ b/example/peripheral/i2c/configs/e2000d_aarch64_demo_i2c.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="i2c" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -250,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2c/configs/e2000q_aarch32_demo_i2c.config b/example/peripheral/i2c/configs/e2000q_aarch32_demo_i2c.config index 1c64e5fe2b8c6b8b89ea9c240e3631a6a5e1b086..28d439fc5198ec0e91c3335149b4c574e3421232 100644 --- a/example/peripheral/i2c/configs/e2000q_aarch32_demo_i2c.config +++ b/example/peripheral/i2c/configs/e2000q_aarch32_demo_i2c.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="i2c" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2c/configs/e2000q_aarch64_demo_i2c.config b/example/peripheral/i2c/configs/e2000q_aarch64_demo_i2c.config index 460a319cb7f26dda47a8615813391baafc7b851f..5d5bd4e5370ca538ea840e3dc0614124267de34b 100644 --- a/example/peripheral/i2c/configs/e2000q_aarch64_demo_i2c.config +++ b/example/peripheral/i2c/configs/e2000q_aarch64_demo_i2c.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="i2c" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2c/configs/phytiumpi_aarch32_firefly_i2c.config b/example/peripheral/i2c/configs/phytiumpi_aarch32_firefly_i2c.config index 64f05ed18542b4b1326052e6f0d34b1fcdf5d57f..ef0be5b8f22e7c9894e4cabe97f8ff20f9dba044 100644 --- a/example/peripheral/i2c/configs/phytiumpi_aarch32_firefly_i2c.config +++ b/example/peripheral/i2c/configs/phytiumpi_aarch32_firefly_i2c.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="i2c" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -213,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2c/configs/phytiumpi_aarch64_firefly_i2c.config b/example/peripheral/i2c/configs/phytiumpi_aarch64_firefly_i2c.config index e8f8fb2c30ba33f480f6cd1810970c6bca0848dd..8054cb5c687a66911be9abc91438d51e217f518d 100644 --- a/example/peripheral/i2c/configs/phytiumpi_aarch64_firefly_i2c.config +++ b/example/peripheral/i2c/configs/phytiumpi_aarch64_firefly_i2c.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="i2c" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2c/makefile b/example/peripheral/i2c/makefile index f51593a5e66ce8642c197506ee04f4ee4baab8a6..489905c0bbeddfe5eba54d17df92580afdee6b8b 100644 --- a/example/peripheral/i2c/makefile +++ b/example/peripheral/i2c/makefile @@ -30,7 +30,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/i2c/sdkconfig b/example/peripheral/i2c/sdkconfig index e8f8fb2c30ba33f480f6cd1810970c6bca0848dd..8054cb5c687a66911be9abc91438d51e217f518d 100644 --- a/example/peripheral/i2c/sdkconfig +++ b/example/peripheral/i2c/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="i2c" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2c/sdkconfig.h b/example/peripheral/i2c/sdkconfig.h index fd5195cf8326849c560a9e2bd049bd56b69bc9f4..f9da12e7d4c4993030668b5eeaf0dd50df336970 100644 --- a/example/peripheral/i2c/sdkconfig.h +++ b/example/peripheral/i2c/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -222,11 +222,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/i2c/src/i2c_ms_example.c b/example/peripheral/i2c/src/i2c_ms_example.c index 1a1627d9d7a52013d63ec1d23aa90be0dd454b14..4ab557391084dd78e2a020c92f7b57bef5c546e4 100644 --- a/example/peripheral/i2c/src/i2c_ms_example.c +++ b/example/peripheral/i2c/src/i2c_ms_example.c @@ -126,6 +126,8 @@ void FI2cOsSlaveCb(void *instance_p, void *para, u32 evt) case FI2C_EVT_SLAVE_STOP: case FI2C_EVT_SLAVE_WRITE_REQUESTED: slave_p->first_write = TRUE; + break; + case FI2C_EVT_SLAVE_ABORT: break; default: break; @@ -194,6 +196,19 @@ void FI2cOsSlaveWriteRequest(void *instance_p, void *para) FI2cOsSlaveCb(instance_p, para, FI2C_EVT_SLAVE_WRITE_REQUESTED); } +/** + * @name: FI2cOsSlaveAbort + * @msg: slave出现异常 + * @return {*} + * @param {void} *instance_p + * @param {void} *para + */ + +void FI2cOsSlaveAbort(void *instance_p, void *para) +{ + FI2cOsSlaveCb(instance_p, para, FI2C_EVT_SLAVE_ABORT); +} + /* * @name: FI2cIntrTxDone * @msg:user transmit FIFO done interrupt callback. @@ -388,6 +403,7 @@ static FError FFreeRTOSI2cInitSet(uint32_t id, uint32_t work_mode, uint32_t slav FI2cSlaveRegisterIntrHandler(&os_i2c_slave->i2c_device, FI2C_EVT_SLAVE_READ_REQUESTED, FI2cOsSlaveReadRequest); FI2cSlaveRegisterIntrHandler(&os_i2c_slave->i2c_device, FI2C_EVT_SLAVE_STOP, FI2cOsSlaveStop); FI2cSlaveRegisterIntrHandler(&os_i2c_slave->i2c_device, FI2C_EVT_SLAVE_WRITE_REQUESTED, FI2cOsSlaveWriteRequest); + FI2cSlaveRegisterIntrHandler(&os_i2c_slave->i2c_device, FI2C_EVT_SLAVE_ABORT, FI2cOsSlaveAbort); } return ret; diff --git a/example/peripheral/i2s/configs/e2000d_aarch32_demo_i2s.config b/example/peripheral/i2s/configs/e2000d_aarch32_demo_i2s.config index 22b2be5d620f939bbd896c15204f8567b6eba369..dcbb7c7ecfbe17ace4df22ce32ecfac6906585db 100644 --- a/example/peripheral/i2s/configs/e2000d_aarch32_demo_i2s.config +++ b/example/peripheral/i2s/configs/e2000d_aarch32_demo_i2s.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -51,6 +52,7 @@ CONFIG_TARGET_E2000D=y # CONFIG_TARGET_E2000S is not set # CONFIG_TARGET_FT2004 is not set # CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_PD2308 is not set CONFIG_SOC_NAME="e2000" CONFIG_TARGET_TYPE_NAME="d" CONFIG_SOC_CORE_NUM=2 @@ -59,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="i2s" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -171,6 +173,8 @@ CONFIG_USE_I2S=y CONFIG_USE_ES8336=y CONFIG_USE_FI2S=y # end of I2S Configuration + +# CONFIG_USE_I3C is not set # end of Drivers configuration # @@ -222,7 +226,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -268,12 +272,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2s/configs/e2000d_aarch64_demo_i2s.config b/example/peripheral/i2s/configs/e2000d_aarch64_demo_i2s.config index 3eb278444687f11dcbfd429e46dc84da20754c05..b053c47fcf8d6eeabbdecd7679a72f36c845a221 100644 --- a/example/peripheral/i2s/configs/e2000d_aarch64_demo_i2s.config +++ b/example/peripheral/i2s/configs/e2000d_aarch64_demo_i2s.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -45,6 +46,7 @@ CONFIG_TARGET_E2000D=y # CONFIG_TARGET_E2000S is not set # CONFIG_TARGET_FT2004 is not set # CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_PD2308 is not set CONFIG_SOC_NAME="e2000" CONFIG_TARGET_TYPE_NAME="d" CONFIG_SOC_CORE_NUM=2 @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="i2s" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -165,6 +167,8 @@ CONFIG_USE_I2S=y CONFIG_USE_ES8336=y CONFIG_USE_FI2S=y # end of I2S Configuration + +# CONFIG_USE_I3C is not set # end of Drivers configuration # @@ -216,7 +220,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -257,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2s/configs/e2000q_aarch32_demo_i2s.config b/example/peripheral/i2s/configs/e2000q_aarch32_demo_i2s.config index 36afb8fdb8f29fc4fb3fc9c577d58b3c22c658da..a0d394adeae1509017e976ab76c6ca327118f06d 100644 --- a/example/peripheral/i2s/configs/e2000q_aarch32_demo_i2s.config +++ b/example/peripheral/i2s/configs/e2000q_aarch32_demo_i2s.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -51,6 +52,7 @@ CONFIG_TARGET_E2000Q=y # CONFIG_TARGET_E2000S is not set # CONFIG_TARGET_FT2004 is not set # CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_PD2308 is not set CONFIG_SOC_NAME="e2000" CONFIG_TARGET_TYPE_NAME="q" CONFIG_SOC_CORE_NUM=4 @@ -59,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="i2s" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -170,6 +172,8 @@ CONFIG_USE_I2S=y CONFIG_USE_ES8336=y CONFIG_USE_FI2S=y # end of I2S Configuration + +# CONFIG_USE_I3C is not set # end of Drivers configuration # @@ -221,7 +225,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -267,12 +271,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2s/configs/e2000q_aarch64_demo_i2s.config b/example/peripheral/i2s/configs/e2000q_aarch64_demo_i2s.config index 4e44c1daf12b4c2b0c17f360f456c315329ca8e7..fc884d09cd37209babbae71804f6c22572e7b07a 100644 --- a/example/peripheral/i2s/configs/e2000q_aarch64_demo_i2s.config +++ b/example/peripheral/i2s/configs/e2000q_aarch64_demo_i2s.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -45,6 +46,7 @@ CONFIG_TARGET_E2000Q=y # CONFIG_TARGET_E2000S is not set # CONFIG_TARGET_FT2004 is not set # CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_PD2308 is not set CONFIG_SOC_NAME="e2000" CONFIG_TARGET_TYPE_NAME="q" CONFIG_SOC_CORE_NUM=4 @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="i2s" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -164,6 +166,8 @@ CONFIG_USE_I2S=y CONFIG_USE_ES8336=y CONFIG_USE_FI2S=y # end of I2S Configuration + +# CONFIG_USE_I3C is not set # end of Drivers configuration # @@ -215,7 +219,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -256,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2s/makefile b/example/peripheral/i2s/makefile index 8cdbb131737371bf472dd0695f73ceba32b2c1a4..7d8648d56925028498d523ada5d575ee23f46f24 100644 --- a/example/peripheral/i2s/makefile +++ b/example/peripheral/i2s/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/i2s/sdkconfig b/example/peripheral/i2s/sdkconfig index 4e44c1daf12b4c2b0c17f360f456c315329ca8e7..fc884d09cd37209babbae71804f6c22572e7b07a 100644 --- a/example/peripheral/i2s/sdkconfig +++ b/example/peripheral/i2s/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -45,6 +46,7 @@ CONFIG_TARGET_E2000Q=y # CONFIG_TARGET_E2000S is not set # CONFIG_TARGET_FT2004 is not set # CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_PD2308 is not set CONFIG_SOC_NAME="e2000" CONFIG_TARGET_TYPE_NAME="q" CONFIG_SOC_CORE_NUM=4 @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="i2s" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -164,6 +166,8 @@ CONFIG_USE_I2S=y CONFIG_USE_ES8336=y CONFIG_USE_FI2S=y # end of I2S Configuration + +# CONFIG_USE_I3C is not set # end of Drivers configuration # @@ -215,7 +219,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -256,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/i2s/sdkconfig.h b/example/peripheral/i2s/sdkconfig.h index 8f91f80757a3f3c516ef807a118700ca7fc89077..6a9aaa651bb11c435f6e7605137ff54ffc300730 100644 --- a/example/peripheral/i2s/sdkconfig.h +++ b/example/peripheral/i2s/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU #define CONFIG_BOOT_WITH_FLUSH_CACHE /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -43,6 +43,7 @@ /* CONFIG_TARGET_E2000S is not set */ /* CONFIG_TARGET_FT2004 is not set */ /* CONFIG_TARGET_D2000 is not set */ +/* CONFIG_TARGET_PD2308 is not set */ #define CONFIG_SOC_NAME "e2000" #define CONFIG_TARGET_TYPE_NAME "q" #define CONFIG_SOC_CORE_NUM 4 @@ -51,7 +52,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +84,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -150,6 +151,7 @@ #define CONFIG_USE_ES8336 #define CONFIG_USE_FI2S /* end of I2S Configuration */ +/* CONFIG_USE_I3C is not set */ /* end of Drivers configuration */ /* Build setup */ @@ -229,11 +231,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/media/lvgl_demo/configs/e2000d_aarch32_demo_media.config b/example/peripheral/media/lvgl_demo/configs/e2000d_aarch32_demo_media.config index a757c08a950eae97737edd6214db60e96cad2f33..75f3d8b715a82b622fcb38cc00f77f3da8869288 100644 --- a/example/peripheral/media/lvgl_demo/configs/e2000d_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_demo/configs/e2000d_aarch32_demo_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x100000000 +CONFIG_IMAGE_MAX_LENGTH=0x200000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_demo/configs/e2000d_aarch64_demo_media.config b/example/peripheral/media/lvgl_demo/configs/e2000d_aarch64_demo_media.config index ac7cf0f1eda79e83a8ef41e0f4fdba70063d23ed..1b0b25e96017f9c0fe76c0d218b3340f75f438cd 100644 --- a/example/peripheral/media/lvgl_demo/configs/e2000d_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_demo/configs/e2000d_aarch64_demo_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x100000000 +CONFIG_IMAGE_MAX_LENGTH=0x200000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_demo/configs/e2000q_aarch32_demo_media.config b/example/peripheral/media/lvgl_demo/configs/e2000q_aarch32_demo_media.config index 33ad8198ca1aad8f9106363deb5a4242a6fcc1cd..214452ca1ab33d346a682d40d7471c632c593062 100644 --- a/example/peripheral/media/lvgl_demo/configs/e2000q_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_demo/configs/e2000q_aarch32_demo_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -213,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x100000000 +CONFIG_IMAGE_MAX_LENGTH=0x200000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_demo/configs/e2000q_aarch64_demo_media.config b/example/peripheral/media/lvgl_demo/configs/e2000q_aarch64_demo_media.config index e7c0938eae43ba9f38490ad661af7fa74707f706..306f3fc2f1830ec7fc7a6389584d4a1f9af4998a 100644 --- a/example/peripheral/media/lvgl_demo/configs/e2000q_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_demo/configs/e2000q_aarch64_demo_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x100000000 +CONFIG_IMAGE_MAX_LENGTH=0x200000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch32_firefly_media.config b/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch32_firefly_media.config index 6c2d63a51569681e184891a78c1b6c8be94b30df..ad8d4f622c4f620350c0dfa8ac53b9ff8ace992e 100644 --- a/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch32_firefly_media.config +++ b/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch32_firefly_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -212,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x100000000 +CONFIG_IMAGE_MAX_LENGTH=0x200000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -258,12 +259,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch64_firefly_media.config b/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch64_firefly_media.config index fcacc39a255455f057f3b8250904580215583231..ef72a662262fdf3042fdd501a3492d945d3de9b4 100644 --- a/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch64_firefly_media.config +++ b/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch64_firefly_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x100000000 +CONFIG_IMAGE_MAX_LENGTH=0x200000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_demo/makefile b/example/peripheral/media/lvgl_demo/makefile index 941abe469ed0be7dc0390def62cecbeba1bb14d9..c34d5c423429bb4e3011ff5a7d308335e24ccd07 100644 --- a/example/peripheral/media/lvgl_demo/makefile +++ b/example/peripheral/media/lvgl_demo/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/media/lvgl_demo/sdkconfig b/example/peripheral/media/lvgl_demo/sdkconfig index fcacc39a255455f057f3b8250904580215583231..ef72a662262fdf3042fdd501a3492d945d3de9b4 100644 --- a/example/peripheral/media/lvgl_demo/sdkconfig +++ b/example/peripheral/media/lvgl_demo/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x100000000 +CONFIG_IMAGE_MAX_LENGTH=0x200000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_demo/sdkconfig.h b/example/peripheral/media/lvgl_demo/sdkconfig.h index 140071dd64e8629563eb542727637a48b07692de..f6dbcb03715cbca04c6a61801e7b48507bc898e7 100644 --- a/example/peripheral/media/lvgl_demo/sdkconfig.h +++ b/example/peripheral/media/lvgl_demo/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ #define CONFIG_LOG_DEBUG /* CONFIG_LOG_INFO is not set */ @@ -221,11 +221,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/media/lvgl_indev/configs/e2000d_aarch32_demo_media.config b/example/peripheral/media/lvgl_indev/configs/e2000d_aarch32_demo_media.config index 12c3bd9e227ba1e23ff2db0de0c8c733bea687c4..59068317155e836324f5a4f2a513d9c9547163c7 100644 --- a/example/peripheral/media/lvgl_indev/configs/e2000d_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_indev/configs/e2000d_aarch32_demo_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -215,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -261,12 +262,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_indev/configs/e2000d_aarch64_demo_media.config b/example/peripheral/media/lvgl_indev/configs/e2000d_aarch64_demo_media.config index dddc4aad6d5cf0077c541d91389d9c01f2c9db34..51d0ad2771cc5f2438ffad9d59468257bd4d600c 100644 --- a/example/peripheral/media/lvgl_indev/configs/e2000d_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_indev/configs/e2000d_aarch64_demo_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -209,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -250,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_indev/configs/e2000q_aarch32_demo_media.config b/example/peripheral/media/lvgl_indev/configs/e2000q_aarch32_demo_media.config index c1ca579a3282c6e3a0a79622bb16658b3aefe96d..82cda4ba90d3f247756c673c9758fb86c749331a 100644 --- a/example/peripheral/media/lvgl_indev/configs/e2000q_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_indev/configs/e2000q_aarch32_demo_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_indev/configs/e2000q_aarch64_demo_media.config b/example/peripheral/media/lvgl_indev/configs/e2000q_aarch64_demo_media.config index 9ce227b7a4cb03579ac73b2b2a8dafdbb5ff4ff7..a753898b5226f2a007a570f8293c26e0bb49fcda 100644 --- a/example/peripheral/media/lvgl_indev/configs/e2000q_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_indev/configs/e2000q_aarch64_demo_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch32_firefly_media.config b/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch32_firefly_media.config index 059e55b6261e309fc9daaeada832da6d582eeaa3..3339c98c8b0d672e3f02c56a3a9937bda41eab24 100644 --- a/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch32_firefly_media.config +++ b/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch32_firefly_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -213,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch64_firefly_media.config b/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch64_firefly_media.config index f4e30b8a69a9b11c57a5ccced5ed648cf88ddcdb..7ec6a0233bf65668ab0f64f9786b3bd69a75b3ca 100644 --- a/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch64_firefly_media.config +++ b/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch64_firefly_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_indev/makefile b/example/peripheral/media/lvgl_indev/makefile index d1eea10c696e5fe644767b24f2b2945c521cadb2..11579fd3a6ad29e7dc16b82e2eac1444e0371843 100644 --- a/example/peripheral/media/lvgl_indev/makefile +++ b/example/peripheral/media/lvgl_indev/makefile @@ -19,7 +19,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/media/lvgl_indev/sdkconfig b/example/peripheral/media/lvgl_indev/sdkconfig index f4e30b8a69a9b11c57a5ccced5ed648cf88ddcdb..7ec6a0233bf65668ab0f64f9786b3bd69a75b3ca 100644 --- a/example/peripheral/media/lvgl_indev/sdkconfig +++ b/example/peripheral/media/lvgl_indev/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_indev/sdkconfig.h b/example/peripheral/media/lvgl_indev/sdkconfig.h index 0f491ecc6e368e93db5c3d4848f3add4215475f5..d575253d6a29fae7f133b47c4f4d03fb554a3ae5 100644 --- a/example/peripheral/media/lvgl_indev/sdkconfig.h +++ b/example/peripheral/media/lvgl_indev/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ #define CONFIG_LOG_DEBUG /* CONFIG_LOG_INFO is not set */ @@ -222,11 +222,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/media/lvgl_ui/configs/e2000d_aarch32_demo_media.config b/example/peripheral/media/lvgl_ui/configs/e2000d_aarch32_demo_media.config index 12c3bd9e227ba1e23ff2db0de0c8c733bea687c4..59068317155e836324f5a4f2a513d9c9547163c7 100644 --- a/example/peripheral/media/lvgl_ui/configs/e2000d_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_ui/configs/e2000d_aarch32_demo_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -215,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -261,12 +262,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_ui/configs/e2000d_aarch64_demo_media.config b/example/peripheral/media/lvgl_ui/configs/e2000d_aarch64_demo_media.config index dddc4aad6d5cf0077c541d91389d9c01f2c9db34..51d0ad2771cc5f2438ffad9d59468257bd4d600c 100644 --- a/example/peripheral/media/lvgl_ui/configs/e2000d_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_ui/configs/e2000d_aarch64_demo_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -209,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -250,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_ui/configs/e2000q_aarch32_demo_media.config b/example/peripheral/media/lvgl_ui/configs/e2000q_aarch32_demo_media.config index c1ca579a3282c6e3a0a79622bb16658b3aefe96d..82cda4ba90d3f247756c673c9758fb86c749331a 100644 --- a/example/peripheral/media/lvgl_ui/configs/e2000q_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_ui/configs/e2000q_aarch32_demo_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_ui/configs/e2000q_aarch64_demo_media.config b/example/peripheral/media/lvgl_ui/configs/e2000q_aarch64_demo_media.config index 9ce227b7a4cb03579ac73b2b2a8dafdbb5ff4ff7..a753898b5226f2a007a570f8293c26e0bb49fcda 100644 --- a/example/peripheral/media/lvgl_ui/configs/e2000q_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_ui/configs/e2000q_aarch64_demo_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_ui/configs/phytiumpi_aarch32_firefly_media.config b/example/peripheral/media/lvgl_ui/configs/phytiumpi_aarch32_firefly_media.config index 059e55b6261e309fc9daaeada832da6d582eeaa3..3339c98c8b0d672e3f02c56a3a9937bda41eab24 100644 --- a/example/peripheral/media/lvgl_ui/configs/phytiumpi_aarch32_firefly_media.config +++ b/example/peripheral/media/lvgl_ui/configs/phytiumpi_aarch32_firefly_media.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -213,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_ui/configs/phytiumpi_aarch64_firefly_media.config b/example/peripheral/media/lvgl_ui/configs/phytiumpi_aarch64_firefly_media.config index f4e30b8a69a9b11c57a5ccced5ed648cf88ddcdb..7ec6a0233bf65668ab0f64f9786b3bd69a75b3ca 100644 --- a/example/peripheral/media/lvgl_ui/configs/phytiumpi_aarch64_firefly_media.config +++ b/example/peripheral/media/lvgl_ui/configs/phytiumpi_aarch64_firefly_media.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_ui/makefile b/example/peripheral/media/lvgl_ui/makefile index f4552994e93140b5ddb425df78075f39cd60f172..ff678fc9627d60e8dd977fcc6ca1830e52ccbec1 100644 --- a/example/peripheral/media/lvgl_ui/makefile +++ b/example/peripheral/media/lvgl_ui/makefile @@ -22,7 +22,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/media/lvgl_ui/sdkconfig b/example/peripheral/media/lvgl_ui/sdkconfig index f4e30b8a69a9b11c57a5ccced5ed648cf88ddcdb..7ec6a0233bf65668ab0f64f9786b3bd69a75b3ca 100644 --- a/example/peripheral/media/lvgl_ui/sdkconfig +++ b/example/peripheral/media/lvgl_ui/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/lvgl_ui/sdkconfig.h b/example/peripheral/media/lvgl_ui/sdkconfig.h index 0f491ecc6e368e93db5c3d4848f3add4215475f5..d575253d6a29fae7f133b47c4f4d03fb554a3ae5 100644 --- a/example/peripheral/media/lvgl_ui/sdkconfig.h +++ b/example/peripheral/media/lvgl_ui/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ #define CONFIG_LOG_DEBUG /* CONFIG_LOG_INFO is not set */ @@ -222,11 +222,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_freertos.config b/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_freertos.config index ebee1e68b79e024ab514edaa9cd0f8c99b7ad5cc..5c1f1468d66613bb81961a9840e0c64bd87b1350 100644 --- a/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_freertos.config +++ b/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_freertos.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="freertos" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -213,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_media.config b/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_media.config index e1cbffd1f7343b4f84786d96547ea4a5d4d87f91..7802b2b807437a9dc52fb92c396f2e2037a459a6 100644 --- a/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_media.config +++ b/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_media.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -213,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_freertos.config b/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_freertos.config index 7c8e47fef1c91f6ca426bae57bf4ebbdbdb95c4d..7491c18b46947e8e02cee6fa8908e12d4c219d6b 100644 --- a/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_freertos.config +++ b/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_freertos.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="freertos" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -207,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_media.config b/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_media.config index d9d427b79de6255df94ec8d84591718cd2eb29ab..47d1f3b64acaebaf6fc375ee7875b18d401985b1 100644 --- a/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_media.config +++ b/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_media.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -207,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_freertos.config b/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_freertos.config index 2aed70f11a7fdab3091db456244e26dff0539978..268e8cf2279d10ea8bb2254775884b862d9738c7 100644 --- a/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_freertos.config +++ b/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_freertos.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="freertos" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -212,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -258,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_media.config b/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_media.config index 2d8d946c7fad44be3f83968a17afd928b5a2fb3e..d5fd1b5a8b979c13f765654b01340256ee425230 100644 --- a/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_media.config +++ b/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_media.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -212,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -258,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_freertos.config b/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_freertos.config index bd3c0f16efc41713559b3c3f8b7c601510074399..5b038189a37ae4d7a8b07964fbd60eb500b6904c 100644 --- a/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_freertos.config +++ b/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_freertos.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="freertos" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -206,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_media.config b/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_media.config index cf7382b0dfce2a72f8b499b75d617901a868613d..456bbec5d7d0aa0469e7e1c7784d474aeff8c0f8 100644 --- a/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_media.config +++ b/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_media.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -206,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_freertos.config b/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_freertos.config index a55f6edee4df7559bbf16361255cc34d166cdb56..5c7d8ffef9195354ca967205c5069773f226f6b7 100644 --- a/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_freertos.config +++ b/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_freertos.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -58,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="freertos" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -211,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -257,12 +259,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_media.config b/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_media.config index 0c950fdaddd49392f15ed77d430d7f5d934bb2cb..201a6d8a59fdfcf1d43b23d34f4cd78597c15ed5 100644 --- a/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_media.config +++ b/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_media.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -58,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -211,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -257,12 +259,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_freertos.config b/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_freertos.config index f439d643952fa7fe8a3c6efcdc04bf375940b04e..87720f592c019d34a5d3979d93bbe02bb5fd0593 100644 --- a/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_freertos.config +++ b/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_freertos.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -52,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="freertos" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_media.config b/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_media.config index 95e355f164d84712d120343a6198937c4fc40233..6420a648463dd7fc6036d47681760a379e24e0a1 100644 --- a/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_media.config +++ b/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_media.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -52,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/makefile b/example/peripheral/media/media_test/makefile index d1eea10c696e5fe644767b24f2b2945c521cadb2..11579fd3a6ad29e7dc16b82e2eac1444e0371843 100644 --- a/example/peripheral/media/media_test/makefile +++ b/example/peripheral/media/media_test/makefile @@ -19,7 +19,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/media/media_test/sdkconfig b/example/peripheral/media/media_test/sdkconfig index 95e355f164d84712d120343a6198937c4fc40233..6420a648463dd7fc6036d47681760a379e24e0a1 100644 --- a/example/peripheral/media/media_test/sdkconfig +++ b/example/peripheral/media/media_test/sdkconfig @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -52,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="media" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x10000000 +CONFIG_IMAGE_MAX_LENGTH=0x20000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/media/media_test/sdkconfig.h b/example/peripheral/media/media_test/sdkconfig.h index d8dbd1c673ddc00753a4cbe1b1c6f844249d1445..089bcecb2fd257ce726a454ceb0b09972339f510 100644 --- a/example/peripheral/media/media_test/sdkconfig.h +++ b/example/peripheral/media/media_test/sdkconfig.h @@ -28,10 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -/* CONFIG_USE_CACHE is not set */ /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -50,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -83,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ #define CONFIG_LOG_DEBUG /* CONFIG_LOG_INFO is not set */ @@ -220,11 +221,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/pwm/configs/e2000d_aarch32_demo_pwm.config b/example/peripheral/pwm/configs/e2000d_aarch32_demo_pwm.config index d019454b56817b858b1e7fea60f0833476eb6467..4d13b45ac4bdab8454c09d3966059e9306e8c12e 100644 --- a/example/peripheral/pwm/configs/e2000d_aarch32_demo_pwm.config +++ b/example/peripheral/pwm/configs/e2000d_aarch32_demo_pwm.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="pwm" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +261,6 @@ CONFIG_FREERTOS_USE_PWM=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/pwm/configs/e2000d_aarch64_demo_pwm.config b/example/peripheral/pwm/configs/e2000d_aarch64_demo_pwm.config index 8ba07775a9f1bcdd9079e7d9771b59dacfd487ba..77ed1647ce7ae06facfbf9a2c304133489d393c5 100644 --- a/example/peripheral/pwm/configs/e2000d_aarch64_demo_pwm.config +++ b/example/peripheral/pwm/configs/e2000d_aarch64_demo_pwm.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="pwm" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_PWM=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/pwm/configs/e2000q_aarch32_demo_pwm.config b/example/peripheral/pwm/configs/e2000q_aarch32_demo_pwm.config index 00c693a57244a85ba97891be0e598a4bcb71cd5d..086d04b531e3487e807733671457ab9bcd9316c6 100644 --- a/example/peripheral/pwm/configs/e2000q_aarch32_demo_pwm.config +++ b/example/peripheral/pwm/configs/e2000q_aarch32_demo_pwm.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="pwm" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -213,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +260,6 @@ CONFIG_FREERTOS_USE_PWM=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/pwm/configs/e2000q_aarch64_demo_pwm.config b/example/peripheral/pwm/configs/e2000q_aarch64_demo_pwm.config index 6b2020f2ae996ccc4522eab3445ee21c491bc97b..1b89afe0cfe53e3aa99338c57a002a5eea69a4c7 100644 --- a/example/peripheral/pwm/configs/e2000q_aarch64_demo_pwm.config +++ b/example/peripheral/pwm/configs/e2000q_aarch64_demo_pwm.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="pwm" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_PWM=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/pwm/configs/phytiumpi_aarch32_firefly_pwm.config b/example/peripheral/pwm/configs/phytiumpi_aarch32_firefly_pwm.config index 402834c7aad7e6b5f59ac5848c4340b6fbd5b7f6..af0d1f6d0c37c4e09051c7928310b027f62e8919 100644 --- a/example/peripheral/pwm/configs/phytiumpi_aarch32_firefly_pwm.config +++ b/example/peripheral/pwm/configs/phytiumpi_aarch32_firefly_pwm.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="pwm" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -212,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -258,12 +259,6 @@ CONFIG_FREERTOS_USE_PWM=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/pwm/configs/phytiumpi_aarch64_firefly_pwm.config b/example/peripheral/pwm/configs/phytiumpi_aarch64_firefly_pwm.config index a5d78bbbd5fe350cd99e18b1ee7d5564e35f1e45..f573d7d1acef671b9ba2849d2c4b1eceda1c724c 100644 --- a/example/peripheral/pwm/configs/phytiumpi_aarch64_firefly_pwm.config +++ b/example/peripheral/pwm/configs/phytiumpi_aarch64_firefly_pwm.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="pwm" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_PWM=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/pwm/makefile b/example/peripheral/pwm/makefile index dde32d4bb62c074bbbf559bff818f4a2a1826b43..7a07f00face28648bfc3b665864d5d878285e233 100644 --- a/example/peripheral/pwm/makefile +++ b/example/peripheral/pwm/makefile @@ -25,7 +25,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/pwm/sdkconfig b/example/peripheral/pwm/sdkconfig index a5d78bbbd5fe350cd99e18b1ee7d5564e35f1e45..f573d7d1acef671b9ba2849d2c4b1eceda1c724c 100644 --- a/example/peripheral/pwm/sdkconfig +++ b/example/peripheral/pwm/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="pwm" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_PWM=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/pwm/sdkconfig.h b/example/peripheral/pwm/sdkconfig.h index d430f50a284bc7f602ef615841204d06df4bc380..7686e1781a5bf963ff48b33ce8bf252806206125 100644 --- a/example/peripheral/pwm/sdkconfig.h +++ b/example/peripheral/pwm/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -221,11 +221,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/qspi/configs/d2000_aarch32_test_qspi.config b/example/peripheral/qspi/configs/d2000_aarch32_test_qspi.config index b15ffdc9e282c6a7d7061acd1640ec2a779d369e..564c7816df5bf468eaa6ddb4631aed33aeb29195 100644 --- a/example/peripheral/qspi/configs/d2000_aarch32_test_qspi.config +++ b/example/peripheral/qspi/configs/d2000_aarch32_test_qspi.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/d2000_aarch64_test_qspi.config b/example/peripheral/qspi/configs/d2000_aarch64_test_qspi.config index 6f1d6ead0c6f1671261e9fa483425cf8a1d88553..98b82721d71c22615b76b4ae04dcfdcd792f215e 100644 --- a/example/peripheral/qspi/configs/d2000_aarch64_test_qspi.config +++ b/example/peripheral/qspi/configs/d2000_aarch64_test_qspi.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -195,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -236,12 +237,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/e2000d_aarch32_demo_qspi.config b/example/peripheral/qspi/configs/e2000d_aarch32_demo_qspi.config index 7ead9d424d2a363c0617c5216f1cd3c3a9bf764a..54507102ca09dc86cfbc31312a1a3508b526dc2c 100644 --- a/example/peripheral/qspi/configs/e2000d_aarch32_demo_qspi.config +++ b/example/peripheral/qspi/configs/e2000d_aarch32_demo_qspi.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +261,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/e2000d_aarch64_demo_qspi.config b/example/peripheral/qspi/configs/e2000d_aarch64_demo_qspi.config index ea1849ceeb870c1bfd54d4a1538dff54f1028ab7..5c5d00b0e8c7e53a1e5a30633cff0172ae6855dd 100644 --- a/example/peripheral/qspi/configs/e2000d_aarch64_demo_qspi.config +++ b/example/peripheral/qspi/configs/e2000d_aarch64_demo_qspi.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/e2000q_aarch32_demo_qspi.config b/example/peripheral/qspi/configs/e2000q_aarch32_demo_qspi.config index 51e7d93ea8705281b6ce1195a048dd583fa211f2..66a73d424dc5fd6a720e1ebd00c1dda1bc77fbe4 100644 --- a/example/peripheral/qspi/configs/e2000q_aarch32_demo_qspi.config +++ b/example/peripheral/qspi/configs/e2000q_aarch32_demo_qspi.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -213,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +260,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/e2000q_aarch64_demo_qspi.config b/example/peripheral/qspi/configs/e2000q_aarch64_demo_qspi.config index fb44ed49bcafc287a31ba931bb77ea115e1fab68..6e7dad6bb32464d69aaece176a2cda1469320e74 100644 --- a/example/peripheral/qspi/configs/e2000q_aarch64_demo_qspi.config +++ b/example/peripheral/qspi/configs/e2000q_aarch64_demo_qspi.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/ft2004_aarch32_dsk_qspi.config b/example/peripheral/qspi/configs/ft2004_aarch32_dsk_qspi.config index e28789c33b0c9c72aa262edeac12d2c64850a004..c544fca5418bbfa863a0ec9272ab03423ca599fa 100644 --- a/example/peripheral/qspi/configs/ft2004_aarch32_dsk_qspi.config +++ b/example/peripheral/qspi/configs/ft2004_aarch32_dsk_qspi.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/ft2004_aarch64_dsk_qspi.config b/example/peripheral/qspi/configs/ft2004_aarch64_dsk_qspi.config index 134e536c44ff72f7dba35622bd79d0f8343ad101..d3aee07996dcac1048e9be0c5b40ddb433335f34 100644 --- a/example/peripheral/qspi/configs/ft2004_aarch64_dsk_qspi.config +++ b/example/peripheral/qspi/configs/ft2004_aarch64_dsk_qspi.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -195,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -236,12 +237,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/phytiumpi_aarch32_firefly_qspi.config b/example/peripheral/qspi/configs/phytiumpi_aarch32_firefly_qspi.config index ad8ded341254471cf250897c4e03eb36760e96fb..4d6817c21299dccb7b040a69c8181dcbb44ade9c 100644 --- a/example/peripheral/qspi/configs/phytiumpi_aarch32_firefly_qspi.config +++ b/example/peripheral/qspi/configs/phytiumpi_aarch32_firefly_qspi.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -212,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -258,12 +259,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/configs/phytiumpi_aarch64_firefly_qspi.config b/example/peripheral/qspi/configs/phytiumpi_aarch64_firefly_qspi.config index 6c26457be717cf8f43657af5156110c2fd1cefc7..37275ee9b7889a0b26eed49c6847d6fb0bb33387 100644 --- a/example/peripheral/qspi/configs/phytiumpi_aarch64_firefly_qspi.config +++ b/example/peripheral/qspi/configs/phytiumpi_aarch64_firefly_qspi.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/makefile b/example/peripheral/qspi/makefile index 02a36e43e035060c37c71b6e180110fb293ad571..d87ae3e2d14a321bf217bcd34152bf218f74e790 100644 --- a/example/peripheral/qspi/makefile +++ b/example/peripheral/qspi/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/qspi/sdkconfig b/example/peripheral/qspi/sdkconfig index 6c26457be717cf8f43657af5156110c2fd1cefc7..37275ee9b7889a0b26eed49c6847d6fb0bb33387 100644 --- a/example/peripheral/qspi/sdkconfig +++ b/example/peripheral/qspi/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="qspi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/qspi/sdkconfig.h b/example/peripheral/qspi/sdkconfig.h index ea830ae91682c6d9d9d840224c599ac0d8f0ee1b..328f41ab59ff6a7ea7bfb3af4f09ec3a467e0666 100644 --- a/example/peripheral/qspi/sdkconfig.h +++ b/example/peripheral/qspi/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -221,11 +221,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/sdif/configs/e2000d_aarch32_demo_sdif.config b/example/peripheral/sdif/configs/e2000d_aarch32_demo_sdif.config index fa03cad2def5f739d7ad73248683f8e52e341d81..f207c9001cf8e1654a9552e414bdac63b65af3ab 100644 --- a/example/peripheral/sdif/configs/e2000d_aarch32_demo_sdif.config +++ b/example/peripheral/sdif/configs/e2000d_aarch32_demo_sdif.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="sdif" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -255,12 +256,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/sdif/configs/e2000d_aarch64_demo_sdif.config b/example/peripheral/sdif/configs/e2000d_aarch64_demo_sdif.config index b65113ef24f78f5d927bddb82c9ec65461760298..15f0b00e1676b88f2914a6f9d68b010620a02d4d 100644 --- a/example/peripheral/sdif/configs/e2000d_aarch64_demo_sdif.config +++ b/example/peripheral/sdif/configs/e2000d_aarch64_demo_sdif.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="sdif" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +204,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -244,12 +245,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/sdif/configs/e2000q_aarch32_demo_sdif.config b/example/peripheral/sdif/configs/e2000q_aarch32_demo_sdif.config index 13647d2db15180397ed7e2b6422526321f3d5181..507e233e26c02191a9b7138699e4adb70159ba35 100644 --- a/example/peripheral/sdif/configs/e2000q_aarch32_demo_sdif.config +++ b/example/peripheral/sdif/configs/e2000q_aarch32_demo_sdif.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="sdif" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -254,12 +255,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/sdif/configs/e2000q_aarch64_demo_sdif.config b/example/peripheral/sdif/configs/e2000q_aarch64_demo_sdif.config index 3326b6b6d725bd6793dda5817555935d1906fa92..7e78f9034641e8afe80f80a83a68478e49a08d0c 100644 --- a/example/peripheral/sdif/configs/e2000q_aarch64_demo_sdif.config +++ b/example/peripheral/sdif/configs/e2000q_aarch64_demo_sdif.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="sdif" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/sdif/makefile b/example/peripheral/sdif/makefile index a6e4a04dac36979fae7433102a9b6357801bc275..3d544850bb7ea391c48aa795e20d7a0e69dcad18 100644 --- a/example/peripheral/sdif/makefile +++ b/example/peripheral/sdif/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/sdif/sdkconfig b/example/peripheral/sdif/sdkconfig index 3326b6b6d725bd6793dda5817555935d1906fa92..7e78f9034641e8afe80f80a83a68478e49a08d0c 100644 --- a/example/peripheral/sdif/sdkconfig +++ b/example/peripheral/sdif/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="sdif" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/sdif/sdkconfig.h b/example/peripheral/sdif/sdkconfig.h index 93f750f773d115ec789d58a6004ea3da4cb95b26..03278577fe67e9aebc9efde23a37fc2d87aa2275 100644 --- a/example/peripheral/sdif/sdkconfig.h +++ b/example/peripheral/sdif/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -52,7 +52,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -85,6 +84,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -219,11 +219,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/spi/configs/e2000d_aarch32_demo_spi.config b/example/peripheral/spi/configs/e2000d_aarch32_demo_spi.config index b49942782271dc8cc3d9bb9d3f22a3bf8b6f243c..a62f3f59829a1418666f0de3620ab6ad67d79482 100644 --- a/example/peripheral/spi/configs/e2000d_aarch32_demo_spi.config +++ b/example/peripheral/spi/configs/e2000d_aarch32_demo_spi.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="spi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -254,12 +255,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -341,6 +336,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y # CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set CONFIG_SFUD_TRANS_MODE_INTRRUPT=y +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/peripheral/spi/configs/e2000d_aarch64_demo_spi.config b/example/peripheral/spi/configs/e2000d_aarch64_demo_spi.config index 63e7fb44d1c1aa6875db1bbf016a192242db6308..ddac73f3588454283f2085050702d3b454b01d1f 100644 --- a/example/peripheral/spi/configs/e2000d_aarch64_demo_spi.config +++ b/example/peripheral/spi/configs/e2000d_aarch64_demo_spi.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="spi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -330,6 +325,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y # CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set CONFIG_SFUD_TRANS_MODE_INTRRUPT=y +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/peripheral/spi/configs/e2000q_aarch32_demo_spi.config b/example/peripheral/spi/configs/e2000q_aarch32_demo_spi.config index 7ef75f513654921a78888f7568c326ebb61b3ca2..122d23f281cc58110d4cef90b671d5378ff30a47 100644 --- a/example/peripheral/spi/configs/e2000q_aarch32_demo_spi.config +++ b/example/peripheral/spi/configs/e2000q_aarch32_demo_spi.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="spi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -340,6 +335,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y # CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set CONFIG_SFUD_TRANS_MODE_INTRRUPT=y +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/peripheral/spi/configs/e2000q_aarch64_demo_spi.config b/example/peripheral/spi/configs/e2000q_aarch64_demo_spi.config index aeeb7f037e1b74266b3e1b9e71d2d25ab668bac0..47290e7f0a5ba3124604dd0682c3210949766333 100644 --- a/example/peripheral/spi/configs/e2000q_aarch64_demo_spi.config +++ b/example/peripheral/spi/configs/e2000q_aarch64_demo_spi.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="spi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -329,6 +324,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y # CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set CONFIG_SFUD_TRANS_MODE_INTRRUPT=y +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/peripheral/spi/configs/phytiumpi_aarch32_firefly_spi.config b/example/peripheral/spi/configs/phytiumpi_aarch32_firefly_spi.config index 86c0ebd4ea89ab4473b424e85f64e000aa932ffa..7e5b4daf29dec6df3a45b955d93c7c43eb1092fc 100644 --- a/example/peripheral/spi/configs/phytiumpi_aarch32_firefly_spi.config +++ b/example/peripheral/spi/configs/phytiumpi_aarch32_firefly_spi.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="spi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -339,6 +334,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y # CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set CONFIG_SFUD_TRANS_MODE_INTRRUPT=y +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/peripheral/spi/configs/phytiumpi_aarch64_firefly_spi.config b/example/peripheral/spi/configs/phytiumpi_aarch64_firefly_spi.config index 1154c0aa0a937c9f93b815558caf70562fec5616..79dbdd46b58ae17b0d2fecdfc28239fc08cde13f 100644 --- a/example/peripheral/spi/configs/phytiumpi_aarch64_firefly_spi.config +++ b/example/peripheral/spi/configs/phytiumpi_aarch64_firefly_spi.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="spi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -328,6 +323,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y # CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set CONFIG_SFUD_TRANS_MODE_INTRRUPT=y +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/peripheral/spi/makefile b/example/peripheral/spi/makefile index 13c14898d0f8ad5159f3e5baa6067deda58349eb..92052c5942e04b8e61860dc5c8bbbefca925ff93 100644 --- a/example/peripheral/spi/makefile +++ b/example/peripheral/spi/makefile @@ -19,7 +19,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/spi/sdkconfig b/example/peripheral/spi/sdkconfig index 1154c0aa0a937c9f93b815558caf70562fec5616..79dbdd46b58ae17b0d2fecdfc28239fc08cde13f 100644 --- a/example/peripheral/spi/sdkconfig +++ b/example/peripheral/spi/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="spi" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -328,6 +323,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y # CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set CONFIG_SFUD_TRANS_MODE_INTRRUPT=y +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/peripheral/spi/sdkconfig.h b/example/peripheral/spi/sdkconfig.h index 7b32d4c72312d73d79126e26fb0ab0e476ded1d7..d9f280000c28f1b8f12e4bbf913a6b3e43531562 100644 --- a/example/peripheral/spi/sdkconfig.h +++ b/example/peripheral/spi/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -217,11 +217,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ #define CONFIG_FREERTOS_USE_FSPIM @@ -290,6 +285,7 @@ #define CONFIG_SFUD_CTRL_FSPIM /* CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set */ #define CONFIG_SFUD_TRANS_MODE_INTRRUPT +/* CONFIG_SFUD_TRANS_MODE_DDMA is not set */ /* CONFIG_SFUD_CTRL_FQSPI is not set */ /* end of Sfud configuration */ #define CONFIG_USE_BACKTRACE diff --git a/example/peripheral/timer_tacho/configs/e2000d_aarch32_demo_timer.config b/example/peripheral/timer_tacho/configs/e2000d_aarch32_demo_timer.config index 79329c85bc143a22af6fc3d9a5fb66168e378469..5d07aeda6a3036cb988cf3cbd882bdd65a92d594 100644 --- a/example/peripheral/timer_tacho/configs/e2000d_aarch32_demo_timer.config +++ b/example/peripheral/timer_tacho/configs/e2000d_aarch32_demo_timer.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -213,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/timer_tacho/configs/e2000d_aarch64_demo_timer.config b/example/peripheral/timer_tacho/configs/e2000d_aarch64_demo_timer.config index 49f59c60351b4c6b89b8a10b0b1c2ed64715560e..c6f26ee00c96c6b16d82ececa0fcd5b5d8a7d147 100644 --- a/example/peripheral/timer_tacho/configs/e2000d_aarch64_demo_timer.config +++ b/example/peripheral/timer_tacho/configs/e2000d_aarch64_demo_timer.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +250,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/timer_tacho/configs/e2000q_aarch32_demo_timer.config b/example/peripheral/timer_tacho/configs/e2000q_aarch32_demo_timer.config index eed10f04fffeb857c0ce260eb5d0e3852ce4ecfc..317583f89dc6b9529cb7b3cc4535be0e5c84068a 100644 --- a/example/peripheral/timer_tacho/configs/e2000q_aarch32_demo_timer.config +++ b/example/peripheral/timer_tacho/configs/e2000q_aarch32_demo_timer.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -212,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -258,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/timer_tacho/configs/e2000q_aarch64_demo_timer.config b/example/peripheral/timer_tacho/configs/e2000q_aarch64_demo_timer.config index 18bbcf9a01181da6c90a5832cbb745f57acf2c10..20a9f848352a9901cb9b1916ae21b5cd2caed745 100644 --- a/example/peripheral/timer_tacho/configs/e2000q_aarch64_demo_timer.config +++ b/example/peripheral/timer_tacho/configs/e2000q_aarch64_demo_timer.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -247,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/timer_tacho/configs/phytiumpi_aarch32_firefly_timer.config b/example/peripheral/timer_tacho/configs/phytiumpi_aarch32_firefly_timer.config index a7f23fae684cb480a4a336d30cafb96d82bdef45..0f312a669a914ee69f5d5f98a2e20f9b55b0a53f 100644 --- a/example/peripheral/timer_tacho/configs/phytiumpi_aarch32_firefly_timer.config +++ b/example/peripheral/timer_tacho/configs/phytiumpi_aarch32_firefly_timer.config @@ -36,9 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -# CONFIG_USE_CACHE is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -58,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -211,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -257,12 +259,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/timer_tacho/configs/phytiumpi_aarch64_firefly_timer.config b/example/peripheral/timer_tacho/configs/phytiumpi_aarch64_firefly_timer.config index 2614b06f18ae2fb55faf483d20e89ee5b69a2362..d7742c33e43c810aadcf88e0fe682327c600b85e 100644 --- a/example/peripheral/timer_tacho/configs/phytiumpi_aarch64_firefly_timer.config +++ b/example/peripheral/timer_tacho/configs/phytiumpi_aarch64_firefly_timer.config @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -52,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/timer_tacho/makefile b/example/peripheral/timer_tacho/makefile index f97df75c431a0c0cd79668750744b79a9ccff765..a5c3ae3031f9db19865231d85b7ef6726edd4604 100644 --- a/example/peripheral/timer_tacho/makefile +++ b/example/peripheral/timer_tacho/makefile @@ -19,7 +19,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/timer_tacho/sdkconfig b/example/peripheral/timer_tacho/sdkconfig index 2614b06f18ae2fb55faf483d20e89ee5b69a2362..d7742c33e43c810aadcf88e0fe682327c600b85e 100644 --- a/example/peripheral/timer_tacho/sdkconfig +++ b/example/peripheral/timer_tacho/sdkconfig @@ -29,10 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -# CONFIG_USE_CACHE is not set # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -52,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="timer" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/timer_tacho/sdkconfig.h b/example/peripheral/timer_tacho/sdkconfig.h index f4b59db32c9543ef604dd95fd893d4ddca97d634..831f4b31e3686529fbc1af165e53f6d8ee4d7399 100644 --- a/example/peripheral/timer_tacho/sdkconfig.h +++ b/example/peripheral/timer_tacho/sdkconfig.h @@ -28,10 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -/* CONFIG_USE_CACHE is not set */ /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -50,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -83,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -220,11 +221,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch32_demo_cherry_usb.config b/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch32_demo_cherry_usb.config index 88f4008d6504ab997f386a11f451a2a272f1959f..fb424396d0d44e652d109f230b192e7e548e7ea0 100644 --- a/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch32_demo_cherry_usb.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -215,7 +217,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -261,12 +263,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch64_demo_cherry_usb.config b/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch64_demo_cherry_usb.config index 8136738eaf50d3d15b672466f1dfe917edee8cff..b18dd2b7d6f098dd809b25e5dbe2a25ca1f6e85f 100644 --- a/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch64_demo_cherry_usb.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +211,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -250,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch32_demo_cherry_usb.config b/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch32_demo_cherry_usb.config index 40dc34b6922affab8d82114a7e1c8b7587808fc1..ab6096ca75719c9ce556bb038df3f4b19a137a7d 100644 --- a/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch32_demo_cherry_usb.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -214,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +262,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch64_demo_cherry_usb.config b/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch64_demo_cherry_usb.config index a8795ebe45a6f9a82d95214c95ae43228e7e6b09..e7b3d67554ed7f47b8a6c52d51a741544e71e303 100644 --- a/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch64_demo_cherry_usb.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/sdkconfig b/example/peripheral/usb/xhci_pcie/sdkconfig index a8795ebe45a6f9a82d95214c95ae43228e7e6b09..e7b3d67554ed7f47b8a6c52d51a741544e71e303 100644 --- a/example/peripheral/usb/xhci_pcie/sdkconfig +++ b/example/peripheral/usb/xhci_pcie/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +251,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/sdkconfig.h b/example/peripheral/usb/xhci_pcie/sdkconfig.h index b101daed03964f687856e8f9e2fee6d498790048..f9ab2962227494b7430ec74e28976389fdc498f3 100644 --- a/example/peripheral/usb/xhci_pcie/sdkconfig.h +++ b/example/peripheral/usb/xhci_pcie/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU #define CONFIG_BOOT_WITH_FLUSH_CACHE /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -84,6 +84,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -223,11 +224,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/usb/xhci_platform/configs/e2000d_aarch32_demo_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/e2000d_aarch32_demo_cherry_usb.config index 9d4f2616b91b17f45858bf602e408281798669c0..a9ac962e9d6f1821f1f80c3341cc20afe5aff329 100644 --- a/example/peripheral/usb/xhci_platform/configs/e2000d_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/e2000d_aarch32_demo_cherry_usb.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -207,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +255,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/e2000d_aarch64_demo_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/e2000d_aarch64_demo_cherry_usb.config index 68eaf3e76d408048f3ded81c886abca3af880102..8966b62fea6093c917802af688753839fadc3c69 100644 --- a/example/peripheral/usb/xhci_platform/configs/e2000d_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/e2000d_aarch64_demo_cherry_usb.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -201,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/e2000q_aarch32_demo_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/e2000q_aarch32_demo_cherry_usb.config index ad7c14008b668bb380b26153fcad301de95f3283..94c38afe2df709625ab3bbc5c134674d1bd503f5 100644 --- a/example/peripheral/usb/xhci_platform/configs/e2000q_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/e2000q_aarch32_demo_cherry_usb.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -206,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/e2000q_aarch64_demo_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/e2000q_aarch64_demo_cherry_usb.config index 286650c9f7c3f75adfcc54e53344c81c6cae54cb..6550cd3c3e5af5705060102ecd6eb1d03d821cd1 100644 --- a/example/peripheral/usb/xhci_platform/configs/e2000q_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/e2000q_aarch64_demo_cherry_usb.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -200,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch32_firefly_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch32_firefly_cherry_usb.config index 3fc8b9e45ff63c42bb5fd6f903e9bc0d2db8b287..03affbd2e11673cec58be192beb7e503922d8232 100644 --- a/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch32_firefly_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch32_firefly_cherry_usb.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch64_firefly_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch64_firefly_cherry_usb.config index c5c84da2a6fc6419bf1bfbd0933aff0352730ed4..37be78771febf03fe965cc918400df4a20f8b59f 100644 --- a/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch64_firefly_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch64_firefly_cherry_usb.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -199,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/sdkconfig b/example/peripheral/usb/xhci_platform/sdkconfig index c5c84da2a6fc6419bf1bfbd0933aff0352730ed4..37be78771febf03fe965cc918400df4a20f8b59f 100644 --- a/example/peripheral/usb/xhci_platform/sdkconfig +++ b/example/peripheral/usb/xhci_platform/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="cherry_usb" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set @@ -199,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/sdkconfig.h b/example/peripheral/usb/xhci_platform/sdkconfig.h index f9c05da8eaece67c7dc16dbc3c68342dfc3c7771..2197e8e700f2f41e84d6421b072671ab450934d4 100644 --- a/example/peripheral/usb/xhci_platform/sdkconfig.h +++ b/example/peripheral/usb/xhci_platform/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -83,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ #define CONFIG_LOG_DEBUG /* CONFIG_LOG_INFO is not set */ @@ -216,11 +217,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/peripheral/wdt/configs/d2000_aarch32_test_wdt.config b/example/peripheral/wdt/configs/d2000_aarch32_test_wdt.config index 9595c92e6c72fd8452f3a2927b0cb9b8edc395b0..126b335403cdefe0d92e2678ae04ad0b659819d0 100644 --- a/example/peripheral/wdt/configs/d2000_aarch32_test_wdt.config +++ b/example/peripheral/wdt/configs/d2000_aarch32_test_wdt.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -85,6 +86,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/d2000_aarch64_test_wdt.config b/example/peripheral/wdt/configs/d2000_aarch64_test_wdt.config index e995b501ab41ba71c1456bba34f29ca4da62b8b5..2038746990bf4c1c3cce69bc1a122209c140c029 100644 --- a/example/peripheral/wdt/configs/d2000_aarch64_test_wdt.config +++ b/example/peripheral/wdt/configs/d2000_aarch64_test_wdt.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -79,6 +80,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -235,12 +237,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/e2000d_aarch32_demo_wdt.config b/example/peripheral/wdt/configs/e2000d_aarch32_demo_wdt.config index 06135ee2c2fe57e4ce545632fee059f9ca0a6a52..c3b16024b16f2b6ea5541e548ef8e5765d8f7c87 100644 --- a/example/peripheral/wdt/configs/e2000d_aarch32_demo_wdt.config +++ b/example/peripheral/wdt/configs/e2000d_aarch32_demo_wdt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -98,6 +99,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -213,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +261,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/e2000d_aarch64_demo_wdt.config b/example/peripheral/wdt/configs/e2000d_aarch64_demo_wdt.config index d94c7a76e449caf2a95fb7cc732426e4fa409ff6..2f2579de5e49c673cce2696f092a1f77a665a961 100644 --- a/example/peripheral/wdt/configs/e2000d_aarch64_demo_wdt.config +++ b/example/peripheral/wdt/configs/e2000d_aarch64_demo_wdt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -92,6 +93,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +250,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/e2000q_aarch32_demo_wdt.config b/example/peripheral/wdt/configs/e2000q_aarch32_demo_wdt.config index c9c9a32d3d01842fda32e63557ff8ca9b10490ce..ee9eb259a1235765eb889bedf2be45576be46d7a 100644 --- a/example/peripheral/wdt/configs/e2000q_aarch32_demo_wdt.config +++ b/example/peripheral/wdt/configs/e2000q_aarch32_demo_wdt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -97,6 +98,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -212,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -258,12 +260,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/e2000q_aarch64_demo_wdt.config b/example/peripheral/wdt/configs/e2000q_aarch64_demo_wdt.config index e8c2d1bea5cabe2ce9d5f05adef3840c01ad8553..0a534f2ea85e614058be86ec72bcde2ec8a3ede2 100644 --- a/example/peripheral/wdt/configs/e2000q_aarch64_demo_wdt.config +++ b/example/peripheral/wdt/configs/e2000q_aarch64_demo_wdt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -91,6 +92,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -247,12 +249,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/ft2004_aarch32_dsk_wdt.config b/example/peripheral/wdt/configs/ft2004_aarch32_dsk_wdt.config index 1ea007c0452d510275d1155208a3df90e2c0cb82..28e3e74921e768bef8056356c2337b642bcb4e7b 100644 --- a/example/peripheral/wdt/configs/ft2004_aarch32_dsk_wdt.config +++ b/example/peripheral/wdt/configs/ft2004_aarch32_dsk_wdt.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -85,6 +86,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/ft2004_aarch64_dsk_wdt.config b/example/peripheral/wdt/configs/ft2004_aarch64_dsk_wdt.config index 51a301dc93f2f3c8864ed4c54052fbd0c99dfab7..7fabfd7cc66cfa60d7c8689b076e88003fc87c1d 100644 --- a/example/peripheral/wdt/configs/ft2004_aarch64_dsk_wdt.config +++ b/example/peripheral/wdt/configs/ft2004_aarch64_dsk_wdt.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -79,6 +80,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -235,12 +237,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/phytiumpi_aarch32_firefly_wdt.config b/example/peripheral/wdt/configs/phytiumpi_aarch32_firefly_wdt.config index e7a274633e2fa6fa993d0263ea4242f5d0c7ab80..43ce0206feee3a368712d753f994ae6cc5846e88 100644 --- a/example/peripheral/wdt/configs/phytiumpi_aarch32_firefly_wdt.config +++ b/example/peripheral/wdt/configs/phytiumpi_aarch32_firefly_wdt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -96,6 +97,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -211,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -257,12 +259,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/configs/phytiumpi_aarch64_firefly_wdt.config b/example/peripheral/wdt/configs/phytiumpi_aarch64_firefly_wdt.config index 279f43b43292ffa4ac3b60d7d3a64fc8156a0298..0ddee7e76887e9c06a22cc4814279ad0f4d4ba04 100644 --- a/example/peripheral/wdt/configs/phytiumpi_aarch64_firefly_wdt.config +++ b/example/peripheral/wdt/configs/phytiumpi_aarch64_firefly_wdt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/makefile b/example/peripheral/wdt/makefile index 8cdbb131737371bf472dd0695f73ceba32b2c1a4..7d8648d56925028498d523ada5d575ee23f46f24 100644 --- a/example/peripheral/wdt/makefile +++ b/example/peripheral/wdt/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/peripheral/wdt/sdkconfig b/example/peripheral/wdt/sdkconfig index 279f43b43292ffa4ac3b60d7d3a64fc8156a0298..0ddee7e76887e9c06a22cc4814279ad0f4d4ba04 100644 --- a/example/peripheral/wdt/sdkconfig +++ b/example/peripheral/wdt/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -90,6 +91,7 @@ CONFIG_TARGET_NAME="wdt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -246,12 +248,6 @@ CONFIG_FREERTOS_USE_WDT=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/peripheral/wdt/sdkconfig.h b/example/peripheral/wdt/sdkconfig.h index 2d46a73e41bac4eab8c926cb84c46e3bc4a06721..03d11604373d2d589e3dcc58e4247c0bea747bba 100644 --- a/example/peripheral/wdt/sdkconfig.h +++ b/example/peripheral/wdt/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -83,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -220,11 +221,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/storage/fatfs/configs/e2000d_aarch32_demo_fatfs.config b/example/storage/fatfs/configs/e2000d_aarch32_demo_fatfs.config index 86676f2d9248dfec971cc8c2cccf641b4e792fcf..d37d225ade08f2ee5a1ba2b89f3af778f422d3e2 100644 --- a/example/storage/fatfs/configs/e2000d_aarch32_demo_fatfs.config +++ b/example/storage/fatfs/configs/e2000d_aarch32_demo_fatfs.config @@ -45,10 +45,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -107,6 +108,7 @@ CONFIG_TARGET_NAME="fatfs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -263,12 +265,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/fatfs/configs/e2000d_aarch64_demo_fatfs.config b/example/storage/fatfs/configs/e2000d_aarch64_demo_fatfs.config index 440d2ea36dfe445f3f63cdbc4b6204d41203028b..5e1d6b3948cb67dde906e233edd0619bd0d517f9 100644 --- a/example/storage/fatfs/configs/e2000d_aarch64_demo_fatfs.config +++ b/example/storage/fatfs/configs/e2000d_aarch64_demo_fatfs.config @@ -38,11 +38,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -101,6 +102,7 @@ CONFIG_TARGET_NAME="fatfs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -252,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/fatfs/configs/e2000q_aarch32_demo_fatfs.config b/example/storage/fatfs/configs/e2000q_aarch32_demo_fatfs.config index c5f5d2e3d6e45e332f6b38ffc0bd035912bcf4f2..2ee6b6ee9126715d24887b350c953a5f737443da 100644 --- a/example/storage/fatfs/configs/e2000q_aarch32_demo_fatfs.config +++ b/example/storage/fatfs/configs/e2000q_aarch32_demo_fatfs.config @@ -45,10 +45,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -106,6 +107,7 @@ CONFIG_TARGET_NAME="fatfs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -262,12 +264,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/fatfs/configs/e2000q_aarch64_demo_fatfs.config b/example/storage/fatfs/configs/e2000q_aarch64_demo_fatfs.config index 8328126b5854f109b418a40093fa9eaeb9b57708..21120fa194e8759d9461db39e65f79f73a97f67f 100644 --- a/example/storage/fatfs/configs/e2000q_aarch64_demo_fatfs.config +++ b/example/storage/fatfs/configs/e2000q_aarch64_demo_fatfs.config @@ -38,11 +38,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -100,6 +101,7 @@ CONFIG_TARGET_NAME="fatfs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -251,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/fatfs/configs/phytiumpi_aarch32_firefly_fatfs.config b/example/storage/fatfs/configs/phytiumpi_aarch32_firefly_fatfs.config index bd843c9d90f3634359d075830c51221990de9490..1eb970a5071dae58cbdd9ac771dd5e9a4daff2d3 100644 --- a/example/storage/fatfs/configs/phytiumpi_aarch32_firefly_fatfs.config +++ b/example/storage/fatfs/configs/phytiumpi_aarch32_firefly_fatfs.config @@ -45,10 +45,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -105,6 +106,7 @@ CONFIG_TARGET_NAME="fatfs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -261,12 +263,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/fatfs/configs/phytiumpi_aarch64_firefly_fatfs.config b/example/storage/fatfs/configs/phytiumpi_aarch64_firefly_fatfs.config index adcd5447d59c9d3d6618f7bd0bebecff250de30f..519217c34ddcf237900182d4d987a49f24432415 100644 --- a/example/storage/fatfs/configs/phytiumpi_aarch64_firefly_fatfs.config +++ b/example/storage/fatfs/configs/phytiumpi_aarch64_firefly_fatfs.config @@ -38,11 +38,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -99,6 +100,7 @@ CONFIG_TARGET_NAME="fatfs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -250,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/fatfs/makefile b/example/storage/fatfs/makefile index ef630a72d3617eb9a4ecafd1f5767e7f121e296d..2af332e7944f756aad3b2e29c1d0d75caa6801b5 100644 --- a/example/storage/fatfs/makefile +++ b/example/storage/fatfs/makefile @@ -20,7 +20,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: @$(MAKE) -s clean diff --git a/example/storage/fatfs/sdkconfig b/example/storage/fatfs/sdkconfig index adcd5447d59c9d3d6618f7bd0bebecff250de30f..519217c34ddcf237900182d4d987a49f24432415 100644 --- a/example/storage/fatfs/sdkconfig +++ b/example/storage/fatfs/sdkconfig @@ -38,11 +38,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -99,6 +100,7 @@ CONFIG_TARGET_NAME="fatfs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -250,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/fatfs/sdkconfig.h b/example/storage/fatfs/sdkconfig.h index fd5d2c617211fef3c1739023903bcdb93c2e73d6..a386ad4a995e0adb5e6efdbedeeb7e3a4cdccaee 100644 --- a/example/storage/fatfs/sdkconfig.h +++ b/example/storage/fatfs/sdkconfig.h @@ -34,11 +34,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU #define CONFIG_BOOT_WITH_FLUSH_CACHE /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -89,6 +89,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -223,11 +224,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/storage/qspi_spiffs/configs/d2000_aarch32_test_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/d2000_aarch32_test_qspi_spiffs.config index ea09283d68bee807c8959c86edd8ef63ec7b5dd9..c23b7baf8a3132197aabb88c3dbd7c949af65777 100644 --- a/example/storage/qspi_spiffs/configs/d2000_aarch32_test_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/d2000_aarch32_test_qspi_spiffs.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/d2000_aarch64_test_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/d2000_aarch64_test_qspi_spiffs.config index ca9ae611e0945177a8f36ffda0998958825bf7b9..da9ef9c48dff7f276a90f8dd552cad67629115d4 100644 --- a/example/storage/qspi_spiffs/configs/d2000_aarch64_test_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/d2000_aarch64_test_qspi_spiffs.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -195,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -236,12 +237,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/e2000d_aarch32_demo_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/e2000d_aarch32_demo_qspi_spiffs.config index a7de031cc62d40308f934ce0330e8ad8372d521f..7236e37c1825129a3ccfe690c2d57be340d77e99 100644 --- a/example/storage/qspi_spiffs/configs/e2000d_aarch32_demo_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/e2000d_aarch32_demo_qspi_spiffs.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +261,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/e2000d_aarch64_demo_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/e2000d_aarch64_demo_qspi_spiffs.config index 80466f720b0b55cbbb424d12b3d64f97da600ef4..09ef1a8cca918b836bbfef7088776d9926d17997 100644 --- a/example/storage/qspi_spiffs/configs/e2000d_aarch64_demo_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/e2000d_aarch64_demo_qspi_spiffs.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +250,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/e2000q_aarch32_demo_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/e2000q_aarch32_demo_qspi_spiffs.config index c7536e291944655827855feac0164fe25d005594..22897b49ba0f1bac658d818cacfaf0ef03a0637d 100644 --- a/example/storage/qspi_spiffs/configs/e2000q_aarch32_demo_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/e2000q_aarch32_demo_qspi_spiffs.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -213,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -259,12 +260,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/e2000q_aarch64_demo_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/e2000q_aarch64_demo_qspi_spiffs.config index bc498131e2b14e377e4283071e137a14871f0ab3..a79d6a1f43b1606501321019164dcbd540aefcb4 100644 --- a/example/storage/qspi_spiffs/configs/e2000q_aarch64_demo_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/e2000q_aarch64_demo_qspi_spiffs.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -248,12 +249,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/ft2004_aarch32_dsk_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/ft2004_aarch32_dsk_qspi_spiffs.config index ed7a038de62044e5f2a67c82f476c82bcbc2cc45..ab1ab7426820d052f9f8705ad1cb3045df75a39f 100644 --- a/example/storage/qspi_spiffs/configs/ft2004_aarch32_dsk_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/ft2004_aarch32_dsk_qspi_spiffs.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/ft2004_aarch64_dsk_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/ft2004_aarch64_dsk_qspi_spiffs.config index e703c8d4495462cb2aceb58b46408987e855de0f..5d354ebf236996b603aa5b63cda687e478f7f309 100644 --- a/example/storage/qspi_spiffs/configs/ft2004_aarch64_dsk_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/ft2004_aarch64_dsk_qspi_spiffs.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -195,7 +196,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -236,12 +237,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/phytiumpi_aarch32_firefly_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/phytiumpi_aarch32_firefly_qspi_spiffs.config index 542cd603d4e51d86351589e64469ad98ed3eceeb..bea6060705a3fccb3eb487209819e872acd50b47 100644 --- a/example/storage/qspi_spiffs/configs/phytiumpi_aarch32_firefly_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/phytiumpi_aarch32_firefly_qspi_spiffs.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -212,7 +213,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -258,12 +259,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/configs/phytiumpi_aarch64_firefly_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/phytiumpi_aarch64_firefly_qspi_spiffs.config index 9467494af90734a65cf3be40c177bcfed55d24a0..3fa64b592af7ad4efd0083d11476e6c3c6cacca8 100644 --- a/example/storage/qspi_spiffs/configs/phytiumpi_aarch64_firefly_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/phytiumpi_aarch64_firefly_qspi_spiffs.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/makefile b/example/storage/qspi_spiffs/makefile index 5d84612a51d61ca3b3d4359e1f07b52f20d7584e..2cac8f28fb8f74ea56618683ac2ed23cb017c505 100644 --- a/example/storage/qspi_spiffs/makefile +++ b/example/storage/qspi_spiffs/makefile @@ -17,7 +17,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: $(MAKE) clean diff --git a/example/storage/qspi_spiffs/sdkconfig b/example/storage/qspi_spiffs/sdkconfig index 9467494af90734a65cf3be40c177bcfed55d24a0..3fa64b592af7ad4efd0083d11476e6c3c6cacca8 100644 --- a/example/storage/qspi_spiffs/sdkconfig +++ b/example/storage/qspi_spiffs/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="qspi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -247,12 +248,6 @@ CONFIG_FREERTOS_USE_QSPI=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/storage/qspi_spiffs/sdkconfig.h b/example/storage/qspi_spiffs/sdkconfig.h index 967551b39a23eb4148162e5ab42d9cb9d0457f43..9c64ce37716f24be997125bb58dafb02ca50fb51 100644 --- a/example/storage/qspi_spiffs/sdkconfig.h +++ b/example/storage/qspi_spiffs/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -221,11 +221,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/storage/spim_spiffs/configs/e2000d_aarch32_demo_spi_spiffs.config b/example/storage/spim_spiffs/configs/e2000d_aarch32_demo_spi_spiffs.config index e698af604966051e315d64b653aec38239f954bb..2dd24fbac7cd1a736c1dd8a35a790f9fb2a034c1 100644 --- a/example/storage/spim_spiffs/configs/e2000d_aarch32_demo_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/e2000d_aarch32_demo_spi_spiffs.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="spi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +209,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -254,12 +255,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -341,6 +336,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/storage/spim_spiffs/configs/e2000d_aarch64_demo_spi_spiffs.config b/example/storage/spim_spiffs/configs/e2000d_aarch64_demo_spi_spiffs.config index 31817099c69937b08560e78d41729f22ddc93be6..3769c0f6040e73afe953f7959798ad769441a53d 100644 --- a/example/storage/spim_spiffs/configs/e2000d_aarch64_demo_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/e2000d_aarch64_demo_spi_spiffs.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="spi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -202,7 +203,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -243,12 +244,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -330,6 +325,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/storage/spim_spiffs/configs/e2000q_aarch32_demo_spi_spiffs.config b/example/storage/spim_spiffs/configs/e2000q_aarch32_demo_spi_spiffs.config index c2facaa54c58d0ada3434eb0f824cc155c27fc82..31beea23e609401f1040203b9386712519c575b3 100644 --- a/example/storage/spim_spiffs/configs/e2000q_aarch32_demo_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/e2000q_aarch32_demo_spi_spiffs.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="spi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -340,6 +335,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/storage/spim_spiffs/configs/e2000q_aarch64_demo_spi_spiffs.config b/example/storage/spim_spiffs/configs/e2000q_aarch64_demo_spi_spiffs.config index 3fe190fca9dadac61570e59a279eb4ddc01eb76e..a351ac84d8a0f2d6754a6012fd8fd47bd619fa6c 100644 --- a/example/storage/spim_spiffs/configs/e2000q_aarch64_demo_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/e2000q_aarch64_demo_spi_spiffs.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="spi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -329,6 +324,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/storage/spim_spiffs/configs/phytiumpi_aarch32_firefly_spi_spiffs.config b/example/storage/spim_spiffs/configs/phytiumpi_aarch32_firefly_spi_spiffs.config index b29ae4afc5f1b91f4035b6bfe39d708503d87bf8..b5fee412b3d4828b1bbccee5e579510fc22f2da8 100644 --- a/example/storage/spim_spiffs/configs/phytiumpi_aarch32_firefly_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/phytiumpi_aarch32_firefly_spi_spiffs.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="spi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -339,6 +334,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/storage/spim_spiffs/configs/phytiumpi_aarch64_firefly_spi_spiffs.config b/example/storage/spim_spiffs/configs/phytiumpi_aarch64_firefly_spi_spiffs.config index 889b6c1304cb02e90a30872f801e8e4741df447a..8ff6f18bd8f9b46ba93457149bf885b5aca6f02c 100644 --- a/example/storage/spim_spiffs/configs/phytiumpi_aarch64_firefly_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/phytiumpi_aarch64_firefly_spi_spiffs.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="spi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -328,6 +323,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/storage/spim_spiffs/makefile b/example/storage/spim_spiffs/makefile index feb2c855bca55bc060a7b6c78d5454845cce948e..e47755211ee13097e592a59143454c67ef994f48 100644 --- a/example/storage/spim_spiffs/makefile +++ b/example/storage/spim_spiffs/makefile @@ -18,7 +18,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: diff --git a/example/storage/spim_spiffs/sdkconfig b/example/storage/spim_spiffs/sdkconfig index 889b6c1304cb02e90a30872f801e8e4741df447a..8ff6f18bd8f9b46ba93457149bf885b5aca6f02c 100644 --- a/example/storage/spim_spiffs/sdkconfig +++ b/example/storage/spim_spiffs/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="spi_spiffs" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -328,6 +323,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set +# CONFIG_SFUD_TRANS_MODE_DDMA is not set # CONFIG_SFUD_CTRL_FQSPI is not set # end of Sfud configuration diff --git a/example/storage/spim_spiffs/sdkconfig.h b/example/storage/spim_spiffs/sdkconfig.h index 595b2d9cb2a8fcbffae31e003070c1594c71d210..f6d3caa0e59af03a2b28bb13444d0aacd0e57049 100644 --- a/example/storage/spim_spiffs/sdkconfig.h +++ b/example/storage/spim_spiffs/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -217,11 +217,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ #define CONFIG_FREERTOS_USE_FSPIM @@ -290,6 +285,7 @@ #define CONFIG_SFUD_CTRL_FSPIM #define CONFIG_SFUD_TRANS_MODE_POLL_FIFO /* CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set */ +/* CONFIG_SFUD_TRANS_MODE_DDMA is not set */ /* CONFIG_SFUD_CTRL_FQSPI is not set */ /* end of Sfud configuration */ #define CONFIG_USE_BACKTRACE diff --git a/example/system/amp/openamp/device_core/configs/d2000_aarch32_test_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/d2000_aarch32_test_openamp_device_core.config index f9b1e9b898df7e26cd9a29db3aa8a5a5574d321a..93daa0fe01bb6ea0f454040c8b19a7d2b3b1930f 100644 --- a/example/system/amp/openamp/device_core/configs/d2000_aarch32_test_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/d2000_aarch32_test_openamp_device_core.config @@ -51,11 +51,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y # CONFIG_USE_AARCH64_L1_TO_AARCH32 is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -74,7 +75,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -101,6 +101,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -255,12 +256,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/d2000_aarch64_test_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/d2000_aarch64_test_openamp_device_core.config index b4413b93ce7dcffe1339574a981c99070466455f..f6e82e6573c4ff15b9e31995aa9ce068ded0b906 100644 --- a/example/system/amp/openamp/device_core/configs/d2000_aarch64_test_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/d2000_aarch64_test_openamp_device_core.config @@ -44,12 +44,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -68,7 +69,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -95,6 +95,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +204,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -244,12 +245,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/e2000d_aarch32_demo_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/e2000d_aarch32_demo_openamp_device_core.config index 0fb62a68d757b5b82141eeece4fa97528d0fbccc..af43e7be3a2cd91756fcb52ac207c8254f7c4078 100644 --- a/example/system/amp/openamp/device_core/configs/e2000d_aarch32_demo_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/e2000d_aarch32_demo_openamp_device_core.config @@ -51,10 +51,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_USE_AARCH64_L1_TO_AARCH32 is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -75,7 +76,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -114,6 +114,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -222,7 +223,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -268,12 +269,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/e2000d_aarch64_demo_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/e2000d_aarch64_demo_openamp_device_core.config index 5433d1713e402c010d752ebf687fae7b1153239f..4509af93efad9e937089dde75b73efa50f6bbea4 100644 --- a/example/system/amp/openamp/device_core/configs/e2000d_aarch64_demo_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/e2000d_aarch64_demo_openamp_device_core.config @@ -44,11 +44,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -69,7 +70,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -108,6 +108,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -216,7 +217,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -257,12 +258,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/e2000q_aarch32_demo_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/e2000q_aarch32_demo_openamp_device_core.config index cc7a1d2e91a306e29f4628695aa601a31f541fca..c42b68abd334ff748c15dadeb2ed0a5a60567a47 100644 --- a/example/system/amp/openamp/device_core/configs/e2000q_aarch32_demo_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/e2000q_aarch32_demo_openamp_device_core.config @@ -51,10 +51,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_USE_AARCH64_L1_TO_AARCH32 is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -75,7 +76,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -113,6 +113,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -221,7 +222,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -267,12 +268,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/e2000q_aarch64_demo_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/e2000q_aarch64_demo_openamp_device_core.config index 28d365cc148d156a627220473a7e2eb772ec1957..a7670293f1ee99e7e230580ff2e6ed2505d7ff6f 100644 --- a/example/system/amp/openamp/device_core/configs/e2000q_aarch64_demo_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/e2000q_aarch64_demo_openamp_device_core.config @@ -44,11 +44,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -69,7 +70,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -107,6 +107,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -215,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -256,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/ft2004_aarch32_dsk_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/ft2004_aarch32_dsk_openamp_device_core.config index 76cd8efad8f5df1a0ec61ecdce27001b06d3cccd..d36932a8f522f4833d410f3de1218c9ee518ea4a 100644 --- a/example/system/amp/openamp/device_core/configs/ft2004_aarch32_dsk_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/ft2004_aarch32_dsk_openamp_device_core.config @@ -51,11 +51,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_USE_AARCH64_L1_TO_AARCH32 is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -74,7 +75,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -101,6 +101,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +210,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -255,12 +256,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/ft2004_aarch64_dsk_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/ft2004_aarch64_dsk_openamp_device_core.config index 9af118b4764c528e496830b0821aea5d37df4768..8d4acbfcd98ab32ad40dbe6efff4cef87458cb32 100644 --- a/example/system/amp/openamp/device_core/configs/ft2004_aarch64_dsk_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/ft2004_aarch64_dsk_openamp_device_core.config @@ -44,12 +44,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -68,7 +69,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -95,6 +95,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +204,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -244,12 +245,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/phytiumpi_aarch32_firefly_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/phytiumpi_aarch32_firefly_openamp_device_core.config index 926d27d0038b431651ed238ea250301e0d082f16..5576aa691aade1be64b8024e90e9be223dbe6321 100644 --- a/example/system/amp/openamp/device_core/configs/phytiumpi_aarch32_firefly_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/phytiumpi_aarch32_firefly_openamp_device_core.config @@ -51,10 +51,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_USE_AARCH64_L1_TO_AARCH32 is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -74,7 +75,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -112,6 +112,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -220,7 +221,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -266,12 +267,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/configs/phytiumpi_aarch64_firefly_openamp_device_core.config b/example/system/amp/openamp/device_core/configs/phytiumpi_aarch64_firefly_openamp_device_core.config index 42a8d8cc457db3edd5a1b7f17feb2aada594420e..87382c8449cdd1e05efdd49331808ac27637c89c 100644 --- a/example/system/amp/openamp/device_core/configs/phytiumpi_aarch64_firefly_openamp_device_core.config +++ b/example/system/amp/openamp/device_core/configs/phytiumpi_aarch64_firefly_openamp_device_core.config @@ -44,11 +44,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -68,7 +69,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -106,6 +106,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -214,7 +215,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -255,12 +256,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/makefile b/example/system/amp/openamp/device_core/makefile index 24c24cea2575f8d36a6e240210d1c07b942ef61d..92fcd29fde27360cda1f31915826ba8ba7f5a0c5 100644 --- a/example/system/amp/openamp/device_core/makefile +++ b/example/system/amp/openamp/device_core/makefile @@ -12,7 +12,7 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk ifeq ($(OS),Windows_NT) USR_BOOT_DIR ?= $(subst \,/, $(PHYTIUM_DEV_PATH))/tftp else - USR_BOOT_DIR ?= /mnt/d/tftboot + USR_BOOT_DIR ?= /mnt/d/tftpboot endif # 设置启动镜像名 diff --git a/example/system/amp/openamp/device_core/sdkconfig b/example/system/amp/openamp/device_core/sdkconfig index 42a8d8cc457db3edd5a1b7f17feb2aada594420e..af43e7be3a2cd91756fcb52ac207c8254f7c4078 100644 --- a/example/system/amp/openamp/device_core/sdkconfig +++ b/example/system/amp/openamp/device_core/sdkconfig @@ -9,7 +9,7 @@ CONFIG_IPI_IRQ_NUM=9 CONFIG_IPI_IRQ_NUM_PRIORITY=1 CONFIG_SPIN_MEM=0x80000000 -CONFIG_IPI_CHN_BITMASK=4 +CONFIG_IPI_CHN_BITMASK=1 # end of Amp Config # end of Project Configuration @@ -24,8 +24,8 @@ CONFIG_ARCH_NAME="armv8" # # Arm architecture configuration # -CONFIG_ARCH_ARMV8_AARCH64=y -# CONFIG_ARCH_ARMV8_AARCH32 is not set +# CONFIG_ARCH_ARMV8_AARCH64 is not set +CONFIG_ARCH_ARMV8_AARCH32=y # # Compiler configuration @@ -33,42 +33,49 @@ CONFIG_ARCH_ARMV8_AARCH64=y CONFIG_ARM_GCC_SELECT=y # CONFIG_ARM_CLANG_SELECT is not set CONFIG_TOOLCHAIN_NAME="gcc" -CONFIG_TARGET_ARMV8_AARCH64=y -CONFIG_ARCH_EXECUTION_STATE="aarch64" -CONFIG_ARM_NEON=y -CONFIG_ARM_CRC=y -CONFIG_ARM_CRYPTO=y -CONFIG_ARM_FLOAT_POINT=y -# CONFIG_GCC_CODE_MODEL_TINY is not set -CONFIG_GCC_CODE_MODEL_SMALL=y -# CONFIG_GCC_CODE_MODEL_LARGE is not set +CONFIG_TARGET_ARMV8_AARCH32=y +CONFIG_ARCH_EXECUTION_STATE="aarch32" + +# +# Fpu configuration +# +CONFIG_CRYPTO_NEON_FP_ARMV8=y +# CONFIG_VFPV4 is not set +# CONFIG_VFPV4_D16 is not set +# CONFIG_VFPV3 is not set +# CONFIG_VFPV3_D16 is not set +CONFIG_ARM_MFPU="crypto-neon-fp-armv8" +CONFIG_MFLOAT_ABI_HARD=y +# CONFIG_MFLOAT_ABI_SOFTFP is not set +CONFIG_ARM_MFLOAT_ABI="hard" +# end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y -# CONFIG_BOOT_WITH_FLUSH_CACHE is not set -# CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_USE_AARCH64_L1_TO_AARCH32 is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # # Soc configuration # -CONFIG_TARGET_PHYTIUMPI=y +# CONFIG_TARGET_PHYTIUMPI is not set # CONFIG_TARGET_E2000Q is not set -# CONFIG_TARGET_E2000D is not set +CONFIG_TARGET_E2000D=y # CONFIG_TARGET_E2000S is not set # CONFIG_TARGET_FT2004 is not set # CONFIG_TARGET_D2000 is not set # CONFIG_TARGET_PD2308 is not set -CONFIG_SOC_NAME="phytiumpi" -CONFIG_SOC_CORE_NUM=4 +CONFIG_SOC_NAME="e2000" +CONFIG_TARGET_TYPE_NAME="d" +CONFIG_SOC_CORE_NUM=2 CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -77,21 +84,22 @@ CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # # Board Configuration # -CONFIG_BOARD_NAME="firefly" +CONFIG_E2000D_DEMO_BOARD=y +CONFIG_BOARD_NAME="demo" + +# +# IO mux configuration when board start up +# # CONFIG_USE_SPI_IOPAD is not set # CONFIG_USE_GPIO_IOPAD is not set # CONFIG_USE_CAN_IOPAD is not set # CONFIG_USE_QSPI_IOPAD is not set # CONFIG_USE_PWM_IOPAD is not set +# CONFIG_USE_ADC_IOPAD is not set # CONFIG_USE_MIO_IOPAD is not set # CONFIG_USE_TACHO_IOPAD is not set # CONFIG_USE_UART_IOPAD is not set # CONFIG_USE_THIRD_PARTY_IOPAD is not set -CONFIG_FIREFLY_DEMO_BOARD=y - -# -# IO mux configuration when board start up -# # end of IO mux configuration when board start up # CONFIG_CUS_DEMO_BOARD is not set @@ -106,6 +114,7 @@ CONFIG_TARGET_NAME="openamp_device_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -214,9 +223,14 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xe0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 -CONFIG_STACK_SIZE=0x400 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 # end of Linker Options # end of Build setup @@ -255,12 +269,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/device_core/sdkconfig.h b/example/system/amp/openamp/device_core/sdkconfig.h index 4304d5b9c9f7db692f29cd6a05f08584eda4c5cc..f68154e2099d680176682bd4c5930438042a4f41 100644 --- a/example/system/amp/openamp/device_core/sdkconfig.h +++ b/example/system/amp/openamp/device_core/sdkconfig.h @@ -8,7 +8,7 @@ #define CONFIG_IPI_IRQ_NUM 9 #define CONFIG_IPI_IRQ_NUM_PRIORITY 1 #define CONFIG_SPIN_MEM 0x80000000 -#define CONFIG_IPI_CHN_BITMASK 4 +#define CONFIG_IPI_CHN_BITMASK 1 /* end of Amp Config */ /* end of Project Configuration */ #define CONFIG_USE_FREERTOS @@ -20,48 +20,53 @@ /* Arm architecture configuration */ -#define CONFIG_ARCH_ARMV8_AARCH64 -/* CONFIG_ARCH_ARMV8_AARCH32 is not set */ +/* CONFIG_ARCH_ARMV8_AARCH64 is not set */ +#define CONFIG_ARCH_ARMV8_AARCH32 /* Compiler configuration */ #define CONFIG_ARM_GCC_SELECT /* CONFIG_ARM_CLANG_SELECT is not set */ #define CONFIG_TOOLCHAIN_NAME "gcc" -#define CONFIG_TARGET_ARMV8_AARCH64 -#define CONFIG_ARCH_EXECUTION_STATE "aarch64" -#define CONFIG_ARM_NEON -#define CONFIG_ARM_CRC -#define CONFIG_ARM_CRYPTO -#define CONFIG_ARM_FLOAT_POINT -/* CONFIG_GCC_CODE_MODEL_TINY is not set */ -#define CONFIG_GCC_CODE_MODEL_SMALL -/* CONFIG_GCC_CODE_MODEL_LARGE is not set */ +#define CONFIG_TARGET_ARMV8_AARCH32 +#define CONFIG_ARCH_EXECUTION_STATE "aarch32" + +/* Fpu configuration */ + +#define CONFIG_CRYPTO_NEON_FP_ARMV8 +/* CONFIG_VFPV4 is not set */ +/* CONFIG_VFPV4_D16 is not set */ +/* CONFIG_VFPV3 is not set */ +/* CONFIG_VFPV3_D16 is not set */ +#define CONFIG_ARM_MFPU "crypto-neon-fp-armv8" +#define CONFIG_MFLOAT_ABI_HARD +/* CONFIG_MFLOAT_ABI_SOFTFP is not set */ +#define CONFIG_ARM_MFLOAT_ABI "hard" +/* end of Fpu configuration */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU -/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ -/* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_USE_AARCH64_L1_TO_AARCH32 is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_FMMU_NUM_L2_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ -#define CONFIG_TARGET_PHYTIUMPI +/* CONFIG_TARGET_PHYTIUMPI is not set */ /* CONFIG_TARGET_E2000Q is not set */ -/* CONFIG_TARGET_E2000D is not set */ +#define CONFIG_TARGET_E2000D /* CONFIG_TARGET_E2000S is not set */ /* CONFIG_TARGET_FT2004 is not set */ /* CONFIG_TARGET_D2000 is not set */ /* CONFIG_TARGET_PD2308 is not set */ -#define CONFIG_SOC_NAME "phytiumpi" -#define CONFIG_SOC_CORE_NUM 4 +#define CONFIG_SOC_NAME "e2000" +#define CONFIG_TARGET_TYPE_NAME "d" +#define CONFIG_SOC_CORE_NUM 2 #define CONFIG_F32BIT_MEMORY_ADDRESS 0x80000000 #define CONFIG_F32BIT_MEMORY_LENGTH 0x80000000 #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -#define CONFIG_USE_SPINLOCK #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -69,20 +74,21 @@ /* Board Configuration */ -#define CONFIG_BOARD_NAME "firefly" +#define CONFIG_E2000D_DEMO_BOARD +#define CONFIG_BOARD_NAME "demo" + +/* IO mux configuration when board start up */ + /* CONFIG_USE_SPI_IOPAD is not set */ /* CONFIG_USE_GPIO_IOPAD is not set */ /* CONFIG_USE_CAN_IOPAD is not set */ /* CONFIG_USE_QSPI_IOPAD is not set */ /* CONFIG_USE_PWM_IOPAD is not set */ +/* CONFIG_USE_ADC_IOPAD is not set */ /* CONFIG_USE_MIO_IOPAD is not set */ /* CONFIG_USE_TACHO_IOPAD is not set */ /* CONFIG_USE_UART_IOPAD is not set */ /* CONFIG_USE_THIRD_PARTY_IOPAD is not set */ -#define CONFIG_FIREFLY_DEMO_BOARD - -/* IO mux configuration when board start up */ - /* end of IO mux configuration when board start up */ /* CONFIG_CUS_DEMO_BOARD is not set */ @@ -94,6 +100,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 #define CONFIG_LOG_VERBOS /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -194,7 +201,12 @@ #define CONFIG_IMAGE_LOAD_ADDRESS 0xe0100000 #define CONFIG_IMAGE_MAX_LENGTH 0x1000000 #define CONFIG_HEAP_SIZE 1 -#define CONFIG_STACK_SIZE 0x400 +#define CONFIG_SVC_STACK_SIZE 0x1000 +#define CONFIG_SYS_STACK_SIZE 0x1000 +#define CONFIG_IRQ_STACK_SIZE 0x1000 +#define CONFIG_ABORT_STACK_SIZE 0x1000 +#define CONFIG_FIQ_STACK_SIZE 0x1000 +#define CONFIG_UNDEF_STACK_SIZE 0x1000 /* end of Linker Options */ /* end of Build setup */ @@ -226,11 +238,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/system/amp/openamp/driver_core/configs/d2000_aarch32_test_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/d2000_aarch32_test_openamp_driver_core.config index be6481f85e69d8d40732bec08eab55b280d2914d..dfa9544b88e5e32181810669e479479fe6543ad2 100644 --- a/example/system/amp/openamp/driver_core/configs/d2000_aarch32_test_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/d2000_aarch32_test_openamp_driver_core.config @@ -52,11 +52,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -75,7 +76,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -102,6 +102,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -210,7 +211,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -256,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/d2000_aarch64_test_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/d2000_aarch64_test_openamp_driver_core.config index d037a12f0714e695d3bd0b6afd9cde2e63de401f..72700c79a12f8fc99cf35a4ca0b3bf9904353b0e 100644 --- a/example/system/amp/openamp/driver_core/configs/d2000_aarch64_test_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/d2000_aarch64_test_openamp_driver_core.config @@ -45,12 +45,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -69,7 +70,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -96,6 +96,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -204,7 +205,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -245,12 +246,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/e2000d_aarch32_demo_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/e2000d_aarch32_demo_openamp_driver_core.config index 3321faf70c5fbf6ffe246ed70c8d2c6c287d141f..76bd1d1d691742e848c3a73cff9557d69f23693f 100644 --- a/example/system/amp/openamp/driver_core/configs/e2000d_aarch32_demo_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/e2000d_aarch32_demo_openamp_driver_core.config @@ -52,10 +52,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -76,7 +77,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -115,6 +115,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -223,7 +224,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -269,12 +270,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/e2000d_aarch64_demo_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/e2000d_aarch64_demo_openamp_driver_core.config index 9695f9f1d67a77d7c15c46248894c8408415a0d2..f94a813062653db31ec8a5f05b807fea00bf1a2e 100644 --- a/example/system/amp/openamp/driver_core/configs/e2000d_aarch64_demo_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/e2000d_aarch64_demo_openamp_driver_core.config @@ -45,11 +45,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -70,7 +71,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -109,6 +109,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -217,7 +218,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -258,12 +259,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/e2000q_aarch32_demo_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/e2000q_aarch32_demo_openamp_driver_core.config index 10d6cab64b9faeb34394880e0284993709b9648a..ff7f4a7988135931457717dd5d9a9b5cf253bd9c 100644 --- a/example/system/amp/openamp/driver_core/configs/e2000q_aarch32_demo_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/e2000q_aarch32_demo_openamp_driver_core.config @@ -52,10 +52,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -76,7 +77,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -114,6 +114,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -222,7 +223,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -268,12 +269,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/e2000q_aarch64_demo_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/e2000q_aarch64_demo_openamp_driver_core.config index 5387e9f19beb4a3ba6146ac6199e60800ba8d699..5ae566cef22e17e25403ce879ec3adea53e3f3b6 100644 --- a/example/system/amp/openamp/driver_core/configs/e2000q_aarch64_demo_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/e2000q_aarch64_demo_openamp_driver_core.config @@ -45,11 +45,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -70,7 +71,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -108,6 +108,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -216,7 +217,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -257,12 +258,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/ft2004_aarch32_dsk_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/ft2004_aarch32_dsk_openamp_driver_core.config index 53c335eee68754d588d4de446e68d51b4e52e4de..d0c2758ac609aabb9884db1214a89a897e0c1ae7 100644 --- a/example/system/amp/openamp/driver_core/configs/ft2004_aarch32_dsk_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/ft2004_aarch32_dsk_openamp_driver_core.config @@ -52,11 +52,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -75,7 +76,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -102,6 +102,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -210,7 +211,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -256,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/ft2004_aarch64_dsk_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/ft2004_aarch64_dsk_openamp_driver_core.config index d811edd5c4986a4281d3f3698facad8786fc8fef..edf4585af9a3185641a5dea361026757c85b947e 100644 --- a/example/system/amp/openamp/driver_core/configs/ft2004_aarch64_dsk_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/ft2004_aarch64_dsk_openamp_driver_core.config @@ -45,12 +45,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -69,7 +70,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -96,6 +96,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -204,7 +205,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -245,12 +246,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/phytiumpi_aarch32_firefly_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/phytiumpi_aarch32_firefly_openamp_driver_core.config index 757ea2e59c0771b11337fd6fd88d5b88078adfc5..f384f2ff5268e8a2b7af70555b8f774cac190be2 100644 --- a/example/system/amp/openamp/driver_core/configs/phytiumpi_aarch32_firefly_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/phytiumpi_aarch32_firefly_openamp_driver_core.config @@ -52,10 +52,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -75,7 +76,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -113,6 +113,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -221,7 +222,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -267,12 +268,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/configs/phytiumpi_aarch64_firefly_openamp_driver_core.config b/example/system/amp/openamp/driver_core/configs/phytiumpi_aarch64_firefly_openamp_driver_core.config index df20be37513f24a0e57f425aba4637504c94aae5..267524d89624340ee8a625140368742f8dab45c5 100644 --- a/example/system/amp/openamp/driver_core/configs/phytiumpi_aarch64_firefly_openamp_driver_core.config +++ b/example/system/amp/openamp/driver_core/configs/phytiumpi_aarch64_firefly_openamp_driver_core.config @@ -45,11 +45,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -69,7 +70,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -107,6 +107,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -215,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -256,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/makefile b/example/system/amp/openamp/driver_core/makefile index 89563382ec15e602ed913c8459b8539a021594b0..a8c4d39fb09210f7ed25cddf004edd805b15c514 100644 --- a/example/system/amp/openamp/driver_core/makefile +++ b/example/system/amp/openamp/driver_core/makefile @@ -12,7 +12,7 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk ifeq ($(OS),Windows_NT) USR_BOOT_DIR ?= $(subst \,/, $(PHYTIUM_DEV_PATH))/tftp else - USR_BOOT_DIR ?= /mnt/d/tftboot + USR_BOOT_DIR ?= /mnt/d/tftpboot endif # 设置启动镜像名 diff --git a/example/system/amp/openamp/driver_core/sdkconfig b/example/system/amp/openamp/driver_core/sdkconfig index df20be37513f24a0e57f425aba4637504c94aae5..267524d89624340ee8a625140368742f8dab45c5 100644 --- a/example/system/amp/openamp/driver_core/sdkconfig +++ b/example/system/amp/openamp/driver_core/sdkconfig @@ -45,11 +45,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -69,7 +70,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -107,6 +107,7 @@ CONFIG_TARGET_NAME="openamp_driver_core" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -215,7 +216,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -256,12 +257,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp/driver_core/sdkconfig.h b/example/system/amp/openamp/driver_core/sdkconfig.h index c6f99f3b9c500f762ae0b410bcaed5454c4bd158..369be00a060ed3df217a1d0b281a2769111b9981 100644 --- a/example/system/amp/openamp/driver_core/sdkconfig.h +++ b/example/system/amp/openamp/driver_core/sdkconfig.h @@ -39,11 +39,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -62,7 +62,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -#define CONFIG_USE_SPINLOCK #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -95,6 +94,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 #define CONFIG_LOG_VERBOS /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -227,11 +227,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/system/amp/openamp_for_linux/configs/d2000_aarch32_test_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/d2000_aarch32_test_openamp_for_linux.config index ea710b5c23e04d8a0ed6d4cd821c20e60d0568e2..08b60d0f5c42a8f8518e224088b76e8e9474c1aa 100644 --- a/example/system/amp/openamp_for_linux/configs/d2000_aarch32_test_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/d2000_aarch32_test_openamp_for_linux.config @@ -56,11 +56,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -79,11 +80,9 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -106,6 +105,7 @@ CONFIG_D2000_TEST_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -214,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/d2000_aarch64_test_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/d2000_aarch64_test_openamp_for_linux.config index ae78cd054cf48008dc466bcf2840844d4b2d6855..7ccb21e8a87a3014e67e39d3295d365341f3226d 100644 --- a/example/system/amp/openamp_for_linux/configs/d2000_aarch64_test_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/d2000_aarch64_test_openamp_for_linux.config @@ -49,12 +49,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -73,11 +74,9 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -100,6 +99,7 @@ CONFIG_D2000_TEST_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/e2000d_aarch32_demo_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/e2000d_aarch32_demo_openamp_for_linux.config index 70337b0446f9ae2d8cca0d0d5f687f2b0a5f2cc9..9fbcccca1a36f1f95df51c8a08ba14679094a853 100644 --- a/example/system/amp/openamp_for_linux/configs/e2000d_aarch32_demo_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/e2000d_aarch32_demo_openamp_for_linux.config @@ -56,10 +56,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -80,11 +81,9 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -119,6 +118,7 @@ CONFIG_BOARD_NAME="demo" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -227,7 +227,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -273,12 +273,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/e2000d_aarch64_demo_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/e2000d_aarch64_demo_openamp_for_linux.config index 681104d4570f8f0d92e670b4666cd49cf05ff724..66445be6bf996235406472e8ddb159e45fae2cbe 100644 --- a/example/system/amp/openamp_for_linux/configs/e2000d_aarch64_demo_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/e2000d_aarch64_demo_openamp_for_linux.config @@ -49,11 +49,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -74,11 +75,9 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -113,6 +112,7 @@ CONFIG_BOARD_NAME="demo" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -221,7 +221,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -262,12 +262,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/e2000q_aarch32_demo_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/e2000q_aarch32_demo_openamp_for_linux.config index 0797dff32e26051fa0c9775a44483acd1cf7aeca..4192df2ae0b6eb821d85ceaf219d8b53eea48d1a 100644 --- a/example/system/amp/openamp_for_linux/configs/e2000q_aarch32_demo_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/e2000q_aarch32_demo_openamp_for_linux.config @@ -56,10 +56,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -80,11 +81,9 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -118,6 +117,7 @@ CONFIG_E2000Q_DEMO_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -226,7 +226,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -272,12 +272,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/e2000q_aarch64_demo_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/e2000q_aarch64_demo_openamp_for_linux.config index 10c4a3ab51ee0592387fe17a9c314413cd58fd9a..44abc5b1ac5894d25facaa48252b3eea82ecdda5 100644 --- a/example/system/amp/openamp_for_linux/configs/e2000q_aarch64_demo_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/e2000q_aarch64_demo_openamp_for_linux.config @@ -49,11 +49,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -74,11 +75,9 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -112,6 +111,7 @@ CONFIG_E2000Q_DEMO_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -220,7 +220,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -261,12 +261,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/ft2004_aarch32_dsk_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/ft2004_aarch32_dsk_openamp_for_linux.config index 3e557d230efd96556a95bb11560730cf0cdd5f72..f51b6442d54c724ae06220d6df6adc1046fa2868 100644 --- a/example/system/amp/openamp_for_linux/configs/ft2004_aarch32_dsk_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/ft2004_aarch32_dsk_openamp_for_linux.config @@ -56,11 +56,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -79,11 +80,9 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -106,6 +105,7 @@ CONFIG_FT2004_DSK_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -214,7 +214,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/ft2004_aarch64_dsk_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/ft2004_aarch64_dsk_openamp_for_linux.config index ced403c500264b5d5b4b9903970e61daeef6614d..94f6efb6cc10a54834b974ee966979de4af5ed5d 100644 --- a/example/system/amp/openamp_for_linux/configs/ft2004_aarch64_dsk_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/ft2004_aarch64_dsk_openamp_for_linux.config @@ -49,12 +49,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y CONFIG_USE_L3CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -73,11 +74,9 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -100,6 +99,7 @@ CONFIG_FT2004_DSK_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +249,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch32_firefly_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch32_firefly_openamp_for_linux.config index 95917f2c4f6fd338ab6457b309abb354fc547aa2..d1a83c771b2db43a6ae26b893a1f4a7f5a006b89 100644 --- a/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch32_firefly_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch32_firefly_openamp_for_linux.config @@ -56,10 +56,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -79,11 +80,9 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -117,6 +116,7 @@ CONFIG_FIREFLY_DEMO_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -225,7 +225,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -271,12 +271,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch64_firefly_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch64_firefly_openamp_for_linux.config index eb5a3688de96af04d3ff1f36b05a21c630910057..f37fee23c492a4e8a12ec675e11a1fd99e7c4dba 100644 --- a/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch64_firefly_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch64_firefly_openamp_for_linux.config @@ -49,11 +49,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -73,11 +74,9 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -111,6 +110,7 @@ CONFIG_FIREFLY_DEMO_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -219,7 +219,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -260,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/amp/openamp_for_linux/makefile b/example/system/amp/openamp_for_linux/makefile index eb659b8893628197b201bab009422b10a42e714d..7ee4621179bf5ee690c3855f89adb77d874460ed 100644 --- a/example/system/amp/openamp_for_linux/makefile +++ b/example/system/amp/openamp_for_linux/makefile @@ -12,7 +12,7 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk ifeq ($(OS),Windows_NT) USR_BOOT_DIR ?= $(subst \,/, $(PHYTIUM_DEV_PATH))/tftp else - USR_BOOT_DIR ?= /mnt/d/tftboot + USR_BOOT_DIR ?= /mnt/d/tftpboot endif # 设置启动镜像名 diff --git a/example/system/amp/openamp_for_linux/sdkconfig b/example/system/amp/openamp_for_linux/sdkconfig index 66360694072591c7caf5436973b099f9633bfe66..f37fee23c492a4e8a12ec675e11a1fd99e7c4dba 100644 --- a/example/system/amp/openamp_for_linux/sdkconfig +++ b/example/system/amp/openamp_for_linux/sdkconfig @@ -49,11 +49,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y -CONFIG_BOOT_WITH_FLUSH_CACHE=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -73,11 +74,9 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -CONFIG_USE_SPINLOCK=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set -CONFIG_SPIN_MEM=0x80000000 # end of Soc configuration # @@ -111,6 +110,7 @@ CONFIG_FIREFLY_DEMO_BOARD=y # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 CONFIG_LOG_VERBOS=y # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -219,7 +219,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0xb0100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -260,12 +260,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # @@ -326,17 +320,7 @@ CONFIG_FREERTOS_USE_UART=y # Third-party configuration # # CONFIG_USE_LWIP is not set -CONFIG_USE_LETTER_SHELL=y - -# -# Letter Shell Configuration -# -CONFIG_LS_PL011_UART=y -CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y -# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set -# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set -# end of Letter Shell Configuration - +# CONFIG_USE_LETTER_SHELL is not set CONFIG_USE_AMP=y CONFIG_USE_LIBMETAL=y diff --git a/example/system/amp/openamp_for_linux/sdkconfig.h b/example/system/amp/openamp_for_linux/sdkconfig.h index 2977c0d95e24b9e0329fa5d60742ab01c086c75b..263eb66655237f52f6133d3a4c860ee7368fbb27 100644 --- a/example/system/amp/openamp_for_linux/sdkconfig.h +++ b/example/system/amp/openamp_for_linux/sdkconfig.h @@ -42,11 +42,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU -#define CONFIG_BOOT_WITH_FLUSH_CACHE +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -65,11 +65,9 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -#define CONFIG_USE_SPINLOCK #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ -#define CONFIG_SPIN_MEM 0x80000000 /* end of Soc configuration */ /* Board Configuration */ @@ -98,6 +96,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 #define CONFIG_LOG_VERBOS /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -230,11 +229,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ @@ -285,15 +279,7 @@ /* Third-party configuration */ /* CONFIG_USE_LWIP is not set */ -#define CONFIG_USE_LETTER_SHELL - -/* Letter Shell Configuration */ - -#define CONFIG_LS_PL011_UART -#define CONFIG_DEFAULT_LETTER_SHELL_USE_UART1 -/* CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set */ -/* CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set */ -/* end of Letter Shell Configuration */ +/* CONFIG_USE_LETTER_SHELL is not set */ #define CONFIG_USE_AMP #define CONFIG_USE_LIBMETAL diff --git a/example/system/atomic/configs/d2000_aarch32_test_atomic.config b/example/system/atomic/configs/d2000_aarch32_test_atomic.config index 518b8f3577ad1a78c203e7c0aaf384835fca9e67..5b449186b23d3672c904caffd8c4dd8b938a5890 100644 --- a/example/system/atomic/configs/d2000_aarch32_test_atomic.config +++ b/example/system/atomic/configs/d2000_aarch32_test_atomic.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/d2000_aarch64_test_atomic.config b/example/system/atomic/configs/d2000_aarch64_test_atomic.config index 8eb37a35f665a5dadc78b6e7572ee832f52398c7..3dbb7173a032eef20aeb1ae93fefc41dac45858f 100644 --- a/example/system/atomic/configs/d2000_aarch64_test_atomic.config +++ b/example/system/atomic/configs/d2000_aarch64_test_atomic.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/e2000d_aarch32_demo_atomic.config b/example/system/atomic/configs/e2000d_aarch32_demo_atomic.config index faff3a6a9ca0f02887ce3297a973f9d829819d81..c68f09e136c447d45c9bd9899844e3d6ad5aacc5 100644 --- a/example/system/atomic/configs/e2000d_aarch32_demo_atomic.config +++ b/example/system/atomic/configs/e2000d_aarch32_demo_atomic.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/e2000d_aarch64_demo_atomic.config b/example/system/atomic/configs/e2000d_aarch64_demo_atomic.config index 555685edfcc2a04b30f80e3abd395db1daceba66..7a3be0f978390401252eddd1b5dcb9e878312882 100644 --- a/example/system/atomic/configs/e2000d_aarch64_demo_atomic.config +++ b/example/system/atomic/configs/e2000d_aarch64_demo_atomic.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/e2000q_aarch32_demo_atomic.config b/example/system/atomic/configs/e2000q_aarch32_demo_atomic.config index b4fe7ed4421b6da768005e3f301df0355bd60da5..4c0be1b69277628b6fb7dddcb35a123f2c176e5d 100644 --- a/example/system/atomic/configs/e2000q_aarch32_demo_atomic.config +++ b/example/system/atomic/configs/e2000q_aarch32_demo_atomic.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/e2000q_aarch64_demo_atomic.config b/example/system/atomic/configs/e2000q_aarch64_demo_atomic.config index 0aceb72c00ae39331b494302b810cad4454d1658..6fb3121eeef74af24f20447fc76d48a0674b708f 100644 --- a/example/system/atomic/configs/e2000q_aarch64_demo_atomic.config +++ b/example/system/atomic/configs/e2000q_aarch64_demo_atomic.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/ft2004_aarch32_dsk_atomic.config b/example/system/atomic/configs/ft2004_aarch32_dsk_atomic.config index 31472f6c6bc6e8bbad9d76b363deb247a868c1d2..965f7198bac32e0a403ec70919f0d415b56be352 100644 --- a/example/system/atomic/configs/ft2004_aarch32_dsk_atomic.config +++ b/example/system/atomic/configs/ft2004_aarch32_dsk_atomic.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/ft2004_aarch64_dsk_atomic.config b/example/system/atomic/configs/ft2004_aarch64_dsk_atomic.config index 9a317cc1c0f23d1ed3d8506cf89dd158bc531865..c36ddbc3bb5e5f80d86d8a10b0a39f5fc5ccbc37 100644 --- a/example/system/atomic/configs/ft2004_aarch64_dsk_atomic.config +++ b/example/system/atomic/configs/ft2004_aarch64_dsk_atomic.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/phytiumpi_aarch32_firefly_atomic.config b/example/system/atomic/configs/phytiumpi_aarch32_firefly_atomic.config index 61a28bf44ea3f809c0e1a795871eedcf552d94d3..cb9bcf246a19c5de894ea721e3d18bf7825536ee 100644 --- a/example/system/atomic/configs/phytiumpi_aarch32_firefly_atomic.config +++ b/example/system/atomic/configs/phytiumpi_aarch32_firefly_atomic.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/configs/phytiumpi_aarch64_firefly_atomic.config b/example/system/atomic/configs/phytiumpi_aarch64_firefly_atomic.config index e856708ca3c43bbaae008047e80a5e0583e89172..9c5bd94037a43c40353287dd788de58b6668d8e0 100644 --- a/example/system/atomic/configs/phytiumpi_aarch64_firefly_atomic.config +++ b/example/system/atomic/configs/phytiumpi_aarch64_firefly_atomic.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/makefile b/example/system/atomic/makefile index c9e157f1bce2af900d3f3109a439f160bd2784ea..1465ed12931966647c7b409d0d79b081012366d6 100644 --- a/example/system/atomic/makefile +++ b/example/system/atomic/makefile @@ -21,7 +21,7 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk ifeq ($(OS),Windows_NT) USR_BOOT_DIR ?= $(subst \,/, $(PHYTIUM_DEV_PATH))/tftp else - USR_BOOT_DIR ?= /mnt/d/tftboot + USR_BOOT_DIR ?= /mnt/d/tftpboot endif image: diff --git a/example/system/atomic/sdkconfig b/example/system/atomic/sdkconfig index e856708ca3c43bbaae008047e80a5e0583e89172..9c5bd94037a43c40353287dd788de58b6668d8e0 100644 --- a/example/system/atomic/sdkconfig +++ b/example/system/atomic/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="atomic" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/atomic/sdkconfig.h b/example/system/atomic/sdkconfig.h index 5ab7bd5eec73aabe5978a838a769b3afa18871b1..4718e1a8cd44183bbe695f979a57cfdd5ecdd4d8 100644 --- a/example/system/atomic/sdkconfig.h +++ b/example/system/atomic/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -182,7 +182,7 @@ #define CONFIG_DEFAULT_LINKER_SCRIPT /* CONFIG_USER_DEFINED_LD is not set */ #define CONFIG_IMAGE_LOAD_ADDRESS 0x80100000 -#define CONFIG_IMAGE_MAX_LENGTH 0x1000000 +#define CONFIG_IMAGE_MAX_LENGTH 0x2000000 #define CONFIG_HEAP_SIZE 1 #define CONFIG_STACK_SIZE 0x400 /* end of Linker Options */ @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/system/exception_debug/Kconfig b/example/system/exception_debug/Kconfig index b924bf924966d03ddb8caa2c95024a44b9d7e0ea..fba4f7d414ea6f5bc65993f6081c9a75d10d7f9b 100644 --- a/example/system/exception_debug/Kconfig +++ b/example/system/exception_debug/Kconfig @@ -1,24 +1,4 @@ mainmenu "Phytium FreeRTOS Configuration" -menu "Project Configuration" - - choice EXCEPTION_TEST_TYPE - prompt "exception type" - default EXCEPTION_INVALID_INSTRUCTION - help - Select Transfer Mode as Poll or Intrrupt - - config EXCEPTION_INVALID_INSTRUCTION - bool "Invalid instruction" - - config EXCEPTION_ACCESS_PERMISSION_ERROR - bool "Memory access permission error" - - config EXCEPTION_ACCESS_VIOLATION - bool "Memory access violation" - - endchoice #EXCEPTION_TEST_TYPE - -endmenu - source "$(SDK_DIR)/../freertos.kconfig" + diff --git a/example/system/exception_debug/README.md b/example/system/exception_debug/README.md index d5d2fbf07b04ca59de8771da5cd15613d824b953..439704b464d6aaf2c416279a5ec62646fdd5f0c6 100644 --- a/example/system/exception_debug/README.md +++ b/example/system/exception_debug/README.md @@ -2,19 +2,13 @@ ## 1. 例程介绍 -本例程示范了freertos环境下测试Synchronous exception和Asynchronous exception +本例程示范了freertos环境下测试Synchronous exception和Asynchronous exception. -menuconfig选项中有如下配置选择: +Synchronous exception包含未定义指令Invalid instruction和写只读内存区域Memory access permission error两种测试. -EXCEPTION_INVALID_INSTRUCTION:Invalid instruction,未定义指令 +Asynchronous exception包含越界访问地址空间Memory access violation一种测试. -EXCEPTION_ACCESS_PERMISSION_ERROR:Memory access permission error,写只读内存区域 - -EXCEPTION_ACCESS_VIOLATION:Memory access violation,越界访问地址空间 - -其中Synchronous exception包含Invalid instruction和Memory access permission error两种测试,Asynchronous exception包含Memory access violation一种测试 - -注意aarch32和aarch64下,其异常分类有所差异,具体查看手册 +注意aarch32和aarch64下,其异常分类有所差异,具体查看手册. ## 2. 如何使用例程 @@ -112,4 +106,21 @@ bootelf -p 0x90100000 ### 2.4 输出与实验现象 +``` +$ exception undef +``` +![undef](./figs/undef.png) + +``` +$ exception access +``` +![access](./figs/access.png) + +``` +$ exception abort +``` +![abort](./figs/abort.png) + ## 3. 如何解决问题 + +本例程每次只能测试一种异常,需要重启后才能测试另一种。 diff --git a/example/system/exception_debug/configs/d2000_aarch32_test_exception.config b/example/system/exception_debug/configs/d2000_aarch32_test_exception.config index f987db4dff5046d49b34368bf22df4b5b617fc51..0bcf7838c40c445f7df331ef61fd6b057e706984 100644 --- a/example/system/exception_debug/configs/d2000_aarch32_test_exception.config +++ b/example/system/exception_debug/configs/d2000_aarch32_test_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -45,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -68,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -95,6 +86,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -249,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/d2000_aarch64_test_exception.config b/example/system/exception_debug/configs/d2000_aarch64_test_exception.config index 6faeb10458941b4f5f7c2aead38b2f3c8fcd21be..f4bea0e3c27cb74f5e6a89a16836002e1347211a 100644 --- a/example/system/exception_debug/configs/d2000_aarch64_test_exception.config +++ b/example/system/exception_debug/configs/d2000_aarch64_test_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -38,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -62,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -89,6 +80,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -197,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -238,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/e2000d_aarch32_demo_exception.config b/example/system/exception_debug/configs/e2000d_aarch32_demo_exception.config index 8b1955afa84129f0a831679cb5b5f78ef0a50260..b6b827cf431e7a80418cf7027c956e19efefd929 100644 --- a/example/system/exception_debug/configs/e2000d_aarch32_demo_exception.config +++ b/example/system/exception_debug/configs/e2000d_aarch32_demo_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -45,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -69,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -108,6 +99,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -216,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -262,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/e2000d_aarch64_demo_exception.config b/example/system/exception_debug/configs/e2000d_aarch64_demo_exception.config index c0907aab1e00883d1c64db4b6c12427954bc43c9..154359831e9dfeb3d7f9272e5746de1c7c0850ef 100644 --- a/example/system/exception_debug/configs/e2000d_aarch64_demo_exception.config +++ b/example/system/exception_debug/configs/e2000d_aarch64_demo_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -38,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -63,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -102,6 +93,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -210,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -251,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/e2000q_aarch32_demo_exception.config b/example/system/exception_debug/configs/e2000q_aarch32_demo_exception.config index 58ef771b3ca9f517e134476da5c91b465d000858..c2d03d472bed424b4a8e365bd9acd406da687a01 100644 --- a/example/system/exception_debug/configs/e2000q_aarch32_demo_exception.config +++ b/example/system/exception_debug/configs/e2000q_aarch32_demo_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -45,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -69,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -107,6 +98,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -215,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -261,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/e2000q_aarch64_demo_exception.config b/example/system/exception_debug/configs/e2000q_aarch64_demo_exception.config index c5a27e0b27e0c47ecec9316981cc1a043c3b345f..0cc3e0255bb7c086235627481110141e0c32a022 100644 --- a/example/system/exception_debug/configs/e2000q_aarch64_demo_exception.config +++ b/example/system/exception_debug/configs/e2000q_aarch64_demo_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -38,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -63,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -101,6 +92,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -209,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -250,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/ft2004_aarch32_dsk_exception.config b/example/system/exception_debug/configs/ft2004_aarch32_dsk_exception.config index 6dd34846d1996010f87b63282640e1d4f41b0ac5..6deeb0289376cf1583f52a113a4f4ce6122c1b5a 100644 --- a/example/system/exception_debug/configs/ft2004_aarch32_dsk_exception.config +++ b/example/system/exception_debug/configs/ft2004_aarch32_dsk_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -45,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -68,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -95,6 +86,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -203,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -249,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/ft2004_aarch64_dsk_exception.config b/example/system/exception_debug/configs/ft2004_aarch64_dsk_exception.config index 2374f525d880d762dfb834dac836f526f43b6cf8..2572fa29c385fe01c2d5da15dc555ff3ee95bdea 100644 --- a/example/system/exception_debug/configs/ft2004_aarch64_dsk_exception.config +++ b/example/system/exception_debug/configs/ft2004_aarch64_dsk_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -38,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -62,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -89,6 +80,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -197,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -238,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/phytiumpi_aarch32_firefly_exception.config b/example/system/exception_debug/configs/phytiumpi_aarch32_firefly_exception.config index 22c7e3c09d1b066645bfa034fdcd081849e143d9..b1a6f823aaffad4744489f1fdac4abc8509a078c 100644 --- a/example/system/exception_debug/configs/phytiumpi_aarch32_firefly_exception.config +++ b/example/system/exception_debug/configs/phytiumpi_aarch32_firefly_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -45,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -68,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -106,6 +97,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -214,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -260,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/configs/phytiumpi_aarch64_firefly_exception.config b/example/system/exception_debug/configs/phytiumpi_aarch64_firefly_exception.config index 788b92f453e6735328afac1194fc72c5780d4db4..d05cf9231fd3cd3da4064997bfc413fb1b6d9f06 100644 --- a/example/system/exception_debug/configs/phytiumpi_aarch64_firefly_exception.config +++ b/example/system/exception_debug/configs/phytiumpi_aarch64_firefly_exception.config @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -38,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -62,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -100,6 +91,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/figs/abort.png b/example/system/exception_debug/figs/abort.png new file mode 100644 index 0000000000000000000000000000000000000000..b2f85e52049769a995973e8e1838d19637fceea5 Binary files /dev/null and b/example/system/exception_debug/figs/abort.png differ diff --git a/example/system/exception_debug/figs/access.png b/example/system/exception_debug/figs/access.png new file mode 100644 index 0000000000000000000000000000000000000000..b97b7778c7cf8c8658228b2197a091ab969c27bf Binary files /dev/null and b/example/system/exception_debug/figs/access.png differ diff --git a/example/system/exception_debug/figs/undef.png b/example/system/exception_debug/figs/undef.png new file mode 100644 index 0000000000000000000000000000000000000000..b8c2a33115758d0d326c560ffaac83c8b3968e98 Binary files /dev/null and b/example/system/exception_debug/figs/undef.png differ diff --git a/example/system/exception_debug/inc/exception_test.h b/example/system/exception_debug/inc/exception_test.h new file mode 100644 index 0000000000000000000000000000000000000000..cec7c7b379ae23309189c39e8dcb79f88ed06cfe --- /dev/null +++ b/example/system/exception_debug/inc/exception_test.h @@ -0,0 +1,42 @@ +/* + * Copyright : (C) 2022 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: exception_test.h + * Date: 2022-06-17 10:42:40 + * LastEditTime: 2022-06-17 10:42:40 + * Description: This file is for task function define + * + * Modify History: + * Ver Who Date Changes + * ----- ------ -------- -------------------------------------- + * 1.0 wangxiaodong 2024/06/07 first commit + */ + +#ifndef EXCEPTION_TEST_H +#define EXCEPTION_TEST_H + +#include"FreeRTOS.h" +#ifdef __cplusplus +extern "C" +{ +#endif + +int FExcOpsInvalidMemAccess(void); +int FExcOpsUndefInstr(void); +int FExcOpsDataAbort(void); + +#ifdef __cplusplus +} +#endif + +#endif // ! \ No newline at end of file diff --git a/example/system/exception_debug/main.c b/example/system/exception_debug/main.c index 31e5c7684013f14fcd809e43a67ead842e862e74..ddea33a7fb8eb520e0e6f1e493d9e67766c31bd0 100644 --- a/example/system/exception_debug/main.c +++ b/example/system/exception_debug/main.c @@ -28,77 +28,13 @@ #include "ftypes.h" #include "shell.h" #include "shell_port.h" -#include "fmmu.h" -#include "fio.h" -#include "fkernel.h" #include "sdkconfig.h" -#include "faarch.h" - -static int FExcOpsInvalidMemAccess(void) -{ - static char buf[64] = {0}; - - buf[0] = 'A'; - buf[32] = 'B'; - printf("Buf @%p buf[0] = %c, buf[32] = %c\r\n", - buf, buf[0], buf[32]); - -#ifdef __aarch64__ - FSetTlbAttributes((uintptr)buf, sizeof(buf), MT_NORMAL | MT_RO | MT_NS); -#else - FSetTlbAttributes((uintptr)buf, sizeof(buf), MT_NORMAL | MT_P_RO_U_RO | MT_NS); -#endif - - buf[0] = 'a'; /* cause sync error */ - - return 0; -} - -static int FExcOpsUndefInstr(void) -{ - printf("Exception debug FExcOpsUndefInstr func\n"); - -#ifdef __aarch64__ - AARCH64_READ_SYSREG(SCTLR_EL3); -#else - #define UNDEFINED_INS 15, 0, 3, 2, 1 - AARCH32_READ_SYSREG_32(UNDEFINED_INS); -#endif - - return 0; -} - -static int FExcOpsDataAbort(void) -{ - printf("Exception debug FExcOpsDataAbort func\n"); - uintptr data_addr = 0x02000000; - FtOut32(data_addr, 12); /* invalid data access to trap Data abort */ - // FtIn32(data_addr); /* invalid data access to trap Data abort */ - - return 0; -} - - int main() { printf("Exception debug func, FT Date: %s, Time: %s\n", __DATE__, __TIME__); BaseType_t xReturn = pdPASS; -#if defined(CONFIG_EXCEPTION_INVALID_INSTRUCTION) - /* Synchronous exception test */ - FExcOpsUndefInstr(); /* a64--Synchronous-Invalid instructions, a32--UNDEFINED instruction*/ - -#elif defined(CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR) - /* Synchronous exception test */ - FExcOpsInvalidMemAccess();/* a64--Synchronous-Memory access, a32--Data Abort */ - -#else - /* Asynchronous exception test */ - FExcOpsDataAbort(); /* a64--SError, a32--Data Abort */ - -#endif - xReturn = LSUserShellTask(); if (xReturn != pdPASS) { diff --git a/example/system/exception_debug/makefile b/example/system/exception_debug/makefile index 96a18e15b7d181cbd16a0bb60a521d6b63ecb787..08f49d636ad3930910fbeb6ee24e44deaa763603 100644 --- a/example/system/exception_debug/makefile +++ b/example/system/exception_debug/makefile @@ -16,7 +16,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: $(MAKE) clean diff --git a/example/system/exception_debug/sdkconfig b/example/system/exception_debug/sdkconfig index 788b92f453e6735328afac1194fc72c5780d4db4..d05cf9231fd3cd3da4064997bfc413fb1b6d9f06 100644 --- a/example/system/exception_debug/sdkconfig +++ b/example/system/exception_debug/sdkconfig @@ -1,12 +1,3 @@ - -# -# Project Configuration -# -CONFIG_EXCEPTION_INVALID_INSTRUCTION=y -# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set -# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set -# end of Project Configuration - CONFIG_USE_FREERTOS=y # @@ -38,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -62,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -100,6 +91,7 @@ CONFIG_TARGET_NAME="exception" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -208,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -249,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/exception_debug/sdkconfig.h b/example/system/exception_debug/sdkconfig.h index 91c87fbcba66d6c1ad76b03addc6e0b5c53fbbe9..c3c147d2cd452f3c827b4b2c7fce9c2a535c2e98 100644 --- a/example/system/exception_debug/sdkconfig.h +++ b/example/system/exception_debug/sdkconfig.h @@ -1,12 +1,6 @@ #ifndef SDK_CONFIG_H__ #define SDK_CONFIG_H__ -/* Project Configuration */ - -#define CONFIG_EXCEPTION_INVALID_INSTRUCTION -/* CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set */ -/* CONFIG_EXCEPTION_ACCESS_VIOLATION is not set */ -/* end of Project Configuration */ #define CONFIG_USE_FREERTOS /* Arch configuration */ @@ -34,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -57,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -90,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -188,7 +182,7 @@ #define CONFIG_DEFAULT_LINKER_SCRIPT /* CONFIG_USER_DEFINED_LD is not set */ #define CONFIG_IMAGE_LOAD_ADDRESS 0x80100000 -#define CONFIG_IMAGE_MAX_LENGTH 0x1000000 +#define CONFIG_IMAGE_MAX_LENGTH 0x2000000 #define CONFIG_HEAP_SIZE 1 #define CONFIG_STACK_SIZE 0x400 /* end of Linker Options */ @@ -222,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/system/exception_debug/src/exception_cmd.c b/example/system/exception_debug/src/exception_cmd.c new file mode 100644 index 0000000000000000000000000000000000000000..062d792c6a09638e7d5059c2e91d1e50ff57f141 --- /dev/null +++ b/example/system/exception_debug/src/exception_cmd.c @@ -0,0 +1,75 @@ +/* + * Copyright : (C) 2022 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: exception_cmd.c + * Date: 2022-06-17 10:41:45 + * LastEditTime: 2022-06-17 10:41:45 + * Description: This file is for exception command interface + * + * Modify History: + * Ver Who Date Changes + * ----- ------ -------- -------------------------------------- + * 1.0 wangxiaodong 2023/02/25 first commit + */ + +#include +#include +#include "exception_test.h" +#include "sdkconfig.h" + +#ifdef CONFIG_USE_LETTER_SHELL +#include "shell.h" + +static void CreateExceptionCmdUsage(void) +{ + printf("Usage:\r\n"); + printf(" exception undef \r\n"); + printf(" -- a64--Synchronous-Invalid instructions, a32--UNDEFINED instruction.\r\n"); + printf(" exception access \r\n"); + printf(" -- a64--Synchronous-Memory access, a32--Data Abort.\r\n"); + printf(" exception abort \r\n"); + printf(" -- a64--SError, a32--Data Abort.\r\n"); +} + +int CreateExceptionCmd(int argc, char *argv[]) +{ + if (argc < 2) + { + CreateExceptionCmdUsage(); + return -1; + } + + if (!strcmp(argv[1], "undef")) + { + FExcOpsUndefInstr(); + } + else if (!strcmp(argv[1], "access")) + { + FExcOpsInvalidMemAccess(); + } + else if (!strcmp(argv[1], "abort")) + { + FExcOpsDataAbort(); + } + else + { + printf("Error: Invalid arguments. \r\n"); + CreateExceptionCmdUsage(); + } + return 0; +} + +SHELL_EXPORT_CMD(SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), exception, CreateExceptionCmd, exception test); +#endif + + diff --git a/example/system/exception_debug/src/exception_test.c b/example/system/exception_debug/src/exception_test.c new file mode 100644 index 0000000000000000000000000000000000000000..e092460537905c39e5ab109fa77b6c1faf878ca4 --- /dev/null +++ b/example/system/exception_debug/src/exception_test.c @@ -0,0 +1,73 @@ +/* + * Copyright : (C) 2022 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: exception_test.c + * Date: 2022-02-24 13:42:19 + * LastEditTime: 2022-03-21 17:02:53 + * Description:  This file is for exception debug examples. + * + * Modify History: + * Ver   Who         Date         Changes + * ----- ------      --------    -------------------------------------- + * 1.0 wangxiaodong 2022/11/1 init commit + */ +#include +#include +#include "FreeRTOS.h" +#include "task.h" +#include "ftypes.h" +#include "shell.h" +#include "shell_port.h" +#include "fmmu.h" +#include "fio.h" +#include "fkernel.h" +#include "sdkconfig.h" +#include "faarch.h" + +int FExcOpsInvalidMemAccess(void) // FMmuAssignL2Table +{ + static char buf[4096] __attribute__((aligned(4096))) = {0}; + buf[0] = 'A'; + buf[32] = 'B'; + printf("Buf @%p buf[0] = %c, buf[32] = %c\r\n", + buf, buf[0], buf[32]); + + FMmuMap((uintptr)buf, (uintptr)buf, 4096, MT_NORMAL | MT_P_RO_U_NA | MT_NS); + + buf[0] = 'a'; /* cause sync error */ + return 0; +} + +int FExcOpsUndefInstr(void) +{ + printf("Exception debug FExcOpsUndefInstr func\n"); + +#ifdef __aarch64__ + AARCH64_READ_SYSREG(SCTLR_EL3); +#else + #define UNDEFINED_INS 15, 0, 3, 2, 1 + AARCH32_READ_SYSREG_32(UNDEFINED_INS); +#endif + + return 0; +} + +int FExcOpsDataAbort(void) +{ + printf("Exception debug FExcOpsDataAbort func\n"); + uintptr data_addr = 0x02000000; + FtOut32(data_addr, 12); /* invalid data access to trap Data abort */ + + return 0; +} + diff --git a/example/system/nested_interrupt/configs/d2000_aarch32_test_nested_interrupt.config b/example/system/nested_interrupt/configs/d2000_aarch32_test_nested_interrupt.config index c2060dd981b45d7e57c08ebd09c3c2f3749346fb..c77d4d200cb77330c82ed99fb19fcfe70dd043f8 100644 --- a/example/system/nested_interrupt/configs/d2000_aarch32_test_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/d2000_aarch32_test_nested_interrupt.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/d2000_aarch64_test_nested_interrupt.config b/example/system/nested_interrupt/configs/d2000_aarch64_test_nested_interrupt.config index 7bdd9ccbb6a24eb8f30558f21ac8318cf1fb794c..1c8e25e81056c50a7f2c8f8190b87eb6fd1e19ab 100644 --- a/example/system/nested_interrupt/configs/d2000_aarch64_test_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/d2000_aarch64_test_nested_interrupt.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/e2000d_aarch32_demo_nested_interrupt.config b/example/system/nested_interrupt/configs/e2000d_aarch32_demo_nested_interrupt.config index 1991f6e3b9b1be866c05d15aaa13430a79e2d6a9..99c124127229e10f02ff58c714e416117634f04f 100644 --- a/example/system/nested_interrupt/configs/e2000d_aarch32_demo_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/e2000d_aarch32_demo_nested_interrupt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/e2000d_aarch64_demo_nested_interrupt.config b/example/system/nested_interrupt/configs/e2000d_aarch64_demo_nested_interrupt.config index f1b2f72bc5d22287a0d2f68185c747efc8f8d27a..ae3ce80318ac19db8335a65fe00cd640dfea6efd 100644 --- a/example/system/nested_interrupt/configs/e2000d_aarch64_demo_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/e2000d_aarch64_demo_nested_interrupt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/e2000q_aarch32_demo_nested_interrupt.config b/example/system/nested_interrupt/configs/e2000q_aarch32_demo_nested_interrupt.config index caec14375e11e07777957f638b7460085b5ad365..020bc62b7b20062b1eee4ffac7a26a6efe220bb6 100644 --- a/example/system/nested_interrupt/configs/e2000q_aarch32_demo_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/e2000q_aarch32_demo_nested_interrupt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/e2000q_aarch64_demo_nested_interrupt.config b/example/system/nested_interrupt/configs/e2000q_aarch64_demo_nested_interrupt.config index 76f6e5d8b1cfc314ee352fc8ad0b1ba86fe79d0c..9936f64492669e8ae4b125378e95f797af8e179c 100644 --- a/example/system/nested_interrupt/configs/e2000q_aarch64_demo_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/e2000q_aarch64_demo_nested_interrupt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/ft2004_aarch32_dsk_nested_interrupt.config b/example/system/nested_interrupt/configs/ft2004_aarch32_dsk_nested_interrupt.config index ccede3309449c49a2498c56e2af0d2349133515d..6ad297586ed78cebb1b9000fa7cdf8a949803546 100644 --- a/example/system/nested_interrupt/configs/ft2004_aarch32_dsk_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/ft2004_aarch32_dsk_nested_interrupt.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/ft2004_aarch64_dsk_nested_interrupt.config b/example/system/nested_interrupt/configs/ft2004_aarch64_dsk_nested_interrupt.config index 20248edf82c93fbd104000e0f8192e37fa4cfeae..7bfa2811c706017b17a2f28d6f194b60f8432ed1 100644 --- a/example/system/nested_interrupt/configs/ft2004_aarch64_dsk_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/ft2004_aarch64_dsk_nested_interrupt.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/phytiumpi_aarch32_firefly_nested_interrupt.config b/example/system/nested_interrupt/configs/phytiumpi_aarch32_firefly_nested_interrupt.config index 60d8346ec27e87ada9763bd11edaf02825a372e2..d89e85a270e606d506853bc0d9053781ed3120ec 100644 --- a/example/system/nested_interrupt/configs/phytiumpi_aarch32_firefly_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/phytiumpi_aarch32_firefly_nested_interrupt.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/configs/phytiumpi_aarch64_firefly_nested_interrupt.config b/example/system/nested_interrupt/configs/phytiumpi_aarch64_firefly_nested_interrupt.config index 0e94d38dab71935ef1a048e1a62e13df5fe3f68a..68ab721e543e4b75a17f1223350aec3e4ab887a1 100644 --- a/example/system/nested_interrupt/configs/phytiumpi_aarch64_firefly_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/phytiumpi_aarch64_firefly_nested_interrupt.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/makefile b/example/system/nested_interrupt/makefile index 9f7936305c0cc737771ce184df124fc494c8e1a8..c904fe89935df5a383d1db766f1620b09b067c4f 100644 --- a/example/system/nested_interrupt/makefile +++ b/example/system/nested_interrupt/makefile @@ -21,7 +21,7 @@ include $(FREERTOS_SDK_DIR)/tools/makeall.mk ifeq ($(OS),Windows_NT) USR_BOOT_DIR ?= $(subst \,/, $(PHYTIUM_DEV_PATH))/tftp else - USR_BOOT_DIR ?= /mnt/d/tftboot + USR_BOOT_DIR ?= /mnt/d/tftpboot endif image: @@ -32,7 +32,5 @@ ifdef CONFIG_OUTPUT_BINARY @cp ./$(IMAGE_OUT_NAME).bin $(USR_BOOT_DIR)/freertos.bin endif @ls $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).* -l - - diff --git a/example/system/nested_interrupt/sdkconfig b/example/system/nested_interrupt/sdkconfig index 0e94d38dab71935ef1a048e1a62e13df5fe3f68a..68ab721e543e4b75a17f1223350aec3e4ab887a1 100644 --- a/example/system/nested_interrupt/sdkconfig +++ b/example/system/nested_interrupt/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="nested_interrupt" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set CONFIG_LOG_INFO=y @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/nested_interrupt/sdkconfig.h b/example/system/nested_interrupt/sdkconfig.h index 625eda0d9c41d516a1cb2cc28a980e68e2e32e8d..264cc20430a5bae04e6cb2fa8450442c4e3101ac 100644 --- a/example/system/nested_interrupt/sdkconfig.h +++ b/example/system/nested_interrupt/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ #define CONFIG_LOG_INFO @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/system/posix/configs/d2000_aarch32_test_posix.config b/example/system/posix/configs/d2000_aarch32_test_posix.config index 7a7ec7d13fe6ebef0eb1a72d47c0a5428c1d4b4e..fd65e242d55e4f6a35e4062863c3bd3fb2641b1f 100644 --- a/example/system/posix/configs/d2000_aarch32_test_posix.config +++ b/example/system/posix/configs/d2000_aarch32_test_posix.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/d2000_aarch64_test_posix.config b/example/system/posix/configs/d2000_aarch64_test_posix.config index abd87da6bcf309f787cf143416ea4c0dc2b9e7f9..d780d8b8745d47038692f292d86d53c9b8ce6bc8 100644 --- a/example/system/posix/configs/d2000_aarch64_test_posix.config +++ b/example/system/posix/configs/d2000_aarch64_test_posix.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/e2000d_aarch32_demo_posix.config b/example/system/posix/configs/e2000d_aarch32_demo_posix.config index 78513132ee31c23c74827b04e10e643abe3ce2ad..f4ae278254a659b3c949308974c256f4c8e460a7 100644 --- a/example/system/posix/configs/e2000d_aarch32_demo_posix.config +++ b/example/system/posix/configs/e2000d_aarch32_demo_posix.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/e2000d_aarch64_demo_posix.config b/example/system/posix/configs/e2000d_aarch64_demo_posix.config index 1008a09592f3bdea4abbff12d066816d013a73da..8e1148ee9da9b0ecfbc8820d426f4a686b6bac37 100644 --- a/example/system/posix/configs/e2000d_aarch64_demo_posix.config +++ b/example/system/posix/configs/e2000d_aarch64_demo_posix.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/e2000q_aarch32_demo_posix.config b/example/system/posix/configs/e2000q_aarch32_demo_posix.config index c69be74865998cc9277264efe3e218da7c4b05f1..6886cbedcfdcd718384d9eec61e9e0b9dbf1fb68 100644 --- a/example/system/posix/configs/e2000q_aarch32_demo_posix.config +++ b/example/system/posix/configs/e2000q_aarch32_demo_posix.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/e2000q_aarch64_demo_posix.config b/example/system/posix/configs/e2000q_aarch64_demo_posix.config index 15579bc5d418dd7363641ec51ba34d0c38a0ac8d..3570206df1053960d6f2a7845417669af5dd65e2 100644 --- a/example/system/posix/configs/e2000q_aarch64_demo_posix.config +++ b/example/system/posix/configs/e2000q_aarch64_demo_posix.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/ft2004_aarch32_dsk_posix.config b/example/system/posix/configs/ft2004_aarch32_dsk_posix.config index 39b61a08b1f93e54186138d01fab8f3f3098e3b1..6321540e7ba2b516f62e50b7b3ae0f980e4f2216 100644 --- a/example/system/posix/configs/ft2004_aarch32_dsk_posix.config +++ b/example/system/posix/configs/ft2004_aarch32_dsk_posix.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/ft2004_aarch64_dsk_posix.config b/example/system/posix/configs/ft2004_aarch64_dsk_posix.config index dcc8c0f34811b96c4086c72d7e94240b471b8d14..854fefd7c3b55c48674dea3da1c79a4592c682d7 100644 --- a/example/system/posix/configs/ft2004_aarch64_dsk_posix.config +++ b/example/system/posix/configs/ft2004_aarch64_dsk_posix.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/phytiumpi_aarch32_firefly_posix.config b/example/system/posix/configs/phytiumpi_aarch32_firefly_posix.config index 1e6abc9f1a8441a74f7e9d095de1591dfd5c0d0d..bb8470626e9577e6f64e1b79a8aedbbaa0adc824 100644 --- a/example/system/posix/configs/phytiumpi_aarch32_firefly_posix.config +++ b/example/system/posix/configs/phytiumpi_aarch32_firefly_posix.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +206,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/configs/phytiumpi_aarch64_firefly_posix.config b/example/system/posix/configs/phytiumpi_aarch64_firefly_posix.config index 73a3325a4ce559233e73c8d35d89d6701d89891e..95f60a7bc3e31c5a0a9f6a33f8be68855eef95ba 100644 --- a/example/system/posix/configs/phytiumpi_aarch64_firefly_posix.config +++ b/example/system/posix/configs/phytiumpi_aarch64_firefly_posix.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +200,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/makefile b/example/system/posix/makefile index 334a579eae1535d082057450544b58d856b7d533..12a8c2675eb2b5b160af101951814b650b211010 100644 --- a/example/system/posix/makefile +++ b/example/system/posix/makefile @@ -17,7 +17,7 @@ USER_INCLUDE := $(PROJECT_DIR) \ include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: $(MAKE) clean diff --git a/example/system/posix/sdkconfig b/example/system/posix/sdkconfig index 73a3325a4ce559233e73c8d35d89d6701d89891e..95f60a7bc3e31c5a0a9f6a33f8be68855eef95ba 100644 --- a/example/system/posix/sdkconfig +++ b/example/system/posix/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_BOOT_WITH_FLUSH_CACHE=y # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="posix" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +200,7 @@ CONFIG_USE_NEWLIB=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/system/posix/sdkconfig.h b/example/system/posix/sdkconfig.h index 0e2e0c9e3fbb537e130cc6114f66ee7577c9df67..9b61fc59618d528f6866674df3efed40c7876fa4 100644 --- a/example/system/posix/sdkconfig.h +++ b/example/system/posix/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU #define CONFIG_BOOT_WITH_FLUSH_CACHE /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/example/template/configs/d2000_aarch32_test_eg.config b/example/template/configs/d2000_aarch32_test_eg.config index 867b03759ac84cd41462e6d013d3ce8fca4ba421..7a84ca97ecd3e25af30dd6aaf4cc1ac5e0d60f87 100644 --- a/example/template/configs/d2000_aarch32_test_eg.config +++ b/example/template/configs/d2000_aarch32_test_eg.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/d2000_aarch64_test_eg.config b/example/template/configs/d2000_aarch64_test_eg.config index a9a712419dcc341fa2b8f680a4d7bfcdf9212f44..5b4a73c599e2166b3a539bfd14c6afc696b77d53 100644 --- a/example/template/configs/d2000_aarch64_test_eg.config +++ b/example/template/configs/d2000_aarch64_test_eg.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/e2000d_aarch32_demo_eg.config b/example/template/configs/e2000d_aarch32_demo_eg.config index 45d7b4fdc963d2864ec29ca80135b4e8d676571e..962543c59f2dc6246c0e21157a55750bd61dd1bf 100644 --- a/example/template/configs/e2000d_aarch32_demo_eg.config +++ b/example/template/configs/e2000d_aarch32_demo_eg.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -99,6 +99,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -207,7 +208,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -253,12 +254,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/e2000d_aarch64_demo_eg.config b/example/template/configs/e2000d_aarch64_demo_eg.config index b41ac5a8c64c77c13dcec1534e632e3c32c94857..0cef892cf315b94d3579a3a0ff9989499d859734 100644 --- a/example/template/configs/e2000d_aarch64_demo_eg.config +++ b/example/template/configs/e2000d_aarch64_demo_eg.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -93,6 +93,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -201,7 +202,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x100000 # end of Linker Options @@ -242,12 +243,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/e2000q_aarch32_demo_eg.config b/example/template/configs/e2000q_aarch32_demo_eg.config index daf54b8265a1f412b51a8adfd058548d90b15a98..615b5ae888397be4b7d91f0d383e245c777b4df4 100644 --- a/example/template/configs/e2000q_aarch32_demo_eg.config +++ b/example/template/configs/e2000q_aarch32_demo_eg.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -60,7 +61,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -98,6 +98,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -206,7 +207,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -252,12 +253,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/e2000q_aarch64_demo_eg.config b/example/template/configs/e2000q_aarch64_demo_eg.config index 3ee08d9b0e39ff1b4a26da939a2dd3a68dd59234..3e73a1f9c08d99bf42ee882e5ea40820b5fb3536 100644 --- a/example/template/configs/e2000q_aarch64_demo_eg.config +++ b/example/template/configs/e2000q_aarch64_demo_eg.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -54,7 +55,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -92,6 +92,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -200,7 +201,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -241,12 +242,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/ft2004_aarch32_dsk_eg.config b/example/template/configs/ft2004_aarch32_dsk_eg.config index d8f97e589821fa2dc2ea37ba236199294d9e9351..b00b5302c7978a5daf33ba031c369835ef77ff24 100644 --- a/example/template/configs/ft2004_aarch32_dsk_eg.config +++ b/example/template/configs/ft2004_aarch32_dsk_eg.config @@ -36,11 +36,12 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -86,6 +86,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -194,7 +195,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/ft2004_aarch64_dsk_eg.config b/example/template/configs/ft2004_aarch64_dsk_eg.config index cd1b3a2a356ba08d47f20b0959b216a2d92deb1b..a6226b74da2aeccbca9b7f565e826e6674ce153e 100644 --- a/example/template/configs/ft2004_aarch64_dsk_eg.config +++ b/example/template/configs/ft2004_aarch64_dsk_eg.config @@ -29,12 +29,13 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y # CONFIG_USE_L3CACHE is not set -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000 CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -80,6 +80,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -188,7 +189,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -229,12 +230,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/phytiumpi_aarch32_firefly_eg.config b/example/template/configs/phytiumpi_aarch32_firefly_eg.config index 93cebf333c20fb1aaa4b17134810b7cd40fa6313..82ed04fa40449fcda645f3af92c1ed6f46d8ba4a 100644 --- a/example/template/configs/phytiumpi_aarch32_firefly_eg.config +++ b/example/template/configs/phytiumpi_aarch32_firefly_eg.config @@ -36,10 +36,11 @@ CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_FMMU_NUM_L2_TABLES=256 # end of Arch configuration # @@ -59,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -97,6 +97,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -205,7 +206,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_SVC_STACK_SIZE=0x1000 CONFIG_SYS_STACK_SIZE=0x1000 @@ -251,12 +252,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/configs/phytiumpi_aarch64_firefly_eg.config b/example/template/configs/phytiumpi_aarch64_firefly_eg.config index bfedcda610000a1e909f8b71a5fcf03e1b1fd207..4b906a8fc5acb9f58a29051c14e8c06f5869f0fc 100644 --- a/example/template/configs/phytiumpi_aarch64_firefly_eg.config +++ b/example/template/configs/phytiumpi_aarch64_firefly_eg.config @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/makefile b/example/template/makefile index d8139e9cbf8512f973c85c0f528ad6a1a83f4ddb..5d5c82f086e9052a66ee0ab9c2888b3f8b9d8954 100644 --- a/example/template/makefile +++ b/example/template/makefile @@ -16,7 +16,7 @@ USER_INCLUDE := $(PROJECT_DIR) include $(FREERTOS_SDK_DIR)/tools/makeall.mk -USR_BOOT_DIR ?= /mnt/d/tftboot +USR_BOOT_DIR ?= /mnt/d/tftpboot image: @$(MAKE) -s clean @@ -25,4 +25,7 @@ image: ifdef CONFIG_OUTPUT_BINARY @cp ./$(IMAGE_OUT_NAME).bin $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).bin endif - @ls $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).* -l \ No newline at end of file + @ls $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).* -l + +e2000_jailhouse: + scp ./$(IMAGE_OUT_NAME).bin root@192.168.4.20:/root \ No newline at end of file diff --git a/example/template/sdkconfig b/example/template/sdkconfig index bfedcda610000a1e909f8b71a5fcf03e1b1fd207..4b906a8fc5acb9f58a29051c14e8c06f5869f0fc 100644 --- a/example/template/sdkconfig +++ b/example/template/sdkconfig @@ -29,11 +29,12 @@ CONFIG_GCC_CODE_MODEL_SMALL=y # CONFIG_GCC_CODE_MODEL_LARGE is not set # end of Compiler configuration -CONFIG_USE_CACHE=y -CONFIG_USE_MMU=y # CONFIG_BOOT_WITH_FLUSH_CACHE is not set # CONFIG_MMU_DEBUG_PRINTS is not set # end of Arm architecture configuration + +CONFIG_MMU_PAGE_SIZE=0x1000 +CONFIG_MAX_XLAT_TABLES=256 # end of Arch configuration # @@ -53,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -91,6 +91,7 @@ CONFIG_TARGET_NAME="eg" # # Sdk common configuration # +CONFIG_ELOG_LINE_BUF_SIZE=0x100 # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set # CONFIG_LOG_INFO is not set @@ -199,7 +200,7 @@ CONFIG_USE_COMPILE_CHAIN=y CONFIG_DEFAULT_LINKER_SCRIPT=y # CONFIG_USER_DEFINED_LD is not set CONFIG_IMAGE_LOAD_ADDRESS=0x80100000 -CONFIG_IMAGE_MAX_LENGTH=0x1000000 +CONFIG_IMAGE_MAX_LENGTH=0x2000000 CONFIG_HEAP_SIZE=1 CONFIG_STACK_SIZE=0x400 # end of Linker Options @@ -240,12 +241,6 @@ CONFIG_FREERTOS_USE_UART=y # CONFIG_FREERTOS_USE_GMAC is not set # end of Freertos Eth Drivers -# -# Freertos Gpio Drivers -# -# CONFIG_FREERTOS_USE_GPIO is not set -# end of Freertos Gpio Drivers - # # Freertos Spim Drivers # diff --git a/example/template/sdkconfig.h b/example/template/sdkconfig.h index a00b301b0ad5aa63a9c00d071312e6d332932fb0..95f4610ff27a8329c16c8251a6f07cd87e3e3e5c 100644 --- a/example/template/sdkconfig.h +++ b/example/template/sdkconfig.h @@ -28,11 +28,11 @@ #define CONFIG_GCC_CODE_MODEL_SMALL /* CONFIG_GCC_CODE_MODEL_LARGE is not set */ /* end of Compiler configuration */ -#define CONFIG_USE_CACHE -#define CONFIG_USE_MMU /* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ /* end of Arm architecture configuration */ +#define CONFIG_MMU_PAGE_SIZE 0x1000 +#define CONFIG_MAX_XLAT_TABLES 256 /* end of Arch configuration */ /* Soc configuration */ @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -84,6 +83,7 @@ /* Sdk common configuration */ +#define CONFIG_ELOG_LINE_BUF_SIZE 0x100 /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ /* CONFIG_LOG_INFO is not set */ @@ -216,11 +216,6 @@ /* CONFIG_FREERTOS_USE_GMAC is not set */ /* end of Freertos Eth Drivers */ -/* Freertos Gpio Drivers */ - -/* CONFIG_FREERTOS_USE_GPIO is not set */ -/* end of Freertos Gpio Drivers */ - /* Freertos Spim Drivers */ /* CONFIG_FREERTOS_USE_FSPIM is not set */ diff --git a/install.py b/install.py index aac311cb50dc01d099b5651a20fb619bd48d12fd..24644b7d906d98a152e95efdad33289585f5f259 100755 --- a/install.py +++ b/install.py @@ -36,12 +36,12 @@ freertos_sdk_path = install_path print("Standalone SDK at {}".format(freertos_sdk_path)) # Add standalone sdk -standalone_sdk_v="588db75e0ca38c0559563303d4ab8cbabab0e3ec" +standalone_sdk_v="7c808e326c36bfc816fe293ad0927aeea142f584" if (install_platform == windows_x64): standalone_path=freertos_sdk_path + '\\standalone' else: standalone_path=freertos_sdk_path + '/standalone' -standalone_branch="release_v1.3.1" +standalone_branch="master" standalone_remote="https://gitee.com/phytium_embedded/phytium-standalone-sdk.git" if not os.path.exists(standalone_path): diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch32/vector.S b/third-party/freertos/portable/GCC/ft_platform/aarch32/freertos_vectors.S similarity index 94% rename from third-party/freertos/portable/GCC/ft_platform/aarch32/vector.S rename to third-party/freertos/portable/GCC/ft_platform/aarch32/freertos_vectors.S index 137af946ac8a392372de8c82df3b41f780ee2d5c..83e4265908d35ab79129dc874f53b1e43f633da8 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch32/vector.S +++ b/third-party/freertos/portable/GCC/ft_platform/aarch32/freertos_vectors.S @@ -1,5 +1,5 @@ .globl _boot -.globl _vector_table +.globl _freertos_vector_table .globl FiqInterruptHandler .globl DataAbortInterruptHandler @@ -11,9 +11,9 @@ .set EXCEPTION_FRAME_SIZE, (17*4) /* allocatable and executable */ -.section .vectors, "a" +.section .rtos_vectors_freertos, "a" -_vector_table: +_freertos_vector_table: B _boot B Undefined B FreeRTOS_SWI_Handler diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch32/portASM.S b/third-party/freertos/portable/GCC/ft_platform/aarch32/portASM.S index 6c82ba90b01240b9368042545b96aa0ada85b2a1..00bc08a905df908e9410f40e03f3c6e6507c390c 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch32/portASM.S +++ b/third-party/freertos/portable/GCC/ft_platform/aarch32/portASM.S @@ -158,6 +158,8 @@ FreeRTOS_SWI_Handler: *****************************************************************************/ .type vPortRestoreTaskContext, %function vPortRestoreTaskContext: + ldr r0, =_freertos_vector_table + mcr p15, 0, r0, c12, c0, 0 /* Switch to Supervisor mode. */ CPS #SVC_MODE portRESTORE_CONTEXT diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch64/freertos_vectors.S b/third-party/freertos/portable/GCC/ft_platform/aarch64/freertos_vectors.S index 5ca6849d23cdf799eec154ef74202db246935e63..785069dd2445bdf16a05eaf7aef7ce359ff964ae 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch64/freertos_vectors.S +++ b/third-party/freertos/portable/GCC/ft_platform/aarch64/freertos_vectors.S @@ -5,14 +5,13 @@ .global FreeRTOS_IRQ_Handler -.section .freertos_vectors, "a" +.section .rtos_vectors_freertos, "a" _freertos_vector_table: .set FREERTOS_VBAR, _freertos_vector_table .align 11 /* VBAR_EL1 Vector Base Address is [55:48] */ .org(FREERTOS_VBAR) - b vSynchronousInterruptHandler .org (FREERTOS_VBAR + 0x80) diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch64/portASM.S b/third-party/freertos/portable/GCC/ft_platform/aarch64/portASM.S index 9473ca1d198cabad4d0071a83b2d03430739be06..c703e97f41421d1d264b45fd98b5ad9452c27931 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch64/portASM.S +++ b/third-party/freertos/portable/GCC/ft_platform/aarch64/portASM.S @@ -28,6 +28,8 @@ #define ICC_EOIR1_EL1 S3_0_C12_C12_1 #define ICC_IAR1_EL1 S3_0_C12_C12_0 +#define EXCEPTION_FRAME_SIZE 704 /* 704 = 22*8 + 32*16 + 2*8, except sp and spsr in FExcFrame */ + .text /* Variables and functions. */ @@ -63,10 +65,44 @@ stp X16,X17, [sp,#-0x10]! stp X18,X19, [sp,#-0x10]! stp X29,X30, [sp,#-0x10]! + + stp q0,q1, [sp,#-0x20]! + stp q2,q3, [sp,#-0x20]! + stp q4,q5, [sp,#-0x20]! + stp q6,q7, [sp,#-0x20]! + stp q8,q9, [sp,#-0x20]! + stp q10,q11, [sp,#-0x20]! + stp q12,q13, [sp,#-0x20]! + stp q14,q15, [sp,#-0x20]! + stp q16,q17, [sp,#-0x20]! + stp q18,q19, [sp,#-0x20]! + stp q20,q21, [sp,#-0x20]! + stp q22,q23, [sp,#-0x20]! + stp q24,q25, [sp,#-0x20]! + stp q26,q27, [sp,#-0x20]! + stp q28,q29, [sp,#-0x20]! + stp q30,q31, [sp,#-0x20]! .endm .macro RestoreRegister + ldp q30,q31, [sp], #0x20 + ldp q28,q29, [sp], #0x20 + ldp q26,q27, [sp], #0x20 + ldp q24,q25, [sp], #0x20 + ldp q22,q23, [sp], #0x20 + ldp q20,q21, [sp], #0x20 + ldp q18,q19, [sp], #0x20 + ldp q16,q17, [sp], #0x20 + ldp q14,q15, [sp], #0x20 + ldp q12,q13, [sp], #0x20 + ldp q10,q11, [sp], #0x20 + ldp q8,q9, [sp], #0x20 + ldp q6,q7, [sp], #0x20 + ldp q4,q5, [sp], #0x20 + ldp q2,q3, [sp], #0x20 + ldp q0,q1, [sp], #0x20 + ldp X29,X30, [sp], #0x10 ldp X18,X19, [sp], #0x10 ldp X16,X17, [sp], #0x10 @@ -263,9 +299,6 @@ vSynchronousInterruptHandler: /* store value */ STP X0, X1, [SP, #-0x10]! - /* Save the context of the current task and select a new task to run. */ - portSAVE_CONTEXT - #if defined( GUEST ) MRS X0, ESR_EL1 #else @@ -282,6 +315,9 @@ vSynchronousInterruptHandler: B.NE vSynchronousHandler + /* Save the context of the current task and select a new task to run. */ + portSAVE_CONTEXT + LDP X0, X1, [SP], #0x10 BL vTaskSwitchContext @@ -300,7 +336,7 @@ vSynchronousHandler: mrs x2, SPSR_EL1 stp x0, x1, [sp,#-0x10]! mov x21, sp - add x21, x21, #208 + add x21, x21, #EXCEPTION_FRAME_SIZE stp x2,x21, [sp,#-0x10]! mov x0, sp @@ -337,7 +373,7 @@ vSynchronousHandlerSPx: mrs x2, SPSR_EL1 stp x0, x1, [sp,#-0x10]! mov x21, sp - add x21, x21, #208 + add x21, x21, #EXCEPTION_FRAME_SIZE stp x2,x21, [sp,#-0x10]! mov x0, sp @@ -355,7 +391,7 @@ vSErrorInterruptHandler: mrs x2, SPSR_EL1 stp x0, x1, [sp,#-0x10]! mov x21, sp - add x21, x21, #208 + add x21, x21, #EXCEPTION_FRAME_SIZE stp x21,x21, [sp,#-0x10]! mov x0, sp diff --git a/third-party/letter-shell-3.1/port/cmd/cmd_mmu.c b/third-party/letter-shell-3.1/port/cmd/cmd_mmu.c new file mode 100644 index 0000000000000000000000000000000000000000..27c7f47c359f2b5d6dec1a2645324ac9606b6190 --- /dev/null +++ b/third-party/letter-shell-3.1/port/cmd/cmd_mmu.c @@ -0,0 +1,50 @@ +/* + * Copyright : (C) 2024 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: cmd_mmu.c + * Created Date: 2024-05-21 10:50:34 + * Last Modified: 2024-05-21 11:17:24 + * Description: This file is for + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + */ +#include +#include +#include +#include "../src/shell.h" +#include "fmmu.h" + + +static void MwUsage() +{ + printf("usage:\r\n"); + printf(" mmu_display [detailed] \r\n"); +} + +static void MmuDisplay(int argc, char *argv[]) +{ + int print_detailed = (argc > 1 && strcmp(argv[1], "detailed") == 0) ? 1 : 0; + + FMmuPrintReconstructedTables(print_detailed) ; + DisplayMmuUsage(); + + MwUsage() ; +} + +SHELL_EXPORT_CMD(SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), + mmu_display, MmuDisplay, Display MMU usage and reconstructed tables); + + + diff --git a/third-party/letter-shell-3.1/src.mk b/third-party/letter-shell-3.1/src.mk index 9828cc2039be72d3bca263ae3042eb977e51d40b..efb2b748ec39799fc5eb7a093ab198bd5eb540eb 100644 --- a/third-party/letter-shell-3.1/src.mk +++ b/third-party/letter-shell-3.1/src.mk @@ -14,5 +14,6 @@ SHELL_CSRCS += cmd_bootelf.c \ cmd_rw.c \ cmd_sleep.c \ cmd_version.c \ - cmd_ps.c + cmd_ps.c \ + cmd_mmu.c diff --git a/third-party/libmetal/metal/system/freertos/ft_platform/sys.c b/third-party/libmetal/metal/system/freertos/ft_platform/sys.c index 47ba12f3fa1495d1ae977cff79ca4bf01e0a012d..457eac9cfe672a2d162c4d49a2bde7329c23d735 100644 --- a/third-party/libmetal/metal/system/freertos/ft_platform/sys.c +++ b/third-party/libmetal/metal/system/freertos/ft_platform/sys.c @@ -99,8 +99,8 @@ void *metal_machine_io_mem_map(void *va, metal_phys_addr_t pa, { if (!flags) return va; - - FSetTlbAttributes(pa, size, flags); + + FMmuMap((uintptr)pa, (uintptr)pa, size, flags); return va; } diff --git a/tools/refresh_config.py b/tools/refresh_config.py new file mode 100644 index 0000000000000000000000000000000000000000..bfe7fef8c1df914362d65143e28f9ef4d1c24ce9 --- /dev/null +++ b/tools/refresh_config.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python +# -*- coding:utf-8 -*- +### +# Filename: f:\pr_i2c_bug\phytium-free-rtos-sdk\refresh_config.py +# Path: f:\pr_i2c_bug\phytium-free-rtos-sdk +# Created Date: Friday, May 31st 2024, 5:00:39 pm +# Author: Simon Liu +# +# Copyright (c) 2024 Phytium Information Technology, Inc. +### +import os +import subprocess +import sys + +# 搜索包含configs目录的项目路径 +def search_project_paths(sdk_example_path): + project_paths = [] + for root, dirs, files in os.walk(sdk_example_path): + if 'configs' in dirs and 'sdkconfig.h' in files: + # 获取相对路径 + relative_path = os.path.relpath(root, sdk_example_path) + project_paths.append(relative_path) + return project_paths + +# 此函数从给定的项目路径节点中收集所有的配置文件 +def gather_configs(project_path_node): + # 配置文件目录路径 + config_dir = os.path.join(project_path_node, 'configs') + # 列出所有以".config"结尾的配置文件 + return [f for f in os.listdir(config_dir) if f.endswith(".config")] + +# 此函数处理每一个项目路径节点 +def process_project_path_node(sdk_example_path, project_path_node): + # 得到项目的完整路径 + full_path = os.path.join(sdk_example_path, project_path_node) + # 收集所有的配置文件 + configs = gather_configs(full_path) + + configs.sort(key=str.lower) + print("开始刷新", project_path_node) + # 针对每一个配置文件进行处理 + for config in configs: + # 去除文件的扩展名 + config_name, _ = os.path.splitext(config) + out_name = (project_path_node + '_' + config_name) + out_name = out_name.replace('/', '_') + + # 执行make命令序列 + commands = [ + f"make load_kconfig LOAD_CONFIG_NAME={config_name}", + "make update_menuconfig", + "make backup_kconfig", + ] + for command in commands: + result = subprocess.call(command, shell=True, cwd=full_path) + if result != 0: + print(f"Error: Command '{command}' failed with exit code {result}", file=sys.stderr) + sys.exit(result) + + +def main(sdk_example_path): + # 动态搜索项目路径 + project_paths = search_project_paths(sdk_example_path) + + for project_path_node in project_paths: + process_project_path_node(sdk_example_path, project_path_node) + print("\033[92mRefresh Config Successfully\033[0m") + +# 程序入口点 +if __name__ == "__main__": + script_dir = os.path.dirname(os.path.abspath(__file__)) + sdk_example_path = os.path.abspath(os.path.join(script_dir, "../example")) + print(f"sdk_example_path = {sdk_example_path}") + main(sdk_example_path)