25 Commits

Author SHA1 Message Date
lishuang.xie
8ef0c57f2b fix bug#1953 from dev_ck_v2.1_bug#1953# to dev_ck_v2.1
1. add new shell command: reg_ape to print the timer task info;
2. update the function of osp_timer_sync;
3. add new testcase of case1 to test the timer(t_offset < 10)
4. Test:
   4.1 spu_case0_arm_case0:  Pass;
   4.2 spu_case1_arm_case20: Pass;
   4.3 spu_case14_arm_case20:Pass;
   4.4 spu_case20_arm_case20:Pass;
   4.5 spu_case24_arm_case24:Pass;
   4.6 spu_case34_arm_case5: Pass;
   4.7 spu_case44_arm_case5: Pass;
2024-05-18 15:25:31 +08:00
xinxin.li
79c795ee4d 1. UCP4008-SL-EVB feature enhancement#1740/1741;
2. 将pp1s中断从APE0移到PET RFM1;
3. 去掉APE上的接收时隙中断,并修改接收帧号/时隙号/时隙cycle的计算方式;
4. 测试case:case21、case24、case34.
2024-04-24 20:28:37 +08:00
lishuang.xie
7585a72312 fix UCP4008_SL Bug#1673# to dev_ck_v2.1_bug#1673#
1. modified public/ape_spu/osp/src/osp_task.s.c
2. use memmove update the memcpy
3. the third parameter of memmove should be byte
4. Test
   4.1 spu_case0_arm_case0:  Pass
   4.2 spu_case14_arm_case20:Pass
   4.3 spu_case20_arm_case20:Pass
   4.4 spu_case21_arm_case21:Pass
   4.5 spu_case34_arm_case5: Pass
   4.6 spu_case44_arm_case5: Pass
2024-02-18 19:20:20 +08:00
lishuang.xie
c42c2cea82 update dev_ck_v2.1_feature#1609 to dev_ck_v2.1
1. add error return(inc/err_num.h and osp/inc/err_num.h)
2. change the task init function:
   old: typedef void(*OSP_TASKINIT_FUNC)(void);
   new: typedef int(*OSP_TASKINIT_FUNC)(void);
3. osp_task_create:
   3.1 before create task should call the init function first
   3.2 if the init function return error, don't call the create task, return error
4. Test:
   4.1 spu_case0_arm_case0_cpri:      Pass
   4.2 spu_case14_arm_case20_cpri:    Pass
   4.3 spu_case20_arm_case20_cpri:    Pass
   4.4 spu_case21_arm_case21_cpri:    Pass
   4.5 spu_case34_arm_case5:          Pass
   4.6 spu_case44_arm_case5:         Pass
   4.7 spu_case20_arm_case20_task_ok: Pass
   4.8 spu_case20_arm_case20_task_ng: Pass
2024-01-29 09:54:23 +08:00
Xianfeng Du
fd73292237 Merge branch 'dev_ck_v2.1_feature#1393#' into 'dev_ck_v2.1'
update New Feature#1393 to dev_ck_v2.1

See merge request ucp/driver/ucp4008_platform_spu!77
2023-12-22 03:18:42 +00:00
lishuang.xie
24f9fcc30e update New Feature#1393 to dev_ck_v2.1
1. modify: public/ape_spu/osp/inc/osp_mem.h
2. update the size of task stack(task stack from 32K to 40K)
3. Test:
   3.1  spu(case0)+arm(case0)_cpri:  pass
   3.2  spu(case14)+arm(case20)_cpri:pass
   3.3  spu(case20)+arm(case20)_cpri:pass
   3.4  spu(case21)+arm(case21)_cpri:pass
   3.5  spu(case34)+arm(case5):      pass
   3.6  spu(case44)+arm(case5):      pass
   3.7  spu(case0)+arm(case0)_jesd:  pass
   3.8  spu(case14)+arm(case20)_jesd:pass
   3.9  spu(case20)+arm(case20)_jesd:pass
   3.10 spu(case21)+arm(case21)_jesd:pass
2023-12-21 10:46:52 +08:00
huanfeng.wang
a7628f4155 修改判断释放smartos初始任务4k资源 2023-12-19 16:43:31 +08:00
huanfeng.wang
c977dd48e9 释放smartos初始任务4k资源 2023-12-19 15:59:26 +08:00
cheng.wan
00d662b168 1.将APE_CFG_FILE_NAME_LEN由64恢复为32(之前误改) 2.删除重复定义的g_rru_msg_data 3.读物理层控制字信息改为使用do_read_volatile方式 2023-12-08 19:17:34 +08:00
cheng.wan
48ffee72b7 1.解决数组g_rru_msg_data的地址4字节对齐问题 2.函数set_cpri_rru_msg增加大小端转换功能 3.更新25G宽带信号case72 2023-12-08 15:50:48 +08:00
lishuang.xie
24cac74801 update Feature Enhancement#1370 to dev_ck_v2.1
1. SPU and ARM both need modify
2. confige file's name length: 64 -> 32
3. Test:
   3.1 spu(case0)+arm(case0):   pass
   3.2 spu(case14)+arm(case20): pass
   3.3 spu(case20)+arm(case20): pass
   3.4 spu(case21)+arm(case21): pass
   3.5 spu(case34)+arm(case5):  pass
   3.6 spu(case44)+arm(case5):  pass
