首页 > 代码库 > omap_hwmod: rtc: doesn‘t have mpu register target

omap_hwmod: rtc: doesn‘t have mpu register target

[    0.069442] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2574 _init+0x4c8/0x520()
[    0.069455] omap_hwmod: rtc: doesn‘t have mpu register target base
[    0.069463] Modules linked in:
[    0.069485] CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.10-ti2013.12.01 #46
[    0.069495] Backtrace:
[    0.069527] [<c0017880>] (dump_backtrace+0x0/0x10c) from [<c0017a1c>] (show_stack+0x18/0x1c)
[    0.069538]  r6:c079311c r5:00000009 r4:cd07fe30 r3:00000000
[    0.069573] [<c0017a04>] (show_stack+0x0/0x1c) from [<c0596674>] (dump_stack+0x20/0x28)
[    0.069602] [<c0596654>] (dump_stack+0x0/0x28) from [<c0046d08>] (warn_slowpath_common+0x70/0x90)
[    0.069701] [<c0046c98>] (warn_slowpath_common+0x0/0x90) from [<c0046dcc>] (warn_slowpath_fmt+0x38/0x40)
[    0.069710]  r8:c0793638 r7:00000000 r6:c0792c54 r5:c07eb698 r4:c081210c
[    0.069742] [<c0046d94>] (warn_slowpath_fmt+0x0/0x40) from [<c079311c>] (_init+0x4c8/0x520)
[    0.069751]  r3:c0713070 r2:c06d00c0
[    0.069780] [<c0792c54>] (_init+0x0/0x520) from [<c002dcac>] (omap_hwmod_for_each+0x38/0x64)
[    0.069801] [<c002dc74>] (omap_hwmod_for_each+0x0/0x64) from [<c0793664>] (__omap_hwmod_setup_all+0x2c/0x48)
[    0.069810]  r7:c0786410 r6:c086b200 r5:00000001 r4:c07dc49c
[    0.069840] [<c0793638>] (__omap_hwmod_setup_all+0x0/0x48) from [<c00089ec>] (do_one_initcall+0xf4/0x154)
[    0.069866] [<c00088f8>] (do_one_initcall+0x0/0x154) from [<c0786b94>] (kernel_init_freeable+0xf0/0x1bc)
[    0.069899] [<c0786aa4>] (kernel_init_freeable+0x0/0x1bc) from [<c059132c>] (kernel_init+0x10/0xec)
[    0.069931] [<c059131c>] (kernel_init+0x0/0xec) from [<c00146f8>] (ret_from_fork+0x14/0x3c)
[    0.069939]  r4:00000000 r3:00000000
[    0.070004] ---[ end trace 1b75b31a2719ed1c ]---
[    0.128886] omap_hwmod: debugss: _wait_target_disable failed
[    0.129744] pinctrl core: initialized pinctrl subsystem

 

 

解决办法:

remove the am33xx_l4_wkup__rtc entry from am33xx_hwmod_ocp_ifs array in arch/arm/mach-omap2/omap_hwmod_33xx_data.c

arch/arm/mach-omap2/omap_hwmod_33xx_data.c目录下的am33xx_l4_wkup__rtc entry 的结构体全部去掉。

 

omap_hwmod: rtc: doesn‘t have mpu register target