Commit Graph

229 Commits

Author SHA1 Message Date
Shell 65c9947225
[libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067)
* [libcpu] support for ARCH_REMAP_KERNEL

These changes introduce support for the ARCH_REMAP_KERNEL configuration,
which isolates kernel space in high virtual address regions. This feature
is necessary to enhance memory protection and management by segregating
user and kernel spaces more effectively.

Changes:
- Updated conditional macros to check for ARCH_REMAP_KERNEL instead of
  ARCH_KERNEL_IN_HIGH_VA in board initialization files to reflect the new
  configuration option.
- Modified qemu-virt64-riscv Kconfig and SConstruct files to include and
  utilize ARCH_REMAP_KERNEL.
- Created a new linker script `link_smart.lds` for smart linking in qemu-virt64-riscv.
- Updated rtconfig.py to use a more flexible execution path setup.
- Enhanced user address space definitions in `lwp_arch.h` to support the
  new virtual address mappings.
- Adjusted kernel memory initialization and mapping logic in `c906/mmu.c`
  and `virt64/mmu.c` to account for high virtual address regions.
- Added Kconfig option to enable ARCH_REMAP_KERNEL for RISCV64 architectures.
- Enhanced memory setup functions to support new mapping scheme, including
  updates to early page table setup and address relocation logic.

These modifications ensure that the system can utilize high memory
addresses for the kernel, improving memory isolation and system stability.

Signed-off-by: Shell <smokewood@qq.com>

* fixup: CI run failed

* bsp: default config without using smart

* fixup: static checks

* restore rt_hw_mmu_kernel_map_init for D1

---------

