Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sc_auth Segmentation fault on armv7l devices #4

Open
wtsxgba opened this issue Mar 10, 2025 · 0 comments
Open

sc_auth Segmentation fault on armv7l devices #4

wtsxgba opened this issue Mar 10, 2025 · 0 comments

Comments

@wtsxgba
Copy link

wtsxgba commented Mar 10, 2025

Bug 描述

sc_autharmv7l 设备(如 RT-AC66U_B1)上运行时直接崩溃 (Segmentation fault),导致软件中心无法正确识别 platform

设备信息

  • 设备: RT-AC66U_B1
  • CPU: armv7l
  • uname: uname -m 返回 armv7l
  • readelf -h /jffs/softcenter/bin/sc_auth 结果:
    architecture: armv3m
  • ldd /jffs/softcenter/bin/sc_auth 直接 Segmentation fault
  • cat /proc/cpuinfo | grep -i vfp 为空,说明 CPU 不支持硬浮点
  • 猜测原因:
  • sc_auth 可能是 armv3m 版本,而 armv7l 无法运行它
  • 需要提供 armv7 soft-float 版本的 sc_auth

解决方案(当前 workaround)

dbus set softcenter_arch="arm" dbus set softcenter_server_tcode="CN" dbus save

然后正常显示更新使用软件中心

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant