From 0a2b4d64ac777f052e9400dbf2df2abd5eab3fb4 Mon Sep 17 00:00:00 2001 From: zhujiale <945386260@qq.com> Date: Tue, 3 Dec 2024 16:28:50 +0800 Subject: [PATCH] [dm2.0] fit bsp with dm2.0 --- .github/workflows/bsp_buildings.yml | 3 +- bsp/raspberry-pi/raspi-dm2.0/.config | 245 ++++++++++++------ .../raspi-dm2.0/bcm2711-rpi-4-b.dtb | Bin 49833 -> 49660 bytes .../raspi-dm2.0/drivers/drv_uart.c | 2 +- .../raspi-dm2.0/drivers/sdhci/sdhci.c | 2 + bsp/raspberry-pi/raspi-dm2.0/qemu.sh | 2 +- bsp/raspberry-pi/raspi-dm2.0/rtconfig.h | 126 +++++---- 7 files changed, 245 insertions(+), 135 deletions(-) mode change 100644 => 100755 bsp/raspberry-pi/raspi-dm2.0/qemu.sh diff --git a/.github/workflows/bsp_buildings.yml b/.github/workflows/bsp_buildings.yml index deac6540d282..2ab0182fa467 100644 --- a/.github/workflows/bsp_buildings.yml +++ b/.github/workflows/bsp_buildings.yml @@ -342,6 +342,7 @@ jobs: - "qemu-virt64-aarch64" - "raspberry-pi/raspi3-64" - "raspberry-pi/raspi4-64" + - "raspberry-pi/raspi-dm2.0" #- "rockchip/rk3568" too long - "phytium/aarch64" - RTT_BSP: "riscv-none" @@ -508,4 +509,4 @@ jobs: run: | curl -X POST -H "Authorization: token ${{ secrets.RTTHREAD_GITHUB_TOKEN }}" \ -d '{"body":"@${{ github.actor }}, Thank you for your contribution, but there was an error with the action. Could you please help check the BSP compilation issue? Thank you."}' \ - "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" \ No newline at end of file + "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" diff --git a/bsp/raspberry-pi/raspi-dm2.0/.config b/bsp/raspberry-pi/raspi-dm2.0/.config index 85349c254a5c..9687c6936890 100644 --- a/bsp/raspberry-pi/raspi-dm2.0/.config +++ b/bsp/raspberry-pi/raspi-dm2.0/.config @@ -2,10 +2,114 @@ # # RT-Thread Kernel # + +# +# klibc options +# + +# +# ------------rt_memset options------------ +# +# CONFIG_RT_KLIBC_USING_USER_MEMSET is not set +# CONFIG_RT_KLIBC_USING_LIBC_MEMSET is not set +# CONFIG_RT_KLIBC_USING_TINY_MEMSET is not set + +# +# ------------rt_memcpy options------------ +# +# CONFIG_RT_KLIBC_USING_USER_MEMCPY is not set +# CONFIG_RT_KLIBC_USING_LIBC_MEMCPY is not set +# CONFIG_RT_KLIBC_USING_TINY_MEMCPY is not set + +# +# ------------rt_memmove options------------ +# +# CONFIG_RT_KLIBC_USING_USER_MEMMOVE is not set +# CONFIG_RT_KLIBC_USING_LIBC_MEMMOVE is not set + +# +# ------------rt_memcmp options------------ +# +# CONFIG_RT_KLIBC_USING_USER_MEMCMP is not set +# CONFIG_RT_KLIBC_USING_LIBC_MEMCMP is not set + +# +# ------------rt_strstr options------------ +# +# CONFIG_RT_KLIBC_USING_USER_STRSTR is not set +# CONFIG_RT_KLIBC_USING_LIBC_STRSTR is not set + +# +# ------------rt_strcasecmp options------------ +# +# CONFIG_RT_KLIBC_USING_USER_STRCASECMP is not set + +# +# ------------rt_strncpy options------------ +# +# CONFIG_RT_KLIBC_USING_USER_STRNCPY is not set +# CONFIG_RT_KLIBC_USING_LIBC_STRNCPY is not set + +# +# ------------rt_strcpy options------------ +# +# CONFIG_RT_KLIBC_USING_USER_STRCPY is not set +# CONFIG_RT_KLIBC_USING_LIBC_STRCPY is not set + +# +# ------------rt_strncmp options------------ +# +# CONFIG_RT_KLIBC_USING_USER_STRNCMP is not set +# CONFIG_RT_KLIBC_USING_LIBC_STRNCMP is not set + +# +# ------------rt_strcmp options------------ +# +# CONFIG_RT_KLIBC_USING_USER_STRCMP is not set +# CONFIG_RT_KLIBC_USING_LIBC_STRCMP is not set + +# +# ------------rt_strlen options------------ +# +# CONFIG_RT_KLIBC_USING_USER_STRLEN is not set +# CONFIG_RT_KLIBC_USING_LIBC_STRLEN is not set + +# +# ------------rt_strlen options------------ +# + +# +# ------------rt_strnlen options------------ +# +# CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set + +# +# ------------rt_vsscanf options------------ +# +# CONFIG_RT_KLIBC_USING_LIBC_VSSCANF is not set + +# +# ------------rt_vsnprintf options------------ +# +# CONFIG_RT_KLIBC_USING_LIBC_VSNPRINTF is not set +CONFIG_RT_KLIBC_USING_VSNPRINTF_LONGLONG=y +CONFIG_RT_KLIBC_USING_VSNPRINTF_STANDARD=y +CONFIG_RT_KLIBC_USING_VSNPRINTF_DECIMAL_SPECIFIERS=y +CONFIG_RT_KLIBC_USING_VSNPRINTF_EXPONENTIAL_SPECIFIERS=y +CONFIG_RT_KLIBC_USING_VSNPRINTF_WRITEBACK_SPECIFIER=y +CONFIG_RT_KLIBC_USING_VSNPRINTF_CHECK_NUL_IN_FORMAT_SPECIFIER=y +# CONFIG_RT_KLIBC_USING_VSNPRINTF_MSVC_STYLE_INTEGER_SPECIFIERS is not set +CONFIG_RT_KLIBC_USING_VSNPRINTF_INTEGER_BUFFER_SIZE=32 +CONFIG_RT_KLIBC_USING_VSNPRINTF_DECIMAL_BUFFER_SIZE=32 +CONFIG_RT_KLIBC_USING_VSNPRINTF_FLOAT_PRECISION=6 +CONFIG_RT_KLIBC_USING_VSNPRINTF_MAX_INTEGRAL_DIGITS_FOR_DECIMAL=9 +CONFIG_RT_KLIBC_USING_VSNPRINTF_LOG10_TAYLOR_TERMS=4 +# end of klibc options + CONFIG_RT_NAME_MAX=8 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set -CONFIG_RT_USING_SMART=y # CONFIG_RT_USING_NANO is not set +# CONFIG_RT_USING_SMART is not set # CONFIG_RT_USING_AMP is not set CONFIG_RT_USING_SMP=y CONFIG_RT_CPUS_NR=4 @@ -15,6 +119,7 @@ CONFIG_RT_THREAD_PRIORITY_32=y # CONFIG_RT_THREAD_PRIORITY_256 is not set CONFIG_RT_THREAD_PRIORITY_MAX=32 CONFIG_RT_TICK_PER_SECOND=1000 +CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_HOOK=y CONFIG_RT_HOOK_USING_FUNC_PTR=y # CONFIG_RT_USING_HOOKLIST is not set @@ -29,18 +134,10 @@ CONFIG_RT_TIMER_THREAD_STACK_SIZE=16384 CONFIG_RT_USING_CPU_USAGE_TRACER=y # -# kservice optimization +# kservice options # # CONFIG_RT_USING_TINY_FFS is not set -# end of kservice optimization - -# -# klibc optimization -# -# CONFIG_RT_KLIBC_USING_STDLIB is not set -# CONFIG_RT_KLIBC_USING_TINY_SIZE is not set -CONFIG_RT_KLIBC_USING_PRINTF_LONGLONG=y -# end of klibc optimization +# end of kservice options CONFIG_RT_USING_DEBUG=y # CONFIG_RT_DEBUGING_ASSERT is not set @@ -50,7 +147,6 @@ CONFIG_RT_DEBUGING_CONTEXT=y # CONFIG_RT_DEBUGING_PAGE_LEAK is not set # CONFIG_RT_DEBUGING_SPINLOCK is not set # CONFIG_RT_DEBUGING_CRITICAL is not set -CONFIG_RT_USING_OVERFLOW_CHECK=y # # Inter-Thread communication @@ -86,7 +182,6 @@ CONFIG_RT_USING_DEVICE=y CONFIG_RT_USING_DEVICE_OPS=y CONFIG_RT_USING_INTERRUPT_INFO=y # CONFIG_RT_USING_THREADSAFE_PRINTF is not set -CONFIG_RT_USING_SCHED_THREAD_CTX=y CONFIG_RT_USING_CONSOLE=y CONFIG_RT_CONSOLEBUF_SIZE=256 CONFIG_RT_CONSOLE_DEVICE_NAME="uart0" @@ -113,8 +208,9 @@ CONFIG_RT_USING_CPU_FFS=y CONFIG_ARCH_MM_MMU=y CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM_MMU=y -CONFIG_KERNEL_VADDR_START=0xffff000000000000 CONFIG_ARCH_ARMV8=y +CONFIG_ARCH_USING_ASID=y +CONFIG_ARCH_USING_IRQ_CTX_LIST=y # # RT-Thread Components @@ -148,6 +244,7 @@ CONFIG_RT_USING_DFS=y CONFIG_DFS_USING_POSIX=y CONFIG_DFS_USING_WORKDIR=y CONFIG_DFS_FD_MAX=64 +# CONFIG_RT_USING_DFS_V1 is not set CONFIG_RT_USING_DFS_V2=y CONFIG_RT_USING_DFS_ELMFAT=y @@ -177,23 +274,9 @@ CONFIG_RT_DFS_ELM_MUTEX_TIMEOUT=3000 CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DFS_ROMFS is not set -CONFIG_RT_USING_DFS_PTYFS=y # CONFIG_RT_USING_DFS_CROMFS is not set CONFIG_RT_USING_DFS_TMPFS=y # CONFIG_RT_USING_DFS_MQUEUE is not set -# CONFIG_RT_USING_DFS_NFS is not set -CONFIG_RT_USING_PAGECACHE=y - -# -# page cache config -# -CONFIG_RT_PAGECACHE_COUNT=4096 -CONFIG_RT_PAGECACHE_ASPACE_COUNT=1024 -CONFIG_RT_PAGECACHE_PRELOAD=4 -CONFIG_RT_PAGECACHE_HASH_NR=1024 -CONFIG_RT_PAGECACHE_GC_WORK_LEVEL=90 -CONFIG_RT_PAGECACHE_GC_STOP_LEVEL=70 -# end of page cache config # end of DFS: device virtual file system # CONFIG_RT_USING_FAL is not set @@ -221,6 +304,7 @@ CONFIG_RT_USING_I2C_BITOPS=y # CONFIG_RT_I2C_BITOPS_DEBUG is not set # CONFIG_RT_USING_SOFT_I2C is not set # CONFIG_RT_USING_PHY is not set +# CONFIG_RT_USING_PHY_V2 is not set # CONFIG_RT_USING_ADC is not set # CONFIG_RT_USING_DAC is not set CONFIG_RT_USING_NULL=y @@ -257,7 +341,25 @@ CONFIG_RT_USING_TOUCH=y CONFIG_RT_USING_LCD=y # CONFIG_RT_USING_HWCRYPTO is not set # CONFIG_RT_USING_WIFI is not set +# CONFIG_RT_USING_LED is not set +# CONFIG_RT_USING_MBOX is not set +# CONFIG_RT_USING_PHYE is not set +CONFIG_RT_USING_BLK=y + +# +# Partition Types +# +CONFIG_RT_BLK_PARTITION_DFS=y +CONFIG_RT_BLK_PARTITION_EFI=y +# end of Partition Types + +# CONFIG_RT_USING_SCSI is not set +# CONFIG_RT_USING_REGULATOR is not set +# CONFIG_RT_USING_RESET is not set +# CONFIG_RT_USING_THERMAL is not set # CONFIG_RT_USING_VIRTIO is not set +# CONFIG_RT_USING_DMA is not set +# CONFIG_RT_USING_MFD is not set CONFIG_RT_USING_OFW=y # CONFIG_RT_USING_BUILTIN_FDT is not set CONFIG_RT_FDT_EARLYCON_MSG_SIZE=128 @@ -306,9 +408,6 @@ CONFIG_RT_USING_POSIX_STDIO=y CONFIG_RT_USING_POSIX_POLL=y # CONFIG_RT_USING_POSIX_SELECT is not set # CONFIG_RT_USING_POSIX_EVENTFD is not set -CONFIG_RT_USING_POSIX_EPOLL=y -CONFIG_RT_USING_POSIX_SIGNALFD=y -CONFIG_RT_SIGNALFD_MAX_NUM=10 # CONFIG_RT_USING_POSIX_TIMERFD is not set # CONFIG_RT_USING_POSIX_SOCKET is not set CONFIG_RT_USING_POSIX_TERMIOS=y @@ -420,6 +519,7 @@ CONFIG_LWIP_NETIF_LOOPBACK=1 # CONFIG_RT_LWIP_USING_HW_CHECKSUM is not set CONFIG_RT_LWIP_USING_PING=y # CONFIG_LWIP_USING_DHCPD is not set +# CONFIG_RT_LWIP_ENABLE_USER_HOOKS is not set # CONFIG_RT_LWIP_DEBUG is not set # CONFIG_RT_USING_AT is not set # end of Network @@ -450,27 +550,7 @@ CONFIG_RT_USING_ADT_REF=y # end of Utilities # CONFIG_RT_USING_VBUS is not set -CONFIG_RT_USING_LWP=y -CONFIG_LWP_DEBUG=y -# CONFIG_LWP_DEBUG_INIT is not set -CONFIG_RT_LWP_MAX_NR=30 -CONFIG_LWP_TASK_STACK_SIZE=16384 -CONFIG_RT_CH_MSG_MAX_NR=1024 -CONFIG_LWP_TID_MAX_NR=64 -CONFIG_RT_LWP_SHM_MAX_NR=64 -CONFIG_RT_USING_LDSO=y -# CONFIG_ELF_DEBUG_ENABLE is not set -# CONFIG_ELF_LOAD_RANDOMIZE is not set -CONFIG_LWP_USING_TERMINAL=y -CONFIG_LWP_PTY_MAX_PARIS_LIMIT=64 -CONFIG_RT_USING_VDSO=y - -# -# Memory management -# CONFIG_RT_USING_MEMBLOCK=y -CONFIG_RT_INIT_MEMORY_REGIONS=128 -# end of Memory management # # Using USB legacy version @@ -561,10 +641,10 @@ CONFIG_UTEST_SCHEDULER_TC=y # end of Tmpfs Testcase # -# SMP Testcase +# SMP-Call Testcase # # CONFIG_UTEST_SMP_CALL_FUNC is not set -# end of SMP Testcase +# end of SMP-Call Testcase # end of RT-Thread Utestcases # @@ -586,6 +666,7 @@ CONFIG_UTEST_SCHEDULER_TC=y # CONFIG_PKG_USING_WEBTERMINAL is not set # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set +# CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set # # Wi-Fi @@ -718,6 +799,7 @@ CONFIG_UTEST_SCHEDULER_TC=y # CONFIG_PKG_USING_JSMN is not set # CONFIG_PKG_USING_AGILE_JSMN is not set # CONFIG_PKG_USING_PARSON is not set +# CONFIG_PKG_USING_RYAN_JSON is not set # end of JSON: JavaScript Object Notation, a lightweight data-interchange format # @@ -822,6 +904,7 @@ CONFIG_UTEST_SCHEDULER_TC=y # CONFIG_PKG_USING_ARMV7M_DWT_TOOL is not set # CONFIG_PKG_USING_VOFA_PLUS is not set # CONFIG_PKG_USING_ZDEBUG is not set +# CONFIG_PKG_USING_RVBACKTRACE is not set # end of tools packages # @@ -836,6 +919,8 @@ CONFIG_UTEST_SCHEDULER_TC=y # CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set # end of enhanced kernel services +# CONFIG_PKG_USING_AUNITY is not set + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -909,10 +994,12 @@ CONFIG_UTEST_SCHEDULER_TC=y # CONFIG_PKG_USING_FLASH_BLOB is not set # CONFIG_PKG_USING_MLIBC is not set # CONFIG_PKG_USING_TASK_MSG_BUS is not set +# CONFIG_PKG_USING_UART_FRAMEWORK is not set # CONFIG_PKG_USING_SFDB is not set # CONFIG_PKG_USING_RTP is not set # CONFIG_PKG_USING_REB is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set +# CONFIG_PKG_USING_HEARTBEAT is not set # end of system packages # @@ -926,12 +1013,29 @@ CONFIG_UTEST_SCHEDULER_TC=y # # STM32 HAL & SDK Drivers # +# CONFIG_PKG_USING_STM32F4_HAL_DRIVER is not set +# CONFIG_PKG_USING_STM32F4_CMSIS_DRIVER is not set # CONFIG_PKG_USING_STM32L4_HAL_DRIVER is not set # CONFIG_PKG_USING_STM32L4_CMSIS_DRIVER is not set # CONFIG_PKG_USING_STM32WB55_SDK is not set # CONFIG_PKG_USING_STM32_SDIO is not set # end of STM32 HAL & SDK Drivers +# +# Infineon HAL Packages +# +# CONFIG_PKG_USING_INFINEON_CAT1CM0P is not set +# CONFIG_PKG_USING_INFINEON_CMSIS is not set +# CONFIG_PKG_USING_INFINEON_CORE_LIB is not set +# CONFIG_PKG_USING_INFINEON_MTB_HAL_CAT1 is not set +# CONFIG_PKG_USING_INFINEON_MTB_PDL_CAT1 is not set +# CONFIG_PKG_USING_INFINEON_RETARGET_IO is not set +# CONFIG_PKG_USING_INFINEON_CAPSENSE is not set +# CONFIG_PKG_USING_INFINEON_CSDIDAC is not set +# CONFIG_PKG_USING_INFINEON_SERIAL_FLASH is not set +# CONFIG_PKG_USING_INFINEON_USBDEV is not set +# end of Infineon HAL Packages + # CONFIG_PKG_USING_BLUETRUM_SDK is not set # CONFIG_PKG_USING_EMBARC_BSP is not set # CONFIG_PKG_USING_ESP_IDF is not set @@ -991,6 +1095,7 @@ CONFIG_UTEST_SCHEDULER_TC=y # CONFIG_PKG_USING_MLX90632 is not set # CONFIG_PKG_USING_MLX90393 is not set # CONFIG_PKG_USING_MLX90392 is not set +# CONFIG_PKG_USING_MLX90394 is not set # CONFIG_PKG_USING_MLX90397 is not set # CONFIG_PKG_USING_MS5611 is not set # CONFIG_PKG_USING_MAX31865 is not set @@ -1104,6 +1209,8 @@ CONFIG_UTEST_SCHEDULER_TC=y # CONFIG_PKG_USING_SYSTEM_RUN_LED is not set # CONFIG_PKG_USING_BT_MX01 is not set # CONFIG_PKG_USING_RGPOWER is not set +# CONFIG_PKG_USING_BT_MX02 is not set +# CONFIG_PKG_USING_GC9A01 is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers @@ -1126,6 +1233,7 @@ CONFIG_UTEST_SCHEDULER_TC=y # # Signal Processing and Control Algorithm Packages # +# CONFIG_PKG_USING_APID is not set # CONFIG_PKG_USING_FIRE_PID_CURVE is not set # CONFIG_PKG_USING_QPID is not set # CONFIG_PKG_USING_UKAL is not set @@ -1213,6 +1321,7 @@ CONFIG_UTEST_SCHEDULER_TC=y # CONFIG_PKG_USING_ARDUINO_MSGQ_C_CPP_DEMO is not set # CONFIG_PKG_USING_ARDUINO_SKETCH_LOADER_DEMO is not set # CONFIG_PKG_USING_ARDUINO_ULTRASOUND_RADAR is not set +# CONFIG_PKG_USING_ARDUINO_RTDUINO_SENSORFUSION_SHIELD is not set # CONFIG_PKG_USING_ARDUINO_NINEINONE_SENSOR_SHIELD is not set # CONFIG_PKG_USING_ARDUINO_SENSOR_KIT is not set # CONFIG_PKG_USING_ARDUINO_MATLAB_SUPPORT is not set @@ -1496,38 +1605,12 @@ CONFIG_UTEST_SCHEDULER_TC=y # # RT-Thread Smart # -CONFIG_PKG_USING_UKERNEL=y -CONFIG_PKG_UKERNEL_PATH="/realthread-packages/smart/ukernel" -# CONFIG_PKG_USING_UKERNEL_V100 is not set -CONFIG_PKG_USING_UKERNEL_LATEST_VERSION=y -CONFIG_PKG_UKERNEL_VER="latest" -# CONFIG_LWP_USING_CORE_DUMP is not set -# CONFIG_RT_USING_GDBSERVER is not set -# CONFIG_RT_USING_DFS_UFS is not set -# CONFIG_SAL_USING_UNET is not set -# CONFIG_RT_USING_MSH_KSHELL_AGENT is not set -CONFIG_RT_USING_NETIF_LOOPBACK=y -# CONFIG_UKERNEL_USING_PMQ is not set -# CONFIG_UKERNEL_USING_UDD is not set -# CONFIG_RT_USING_DEVICE_DRIVER_MODEL is not set -# CONFIG_RT_USING_AARCH64_PMU is not set -# CONFIG_RT_USING_SCHEDULER_EXT is not set -CONFIG_RT_USING_DFS_PROCFS=y -# CONFIG_RT_USING_DFS_CMDFS is not set -CONFIG_SAL_USING_AF_UNIX=y -# CONFIG_SAL_USING_AF_NETLINK is not set -# CONFIG_PKG_USING_DMA_BUF is not set -# CONFIG_PKG_USING_V4L2 is not set -# CONFIG_RT_USING_TRACING is not set +# CONFIG_PKG_USING_UKERNEL is not set # end of RT-Thread Smart # CONFIG_PKG_USING_TRACE_AGENT is not set # CONFIG_PKG_USING_DLOG is not set -CONFIG_PKG_USING_EXT4=y -CONFIG_PKG_EXT4_PATH="/realthread-packages/ext4" -# CONFIG_PKG_USING_EXT4_LATEST_VERSION is not set -CONFIG_PKG_USING_EXT4_SMART_DFS_VERSION=y -CONFIG_PKG_EXT4_VER="smart-dfs" +# CONFIG_PKG_USING_EXT4 is not set # end of Privated Packages of RealThread CONFIG_BCM2711_SOC=y diff --git a/bsp/raspberry-pi/raspi-dm2.0/bcm2711-rpi-4-b.dtb b/bsp/raspberry-pi/raspi-dm2.0/bcm2711-rpi-4-b.dtb index 759c21568f9085d1b260f3d4910930536dae5b3d..ff6b1b83d0e47977084298339a0e756cb3ee87db 100644 GIT binary patch delta 13130 zcmb_i4OCUvm44>}4^)00zYl!qd-yOQ4+8Qqpcut~LINX1MO3tcfIkt!tKbjSAc={w z2}vm17)|`aY7*0E#OQR)N>)myc4}9h)-~;F?S$3Rr0H@xwxz4dYC7XI^X+r*eeb>> zteG`;t$W`-dw*x|efHUBpK~v~@l@FDePP+xWB&Gglj(!oCX=bkWP00y-)!9RxGlJG z#f_Rw7j9h0PK~6I$gMN$Rj&6Lrcz=xewm(RGKnUti&{QslZIh#IJl1ia8pA?q5bR^ zU;Hi2WL|Vx<1ywi-H3WuoS~b$>~wKbRdRi=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o}NXe&m_?YPsbyPa`iu>j$2ZB&%}%U zlG^-Cig*k|m_Wy#iN!P;dL~mmjX7zhkDjrMZ);SHaYkgKiOW(@F_a`emegKQSJ0Cr zIzJRAzM!$8Y$Ym0c1?LUUWtm5mJ6|Ygp^I78W;EH7W_VcmgEuIf??xtPpdZ{OjsLRq>Gtb70 zpToHh@$a%+kMi#%bpq6va9%uJJiAm0Gm%BaQ}_$Jm9Pxzd11B^9YRAd%u}Lg;+1Sx zCkjtmEY{I+G|7lrWEoznL}yUtaGJP@n(-{8qr>$`7L&s}aSW(=aRpY!eJ`fLJD2dR zq>o?Rf+NAQb6FVRob$7&`&@$9O5@X#>D6<+m|*!Yl_G0)yp$>S&;XwM=@Om?M{({BY{lKW zr?HJkNqQN(1#<#*yt-a7+vq(8r_*PzW{F&~yq1O-$;WdMRlT;3qvW+b;iB=^Z1BXD z*K7-_@_c{0z>;RJ&fBh?w^jXEn#`Li|8=Wqr1IDEFcG?5&rH~zSMS#LM$!r_dgi?} z^13y-M@snNlEcNL#nK090@6pkQn|LUlv_PPmJuiZimg(lO}C@`6zv#sAl`P2q|xX| zig<~}N7BUWG&$l-y^x3fb~`_E>*_n802k}Qp2K{JTyNOKJ5=+AE%_&T?G0P7+uWk9 zyNrnk=2z7BMw<8!8hIlv^}qA5a&J|8!tw;juW7tInmA^ij%}{RG#dV9i^yqj`c|W< kt+7-7T5a static unsigned int debug_quirks = 0; static unsigned int debug_quirks2; + +#define ENOMEDIUM 123 /********************************************************* */ /* cmd */ /********************************************************* */ diff --git a/bsp/raspberry-pi/raspi-dm2.0/qemu.sh b/bsp/raspberry-pi/raspi-dm2.0/qemu.sh old mode 100644 new mode 100755 index b795a9bcb507..d423daf9bc10 --- a/bsp/raspberry-pi/raspi-dm2.0/qemu.sh +++ b/bsp/raspberry-pi/raspi-dm2.0/qemu.sh @@ -2,7 +2,7 @@ if [ ! -f "sd.bin" ]; then dd if=/dev/zero of=sd.bin bs=1024 count=65536 fi -qemu-system-aarch64 -M raspi4b -serial stdio \ +qemu-system-aarch64 -M raspi4b -nographic \ -kernel rtthread.bin \ -drive if=sd,file=sd.bin \ -dtb bcm2711-rpi-4-b.dtb \ diff --git a/bsp/raspberry-pi/raspi-dm2.0/rtconfig.h b/bsp/raspberry-pi/raspi-dm2.0/rtconfig.h index 38802e60bf6a..c359126f83c3 100644 --- a/bsp/raspberry-pi/raspi-dm2.0/rtconfig.h +++ b/bsp/raspberry-pi/raspi-dm2.0/rtconfig.h @@ -3,14 +3,71 @@ /* RT-Thread Kernel */ +/* klibc options */ + +/* ------------rt_memset options------------ */ + + +/* ------------rt_memcpy options------------ */ + + +/* ------------rt_memmove options------------ */ + + +/* ------------rt_memcmp options------------ */ + + +/* ------------rt_strstr options------------ */ + + +/* ------------rt_strcasecmp options------------ */ + + +/* ------------rt_strncpy options------------ */ + + +/* ------------rt_strcpy options------------ */ + + +/* ------------rt_strncmp options------------ */ + + +/* ------------rt_strcmp options------------ */ + + +/* ------------rt_strlen options------------ */ + + +/* ------------rt_strlen options------------ */ + +/* ------------rt_strnlen options------------ */ + + +/* ------------rt_vsscanf options------------ */ + + +/* ------------rt_vsnprintf options------------ */ + +#define RT_KLIBC_USING_VSNPRINTF_LONGLONG +#define RT_KLIBC_USING_VSNPRINTF_STANDARD +#define RT_KLIBC_USING_VSNPRINTF_DECIMAL_SPECIFIERS +#define RT_KLIBC_USING_VSNPRINTF_EXPONENTIAL_SPECIFIERS +#define RT_KLIBC_USING_VSNPRINTF_WRITEBACK_SPECIFIER +#define RT_KLIBC_USING_VSNPRINTF_CHECK_NUL_IN_FORMAT_SPECIFIER +#define RT_KLIBC_USING_VSNPRINTF_INTEGER_BUFFER_SIZE 32 +#define RT_KLIBC_USING_VSNPRINTF_DECIMAL_BUFFER_SIZE 32 +#define RT_KLIBC_USING_VSNPRINTF_FLOAT_PRECISION 6 +#define RT_KLIBC_USING_VSNPRINTF_MAX_INTEGRAL_DIGITS_FOR_DECIMAL 9 +#define RT_KLIBC_USING_VSNPRINTF_LOG10_TAYLOR_TERMS 4 +/* end of klibc options */ #define RT_NAME_MAX 8 -#define RT_USING_SMART #define RT_USING_SMP #define RT_CPUS_NR 4 #define RT_ALIGN_SIZE 4 #define RT_THREAD_PRIORITY_32 #define RT_THREAD_PRIORITY_MAX 32 #define RT_TICK_PER_SECOND 1000 +#define RT_USING_OVERFLOW_CHECK #define RT_USING_HOOK #define RT_HOOK_USING_FUNC_PTR #define RT_USING_IDLE_HOOK @@ -22,18 +79,12 @@ #define RT_TIMER_THREAD_STACK_SIZE 16384 #define RT_USING_CPU_USAGE_TRACER -/* kservice optimization */ - -/* end of kservice optimization */ +/* kservice options */ -/* klibc optimization */ - -#define RT_KLIBC_USING_VSNPRINTF_LONGLONG -/* end of klibc optimization */ +/* end of kservice options */ #define RT_USING_DEBUG #define RT_DEBUGING_COLOR #define RT_DEBUGING_CONTEXT -#define RT_USING_OVERFLOW_CHECK /* Inter-Thread communication */ @@ -54,7 +105,6 @@ #define RT_USING_DEVICE #define RT_USING_DEVICE_OPS #define RT_USING_INTERRUPT_INFO -#define RT_USING_SCHED_THREAD_CTX #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 256 #define RT_CONSOLE_DEVICE_NAME "uart0" @@ -78,8 +128,9 @@ #define ARCH_MM_MMU #define ARCH_ARM #define ARCH_ARM_MMU -#define KERNEL_VADDR_START 0xffff000000000000 #define ARCH_ARMV8 +#define ARCH_USING_ASID +#define ARCH_USING_IRQ_CTX_LIST /* RT-Thread Components */ @@ -126,19 +177,7 @@ #define RT_DFS_ELM_MUTEX_TIMEOUT 3000 /* end of elm-chan's FatFs, Generic FAT Filesystem Module */ #define RT_USING_DFS_DEVFS -#define RT_USING_DFS_PTYFS #define RT_USING_DFS_TMPFS -#define RT_USING_PAGECACHE - -/* page cache config */ - -#define RT_PAGECACHE_COUNT 4096 -#define RT_PAGECACHE_ASPACE_COUNT 1024 -#define RT_PAGECACHE_PRELOAD 4 -#define RT_PAGECACHE_HASH_NR 1024 -#define RT_PAGECACHE_GC_WORK_LEVEL 90 -#define RT_PAGECACHE_GC_STOP_LEVEL 70 -/* end of page cache config */ /* end of DFS: device virtual file system */ /* Device Drivers */ @@ -171,6 +210,13 @@ #define RT_USING_WDT #define RT_USING_TOUCH #define RT_USING_LCD +#define RT_USING_BLK + +/* Partition Types */ + +#define RT_BLK_PARTITION_DFS +#define RT_BLK_PARTITION_EFI +/* end of Partition Types */ #define RT_USING_OFW #define RT_FDT_EARLYCON_MSG_SIZE 128 #define RT_USING_OFW_BUS_RANGES_NUMBER 8 @@ -204,9 +250,6 @@ #define RT_USING_POSIX_DEVIO #define RT_USING_POSIX_STDIO #define RT_USING_POSIX_POLL -#define RT_USING_POSIX_EPOLL -#define RT_USING_POSIX_SIGNALFD -#define RT_SIGNALFD_MAX_NUM 10 #define RT_USING_POSIX_TERMIOS #define RT_USING_POSIX_DELAY #define RT_USING_POSIX_CLOCK @@ -303,23 +346,7 @@ #define RT_USING_ADT_HASHMAP #define RT_USING_ADT_REF /* end of Utilities */ -#define RT_USING_LWP -#define LWP_DEBUG -#define RT_LWP_MAX_NR 30 -#define LWP_TASK_STACK_SIZE 16384 -#define RT_CH_MSG_MAX_NR 1024 -#define LWP_TID_MAX_NR 64 -#define RT_LWP_SHM_MAX_NR 64 -#define RT_USING_LDSO -#define LWP_USING_TERMINAL -#define LWP_PTY_MAX_PARIS_LIMIT 64 -#define RT_USING_VDSO - -/* Memory management */ - #define RT_USING_MEMBLOCK -#define RT_INIT_MEMORY_REGIONS 128 -/* end of Memory management */ /* Using USB legacy version */ @@ -367,9 +394,9 @@ /* end of Tmpfs Testcase */ -/* SMP Testcase */ +/* SMP-Call Testcase */ -/* end of SMP Testcase */ +/* end of SMP-Call Testcase */ /* end of RT-Thread Utestcases */ /* RT-Thread online packages */ @@ -462,6 +489,10 @@ /* end of STM32 HAL & SDK Drivers */ +/* Infineon HAL Packages */ + +/* end of Infineon HAL Packages */ + /* Kendryte SDK */ /* end of Kendryte SDK */ @@ -554,14 +585,7 @@ /* RT-Thread Smart */ -#define PKG_USING_UKERNEL -#define PKG_USING_UKERNEL_LATEST_VERSION -#define RT_USING_NETIF_LOOPBACK -#define RT_USING_DFS_PROCFS -#define SAL_USING_AF_UNIX /* end of RT-Thread Smart */ -#define PKG_USING_EXT4 -#define PKG_USING_EXT4_SMART_DFS_VERSION /* end of Privated Packages of RealThread */ #define BCM2711_SOC