2023-12-08 09:54:40 +08:00
lishuang.xie
8c59de6c96 1. update New Feature#945 to dev_ck_v2.1
2. update New Feature#1347 to dev_ck_v2.1
3. add new interface for ecs rfm1 and ape: spu_get_oam_handle_id for get oam handle_id by inst_id
4. Move Mem_init() from ape to ecs rfm1
5. TEST:
   5.1 spu(case0)+arm(case0):  pass
   5.2 spu(case14)+arm(case20):pass
   5.3 spu(case20)+arm(case20):pass
   5.4 spu(case21)+arm(case21):pass
   5.5 spu(case34)+arm(case5): pass
   5.6 spu(case44)+arm(case5): pass
2023-12-06 17:43:42 +08:00
Xianfeng Du
0bd1487ff0 Merge branch 'dev_ck_v2.1_feature_enhancement#1360' into 'dev_ck_v2.1'
优化IM空间,删除gastCmdExt数组、命令字长度最大12字节#feature_enhancement#1360

See merge request ucp/driver/ucp4008_platform_spu!67
2023-12-06 01:55:31 +00:00
lishuang.xie
4da71189f9 1. update Feature Enhancement#1353 to dev_ck_v2.1
2. update Feature Enhancement#1360 to dev_ck_v2.1
3. add test macro: OSP_DEBUG_TEST
4. TASK_MAX: 64 --> 20 (task num and timer task num)
5. one slot supports max 20 tasks
6. TEST:
   6.1 spu(case0)+arm(case0):   pass
   6.2 spu(case14)+arm(case20): pass
   6.3 spu(case20)+arm(case20): pass
   6.4 spu(case21)+arm(case21): pass
   6.5 spu(case34)+arm(case5):  pass
   6.6 spu(case44)+arm(case5):  pass
2023-12-05 19:55:38 +08:00
huanfeng.wang
8dfcdfebc9 优化shellIM空间,命令字长度最大12字节 2023-12-04 19:46:37 +08:00
lishuang.xie
f39b22a8f5 update Feature Enhancement#1299 to dev_ck_v2.1
1. update osp_mem.h/osp_mem.s.c/osp_task.s.c
2. update case20, add del task
3. change the osp_task_create() and osp_del_task() output
4. update the osp_free_im_mem() add output
5. test:
   5.1 spu(case0)+arm(case0):  PASS
   5.2 spu(case20)+arm(case20):PASS
   5.3 spu(case21)+arm(case21):PASS
   5.4 spu(case34)+arm(case5): PASS
   5.5 spu(case44)+arm(case5): PASS
   5.6 spu(case14)+arm(case20):PASS
2023-11-16 18:38:02 +08:00
lishuang.xie
e34abce4e1 update New Feature#1113
1. update component to week40
2. add new function smart_no_idle_sw_init
3. change name of smart_ddr_spinlock_init
4. change type of smart_task_del and smart_enable_q_nempty
5. if call smart_enable_q_nempty return faild, we'll call 8 times
6. if call smart_task_del return faild, we'll record
7. smart_reclaim_init_res() don't be called!!!
8. test:
   8.1 SPU(case14)+ARM(case3) :PASS
   8.2 SPU(case20)+ARM(case20):PASS
   8.3 SPU(case21)+ARM(case21):PASS
   8.4 SPU(case34)+ARM(case5) :PASS
   8.5 SPU(case44)+ARM(case5) :PASS
2023-10-12 10:28:46 +08:00
lishuang.xie
295a44d46b 1. fix Bug#1061
2. fix Bug#1081
3. fix Bug#1079
4. update New Feature#945
5. component debug_init call in spu_lib_debug_init() functon
6. testcase:
   6.1 spu(case34)+arm(case5): pass
   6.2 spu(case44)+arm(case5): pass
   6.3 spu(case21)+arm(case21):pass
   6.4 spu(case14)+arm(case3): pass
2023-09-25 09:46:27 +08:00
xinxin.li
f3ff36cc8c 1. JESD 9.8g, UCP4008_SL_EVB, new feature #1028;
2. cell setup/delete bug, UCP4008_SL_EVB, bug #1071;
3. task delete bug when deleting cell, bug #1061;
4. delete board direction;
5. add some cell setup parameters for FDD mode extend
2023-09-15 14:59:25 +08:00
lishuang.xie
b4919a9c92 1. update New Feature#1006
2. modify case 0:  LTE 2 ape testcase(1 cell)
3. modify case 20: NR  4 ape testcase(1 cell)
4. modify case 21: NR  8 ape testcase(2 cell)
5. modify case 22: LTE 8 ape testcase(2 cell)
2023-08-23 16:18:40 +08:00
xinxin.li
61a8435a6d > 1. 增加cpri模式,帧头提前2ms的功能,UCP4008-SL-EVB New Feature #926;
> 2. 系统平台lib库更新;
> 3. 增加单模模式下,双小区的删建功能;
> 4. 回归测试case:case21/case22(NR15K)/case34/case37/case68(LTE)
2023-08-18 20:30:52 +08:00
liweihua
07c78c4cd7 fixed the bug#955# 2023-08-03 09:17:24 +08:00
lishuang.xie
f800892a62 the shell task stack change 2048 to 4096
some shell cmd callback define char too big
2023-07-25 16:50:20 +08:00
lishuang.xie
7e2437c0d6 1. New Feature#910
2. Feature Enhancement#914
3. update from V2.0, by msg_transfer synch
4. add osp_send_msg/osp_var_init by synch
2023-07-22 17:27:21 +08:00
chao1.wang
d74566ec2c First commit 2023-07-13 11:27:03 +08:00