MA35D1 打RT-Linux后系统启动异常

cwlin0 |浏览148次
收藏|2023/08/18 14:06

在kernel上打上RT-Linux补丁后,系统启动有一个异常信息,见下:

5.098239] Nuvoton MA35D1 CAPLL/DDRPLL Cannot disable.

[ 5.098253] ALSA device list:

[ 5.098258] #0: ma35d1_IIS

[ 5.098483] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

[ 5.098506] cfg80211: failed to load regulatory.db

[ 5.101494] ------------[ cut here ]------------

[ 5.101502] WARNING: CPU: 0 PID: 1 at kernel/rcu/tree_plugin.h:297 rcu_note_context_switch+0x48/0x360

[ 5.101541] Modules linked in:

[ 5.101554] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.140-rt73 #3

[ 5.101569] Hardware name: Nuvoton MA35D1-SOM (DT)

[ 5.101576] pstate: 20000085 (nzCv daIf -PAN -UAO -TCO BTYPE=--)

[ 5.101590] pc : rcu_note_context_switch+0x48/0x360

[ 5.101607] lr : rcu_note_context_switch+0x24/0x360

[ 5.101624] sp : ffff80001101b5b0

[ 5.101630] x29: ffff80001101b5b0 x28: ffff000002888400

[ 5.101647] x27: ffff0000030b59e8 x26: ffff800010f54000

[ 5.101664] x25: 0000000000000000 x24: ffff800010ded868

[ 5.101681] x23: ffff8000109d12bc x22: 0000000000000000

[ 5.101697] x21: ffff000001840000 x20: ffff000009f56700

[ 5.101714] x19: ffff000009f57300 x18: ffff000001840430

[ 5.101731] x17: 000000003f187eef x16: 00000000f8ecbaa4

[ 5.101748] x15: 000001f3e7d8b0d6 x14: 000000000000001f


满意回答

2023/08/18 14:15

修改A35D1_linux-5.10.y\drivers\tty\serial\ma35d1_serial.c文件中的以下函数。


去掉static int ma35d1serial_startup(struct uart_port *port)函数中的:

spin_lock(&up->port.lock);

spin_unlock(&up->port.lock);


nuvoton2022

其他回答(0)
0人关注该问题
+1
 加载中...