From 1ae6fbeb33251e0e75ebcf32de3ddb31ee7cd70d Mon Sep 17 00:00:00 2001 From: wangxiaodong Date: Mon, 17 Jun 2024 09:20:52 +0800 Subject: [PATCH] update sdk --- docs/ChangeLog.md | 16 ++++ docs/reference/usr/usage.md | 16 ++-- drivers/i2c/fi2c_os.c | 1 + drivers/pwm/fpwm_os.c | 2 +- drivers/spi/fspim/fspim_os.c | 2 +- .../d2000_aarch32_test_eventgroup.config | 15 ++-- .../d2000_aarch64_test_eventgroup.config | 15 ++-- .../e2000d_aarch32_demo_eventgroup.config | 15 ++-- .../e2000d_aarch64_demo_eventgroup.config | 15 ++-- .../e2000q_aarch32_demo_eventgroup.config | 15 ++-- .../e2000q_aarch64_demo_eventgroup.config | 15 ++-- .../ft2004_aarch32_dsk_eventgroup.config | 15 ++-- .../ft2004_aarch64_dsk_eventgroup.config | 15 ++-- ...hytiumpi_aarch32_firefly_eventgroup.config | 15 ++-- ...hytiumpi_aarch64_firefly_eventgroup.config | 15 ++-- example/freertos_feature/eventgroup/makefile | 4 +- example/freertos_feature/eventgroup/sdkconfig | 15 ++-- .../freertos_feature/eventgroup/sdkconfig.h | 11 +-- .../d2000_aarch32_test_interrupt.config | 15 ++-- .../d2000_aarch64_test_interrupt.config | 15 ++-- .../e2000d_aarch32_demo_interrupt.config | 15 ++-- .../e2000d_aarch64_demo_interrupt.config | 15 ++-- .../e2000q_aarch32_demo_interrupt.config | 15 ++-- .../e2000q_aarch64_demo_interrupt.config | 15 ++-- .../ft2004_aarch32_dsk_interrupt.config | 15 ++-- .../ft2004_aarch64_dsk_interrupt.config | 15 ++-- ...phytiumpi_aarch32_firefly_interrupt.config | 15 ++-- ...phytiumpi_aarch64_firefly_interrupt.config | 15 ++-- example/freertos_feature/interrupt/makefile | 2 +- example/freertos_feature/interrupt/sdkconfig | 15 ++-- .../freertos_feature/interrupt/sdkconfig.h | 11 +-- .../configs/d2000_aarch32_test_queue.config | 15 ++-- .../configs/d2000_aarch64_test_queue.config | 15 ++-- .../configs/e2000d_aarch32_demo_queue.config | 15 ++-- .../configs/e2000d_aarch64_demo_queue.config | 15 ++-- .../configs/e2000q_aarch32_demo_queue.config | 15 ++-- .../configs/e2000q_aarch64_demo_queue.config | 15 ++-- .../configs/ft2004_aarch32_dsk_queue.config | 15 ++-- .../configs/ft2004_aarch64_dsk_queue.config | 15 ++-- .../phytiumpi_aarch32_firefly_queue.config | 15 ++-- .../phytiumpi_aarch64_firefly_queue.config | 15 ++-- example/freertos_feature/queue/makefile | 2 +- example/freertos_feature/queue/sdkconfig | 14 ++-- example/freertos_feature/queue/sdkconfig.h | 10 +-- .../configs/d2000_aarch32_test_resoure.config | 15 ++-- .../configs/d2000_aarch64_test_resoure.config | 15 ++-- .../e2000d_aarch32_demo_resoure.config | 15 ++-- .../e2000d_aarch64_demo_resoure.config | 15 ++-- .../e2000q_aarch32_demo_resoure.config | 15 ++-- .../e2000q_aarch64_demo_resoure.config | 15 ++-- .../configs/ft2004_aarch32_dsk_resoure.config | 15 ++-- .../configs/ft2004_aarch64_dsk_resoure.config | 15 ++-- .../phytiumpi_aarch32_firefly_resoure.config | 15 ++-- .../phytiumpi_aarch64_firefly_resoure.config | 15 ++-- example/freertos_feature/resource/makefile | 2 +- example/freertos_feature/resource/sdkconfig | 15 ++-- example/freertos_feature/resource/sdkconfig.h | 11 +-- .../d2000_aarch32_test_software_timer.config | 15 ++-- .../d2000_aarch64_test_software_timer.config | 15 ++-- .../e2000d_aarch32_demo_software_timer.config | 15 ++-- .../e2000d_aarch64_demo_software_timer.config | 15 ++-- .../e2000q_aarch32_demo_software_timer.config | 15 ++-- .../e2000q_aarch64_demo_software_timer.config | 15 ++-- .../ft2004_aarch32_dsk_software_timer.config | 15 ++-- .../ft2004_aarch64_dsk_software_timer.config | 15 ++-- ...umpi_aarch32_firefly_software_timer.config | 15 ++-- ...umpi_aarch64_firefly_software_timer.config | 15 ++-- .../freertos_feature/software_timer/makefile | 2 +- .../freertos_feature/software_timer/sdkconfig | 15 ++-- .../software_timer/sdkconfig.h | 11 +-- .../configs/d2000_aarch32_test_task.config | 15 ++-- .../configs/d2000_aarch64_test_task.config | 15 ++-- .../configs/e2000d_aarch32_demo_task.config | 15 ++-- .../configs/e2000d_aarch64_demo_task.config | 15 ++-- .../configs/e2000q_aarch32_demo_task.config | 15 ++-- .../configs/e2000q_aarch64_demo_task.config | 15 ++-- .../configs/ft2004_aarch32_dsk_task.config | 15 ++-- .../configs/ft2004_aarch64_dsk_task.config | 15 ++-- .../phytiumpi_aarch32_firefly_task.config | 15 ++-- .../phytiumpi_aarch64_firefly_task.config | 15 ++-- example/freertos_feature/task/makefile | 2 +- example/freertos_feature/task/sdkconfig | 15 ++-- example/freertos_feature/task/sdkconfig.h | 11 +-- .../d2000_aarch32_test_task_notify.config | 15 ++-- .../d2000_aarch64_test_task_notify.config | 15 ++-- .../e2000d_aarch32_demo_task_notify.config | 15 ++-- .../e2000d_aarch64_demo_task_notify.config | 15 ++-- .../e2000q_aarch32_demo_task_notify.config | 15 ++-- .../e2000q_aarch64_demo_task_notify.config | 15 ++-- .../ft2004_aarch32_dsk_task_notify.config | 15 ++-- .../ft2004_aarch64_dsk_task_notify.config | 15 ++-- ...ytiumpi_aarch32_firefly_task_notify.config | 15 ++-- ...ytiumpi_aarch64_firefly_task_notify.config | 15 ++-- example/freertos_feature/task_notify/makefile | 2 +- .../freertos_feature/task_notify/sdkconfig | 15 ++-- .../freertos_feature/task_notify/sdkconfig.h | 11 +-- .../d2000_aarch32_test_lwip_iperf.config | 14 ++-- .../d2000_aarch64_test_lwip_iperf.config | 14 ++-- .../e2000d_aarch32_demo_lwip_iperf.config | 14 ++-- .../e2000d_aarch64_demo_lwip_iperf.config | 14 ++-- .../e2000q_aarch32_demo_lwip_iperf.config | 14 ++-- .../e2000q_aarch64_demo_lwip_iperf.config | 14 ++-- .../ft2004_aarch32_dsk_lwip_iperf.config | 14 ++-- .../ft2004_aarch64_dsk_lwip_iperf.config | 14 ++-- ...hytiumpi_aarch32_firefly_lwip_iperf.config | 14 ++-- ...hytiumpi_aarch64_firefly_lwip_iperf.config | 14 ++-- example/network/lwip_iperf/makefile | 4 +- example/network/lwip_iperf/sdkconfig | 14 ++-- example/network/lwip_iperf/sdkconfig.h | 10 +-- .../d2000_aarch32_test_lwip_startup.config | 14 ++-- .../d2000_aarch64_test_lwip_startup.config | 14 ++-- .../e2000d_aarch32_demo_lwip_startup.config | 14 ++-- .../e2000d_aarch64_demo_lwip_startup.config | 14 ++-- .../e2000q_aarch32_demo_lwip_startup.config | 14 ++-- .../e2000q_aarch64_demo_lwip_startup.config | 14 ++-- .../ft2004_aarch32_dsk_lwip_startup.config | 14 ++-- .../ft2004_aarch64_dsk_lwip_startup.config | 14 ++-- ...tiumpi_aarch32_firefly_lwip_startup.config | 14 ++-- ...tiumpi_aarch64_firefly_lwip_startup.config | 14 ++-- example/network/lwip_startup/makefile | 4 +- example/network/lwip_startup/sdkconfig | 14 ++-- example/network/lwip_startup/sdkconfig.h | 10 +-- .../d2000_aarch32_test_udp_multicast.config | 14 ++-- .../d2000_aarch64_test_udp_multicast.config | 14 ++-- .../e2000d_aarch32_demo_udp_multicast.config | 14 ++-- .../e2000d_aarch64_demo_udp_multicast.config | 14 ++-- .../e2000q_aarch32_demo_udp_multicast.config | 14 ++-- .../e2000q_aarch64_demo_udp_multicast.config | 14 ++-- .../ft2004_aarch32_dsk_udp_multicast.config | 14 ++-- .../ft2004_aarch64_dsk_udp_multicast.config | 14 ++-- ...iumpi_aarch32_firefly_udp_multicast.config | 14 ++-- ...iumpi_aarch64_firefly_udp_multicast.config | 14 ++-- .../network/sockets/udp_multicast/makefile | 4 +- .../network/sockets/udp_multicast/sdkconfig | 14 ++-- .../network/sockets/udp_multicast/sdkconfig.h | 10 +-- .../configs/e2000d_aarch32_demo_wlan.config | 14 ++-- .../configs/e2000d_aarch64_demo_wlan.config | 14 ++-- .../configs/e2000q_aarch32_demo_wlan.config | 14 ++-- .../configs/e2000q_aarch64_demo_wlan.config | 14 ++-- example/network/wlan/makefile | 2 +- example/network/wlan/sdkconfig | 14 ++-- example/network/wlan/sdkconfig.h | 10 +-- .../configs/e2000d_aarch32_demo_adc.config | 15 ++-- .../configs/e2000d_aarch64_demo_adc.config | 15 ++-- example/peripheral/adc/makefile | 2 +- example/peripheral/adc/sdkconfig | 15 ++-- example/peripheral/adc/sdkconfig.h | 11 +-- .../can/configs/d2000_aarch32_test_can.config | 15 ++-- .../can/configs/d2000_aarch64_test_can.config | 15 ++-- .../configs/e2000d_aarch32_demo_can.config | 15 ++-- .../configs/e2000d_aarch64_demo_can.config | 15 ++-- .../configs/e2000q_aarch32_demo_can.config | 15 ++-- .../configs/e2000q_aarch64_demo_can.config | 15 ++-- .../can/configs/ft2004_aarch32_dsk_can.config | 15 ++-- .../can/configs/ft2004_aarch64_dsk_can.config | 15 ++-- example/peripheral/can/can/makefile | 2 +- example/peripheral/can/can/sdkconfig | 15 ++-- example/peripheral/can/can/sdkconfig.h | 11 +-- .../configs/e2000d_aarch32_demo_canfd.config | 15 ++-- .../configs/e2000d_aarch64_demo_canfd.config | 15 ++-- .../configs/e2000q_aarch32_demo_canfd.config | 15 ++-- .../configs/e2000q_aarch64_demo_canfd.config | 15 ++-- example/peripheral/can/canfd/makefile | 2 +- example/peripheral/can/canfd/sdkconfig | 15 ++-- example/peripheral/can/canfd/sdkconfig.h | 11 +-- .../configs/e2000d_aarch32_demo_ddma.config | 15 ++-- .../configs/e2000d_aarch64_demo_ddma.config | 15 ++-- .../configs/e2000q_aarch32_demo_ddma.config | 15 ++-- .../configs/e2000q_aarch64_demo_ddma.config | 15 ++-- .../phytiumpi_aarch32_firefly_ddma.config | 15 ++-- .../phytiumpi_aarch64_firefly_ddma.config | 15 ++-- example/peripheral/dma/ddma/makefile | 2 +- example/peripheral/dma/ddma/sdkconfig | 15 ++-- example/peripheral/dma/ddma/sdkconfig.h | 11 +-- .../configs/e2000d_aarch32_demo_gdma.config | 15 ++-- .../configs/e2000d_aarch64_demo_gdma.config | 15 ++-- .../configs/e2000q_aarch32_demo_gdma.config | 15 ++-- .../configs/e2000q_aarch64_demo_gdma.config | 15 ++-- .../phytiumpi_aarch32_firefly_gdma.config | 15 ++-- .../phytiumpi_aarch64_firefly_gdma.config | 15 ++-- example/peripheral/dma/gdma/makefile | 2 +- example/peripheral/dma/gdma/sdkconfig | 15 ++-- example/peripheral/dma/gdma/sdkconfig.h | 11 +-- .../configs/d2000_aarch32_test_gpio.config | 8 +- .../configs/d2000_aarch64_test_gpio.config | 8 +- .../configs/e2000d_aarch32_demo_gpio.config | 8 +- .../configs/e2000d_aarch64_demo_gpio.config | 8 +- .../configs/e2000q_aarch32_demo_gpio.config | 8 +- .../configs/e2000q_aarch64_demo_gpio.config | 8 +- .../phytiumpi_aarch32_firefly_gpio.config | 8 +- .../phytiumpi_aarch64_firefly_gpio.config | 8 +- example/peripheral/gpio/makefile | 2 +- example/peripheral/gpio/sdkconfig | 8 +- example/peripheral/gpio/sdkconfig.h | 5 +- .../configs/e2000d_aarch32_demo_i2c.config | 15 ++-- .../configs/e2000d_aarch64_demo_i2c.config | 15 ++-- .../configs/e2000q_aarch32_demo_i2c.config | 15 ++-- .../configs/e2000q_aarch64_demo_i2c.config | 15 ++-- .../phytiumpi_aarch32_firefly_i2c.config | 15 ++-- .../phytiumpi_aarch64_firefly_i2c.config | 15 ++-- example/peripheral/i2c/makefile | 2 +- example/peripheral/i2c/sdkconfig | 15 ++-- example/peripheral/i2c/sdkconfig.h | 11 +-- example/peripheral/i2c/src/i2c_ms_example.c | 16 ++++ .../configs/e2000d_aarch32_demo_i2s.config | 18 ++-- .../configs/e2000d_aarch64_demo_i2s.config | 18 ++-- .../configs/e2000q_aarch32_demo_i2s.config | 18 ++-- .../configs/e2000q_aarch64_demo_i2s.config | 18 ++-- example/peripheral/i2s/makefile | 2 +- example/peripheral/i2s/sdkconfig | 18 ++-- example/peripheral/i2s/sdkconfig.h | 13 ++- .../configs/e2000d_aarch32_demo_media.config | 15 ++-- .../configs/e2000d_aarch64_demo_media.config | 15 ++-- .../configs/e2000q_aarch32_demo_media.config | 15 ++-- .../configs/e2000q_aarch64_demo_media.config | 15 ++-- .../phytiumpi_aarch32_firefly_media.config | 15 ++-- .../phytiumpi_aarch64_firefly_media.config | 15 ++-- example/peripheral/media/lvgl_demo/makefile | 2 +- example/peripheral/media/lvgl_demo/sdkconfig | 15 ++-- .../peripheral/media/lvgl_demo/sdkconfig.h | 11 +-- .../configs/e2000d_aarch32_demo_media.config | 15 ++-- .../configs/e2000d_aarch64_demo_media.config | 15 ++-- .../configs/e2000q_aarch32_demo_media.config | 15 ++-- .../configs/e2000q_aarch64_demo_media.config | 15 ++-- .../phytiumpi_aarch32_firefly_media.config | 15 ++-- .../phytiumpi_aarch64_firefly_media.config | 15 ++-- example/peripheral/media/lvgl_indev/makefile | 2 +- example/peripheral/media/lvgl_indev/sdkconfig | 15 ++-- .../peripheral/media/lvgl_indev/sdkconfig.h | 11 +-- .../configs/e2000d_aarch32_demo_media.config | 15 ++-- .../configs/e2000d_aarch64_demo_media.config | 15 ++-- .../configs/e2000q_aarch32_demo_media.config | 15 ++-- .../configs/e2000q_aarch64_demo_media.config | 15 ++-- .../phytiumpi_aarch32_firefly_media.config | 15 ++-- .../phytiumpi_aarch64_firefly_media.config | 15 ++-- example/peripheral/media/lvgl_ui/makefile | 2 +- example/peripheral/media/lvgl_ui/sdkconfig | 15 ++-- example/peripheral/media/lvgl_ui/sdkconfig.h | 11 +-- .../e2000d_aarch32_demo_freertos.config | 14 ++-- .../configs/e2000d_aarch32_demo_media.config | 14 ++-- .../e2000d_aarch64_demo_freertos.config | 14 ++-- .../configs/e2000d_aarch64_demo_media.config | 14 ++-- .../e2000q_aarch32_demo_freertos.config | 14 ++-- .../configs/e2000q_aarch32_demo_media.config | 14 ++-- .../e2000q_aarch64_demo_freertos.config | 14 ++-- .../configs/e2000q_aarch64_demo_media.config | 14 ++-- .../phytiumpi_aarch32_firefly_freertos.config | 14 ++-- .../phytiumpi_aarch32_firefly_media.config | 14 ++-- .../phytiumpi_aarch64_firefly_freertos.config | 14 ++-- .../phytiumpi_aarch64_firefly_media.config | 14 ++-- example/peripheral/media/media_test/makefile | 2 +- example/peripheral/media/media_test/sdkconfig | 14 ++-- .../peripheral/media/media_test/sdkconfig.h | 10 +-- .../configs/e2000d_aarch32_demo_pwm.config | 15 ++-- .../configs/e2000d_aarch64_demo_pwm.config | 15 ++-- .../configs/e2000q_aarch32_demo_pwm.config | 15 ++-- .../configs/e2000q_aarch64_demo_pwm.config | 15 ++-- .../phytiumpi_aarch32_firefly_pwm.config | 15 ++-- .../phytiumpi_aarch64_firefly_pwm.config | 15 ++-- example/peripheral/pwm/makefile | 2 +- example/peripheral/pwm/sdkconfig | 15 ++-- example/peripheral/pwm/sdkconfig.h | 11 +-- .../configs/d2000_aarch32_test_qspi.config | 15 ++-- .../configs/d2000_aarch64_test_qspi.config | 15 ++-- .../configs/e2000d_aarch32_demo_qspi.config | 15 ++-- .../configs/e2000d_aarch64_demo_qspi.config | 15 ++-- .../configs/e2000q_aarch32_demo_qspi.config | 15 ++-- .../configs/e2000q_aarch64_demo_qspi.config | 15 ++-- .../configs/ft2004_aarch32_dsk_qspi.config | 15 ++-- .../configs/ft2004_aarch64_dsk_qspi.config | 15 ++-- .../phytiumpi_aarch32_firefly_qspi.config | 15 ++-- .../phytiumpi_aarch64_firefly_qspi.config | 15 ++-- example/peripheral/qspi/makefile | 2 +- example/peripheral/qspi/sdkconfig | 15 ++-- example/peripheral/qspi/sdkconfig.h | 11 +-- .../configs/e2000d_aarch32_demo_sdif.config | 15 ++-- .../configs/e2000d_aarch64_demo_sdif.config | 15 ++-- .../configs/e2000q_aarch32_demo_sdif.config | 15 ++-- .../configs/e2000q_aarch64_demo_sdif.config | 15 ++-- example/peripheral/sdif/makefile | 2 +- example/peripheral/sdif/sdkconfig | 15 ++-- example/peripheral/sdif/sdkconfig.h | 11 +-- .../configs/e2000d_aarch32_demo_spi.config | 16 ++-- .../configs/e2000d_aarch64_demo_spi.config | 16 ++-- .../configs/e2000q_aarch32_demo_spi.config | 16 ++-- .../configs/e2000q_aarch64_demo_spi.config | 16 ++-- .../phytiumpi_aarch32_firefly_spi.config | 16 ++-- .../phytiumpi_aarch64_firefly_spi.config | 16 ++-- example/peripheral/spi/makefile | 2 +- example/peripheral/spi/sdkconfig | 16 ++-- example/peripheral/spi/sdkconfig.h | 12 +-- .../configs/e2000d_aarch32_demo_timer.config | 14 ++-- .../configs/e2000d_aarch64_demo_timer.config | 14 ++-- .../configs/e2000q_aarch32_demo_timer.config | 14 ++-- .../configs/e2000q_aarch64_demo_timer.config | 14 ++-- .../phytiumpi_aarch32_firefly_timer.config | 14 ++-- .../phytiumpi_aarch64_firefly_timer.config | 14 ++-- example/peripheral/timer_tacho/makefile | 2 +- example/peripheral/timer_tacho/sdkconfig | 14 ++-- example/peripheral/timer_tacho/sdkconfig.h | 10 +-- .../e2000d_aarch32_demo_cherry_usb.config | 14 ++-- .../e2000d_aarch64_demo_cherry_usb.config | 14 ++-- .../e2000q_aarch32_demo_cherry_usb.config | 14 ++-- .../e2000q_aarch64_demo_cherry_usb.config | 14 ++-- example/peripheral/usb/xhci_pcie/sdkconfig | 14 ++-- example/peripheral/usb/xhci_pcie/sdkconfig.h | 10 +-- .../e2000d_aarch32_demo_cherry_usb.config | 14 ++-- .../e2000d_aarch64_demo_cherry_usb.config | 14 ++-- .../e2000q_aarch32_demo_cherry_usb.config | 14 ++-- .../e2000q_aarch64_demo_cherry_usb.config | 14 ++-- ...hytiumpi_aarch32_firefly_cherry_usb.config | 14 ++-- ...hytiumpi_aarch64_firefly_cherry_usb.config | 14 ++-- .../peripheral/usb/xhci_platform/sdkconfig | 14 ++-- .../peripheral/usb/xhci_platform/sdkconfig.h | 10 +-- .../wdt/configs/d2000_aarch32_test_wdt.config | 14 ++-- .../wdt/configs/d2000_aarch64_test_wdt.config | 14 ++-- .../configs/e2000d_aarch32_demo_wdt.config | 14 ++-- .../configs/e2000d_aarch64_demo_wdt.config | 14 ++-- .../configs/e2000q_aarch32_demo_wdt.config | 14 ++-- .../configs/e2000q_aarch64_demo_wdt.config | 14 ++-- .../wdt/configs/ft2004_aarch32_dsk_wdt.config | 14 ++-- .../wdt/configs/ft2004_aarch64_dsk_wdt.config | 14 ++-- .../phytiumpi_aarch32_firefly_wdt.config | 14 ++-- .../phytiumpi_aarch64_firefly_wdt.config | 14 ++-- example/peripheral/wdt/makefile | 2 +- example/peripheral/wdt/sdkconfig | 14 ++-- example/peripheral/wdt/sdkconfig.h | 10 +-- .../configs/e2000d_aarch32_demo_fatfs.config | 12 +-- .../configs/e2000d_aarch64_demo_fatfs.config | 12 +-- .../configs/e2000q_aarch32_demo_fatfs.config | 12 +-- .../configs/e2000q_aarch64_demo_fatfs.config | 12 +-- .../phytiumpi_aarch32_firefly_fatfs.config | 12 +-- .../phytiumpi_aarch64_firefly_fatfs.config | 12 +-- example/storage/fatfs/makefile | 2 +- example/storage/fatfs/sdkconfig | 12 +-- example/storage/fatfs/sdkconfig.h | 10 +-- .../d2000_aarch32_test_qspi_spiffs.config | 15 ++-- .../d2000_aarch64_test_qspi_spiffs.config | 15 ++-- .../e2000d_aarch32_demo_qspi_spiffs.config | 15 ++-- .../e2000d_aarch64_demo_qspi_spiffs.config | 15 ++-- .../e2000q_aarch32_demo_qspi_spiffs.config | 15 ++-- .../e2000q_aarch64_demo_qspi_spiffs.config | 15 ++-- .../ft2004_aarch32_dsk_qspi_spiffs.config | 15 ++-- .../ft2004_aarch64_dsk_qspi_spiffs.config | 15 ++-- ...ytiumpi_aarch32_firefly_qspi_spiffs.config | 15 ++-- ...ytiumpi_aarch64_firefly_qspi_spiffs.config | 15 ++-- example/storage/qspi_spiffs/makefile | 2 +- example/storage/qspi_spiffs/sdkconfig | 15 ++-- example/storage/qspi_spiffs/sdkconfig.h | 11 +-- .../e2000d_aarch32_demo_spi_spiffs.config | 16 ++-- .../e2000d_aarch64_demo_spi_spiffs.config | 16 ++-- .../e2000q_aarch32_demo_spi_spiffs.config | 16 ++-- .../e2000q_aarch64_demo_spi_spiffs.config | 16 ++-- ...hytiumpi_aarch32_firefly_spi_spiffs.config | 16 ++-- ...hytiumpi_aarch64_firefly_spi_spiffs.config | 16 ++-- example/storage/spim_spiffs/makefile | 2 +- example/storage/spim_spiffs/sdkconfig | 16 ++-- example/storage/spim_spiffs/sdkconfig.h | 12 +-- ...00_aarch32_test_openamp_device_core.config | 15 ++-- ...00_aarch64_test_openamp_device_core.config | 15 ++-- ...0d_aarch32_demo_openamp_device_core.config | 15 ++-- ...0d_aarch64_demo_openamp_device_core.config | 15 ++-- ...0q_aarch32_demo_openamp_device_core.config | 15 ++-- ...0q_aarch64_demo_openamp_device_core.config | 15 ++-- ...004_aarch32_dsk_openamp_device_core.config | 15 ++-- ...004_aarch64_dsk_openamp_device_core.config | 15 ++-- ...aarch32_firefly_openamp_device_core.config | 15 ++-- ...aarch64_firefly_openamp_device_core.config | 15 ++-- .../system/amp/openamp/device_core/makefile | 2 +- .../system/amp/openamp/device_core/sdkconfig | 78 ++++++++++-------- .../amp/openamp/device_core/sdkconfig.h | 71 +++++++++------- ...00_aarch32_test_openamp_driver_core.config | 15 ++-- ...00_aarch64_test_openamp_driver_core.config | 15 ++-- ...0d_aarch32_demo_openamp_driver_core.config | 15 ++-- ...0d_aarch64_demo_openamp_driver_core.config | 15 ++-- ...0q_aarch32_demo_openamp_driver_core.config | 15 ++-- ...0q_aarch64_demo_openamp_driver_core.config | 15 ++-- ...004_aarch32_dsk_openamp_driver_core.config | 15 ++-- ...004_aarch64_dsk_openamp_driver_core.config | 15 ++-- ...aarch32_firefly_openamp_driver_core.config | 15 ++-- ...aarch64_firefly_openamp_driver_core.config | 15 ++-- .../system/amp/openamp/driver_core/makefile | 2 +- .../system/amp/openamp/driver_core/sdkconfig | 15 ++-- .../amp/openamp/driver_core/sdkconfig.h | 11 +-- ...2000_aarch32_test_openamp_for_linux.config | 16 ++-- ...2000_aarch64_test_openamp_for_linux.config | 16 ++-- ...000d_aarch32_demo_openamp_for_linux.config | 16 ++-- ...000d_aarch64_demo_openamp_for_linux.config | 16 ++-- ...000q_aarch32_demo_openamp_for_linux.config | 16 ++-- ...000q_aarch64_demo_openamp_for_linux.config | 16 ++-- ...t2004_aarch32_dsk_openamp_for_linux.config | 16 ++-- ...t2004_aarch64_dsk_openamp_for_linux.config | 16 ++-- ...i_aarch32_firefly_openamp_for_linux.config | 16 ++-- ...i_aarch64_firefly_openamp_for_linux.config | 16 ++-- example/system/amp/openamp_for_linux/makefile | 2 +- .../system/amp/openamp_for_linux/sdkconfig | 30 ++----- .../system/amp/openamp_for_linux/sdkconfig.h | 24 ++---- .../configs/d2000_aarch32_test_atomic.config | 15 ++-- .../configs/d2000_aarch64_test_atomic.config | 15 ++-- .../configs/e2000d_aarch32_demo_atomic.config | 15 ++-- .../configs/e2000d_aarch64_demo_atomic.config | 15 ++-- .../configs/e2000q_aarch32_demo_atomic.config | 15 ++-- .../configs/e2000q_aarch64_demo_atomic.config | 15 ++-- .../configs/ft2004_aarch32_dsk_atomic.config | 15 ++-- .../configs/ft2004_aarch64_dsk_atomic.config | 15 ++-- .../phytiumpi_aarch32_firefly_atomic.config | 15 ++-- .../phytiumpi_aarch64_firefly_atomic.config | 15 ++-- example/system/atomic/makefile | 2 +- example/system/atomic/sdkconfig | 15 ++-- example/system/atomic/sdkconfig.h | 13 +-- example/system/exception_debug/Kconfig | 22 +---- example/system/exception_debug/README.md | 31 ++++--- .../d2000_aarch32_test_exception.config | 24 ++---- .../d2000_aarch64_test_exception.config | 24 ++---- .../e2000d_aarch32_demo_exception.config | 24 ++---- .../e2000d_aarch64_demo_exception.config | 24 ++---- .../e2000q_aarch32_demo_exception.config | 24 ++---- .../e2000q_aarch64_demo_exception.config | 24 ++---- .../ft2004_aarch32_dsk_exception.config | 24 ++---- .../ft2004_aarch64_dsk_exception.config | 24 ++---- ...phytiumpi_aarch32_firefly_exception.config | 24 ++---- ...phytiumpi_aarch64_firefly_exception.config | 24 ++---- example/system/exception_debug/figs/abort.png | Bin 0 -> 24976 bytes .../system/exception_debug/figs/access.png | Bin 0 -> 22165 bytes example/system/exception_debug/figs/undef.png | Bin 0 -> 24728 bytes .../exception_debug/inc/exception_test.h | 42 ++++++++++ example/system/exception_debug/main.c | 64 -------------- example/system/exception_debug/makefile | 2 +- example/system/exception_debug/sdkconfig | 24 ++---- example/system/exception_debug/sdkconfig.h | 19 +---- .../exception_debug/src/exception_cmd.c | 75 +++++++++++++++++ .../exception_debug/src/exception_test.c | 73 ++++++++++++++++ ...d2000_aarch32_test_nested_interrupt.config | 15 ++-- ...d2000_aarch64_test_nested_interrupt.config | 15 ++-- ...2000d_aarch32_demo_nested_interrupt.config | 15 ++-- ...2000d_aarch64_demo_nested_interrupt.config | 15 ++-- ...2000q_aarch32_demo_nested_interrupt.config | 15 ++-- ...2000q_aarch64_demo_nested_interrupt.config | 15 ++-- ...ft2004_aarch32_dsk_nested_interrupt.config | 15 ++-- ...ft2004_aarch64_dsk_nested_interrupt.config | 15 ++-- ...pi_aarch32_firefly_nested_interrupt.config | 15 ++-- ...pi_aarch64_firefly_nested_interrupt.config | 15 ++-- example/system/nested_interrupt/makefile | 4 +- example/system/nested_interrupt/sdkconfig | 15 ++-- example/system/nested_interrupt/sdkconfig.h | 11 +-- .../configs/d2000_aarch32_test_posix.config | 15 ++-- .../configs/d2000_aarch64_test_posix.config | 15 ++-- .../configs/e2000d_aarch32_demo_posix.config | 15 ++-- .../configs/e2000d_aarch64_demo_posix.config | 15 ++-- .../configs/e2000q_aarch32_demo_posix.config | 15 ++-- .../configs/e2000q_aarch64_demo_posix.config | 15 ++-- .../configs/ft2004_aarch32_dsk_posix.config | 15 ++-- .../configs/ft2004_aarch64_dsk_posix.config | 15 ++-- .../phytiumpi_aarch32_firefly_posix.config | 15 ++-- .../phytiumpi_aarch64_firefly_posix.config | 15 ++-- example/system/posix/makefile | 2 +- example/system/posix/sdkconfig | 15 ++-- example/system/posix/sdkconfig.h | 11 +-- .../configs/d2000_aarch32_test_eg.config | 15 ++-- .../configs/d2000_aarch64_test_eg.config | 15 ++-- .../configs/e2000d_aarch32_demo_eg.config | 15 ++-- .../configs/e2000d_aarch64_demo_eg.config | 15 ++-- .../configs/e2000q_aarch32_demo_eg.config | 15 ++-- .../configs/e2000q_aarch64_demo_eg.config | 15 ++-- .../configs/ft2004_aarch32_dsk_eg.config | 15 ++-- .../configs/ft2004_aarch64_dsk_eg.config | 15 ++-- .../phytiumpi_aarch32_firefly_eg.config | 15 ++-- .../phytiumpi_aarch64_firefly_eg.config | 15 ++-- example/template/makefile | 7 +- example/template/sdkconfig | 15 ++-- example/template/sdkconfig.h | 11 +-- install.py | 4 +- .../aarch32/{vector.S => freertos_vectors.S} | 6 +- .../GCC/ft_platform/aarch32/portASM.S | 2 + .../ft_platform/aarch64/freertos_vectors.S | 3 +- .../GCC/ft_platform/aarch64/portASM.S | 48 +++++++++-- .../letter-shell-3.1/port/cmd/cmd_mmu.c | 50 +++++++++++ third-party/letter-shell-3.1/src.mk | 3 +- .../metal/system/freertos/ft_platform/sys.c | 4 +- tools/refresh_config.py | 74 +++++++++++++++++ 480 files changed, 2583 insertions(+), 4258 deletions(-) create mode 100644 example/system/exception_debug/figs/abort.png create mode 100644 example/system/exception_debug/figs/access.png create mode 100644 example/system/exception_debug/figs/undef.png create mode 100644 example/system/exception_debug/inc/exception_test.h create mode 100644 example/system/exception_debug/src/exception_cmd.c create mode 100644 example/system/exception_debug/src/exception_test.c rename third-party/freertos/portable/GCC/ft_platform/aarch32/{vector.S => freertos_vectors.S} (94%) create mode 100644 third-party/letter-shell-3.1/port/cmd/cmd_mmu.c create mode 100644 tools/refresh_config.py diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index 0f73fe93..ad703189 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 6fdcfba2..0562aef3 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 c921a5e3..35ae91d8 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 f56f4356..4fab837d 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 a97735ad..352f8762 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 a8a19a6b..6922f0a7 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 79d75946..2219ca8e 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 26010452..de807ef0 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 79db9b0c..4d5a7fde 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 dd4fff77..f328af98 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 772b569e..a3562eb8 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 6d2466dd..f562819c 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 9f0a2124..e8183d0b 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 5e0297fc..619579a8 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 80adb062..af84fedf 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 e76c5692..4cdad37a 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 80adb062..af84fedf 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 a6cad9af..d764170b 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 ee0a9634..2bc4cc35 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 e9c1b3cb..1549d99f 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 848d281a..1072d559 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 6ecb5bcf..b740328f 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 614698ad..9f747ee9 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 45fdf133..af610b29 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 4397434b..ee1d0132 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 a419898e..314a9d1b 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 da9e4b23..7a2a3dcd 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 ff813e8c..8afba0b1 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 03b5b5f1..5d3b169a 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 ff813e8c..8afba0b1 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 e7683d78..80e0b2c2 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 404e474d..155086ed 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 65ec6e1a..ebb7210c 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 63e951af..59142b23 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 1f263737..9be43996 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 0c23a235..f12b3f3b 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 c54a5c57..22520453 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 c9d96c53..ab127692 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 636b2738..dbe61f18 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 c8dfe338..b7a7c3fd 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 19a41064..f5be9c94 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 03b5b5f1..5d3b169a 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 582fe742..f5be9c94 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 5174dd79..866701d3 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 1697870c..4766547b 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 49f3febb..a95f357c 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 b1d149c4..a9a9384e 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 7abf6ca3..90e234a1 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 e57f8199..c1c479d3 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 f9377ba9..65a523f4 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 57549fa8..ceac1c7d 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 ffae19b3..9c943e92 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 6f5f2505..f1c38b29 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 51f69757..6b19321b 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 03b5b5f1..5d3b169a 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 51f69757..6b19321b 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 be128a94..b0d73237 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 2d881cee..e0adac53 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 1e7cd8be..d17e970e 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 e6c11a7d..6b1b10a2 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 6c4d67b9..b784dd83 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 51f95c4d..9a24a199 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 6beaec60..e21296ca 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 185739f5..328f4a38 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 787ad7e4..a3575089 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 7986af62..9e47717a 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 11c4ebb4..46eb4571 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 03b5b5f1..5d3b169a 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 11c4ebb4..46eb4571 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 216132c5..f7bf89f3 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 962ae73d..fa8644ea 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 e920f1fe..33d029ef 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 bfde0fe1..d37f5725 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 b14bb96e..560491b3 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 493d5ad9..3bcc6ddb 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 585ac8ab..0f4e1314 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 ff80de4d..e19f2f7e 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 5390537a..d3b80df7 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 c2dd7938..e6de09f5 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 1e4dd798..ae1db029 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 03b5b5f1..5d3b169a 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 1e4dd798..ae1db029 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 dc721046..a877696a 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 0af7f0c1..7cb13b86 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 e1a6ca1e..79c49caa 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 163b238d..ae395259 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 60900f3b..1bac5dd1 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 d5f65cd1..30f00f6b 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 cacea1ec..d3988de1 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 0564f892..55dbbf24 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 83c2e2a4..9359d1eb 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 46297b0f..a276beea 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 dd8772b7..1224bbaf 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 03b5b5f1..5d3b169a 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 dd8772b7..1224bbaf 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 c1e02bd4..7a9cb6b2 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 d95dc2d2..21853b3f 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 3f72053f..6ceb16db 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 18e07608..d7db358d 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 2784a746..2b75de01 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 44ec4acb..8ffe7ec3 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 856f57ac..00dabf75 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 554ddf28..fb2d3bb0 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 a51b54d6..7a575087 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 7ddc5124..7681c3ee 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 35e69fe5..28a3a251 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 4b4feb16..585ed3cb 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 35e69fe5..28a3a251 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 43605663..b24dfd29 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 44f3bd60..df80adcb 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 4f85ac4c..5fc01c49 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 cf93a965..c1d746b0 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 703a95cf..1c81da6f 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 058485da..16dc7e5b 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 75834b0e..b7f31155 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 e69adbfa..e686baa9 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 3145ebb0..b6f04e3a 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 72c8bc60..521574a6 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 2ad8d5cd..94dbc832 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 c051a270..01747b88 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 2ad8d5cd..94dbc832 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 16d2fc4a..e1a81adf 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 3f2f8ce0..e3c2152e 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 c38296d2..053ef9d7 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 3eb07a6c..d8bee899 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 c4fa0173..359fadd2 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 f378784a..b936838e 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 879f1637..ca873b29 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 657ecf4e..fde94b60 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 026dc1cb..4b76a463 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 dd540a1c..ae18f477 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 55c21e68..5499ee66 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 8b097234..8bdf90a4 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 55c21e68..5499ee66 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 1dfcb472..72d33a0d 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 92bed722..41a56a2a 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 bad5b3c7..0bebd8c0 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 c299d535..fc3850d7 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 d2b051c3..dc39bdd0 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 cd273bdc..b82ed7c7 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 d2b051c3..dc39bdd0 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 1e6e37a6..4363eaba 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 462f6dd4..745f75d7 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 42527f7e..08c35c94 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 13c14898..92052c59 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 42527f7e..08c35c94 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 45d6a38d..2fd019f2 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 7b82cb10..95d6a477 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 37068088..e827bc35 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 45b6da6d..1cf1d988 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 4d5b5449..c315e4bb 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 a3a5ef17..8464bee9 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 59d83e23..c16f2243 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 c7f3c10b..e3e8c03c 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 38de14e4..def17897 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 941abe46..c34d5c42 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 38de14e4..def17897 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 eeaad9bf..39aab9d7 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 58f07645..9939d105 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 c6228501..8ca50802 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 1cb15e5a..307b6565 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 4df84b10..41d480a8 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 941abe46..c34d5c42 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 4df84b10..41d480a8 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 57b613eb..b8f47bb4 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 fb77c7c7..64af9dc5 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 5b3e1349..43fc6d6d 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 26d97f06..5721e469 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 2b4301f7..807c2212 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 49b7e6dc..9899d8be 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 ce24ffcd..d1dd6f5a 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 d1eea10c..11579fd3 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 ce24ffcd..d1dd6f5a 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 06e5cd02..b950c573 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 f2716290..f93a362b 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 15352844..29b64753 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 80414dec..bb1339ae 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 3dab1ecc..845319b0 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 10fca932..2cdfbf90 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 bffc52ab..f360ba0b 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 d1eea10c..11579fd3 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 bffc52ab..f360ba0b 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 9788056c..388d560f 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 25b8fff6..e2e26034 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 0a8064d3..04897b56 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 d228f6b8..2221685a 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 4e519923..f48654f2 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 7b94d88b..c15250b7 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 76053a37..10b111a6 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 2394dd53..ce6b4229 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 285769ff..eb7a2bc1 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 8cdbb131..7d8648d5 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 285769ff..eb7a2bc1 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 c24b49d1..55d8b3ae 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 fd2654ea..f09f513c 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 49e99e7c..c5ec3864 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 1c64e5fe..28d439fc 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 460a319c..5d5bd4e5 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 64f05ed1..ef0be5b8 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 e8f8fb2c..8054cb5c 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 f51593a5..489905c0 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 e8f8fb2c..8054cb5c 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 fd5195cf..f9da12e7 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 1a1627d9..4ab55739 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 22b2be5d..dcbb7c7e 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 3eb27844..b053c47f 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 36afb8fd..a0d394ad 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 4e44c1da..fc884d09 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 8cdbb131..7d8648d5 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 4e44c1da..fc884d09 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 8f91f807..6a9aaa65 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 a757c08a..75f3d8b7 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 ac7cf0f1..1b0b25e9 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 33ad8198..214452ca 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 e7c0938e..306f3fc2 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 6c2d63a5..ad8d4f62 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 fcacc39a..ef72a662 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 941abe46..c34d5c42 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 fcacc39a..ef72a662 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 140071dd..f6dbcb03 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 12c3bd9e..59068317 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 dddc4aad..51d0ad27 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 c1ca579a..82cda4ba 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 9ce227b7..a753898b 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 059e55b6..3339c98c 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 f4e30b8a..7ec6a023 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 d1eea10c..11579fd3 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 f4e30b8a..7ec6a023 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 0f491ecc..d575253d 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 12c3bd9e..59068317 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 dddc4aad..51d0ad27 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 c1ca579a..82cda4ba 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 9ce227b7..a753898b 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 059e55b6..3339c98c 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 f4e30b8a..7ec6a023 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 f4552994..ff678fc9 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 f4e30b8a..7ec6a023 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 0f491ecc..d575253d 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 ebee1e68..5c1f1468 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 e1cbffd1..7802b2b8 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 7c8e47fe..7491c18b 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 d9d427b7..47d1f3b6 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 2aed70f1..268e8cf2 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 2d8d946c..d5fd1b5a 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 bd3c0f16..5b038189 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 cf7382b0..456bbec5 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 a55f6ede..5c7d8ffe 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 0c950fda..201a6d8a 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 f439d643..87720f59 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 95e355f1..6420a648 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 d1eea10c..11579fd3 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 95e355f1..6420a648 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 d8dbd1c6..089bcecb 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 d019454b..4d13b45a 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 8ba07775..77ed1647 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 00c693a5..086d04b5 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 6b2020f2..1b89afe0 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 402834c7..af0d1f6d 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 a5d78bbb..f573d7d1 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 dde32d4b..7a07f00f 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 a5d78bbb..f573d7d1 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 d430f50a..7686e178 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 b15ffdc9..564c7816 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 6f1d6ead..98b82721 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 7ead9d42..54507102 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 ea1849ce..5c5d00b0 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 51e7d93e..66a73d42 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 fb44ed49..6e7dad6b 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 e28789c3..c544fca5 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 134e536c..d3aee079 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 ad8ded34..4d6817c2 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 6c26457b..37275ee9 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 02a36e43..d87ae3e2 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 6c26457b..37275ee9 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 ea830ae9..328f41ab 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 fa03cad2..f207c900 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 b65113ef..15f0b00e 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 13647d2d..507e233e 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 3326b6b6..7e78f903 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 a6e4a04d..3d544850 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 3326b6b6..7e78f903 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 93f750f7..03278577 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 b4994278..a62f3f59 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 63e7fb44..ddac73f3 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 7ef75f51..122d23f2 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 aeeb7f03..47290e7f 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 86c0ebd4..7e5b4daf 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 1154c0aa..79dbdd46 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 13c14898..92052c59 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 1154c0aa..79dbdd46 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 7b32d4c7..d9f28000 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 79329c85..5d07aeda 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 49f59c60..c6f26ee0 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 eed10f04..317583f8 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 18bbcf9a..20a9f848 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 a7f23fae..0f312a66 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 2614b06f..d7742c33 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 f97df75c..a5c3ae30 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 2614b06f..d7742c33 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 f4b59db3..831f4b31 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 88f4008d..fb424396 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 8136738e..b18dd2b7 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 40dc34b6..ab6096ca 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 a8795ebe..e7b3d675 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 a8795ebe..e7b3d675 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 b101daed..f9ab2962 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 9d4f2616..a9ac962e 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 68eaf3e7..8966b62f 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 ad7c1400..94c38afe 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 286650c9..6550cd3c 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 3fc8b9e4..03affbd2 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 c5c84da2..37be7877 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 c5c84da2..37be7877 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 f9c05da8..2197e8e7 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 9595c92e..126b3354 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 e995b501..20387469 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 06135ee2..c3b16024 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 d94c7a76..2f2579de 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 c9c9a32d..ee9eb259 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 e8c2d1be..0a534f2e 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 1ea007c0..28e3e749 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 51a301dc..7fabfd7c 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 e7a27463..43ce0206 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 279f43b4..0ddee7e7 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 8cdbb131..7d8648d5 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 279f43b4..0ddee7e7 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 2d46a73e..03d11604 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 86676f2d..d37d225a 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 440d2ea3..5e1d6b39 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 c5f5d2e3..2ee6b6ee 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 8328126b..21120fa1 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 bd843c9d..1eb970a5 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 adcd5447..519217c3 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 ef630a72..2af332e7 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 adcd5447..519217c3 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 fd5d2c61..a386ad4a 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 ea09283d..c23b7baf 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 ca9ae611..da9ef9c4 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 a7de031c..7236e37c 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 80466f72..09ef1a8c 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 c7536e29..22897b49 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 bc498131..a79d6a1f 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 ed7a038d..ab1ab742 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 e703c8d4..5d354ebf 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 542cd603..bea60607 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 9467494a..3fa64b59 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 5d84612a..2cac8f28 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 9467494a..3fa64b59 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 967551b3..9c64ce37 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 e698af60..2dd24fba 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 31817099..3769c0f6 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 c2facaa5..31beea23 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 3fe190fc..a351ac84 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 b29ae4af..b5fee412 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 889b6c13..8ff6f18b 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 feb2c855..e4775521 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 889b6c13..8ff6f18b 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 595b2d9c..f6d3caa0 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 f9b1e9b8..93daa0fe 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 b4413b93..f6e82e65 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 0fb62a68..af43e7be 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 5433d171..4509af93 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 cc7a1d2e..c42b68ab 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 28d365cc..a7670293 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 76cd8efa..d36932a8 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 9af118b4..8d4acbfc 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 926d27d0..5576aa69 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 42a8d8cc..87382c84 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 24c24cea..92fcd29f 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 42a8d8cc..af43e7be 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 4304d5b9..f68154e2 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 be6481f8..dfa9544b 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 d037a12f..72700c79 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 3321faf7..76bd1d1d 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 9695f9f1..f94a8130 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 10d6cab6..ff7f4a79 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 5387e9f1..5ae566ce 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 53c335ee..d0c2758a 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 d811edd5..edf4585a 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 757ea2e5..f384f2ff 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 df20be37..267524d8 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 89563382..a8c4d39f 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 df20be37..267524d8 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 c6f99f3b..369be00a 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 ea710b5c..08b60d0f 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 ae78cd05..7ccb21e8 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 70337b04..9fbcccca 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 681104d4..66445be6 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 0797dff3..4192df2a 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 10c4a3ab..44abc5b1 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 3e557d23..f51b6442 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 ced403c5..94f6efb6 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 95917f2c..d1a83c77 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 eb5a3688..f37fee23 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 eb659b88..7ee46211 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 66360694..f37fee23 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 2977c0d9..263eb666 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 518b8f35..5b449186 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 8eb37a35..3dbb7173 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 faff3a6a..c68f09e1 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 555685ed..7a3be0f9 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 b4fe7ed4..4c0be1b6 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 0aceb72c..6fb3121e 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 31472f6c..965f7198 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 9a317cc1..c36ddbc3 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 61a28bf4..cb9bcf24 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 e856708c..9c5bd940 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 c9e157f1..1465ed12 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 e856708c..9c5bd940 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 5ab7bd5e..4718e1a8 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 b924bf92..fba4f7d4 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 d5d2fbf0..439704b4 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 f987db4d..0bcf7838 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 6faeb104..f4bea0e3 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 8b1955af..b6b827cf 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 c0907aab..15435983 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 58ef771b..c2d03d47 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 c5a27e0b..0cc3e025 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 6dd34846..6deeb028 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 2374f525..2572fa29 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 22c7e3c0..b1a6f823 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 788b92f4..d05cf923 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 GIT binary patch literal 24976 zcmce-by!qi)IW-%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H+GEbQAryCxGt!hot_`(a&v0aKB|RuTkdxrwRv z!YCovce}5a)&w`FXSD2PIpVGcVY3HaSG57A>0?Ldfr%fVVtmKgob%x zx)|SP4g6w83H1ybG=#SowRb_~z1wsWbmTk2xD+u8?Crb=KPtUVt(CYH&L5g* z_{=adaM-lBcF8Upqp9v7cijDosmd(oe%A9BYL)kCrI=EX4PwU?Eo+~!RN$ie{a&OC zS8c*8wcGfImd(TJ* z(;bybFNWYR9%+8+dd?AWjrc#ug;;Q(F-J#Ro}Q3 zhyQ58gRJTr&G9=b)iu)r7J~KdLM=;sbcI_*4^!gf!aGE3<=oh*QO8cNj5tTx+qVZ` z$xv*yLrh25mCo#B4+j|fyS~^JY!%7o#%kghNM7Ow_jhbV%@ew&m~AB8@07;DYQ>Of zfQ#wHNP)Z4&0My>4G!;fYq6MsngIL%Q#zT% literal 0 HcmV?d00001 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 GIT binary patch literal 24728 zcmce7byOU|vn~-JL6Q)HTX2Wq9s(@x1X~sf?(PsEf#7b7yD#prSa5fj4J5d`F7lS- zci%nloO}O$a}K-gOiy)HPxV({RrdrdDM(_X5uza>Az?~O0aTEXo`oVIJ&}0v6mdo_ zG0he6^~6y{QWU9dgm@eAOFJo`BNEc9&d0wey|#r$NJw9p zr2!(UZo2zvLN1H^*a6$N%qk(NCEv8Z@6o7fxvJ3f9H`_wQYNTua;p)77%SB66hrzv z`vVESQF)`jrw7WMeB4|j!t%RrN22O|N3YI@%i8Ai;0;VHom47+UEoTQ6X32nYa%9I zo;(VDaHSB3ohWql5D^Ysby}*VcujHzvw9H6OY0 zPt$eCcGh2uShmu|{$6?P1?lJZxbs>Ty{uZE#k6m}igx+yKxfKB3&{d2tM`qtp0qWU zQ4M8HUHsm77IHp=oy(Jx?B}gyF!~px-){f{iL`miBF`S>e7o!_M~30v@2T5QO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(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 00000000..e0924605 --- /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 c2060dd9..c77d4d20 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 7bdd9ccb..1c8e25e8 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 1991f6e3..99c12412 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 f1b2f72b..ae3ce803 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 caec1437..020bc62b 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 76f6e5d8..9936f644 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 ccede330..6ad29758 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 20248edf..7bfa2811 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 60d8346e..d89e85a2 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 0e94d38d..68ab721e 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 9f793630..c904fe89 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 0e94d38d..68ab721e 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 625eda0d..264cc204 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 7a7ec7d1..fd65e242 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 abd87da6..d780d8b8 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 78513132..f4ae2782 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 1008a095..8e1148ee 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 c69be748..6886cbed 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 15579bc5..3570206d 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 39b61a08..6321540e 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 dcc8c0f3..854fefd7 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 1e6abc9f..bb847062 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 73a3325a..95f60a7b 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 334a579e..12a8c267 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 73a3325a..95f60a7b 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 0e2e0c9e..9b61fc59 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 867b0375..7a84ca97 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 a9a71241..5b4a73c5 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 45d7b4fd..962543c5 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 b41ac5a8..0cef892c 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 daf54b82..615b5ae8 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 3ee08d9b..3e73a1f9 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 d8f97e58..b00b5302 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 cd1b3a2a..a6226b74 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 93cebf33..82ed04fa 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 bfedcda6..4b906a8f 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 d8139e9c..5d5c82f0 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 bfedcda6..4b906a8f 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 a00b301b..95f4610f 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 aac311cb..24644b7d 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 137af946..83e42659 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 6c82ba90..00bc08a9 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 5ca6849d..785069dd 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 9473ca1d..c703e97f 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 00000000..27c7f47c --- /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 9828cc20..efb2b748 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 47ba12f3..457eac9c 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 00000000..bfe7fef8 --- /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) -- Gitee