Unable to read data in SIM2 on IMX6UL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to read data in SIM2 on IMX6UL

1,269 Views
venu_gopal
Contributor I

Hi,

After executing ./imx_sim_test. I am getting below error in console.

SAM test....Please press Enter to continue
[   27.031908] sim_start
[   27.035827] sim_start sim detected  

[   26.258836] Unhandled fault: page domain fault (0x01b) at 0xbef98b80
[   26.265289] pgd = ddf34000
[   26.268061] [bef98b80] *pgd=9dfa4835, *pte=9c86255f, *ppte=9c862c7e
[   26.274555] Internal error: : 1b [#1] SMP ARM
[   26.278966] Modules linked in: evbug
[   26.282701] CPU: 0 PID: 232 Comm: test_peripheral Not tainted 4.8.0-phyBOARD-Segin-i.MX6UL-ALPHA1 #4
[   26.291886] Hardware name: Freescale i.MX6 Ultralite (Device Tree)
[   26.298121] task: dd533c00 task.stack: dd4ba000
[   26.302730] PC is at sim_ioctl+0xbd4/0x1100
[   26.306974] LR is at 0x13
[   26.309660] pc : [<c069ace4>]    lr : [<00000013>]    psr: 60070013
[   26.309660] sp : dd4bbed0  ip : 0000001c  fp : dd4bbefc
[   26.321203] r10: 00000000  r9 : dd4ba000  r8 : 00000003
[   26.326485] r7 : 00000051  r6 : bef98b7c  r5 : 00000000  r4 : ddd09410
[   26.333067] r3 : dd4ba000  r2 : 00000000  r1 : 00000000  r0 : 00000000
[   26.339655] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   26.346847] Control: 10c5387d  Table: 9df3406a  DAC: 00000051
[   26.352646] Process test_peripheral (pid: 232, stack limit = 0xdd4ba210)
[   26.359402] Stack: (0xdd4bbed0 to 0xdd4bc000)
[   26.363826] bec0:                                     200a0013 00000000 bef98b7c ddcaef50
[   26.372080] bee0: dde0adc0 c02318dc 00000003 dd4ba000 dd4bbf7c dd4bbf00 c0230ed8 c069a11c
[   26.380337] bf00: dde0adc8 c022d5b4 00000020 ddfc7000 00000020 ddfc7000 dde0adc0 ddcaef50
[   26.388590] bf20: dde0adc8 00000000 dd4bbf4c dd4bbf38 c022d5b4 c0215128 00000003 00000020
[   26.396846] bf40: dd4bbf94 dd4bbf50 c021c774 c022d55c 00000000 dde0adc0 00000003 dde0adc0
[   26.405100] bf60: 800cc002 bef98b7c dd4ba000 00000000 dd4bbfa4 dd4bbf80 c02318dc c0230e48
[   26.413355] bf80: 00047790 00000000 00011b20 00000036 c0107fc4 dd4ba000 00000000 dd4bbfa8
[   26.421608] bfa0: c0107e20 c02318ac 00047790 00000000 00000003 800cc002 bef98b7c bef98b7c
[   26.429864] bfc0: 00047790 00000000 00011b20 00000036 00000000 00000000 b6f39000 bef98b9c
[   26.438116] bfe0: 0005b098 bef98a84 00017390 b6b94fec 000e0010 00000003 00000000 00000000
[   26.446336] Backtrace:
[   26.448917] [<c069a110>] (sim_ioctl) from [<c0230ed8>] (do_vfs_ioctl+0x9c/0xa64)
[   26.456366]  r9:dd4ba000 r8:00000003 r7:c02318dc r6:dde0adc0 r5:ddcaef50 r4:bef98b7c
[   26.464422] [<c0230e3c>] (do_vfs_ioctl) from [<c02318dc>] (SyS_ioctl+0x3c/0x64)
[   26.471782]  r10:00000000 r9:dd4ba000 r8:bef98b7c r7:800cc002 r6:dde0adc0 r5:00000003
[   26.479893]  r4:dde0adc0
[   26.482551] [<c02318a0>] (SyS_ioctl) from [<c0107e20>] (ret_fast_syscall+0x0/0x1c)
[   26.490173]  r9:dd4ba000 r8:c0107fc4 r7:00000036 r6:00011b20 r5:00000000 r4:00047790
[   26.498222] Code: 1affff57 e1a0300d e3c33d7f e3c3303f (e5960004)
[   26.504391] ---[ end trace 31d09e1db1983267 ]---
Segmentation fault

Thanks & Regards,

M.Venu Gopal.

Labels (1)
0 Kudos
Reply
4 Replies

1,220 Views
igorpadykov
NXP Employee
NXP Employee

Hi Venu

for such errors one can try to fully rebuild "4.8.0-phyBOARD-Segin-i.MX6UL"

image with imx-test sources

imx-test - i.MX Driver Test Application Software 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,220 Views
venu_gopal
Contributor I

Dear Igor,

We tried your test source code, still we are getting following error.

Please do needful.

root@phyboard-segin-imx6ul-1:~# ./a.out

---- Running < ./a.out > test ----

