| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
arch/tricore: support hwdebug function Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
arch/tricore: support pertask csa in task's stack Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
arch/tricore: support hwdebug function Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arch: delete -fno-optimize-sibling-calls Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
Renaming "modlib" to "libelf" is more in line with the implementation content, which makes it easier for individual developers to understand the capabilities of this module. CONFIG_LIBC_MODLIB -> CONFIG_LIBC_ELF Signed-off-by: chao an <anchao.archer@bytedance.com> | 2 个月前 | |
tricore:support compile rel elf Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
Tricore:support tricore protect by addrenv Use g_mpu_kset include all use region for kernel Use g_app_set include: 0-0xffffffff for code exec data - data+datasize for data read and write text - text-textsize for text for read. Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
Tricore:support kernel heap in flat build Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
arch/triocre:modify tcb->xcp.regs point to upper CSA Signed-off-by: yangao1 <yangao1@xiaomi.com> | 2 个月前 | |
arch/tricore: unified mem barrier interface Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com> | 2 个月前 | |
tricore: change idle stack & int stack for multiple-processor Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
tricore: reclaim csas after signal dispatch Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com> | 2 个月前 | |
Assign _sinit&_einit as empty to skip lib_cxx_initialize Tasking compiler doesn't support .init_array section for c++ static initialization Signed-off-by: v-zhangxiaomeng5 <v-zhangxiaomeng5@xiaomi.com> | 2 个月前 | |
sched/arch: move suspend/resume scheduler to arch irq handler Move nxsched_suspend_scheduler/nxsched_resume_scheduler from nxsched_switch to arch-specific IRQ handlers. This change: 1. Fixes missing suspend/resume in SMP sched IPI handler (arm_smp_sched_handler calls nxsched_switch_running directly without going through nxsched_switch) 2. Avoids spurious suspend/resume when ISR triggers multiple context switches (e.g., sem_post to tasks A->B->C only records suspend(old)->resume(C), not intermediate transitions) Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
arch/smp: update g_running_tasks to percpu/g_running_task If remove whole g_running_tasks, or replace it self as a macrro, will cause the gdb plugin not working. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
arch/tricore:modify tcb->xcp.regs point to upper CSA Signed-off-by: yangao1 <yangao1@xiaomi.com> | 2 个月前 | |
arch/tricore: fix bug about idle_stack error Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
arch/tricore: Adjust the related structures of arch and chip. 1. due to historical reasons, some necessary components were previously located in the vendor directory and need to be moved to the arch directory. 2. tricore/src/common is for the architecture level of TC1.6 and TC1.8, and there is no need to delete tricore/src/tc3xx, which is for the chip level. Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
arch/tricore: add Infineon AURIX TriCore support Add support for tricore TC397 1. Porting based on AURIX TC397 KIT_A2G_TC397_5V_TFT evaluation board https://www.infineon.com/cms/en/product/evaluation-boards/kit_a2g_tc397_5v_tft/ 2. In order to avoid license and coding style issues, The chip-level code still uses the implementation of AURIX Development Studio SDK. The SDK package will be downloaded as a third-party package during compilation: https://github.com/anchao/tc397_sdk 3. Single core only, SMP implementation will be provided in the future. 4. Implemented the basic System Timer, ASCLIN UART driver. 5. Only the Tasking tool chain is supported (ctc/ltc, license maybe required) 6. 'ostest' can be completed on the TC397 development board. How to run? 1. Setup the tasking toolchain and license $ export TSK_LICENSE_KEY_SW160800=d22f-7473-ff5d-1b70 $ export TSK_LICENSE_SERVER=192.168.36.12:9090 2. Build nuttx ELF $ ./tools/configure.sh tc397/nsh $ make -j ... artc I800: creating archive libc_fpu.a LD: nuttx 3. Switch to windows PC, setup AURIX-studio to Debugger Launcher 4. Replace runing ELF to nuttx, and re-download ELF Signed-off-by: chao an <anchao@lixiang.com> | 2 个月前 | |
arch/tricore: support hwdebug function Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
tricore:need init idle tls Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
arch/tricore: support tc4zx Signed-off-by: zhaoyiming5 <zhaoyiming5@xiaomi.com> | 2 个月前 | |
arch/tricore: Adjust the related structures of arch and chip. 1. due to historical reasons, some necessary components were previously located in the vendor directory and need to be moved to the arch directory. 2. tricore/src/common is for the architecture level of TC1.6 and TC1.8, and there is no need to delete tricore/src/tc3xx, which is for the chip level. Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
arch/tricore: support tc4zx Signed-off-by: zhaoyiming5 <zhaoyiming5@xiaomi.com> | 2 个月前 | |
arch/tricore: add Infineon AURIX TriCore support Add support for tricore TC397 1. Porting based on AURIX TC397 KIT_A2G_TC397_5V_TFT evaluation board https://www.infineon.com/cms/en/product/evaluation-boards/kit_a2g_tc397_5v_tft/ 2. In order to avoid license and coding style issues, The chip-level code still uses the implementation of AURIX Development Studio SDK. The SDK package will be downloaded as a third-party package during compilation: https://github.com/anchao/tc397_sdk 3. Single core only, SMP implementation will be provided in the future. 4. Implemented the basic System Timer, ASCLIN UART driver. 5. Only the Tasking tool chain is supported (ctc/ltc, license maybe required) 6. 'ostest' can be completed on the TC397 development board. How to run? 1. Setup the tasking toolchain and license $ export TSK_LICENSE_KEY_SW160800=d22f-7473-ff5d-1b70 $ export TSK_LICENSE_SERVER=192.168.36.12:9090 2. Build nuttx ELF $ ./tools/configure.sh tc397/nsh $ make -j ... artc I800: creating archive libc_fpu.a LD: nuttx 3. Switch to windows PC, setup AURIX-studio to Debugger Launcher 4. Replace runing ELF to nuttx, and re-download ELF Signed-off-by: chao an <anchao@lixiang.com> | 2 个月前 | |
Tricore:support tricore protect by addrenv Use g_mpu_kset include all use region for kernel Use g_app_set include: 0-0xffffffff for code exec data - data+datasize for data read and write text - text-textsize for text for read. Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
arch/tricore: add Infineon AURIX TriCore support Add support for tricore TC397 1. Porting based on AURIX TC397 KIT_A2G_TC397_5V_TFT evaluation board https://www.infineon.com/cms/en/product/evaluation-boards/kit_a2g_tc397_5v_tft/ 2. In order to avoid license and coding style issues, The chip-level code still uses the implementation of AURIX Development Studio SDK. The SDK package will be downloaded as a third-party package during compilation: https://github.com/anchao/tc397_sdk 3. Single core only, SMP implementation will be provided in the future. 4. Implemented the basic System Timer, ASCLIN UART driver. 5. Only the Tasking tool chain is supported (ctc/ltc, license maybe required) 6. 'ostest' can be completed on the TC397 development board. How to run? 1. Setup the tasking toolchain and license $ export TSK_LICENSE_KEY_SW160800=d22f-7473-ff5d-1b70 $ export TSK_LICENSE_SERVER=192.168.36.12:9090 2. Build nuttx ELF $ ./tools/configure.sh tc397/nsh $ make -j ... artc I800: creating archive libc_fpu.a LD: nuttx 3. Switch to windows PC, setup AURIX-studio to Debugger Launcher 4. Replace runing ELF to nuttx, and re-download ELF Signed-off-by: chao an <anchao@lixiang.com> | 2 个月前 | |
perf: add noinstrument_function to up_perf_gettime and related functions Add noinstrument_function attribute to up_perf_gettime and its helper functions (like cp15_pmu_rdccr) across all architectures. These functions are called by perf_gettime which is used in the instrument callback path, and must not be instrumented to avoid infinite recursion when CONFIG_ARCH_INSTRUMENT_ALL is enabled. Signed-off-by: yezhonghui <yezhonghui@xiaomi.com> | 2 个月前 | |
arch/tricore: support protected mode Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
fix compile error Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
arch/tricore:modify g_last_regs to be same as tricore hardware design save upper first, and put lower at the end Signed-off-by: yangao1 <yangao1@xiaomi.com> | 2 个月前 | |
arch/tricore: PPRS is also part of task context and need save it. The processing flow for MPU PRS differs between TC3xx and TC4xx. TC3xx stores PRS directly in PSW, while TC4xx stores PRS in PPRS. Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
arch: set g_running_task to NULL before context restore in sigdeliver For architectures using syscall-based fullcontextrestore (arm_a_r, arm64, risc-v, tricore), the restore goes through irq_dispatch which reads g_running_task->xcp.regs on entry. If g_running_task is not NULL, irq_dispatch overwrites tcb->xcp.regs with the syscall exception frame, causing the syscall to return to the wrong context instead of restoring saved_regs. Set g_running_task = NULL before setting xcp.regs and calling fullcontextrestore, so irq_dispatch allocates a fresh temp stack frame and correctly restores the saved context. Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
arch/tricore: support decouple signal related function from arch code Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 | |
fix compile error Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
nuttx/tricore: TLS_STACK_ALIGN include tls.h Signed-off-by: makejian <makejian@xiaomi.com> | 2 个月前 | |
sched/arch: move suspend/resume scheduler to arch irq handler Move nxsched_suspend_scheduler/nxsched_resume_scheduler from nxsched_switch to arch-specific IRQ handlers. This change: 1. Fixes missing suspend/resume in SMP sched IPI handler (arm_smp_sched_handler calls nxsched_switch_running directly without going through nxsched_switch) 2. Avoids spurious suspend/resume when ISR triggers multiple context switches (e.g., sem_post to tasks A->B->C only records suspend(old)->resume(C), not intermediate transitions) Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
arch/tricore: remove systimer mini_delay process and trigger software irq to simulate timer interrupt Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
arch/tricore: support protected mode Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
tricore_tcbinfo.c:put upper regs in front, same as g_last_regs Signed-off-by: yangao1 <yangao1@xiaomi.com> | 2 个月前 | |
tricore: change idle stack & int stack for multiple-processor Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
arch/stack_align: decrease the stack align requirements. Add ttype in up_use_stack API. We can always get tls by tcb if Flat, and through syscall if no aligned, so don't need to make kstack aligned with TLS_STACK_ALIGN. If always stack aligned will very easy to cause memory fragment when long time used. For BMP case, _percpu_size don't have to align with TLS_STACK_ALIGN after this patch, as .percpu.bss stack don't have to TLS_STACK_ALIGN. TLS_ALIGNED depends on BUILD_KERNEL || BUILD_PROTECTED. We can suppose TLS_ALIGNED will never defined in BUILD_FLAT. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |