Tool/software: Linux
Hi,
PROCESSOR-SDK-LINUX-AM57X 04_03_00_05. I have tried using devmem2 utility to read the value of memory register. However the utility is crashing. I am unable to understand the issue. Is this the right utility ? Are there any other utility to read the low level peripheral registers value in TI SDK ?
Please find the log below.
root@am57xx-evm:~# devmem2 0x44E10990
/dev/mem opened.
[ 51.998916] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
Memory mapped at address 0xb6f7b000.
[ 51.998919] ------------[ cut here ]------------
[ 51.998939] WARNING: CPU: 0 PID: 137 at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source/drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c
[ 51.998945] 44000000.ocp:L3 Custom Error: MASTER MMU1 TARGET HOST CLK2 (Idle): Data Access in User mode during Functional access
[ 51.999091] Modules linked in: sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm_neon sha1_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo bc_example(O) bluetooth rpmsg_proto xhci_plat_hcd xhci_hcd pru_rproc dwc3 pruss_intc pruss udc_core rpmsg_rpc pvrsrvkm(O) snd_soc_simple_card snd_soc_simple_card_utils ahci_platform libahci_platform libahci snd_soc_omap_hdmi_audio libata omap_aes_driver omap_sham omap_wdt pruss_soc_bus dwc3_omap scsi_mod ti_vpe ti_sc rtc_palmas ti_csc rtc_omap ti_vpdma extcon_palmas extcon_core omap_des snd_soc_tlv320aic3x des_generic rtc_ds1307 crypto_engine omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio ftdi_sio usbserial usbcore usb_common gdbserverproxy(O) cryptodev(O) cmemk(O)
[ 51.999099] CPU: 0 PID: 137 Comm: systemd-udevd Tainted: G O 4.9.69-g9ce43c71ae #2
[ 51.999102] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 51.999107] Backtrace:
[ 51.999120] [<c020b2bc>] (dump_backtrace) from [<c020b578>] (show_stack+0x18/0x1c)
[ 51.999128] r7:00000009 r6:600f0193 r5:00000000 r4:c1022668
[ 51.999137] [<c020b560>] (show_stack) from [<c04ce720>] (dump_stack+0x8c/0xa0)
[ 51.999146] [<c04ce694>] (dump_stack) from [<c022e3ec>] (__warn+0xec/0x104)
[ 51.999152] r7:00000009 r6:c0bc91b0 r5:00000000 r4:eda6db50
[ 51.999159] [<c022e300>] (__warn) from [<c022e444>] (warn_slowpath_fmt+0x40/0x48)
[ 51.999166] r9:00000001 r8:eea1c7d0 r7:c0bc95d8 r6:00000000 r5:c0bc90dc r4:c0bc9180
[ 51.999175] [<c022e408>] (warn_slowpath_fmt) from [<c04fe560>] (l3_interrupt_handler+0x25c/0x36c)
[ 51.999178] r3:eea1c640 r2:c0bc9180
[ 51.999181] r4:80080003
[ 51.999191] [<c04fe304>] (l3_interrupt_handler) from [<c027fd6c>] (__handle_irq_event_percpu+0xb4/0x138)
[ 51.999198] r10:c104dfaf r9:eea1b300 r8:00000017 r7:eda6dc74 r6:00000000 r5:eea1b300
[ 51.999200] r4:eea1cb40
[ 51.999208] [<c027fcb8>] (__handle_irq_event_percpu) from [<c027fe14>] (handle_irq_event_percpu+0x24/0x60)
[ 51.999214] r10:00000040 r9:eda6c000 r8:ee808000 r7:00000000 r6:c1008bf4 r5:eea1b300
[ 51.999216] r4:eea1b300
[ 51.999224] [<c027fdf0>] (handle_irq_event_percpu) from [<c027fe90>] (handle_irq_event+0x40/0x64)
[ 51.999227] r5:eea1b360 r4:eea1b300
[ 51.999236] [<c027fe50>] (handle_irq_event) from [<c0283540>] (handle_fasteoi_irq+0xc0/0x190)
[ 51.999241] r7:00000000 r6:c1008bf4 r5:eea1b360 r4:eea1b300
[ 51.999248] [<c0283480>] (handle_fasteoi_irq) from [<c027efa8>] (generic_handle_irq+0x2c/0x3c)
[ 51.999253] r7:00000000 r6:00000000 r5:00000017 r4:c0e5cde0
[ 51.999259] [<c027ef7c>] (generic_handle_irq) from [<c027f51c>] (__handle_domain_irq+0x64/0xbc)
[ 51.999266] [<c027f4b8>] (__handle_domain_irq) from [<c02014a0>] (gic_handle_irq+0x40/0x7c)
[ 51.999272] r9:eda6c000 r8:fa213000 r7:fa212000 r6:eda6dd30 r5:fa21200c r4:c1003424
[ 51.999279] [<c0201460>] (gic_handle_irq) from [<c020c038>] (__irq_svc+0x58/0x8c)
[ 51.999283] Exception stack(0xeda6dd30 to 0xeda6dd78)
[ 51.999288] dd20: 90f00000 b6eb9044 00000044 b6eb9044
[ 51.999294] dd40: ed844240 b6eb9000 ed844240 00000001 fcf1dfdf 00e00000 00000040 eda6dda4
[ 51.999299] dd60: 90f00000 eda6dd80 ed82efc0 c020edd8 000f0113 ffffffff
[ 51.999306] r9:eda6c000 r8:fcf1dfdf r7:eda6dd64 r6:ffffffff r5:000f0113 r4:c020edd8
[ 51.999318] [<c020ed4c>] (flush_tlb_page) from [<c0313ad8>] (ptep_set_access_flags+0x90/0xec)
[ 51.999321] r4:ffefe5c8
[ 51.999330] [<c0313a48>] (ptep_set_access_flags) from [<c03024ac>] (do_wp_page+0xe8/0x7e4)
[ 51.999338] r9:00000000 r8:00000008 r7:00e00000 r6:fcf1dfdf r5:ed844240 r4:eda6de64
[ 51.999346] [<c03023c4>] (do_wp_page) from [<c0305d40>] (handle_mm_fault+0x524/0xd8c)
[ 51.999353] r10:00000040 r9:00000000 r8:fcf1d7df r7:04e00000 r6:fcf1dfdf r5:ed844240
[ 51.999356] r4:eda6de64
[ 51.999364] [<c030581c>] (handle_mm_fault) from [<c0215774>] (do_page_fault+0x28c/0x360)
[ 51.999371] r10:00000055 r9:ed82effc r8:b6eb96a4 r7:00000a0f r6:ed82efc0 r5:ed83be80
[ 51.999373] r4:eda6dfb0
[ 51.999380] [<c02154e8>] (do_page_fault) from [<c02012ac>] (do_DataAbort+0x38/0xb8)
[ 51.999386] r10:00000001 r9:004b2578 r8:eda6dfb0 r7:b6eb96a4 r6:c02154e8 r5:00000a0f
[ 51.999389] r4:c10080cc
[ 51.999396] [<c0201274>] (do_DataAbort) from [<c020c340>] (__dabt_usr+0x40/0x60)
[ 51.999399] Exception stack(0xeda6dfb0 to 0xeda6dff8)
[ 51.999404] dfa0: b6eb96a4 00000000 00000000 00000001
[ 51.999409] dfc0: 004b65d8 b6eb8000 00000001 b6fde220 00000000 004b2578 00000001 0049db80
[ 51.999415] dfe0: b6eb8010 bec6b6f0 b6e1d81f b6e1d70e 600f0030 ffffffff
[ 51.999420] r8:30c5387d r7:30c5387d r6:ffffffff r5:600f0030 r4:b6e1d70e
[ 51.999424] ---[ end trace 1404f3d9c74fb606 ]---
[ 52.473975] pgd = ec58bc00
[ 52.476688] [00000000] *pgd=ac677003, *pmd=fe04d003
Bus error (core dumped)
root@am57xx-evm:~#
Best Regards,
Ajit B