This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM62-LP:读取寄存器 SDK 11.00.09.04 时出现 devmem2 错误

Guru**** 2551110 points
Other Parts Discussed in Thread: SK-AM62-LP

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1567188/sk-am62-lp-devmem2-error-to-read-registers-sdk-11-00-09-04

器件型号:SK-AM62-LP


工具/软件:

尊敬的团队:

我们在 SK-AM62-LP 上使用了以下图像:

tisdk-default-image-am62xx-lp-evm-11.00.09.04.rootfs.wic

我们面临着 devmem2 对于某些地址的问题,它能够成功读取,但对于其他地址,它显示错误。

例如:

root@am62xx-lp-evm:~# devmem2 0x30101028
/dev/mem opened.
[  495.513745] kauditd_printk_skb: 7 callbacks suppressed
Memory mapped at address 0xffffb5062000.
[  495.513767] audit: type=1701 audit(1756372941.641:22): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=2112 comm="devmem2" exe="/usr/bin/devmem2" sig=7 res=1
[  495.558811] audit: type=1334 audit(1756372941.685:23): prog-id=21 op=LOAD
[  495.565719] audit: type=1334 audit(1756372941.693:24): prog-id=22 op=LOAD
[  495.572615] audit: type=1334 audit(1756372941.701:25): prog-id=23 op=LOAD
Bus error (core dumped)



您能否提出一种可靠读取 SoC CSI Rx 寄存器的解决方案?

此致、
Gopal Sharma






  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    看起来错误是读取其中一个 CSI_RX 寄存器导致的。
    让我让我的同事来跟进您的问题。
    此致、
    - Hong

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Gopal:

    devmem2 register_address w 是读取 CSI 寄存器值的命令。 让我在内部与团队讨论是否存在更可靠的问题。

    谢谢、

    Dilna K

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Gopal:

    我提出一个内部讨论 devmem2 是每个人都使用的方法。 我有一个建议、您可以尝试使用 memtool

    此致、

    Dilna K