Signed-off-by: Shell <smokewood@qq.com>
2024-06-18 11:15:59 +08:00
Fan YANG e03342ff6b [bsp][hpmicro] add HPM5300EVK,HPM5301EVKLITE and HPM6800EVK support & update hpm_sdk
- added new boards: hpm5300evk, hpm5301evklite and hpm6800evk
- upgaded hpm_sdk
- driver updates and bugfixes
- add hpmicro BSPs to CI

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2024-06-03 18:05:20 +08:00
LZerro 731c4034dc Add BSP CI 2024-05-27 21:20:13 +08:00
Shell e82c53559b
[utest] add device find (#8959)
* [utest] add device find

Signed-off-by: Shell <smokewood@qq.com>

* fixup: add test

* fixup: ptr aliasing

* quality: meaning parameter

---------

Signed-off-by: Shell <smokewood@qq.com>
2024-05-21 08:56:35 +08:00
Rbb666 a723014e32
[renesas][hmi-board]Support lvgl-9.x 2024-05-07 21:43:52 -04:00
Meco Man f7762ebc90 [ci] disable tools check temporarily 2024-05-05 22:18:34 -04:00
sheltonyu bf669dd02c
[bsp/at32] add at32 bsp to auto ci 2024-04-30 22:08:55 -04:00
chengy2 2aa66b1b4e
[HC32] support HC32F472 & remove residual files 2024-04-29 17:48:47 -04:00
Meco Man 14aa516b91 [ci] add workflow to check env 1.5.x stable version 2024-04-29 10:55:17 +08:00
Meco Man a0e5526a55 [ci] fix doxygen ci grammar error 2024-04-25 10:13:13 +08:00
Meco Man 57d157b8ab [ci] disable doxygen check 2024-04-20 00:57:17 -04:00
LaterComer 6311bcaf24
将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglib 2024-04-18 20:48:32 -04:00
QTbin 9229aee1d7
[BSP][HT32]新增合泰ht32f52352和ht32f12366 2024-04-17 23:44:25 -04:00
yuanzihao 1a8b8522f7
[BSP][STM32]add stm32f407-lckfb-skystar 2024-04-13 08:00:15 -04:00
Rbb666 1497a3117a
[bsp][renesas]Add cortex-r52 rzt2m adaptation 2024-04-10 20:47:53 -04:00
StackYuan 87d47bf935 [fix] fixup spaces and add in ci. 2024-04-10 16:04:28 +08:00
Meco Man 8691ed3767 [pico][ci] add RTduino libraries check 2024-03-31 20:30:10 -04:00
Ruixuan Zhang 5a6b5be77c
[bsp][stm32] add a new stm32L431_tencentos bsp (#8613) 2024-03-15 22:19:14 -04:00
Meco Man 47a443feff [ci][nxp] comment out lpc5114-lie and lpc5410x 2024-03-10 23:19:22 -04:00
Meco Man 2b7a4ea7a3 [bsp][nxp][imx] move imx BSPs into nxp/imx folder 2024-03-10 23:19:22 -04:00
Meco Man f71d4f33ea [bsp][nxp][lpc] move lpc BSPs into nxp/lpc folders 2024-03-10 23:19:22 -04:00
Meco Man 46967ef56f [bsp][nxp][mcx] move mcxa/n to nxp/mcx folder 2024-03-10 23:19:22 -04:00
Rbb666 e1b80650d9 [bsp][renesas]add ra8d1-vision-board support 2024-03-05 16:47:43 +08:00
Meco Man 74057ed97e [ci] add online pkgs trigger event 2024-02-24 19:06:30 -05:00
skllii 6fe69d7431
[bsp][hc32] support hc32f448 2024-02-22 12:34:35 -05:00
Yilin Sun 52a5b5cc48 [ci][bsp][nxp] Enable CI build checks on MCXN/MCXA.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-20 19:53:22 -05:00
Meco Man 35eea4bc46
[ci][arduino] 将Arduino库CI检查平台由STM32F411改为412 (#8534) 2024-02-13 21:51:23 +08:00
kurisaw ac84f65e73 add bsp ci check and other modify with rt-spark 2024-01-23 16:57:03 +08:00
yuanzihao b87b4cbde5
[BSP][GD32]add gd32407v-lckfb (#8496) 2024-01-21 01:13:30 +08:00
Supper Thomas b78b7d6907
[action] Fix manual trigger for others (#8461) 2024-01-03 23:23:24 +08:00
Meco Man 7bc4f7d6a3
[ci] workflow only is used for rt-thread org (#8450) 2023-12-30 15:50:04 +08:00
Meco Man 8aacf19bb9 [rtduino][ci] add all libraries into CI check list 2023-12-29 22:18:39 +08:00
Yuqiang Wang 975af5fd54
[ci][stm32f407-spark] add attach config CI check (#8431) 2023-12-27 23:06:46 +08:00
Xian Wu 6360253c12
Synwit MCU 采用新的 BSP 框架,将 BSP 与 libraries 分离 (#8432) 2023-12-27 18:41:52 +08:00
Meco Man 32ada5eed1 [ci] actions/checkout upgrade to v4 2023-12-27 12:49:19 +08:00
guotong ma 6e02914c2b [ci][spell_check]change check path 2023-12-26 22:34:23 +08:00
vacabun 0fd9508ad6
[ci] Add spell check 2023-12-25 21:59:03 +08:00
vacabun 2693e7e15a
[ci]Add bsp attachconfig check 2023-12-24 22:43:40 +08:00
Shicheng Chu 712e94a3cc
[bsp][stm32]: add nucleo-stm32h503rb (#8394) 2023-12-23 22:39:11 +08:00
Rbb666 5dd87bc7bb [bsp/renesas]add ek-ra8d1 bsp 2023-12-19 18:00:00 +08:00
Supper Thomas d421a97aa1 improve action 2023-12-05 21:33:41 +08:00
Supper Thomas f510a65f93 [bsp/stm32/stm32g491] Add nucleo of stm32g491 2023-12-05 21:33:41 +08:00
Meco Man 5c68954308 [ci] trigger building CI every midnight 2023-11-26 20:23:45 +08:00
Meco Man 17092dd700 [ci] rename action.yml as bsp_buildings.yml 2023-11-26 17:14:49 +08:00
Meco Man a0ee4353e1 [ci] add workflow_dispatch 2023-11-26 15:34:54 +08:00
Meco Man eff3560d64 [bsp] remove gd32 in the root 2023-11-20 07:34:46 -05:00
sheltonyu ed357aa014
[bsp/at32] 1.add support at32f402/405 series, 2.update emac/rtc/qspi/usb drivers (#8245) 2023-11-09 16:38:19 +08:00
zhkag 246945a74c add bsp/x86 ci 2023-11-06 06:23:09 -05:00
Rbb666 7ace7d0a78 [libcpu][renesas]add cortex-m85 && ek-ra8m1 adapt 2023-10-31 15:09:17 +08:00
Supper Thomas 65623777d5
[action] Doxygen ci fix (#8191) 2023-10-29 13:12:29 -04:00