[   44.166807] Unhandled fault: page domain fault (0x01b) at 0xbeabaca4
[   44.173213] pgd = dd8b0000
[   44.175951] [beabaca4] *pgd=9d828835, *pte=9c85275f, *ppte=9c852c7f
[   44.182341] Internal error: : 1b [#1] SMP ARM
[   44.186723] Modules linked in: evbug
[   44.190386] CPU: 0 PID: 241 Comm: a.out Not tainted 4.8.0-phyBOARD-Segin-i.MX6UL-ALPHA1 #6
[   44.198673] Hardware name: Freescale i.MX6 Ultralite (Device Tree)
[   44.204880] task: dde03c00 task.stack: dd8d6000
[   44.209451] PC is at sim_ioctl+0xb9c/0x1094
[   44.213664] LR is at 0x0
[   44.216226] pc : [<c069ac2c>]    lr : [<00000000>]    psr: 600e0013
[   44.216226] sp : dd8d7ed0  ip : 0000001c  fp : dd8d7efc
[   44.227732] r10: 00000000  r9 : dd8d6000  r8 : 00000003
[   44.232981] r7 : 00000051  r6 : beabaca0  r5 : 00000000  r4 : ddcd4410
[   44.239535] r3 : dd8d6000  r2 : 00000000  r1 : 00000000  r0 : 00000000
[   44.246090] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   44.253250] Control: 10c5387d  Table: 9d8b006a  DAC: 00000051
[   44.259021] Process a.out (pid: 241, stack limit = 0xdd8d6210)
[   44.264878] Stack: (0xdd8d7ed0 to 0xdd8d8000)
[   44.269270] 7ec0:                                     200e0013 00000000 beabaca0 ddcd9918
[   44.277482] 7ee0: dddc0b40 c02318dc 00000003 dd8d6000 dd8d7f7c dd8d7f00 c0230ed8 c069a09c
[   44.285697] 7f00: dddc0b48 c022d5b4 00000020 dde1e000 00000020 dde1e000 dddc0b40 ddcd9918
[   44.293910] 7f20: dddc0b48 00000000 dd8d7f4c dd8d7f38 c022d5b4 c0215128 00000003 00000020
[   44.302124] 7f40: dd8d7f94 dd8d7f50 c021c774 c022d55c 00000000 dddc0b40 00000003 dddc0b40
[   44.310336] 7f60: 800cc002 beabaca0 dd8d6000 00000000 dd8d7fa4 dd8d7f80 c02318dc c0230e48
[   44.318550] 7f80: 00010c38 00000000 000104fc 00000036 c0107fc4 dd8d6000 00000000 dd8d7fa8
[   44.326762] 7fa0: c0107e20 c02318ac 00010c38 00000000 00000003 800cc002 beabaca0 beabaca0
[   44.334974] 7fc0: 00010c38 00000000 000104fc 00000036 00000000 00000000 b6fb8000 beabacbc
[   44.343185] 7fe0: 00021018 beabab9c 00010a98 b6f14fec 000e0010 00000003 00000000 00000000
[   44.351381] Backtrace:
[   44.353899] [<c069a090>] (sim_ioctl) from [<c0230ed8>] (do_vfs_ioctl+0x9c/0xa64)
[   44.361321]  r9:dd8d6000 r8:00000003 r7:c02318dc r6:dddc0b40 r5:ddcd9918 r4:beabaca0
[   44.369238] [<c0230e3c>] (do_vfs_ioctl) from [<c02318dc>] (SyS_ioctl+0x3c/0x64)
[   44.376569]  r10:00000000 r9:dd8d6000 r8:beabaca0 r7:800cc002 r6:dddc0b40 r5:00000003
[   44.384558]  r4:dddc0b40
[   44.387157] [<c02318a0>] (SyS_ioctl) from [<c0107e20>] (ret_fast_syscall+0x0/0x1c)
[   44.394747]  r9:dd8d6000 r8:c0107fc4 r7:00000036 r6:000104fc r5:00000000 r4:00010c38
[   44.402664] Code: 1affff5a e1a0300d e3c33d7f e3c3303f (e5960004)
[   44.408794] ---[ end trace 8a6b76174727e96d ]---
Segmentation fault

0 Kudos
Reply

1,220 Views
igorpadykov
NXP Employee
NXP Employee

Hi Venu

this board and its bsp "L 4.8.0-phyBOARD-Segin" is third party

not supported by nxp, suggest to apply to support of vendor of that board:

Support | PHYTEC 

Best regards
igor

0 Kudos
Reply

1,220 Views
venu_gopal
Contributor I

Thanks igorFrom: igorpadykov &lt;admin@community.nxp.com&gt;Sent: Wed, 24 Jun 2020 05:19:16 To: Venu Gopal &lt;venu.gopal@mantratec.com&gt;Subject: Re: - Re: Unable to read data in SIM2 on IMX6UL We could not verify the sender of this email. Kindly take caution before taking action on this email.

NXP Community

Re: Unable to read data in SIM2 on IMX6UL

reply from igorpadykov in i.MX Processors - View the full discussion

Hi Venu for such errors one can try to fully rebuild "4.8.0-phyBOARD-Segin-i.MX6UL"image with imx-test sourcesimx-test - i.MX Driver Test Application Software  Best regardsigor

0 Kudos
Reply