summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-28[smart] add FIONREAD ioctl support for tty (#8996)Shell
Signed-off-by: Shell <[email protected]>
2024-05-28 [PIC] Make affinity helper interface (#8995)GUI
* [PIC] Make affinity helper interface Signed-off-by: GuEe-GUI <[email protected]> * [PIC/GIC] Fixup GIC affinity init GICv2 is not support if current CPU is not startup, but RT-Thread SMP is startup after the devices init in the `main` thread. This patch fixup the cpumask to init once and check the init status in affinity interface. Signed-off-by: GuEe-GUI <[email protected]> --------- Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28[OFW] Support ID map interface (#8994)GUI
The OFW map id is always use in DMA, PCI, IOMMU bus system to find the device identity. this is a access interface. Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28[OFW] Fixup irq parse map and map mask (#8992)GUI
`map_len` and `map_mask_len` is the count of elements, not the bytes size of elements. Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28[Feature] DFS mount auto by kernel parameters (#8989)GUI
DFS mount auto by kernel parameters 1.Mount the rootfs options by parameters: - root=: root device, like vda1, sda1, sd0p1, nvme0n0p1... - rootfstype=: root file system type, like elm, ext, crom... - rw/ro: root is readonly or all enable, if not have 'rw' flag, the 'ro' flag is default. - rootwait: always wait for root device status is OK. - rootdelay=: mount rootfs delay amount of time (millisecond). 2.Mount the other fs options by `fstab.sh`, it will read the script after root mount is OK, it's format is a list of mount cmds in MSH: mount vda2 /mnt elm mount 192.168.1.1:/ /mnt/remote nfs Signed-off-by: GuEe-GUI <[email protected]>
2024-05-27Add psoc62、61 config.Rbb666
2024-05-27Adjust the PKG selection position.LZerro
2024-05-27Format some fileLZerro
2024-05-27Format some FileLZerro
2024-05-27Add BSP CILZerro
2024-05-27Add XMC7200 BSP And Make the HAL library as a software packageLZerro
2024-05-27如果申请空间不足,申请不到合适的空间,需要回收new_rbbwinfenggao
2024-05-27[components][drivers][sd] add uhs-i mode support to sd driverFan YANG
- added SDR50, SDR104 and DDR50 support to SD driver Signed-off-by: Fan YANG <[email protected]>
2024-05-27update gpio driverflyingcys
2024-05-26[libcpu] arm: fixup signal handling (#8988)Shell
Signed-off-by: Shell <[email protected]>
2024-05-26[libcpu] discard rt_current_thread (#8976)Shell
* [libcpu] rv64: discard rt_current_thread * arm: using rt_thread_self to fetch current TCB
2024-05-26[components][drivers][mmc] add HS400 support to mmc driverFan YANG
- added HS400 supprt (both eMMC5.0 and eMMC5.1 flavor are supported) Signed-off-by: Fan YANG <[email protected]>
2024-05-22Accumulated patchsets for bsp/cvitek (#8968)Chen Wang
* bsp: cvitek: kconfig: add wdt for cv18xx_riscv Add Watchdog timer in Kconfig. Signed-off-by: Chen Wang <[email protected]> * drv: cvitek: remove using macro from source file Building of source file should be controlled by SConscript, but not in source file itself. Signed-off-by: Chen Wang <[email protected]> * bsp: cvitek: kconfig: add i2c for cv18xx_riscv Add I2C in Kconfig for c906B. Note, the IRQ# is different from that of c906L. Signed-off-by: Chen Wang <[email protected]> * bsp: cvitek: kconfig: add rtc for cv18xx_riscv Add RTC in Kconfig for c906B. Signed-off-by: Chen Wang <[email protected]> * bsp: cvitek: fix channel issue for pwm driver The original code confuses the concepts of controllers and channels. Fixed it and do some code cleanup. Signed-off-by: Chen Wang <[email protected]> * bsp:cvitek: add i2c pinmux config for cv18xx_riscv Pinmux in driver code is controlled by SOC type, bcos driver code should be general and support all pins defined by SoC. Pinmux configuration in Kconfig is controlled by BOARD type, bcos when we operate on board, it does not expose all chip-level pin signals and we can only use part of them. Following is I2C signals exported by duo family. Details see https://milkv.io/docs/duo/overview. Note: we have not added support for duo-S. Duo === NAME I2C CV1800B/GPIO <PINNAME>__<FUNCNAME> ---- --- ------------ --------------------- GP0 I2C0_SCL XGPIOA[28] IIC0_SCL__IIC0_SCL GP1 I2C0_SDA XGPIOA[29] IIC0_SDA__IIC0_SDA GP4 I2C1_SCL PWR_GPIO[19] SD1_D2__IIC1_SCL GP9 I2C1_SCL PWR_GPIO[18] SD1_D3__IIC1_SCL GP11 I2C1_SCL XGPIOC[10] PAD_MIPIRX0N__IIC1_SCL GP5 I2C1_SDA PWR_GPIO[20] SD1_D1__IIC1_SDA GP8 I2C1_SDA PWR_GPIO[21] SD1_D0__IIC1_SDA GP10 I2C1_SDA XGPIOC[9] PAD_MIPIRX1P__IIC1_SDA GP7 I2C3_SCL PWR_GPIO[22] SD1_CMD__IIC3_SCL GP6 I2C3_SDA PWR_GPIO[23] SD1_CLK__IIC3_SDA Duo 256m ======== NAME I2C CV1800B/GPIO <PINNAME>__<FUNCNAME> ---- --- ------------ --------------------- GP4 I2C1_SCL PWR_GPIO[19] SD1_D2__IIC1_SCL GP9 I2C1_SCL PWR_GPIO[18] SD1_D3__IIC1_SCL GP5 I2C1_SDA PWR_GPIO[20] SD1_D1__IIC1_SDA GP8 I2C1_SDA PWR_GPIO[21] SD1_D0__IIC1_SDA GP11 I2C2_SCL XGPIOC[15] PAD_MIPI_TXP1__IIC2_SCL GP10 I2C2_SDA XGPIOC[14] PAD_MIPI_TXM1__IIC2_SDA GP7 I2C3_SCL PWR_GPIO[22] SD1_CMD__IIC3_SCL GP6 I2C3_SDA PWR_GPIO[23] SD1_CLK__IIC3_SDA Duo S ===== NAME I2C CV1800B/GPIO <PINNAME>__<FUNCNAME> ---- --- ------------ --------------------- J3-B18 I2C1_SCL XGPIOB[18] VIVO_D3__IIC1_SCL J3-B12 I2C1_SCL XGPIOB[12] VIVO_D9__IIC1_SCL J3-B11 I2C1_SDA XGPIOB[11] VIVO_D10__IIC1_SDA J3-B13 I2C2_SCL XGPIOB[13] VIVO_D8__IIC2_SCL J4-E1 I2C2_SCL PWR_GPIO[1] PWR_GPIO1__IIC2_SCL J3-B14 I2C2_SDA XGPIOB[14] VIVO_D7__IIC2_SDA J4-E2 I2C2_SDA PWR_GPIO[2] PWR_GPIO2__IIC2_SDA J3-B20 I2C4_SCL XGPIOB[20] VIVO_D1__IIC4_SCL J4-B1 I2C4_SCL XGPIOB[1] ADC3__IIC4_SCL J3-B21 I2C4_SDA XGPIOB[21] VIVO_D0__IIC4_SDA J4-B2 I2C4_SDA XGPIOB[2] ADC2__IIC4_SDA Signed-off-by: Chen Wang <[email protected]> Signed-off-by: flyingcys <[email protected]> * bsp:cvitek: remove using macro from source file for i2c Signed-off-by: Chen Wang <[email protected]> * bsp:cvitek: unify menu message text for i2c as other drivers Other dirvers has no extra word "HW". Signed-off-by: Chen Wang <[email protected]> * bsp:cvitek: add i2c pinmux config for c906_little Porting what we have done in commit "bsp:cvitek: add i2c pinmux config for cv18xx_riscv" to c906_little. Signed-off-by: Chen Wang <[email protected]> --------- Signed-off-by: Chen Wang <[email protected]> Signed-off-by: flyingcys <[email protected]> Co-authored-by: flyingcys <[email protected]>
2024-05-21[component][driver]init dm serial naming framework in a separate phase (#8971)zms123456
init dm serial naming framework in a phase
2024-05-21[quality] fixup compiler warning (#8961)Shell
Signed-off-by: Shell <[email protected]>
2024-05-21[dfsv2] fixup out-of-memory access (#8973)Shell
This change addresses a potential out-of-memory access issue in the devfs filesystem component. The issue arises when the `rt_malloc` function allocates memory for a path string without accounting for the null terminator, leading to undefined behavior. As the manual documented: > DESCRIPTION > The strlen() function calculates the length of the string pointed to > by s, excluding the terminating null byte ('\0'). To fix this, the memory allocation size was increased by one byte to ensure space for the null terminator. This prevents potential out-of-memory access and ensures proper string termination. Signed-off-by: Shell <[email protected]>
2024-05-21[components][driver]add isr statistics (#8955)zms123456
add isr statistics
2024-05-21[tools/cmake] fix the issue of the missing link flags added in Sconscript ↵Astrozen
(#8957)
2024-05-21[utest] add device find (#8959)Shell
* [utest] add device find Signed-off-by: Shell <[email protected]> * fixup: add test * fixup: ptr aliasing * quality: meaning parameter --------- Signed-off-by: Shell <[email protected]>
2024-05-17✨ feat(bsp): hc32L196增加IAR_8.40支持蒙蒙plus
Signed-off-by: 蒙蒙plus <[email protected]>
2024-05-17[smart] select console device dynamically (#8949)Shell
* [smart] select console device dynamically - Fixed compiler warning on terminal subsystem for `components/lwp/terminal/terminal.h` - Updated default console setup to dynamically select an appropriate tty device based on the configured console device name. Signed-off-by: Shell <[email protected]> * fixup: remove useless codes --------- Signed-off-by: Shell <[email protected]>
2024-05-16[HC32] Fixed a bug about erase flash.JamieTx
2024-05-16[bsp/at32] 1.fixed f402 uart7/8 pierph clock source error, 2.fixed compiling ↵sheltonyu
error of drv_usart_v2.c with no dma
2024-05-16[libcpu/arm64] add C11 atomic ticket spinlock (#8882)Shell
* [libcpu/arm64] add C11 atomic ticket spinlock Replace the former implementation of flag-based spinlock which is unfair Besides, C11 atomic implementation is more readable (it's C anyway), and maintainable. Cause toolchain can use their builtin optimization and tune for different micro-architectures. For example armv8.5 introduces a better instruction. The compiler can help with that when it knows your target platform in support of it. Signed-off-by: Shell <[email protected]> * fixup: RT_CPUS_NR --------- Signed-off-by: Shell <[email protected]>
2024-05-16fix specified network card not taking effect with msh's ping error (#8937)xiao-mang
* fix specified network card not taking effect with msh's ping error * fix specified network card not taking effect with msh's ping error
2024-05-16[drivers][serial]fix error in getting serial_tty settings (#8953)zms123456
fix error in getting serial_tty settings
2024-05-13[bsp/cvitek]update gpio driver (#8946)flyingcys
update gpio driver
2024-05-13[drivers][ofw] fix ofw_alias_scan() bug (#8908)liYangYang
* fix ofw_alias_scan() bug * fix tag_len
2024-05-11修复C++11 ↵atwww
thread_local对象析构函数与实际内存释放动作顺序相反问题
2024-05-11[include/rtthread.h] rt_thread_close函数声明应当与RT_USING_HEAP无关Yang Xijing
2024-05-11[tools] fix env toolchain path parse issue (#8936)Meco Man
2024-05-11[components][drivers]fix compiler error in serial dm (#8927)zms123456
fix compiler error in serial dm
2024-05-11fix eth error (#8929)xiao-mang
* fix eth error * fix eth error * fix eth error * fix eth error * fix eth error
2024-05-11[hrtimer] fixup use-after-free (#8928)Shell
Signed-off-by: Shell <[email protected]>
2024-05-10remove intr disablezhao maosheng
2024-05-10add percpu interrupt infozhao maosheng
2024-05-10[smart] fixup arm64 aspace switch (#8925)Shell
* [smart] fixup arm64 aspace switch Signed-off-by: Shell <[email protected]> * fixup: arm add arch_kernel_mmu_table_get --------- Signed-off-by: Shell <[email protected]>
2024-05-09[renesas][hmi-board]update lvgl config and doc.Rbb666
2024-05-09Stm32F411 Blackpill CubeMX delete SPI_NSSLZero
2024-05-09fix_serial_baudrate_setgeniusgogo
2024-05-09fix RT_DEBUGING_ASSERTgeniusgogo
2024-05-08[BSP][HC32F460]清理已不再使用的文件sp-cai
PWM 配置文件 pwm_tmra_config.h 已合并到 pwm_tmr_config.h 了。
2024-05-08[bsp][at32]修复at32_transmit返回类型错误WaterFishJ
2024-05-08[libcpu][aarch64] Fixed the rt_hw_secondary_cpu_bsp_start() bug (#8898)liYangYang
* fix rt_hw_secondary_cpu_bsp_start() bug * timer init * comment
2024-05-08[tools] fix the issue of cc detection failure in Windows (#8914)Bernard Xiong