Open pedropaulolyra opened 3 years ago
Problem with video drivers on IMX6ULL Toradex
Client 2i tried to run application on IMX6ULL standard distro and got the this error message. TotalCross version: 6.1.1
Testing video drivers... SDL_VIDEODRIVER available: x11 wayland dummy SDL_VIDEODRIVER usable : x11 [ 549.239153] pgd = 8c060000 [ 549.241871] [75df1470] pgd=1d926831, pte=00000000, *ppte=00000000 [ 549.248207] CPU: 0 PID: 2755 Comm: AutoReaderDevic Tainted: G O 4.14.170-3.0.4+gbaa6c24240a4 #1 [ 549.258086] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 549.264643] task: 8d6fb200 task.stack: 8da62000 [ 549.269186] PC is at 0x75df1470 [ 549.272331] LR is at 0x7624d1e4 [ 549.275513] pc : [<75df1470>] lr : [<7624d1e4>] psr: 600d0010 [ 549.281791] sp : 7eb37068 ip : 75df1470 fp : 00000000 [ 549.287057] r10: 0042b078 r9 : 00535050 r8 : 0000000b [ 549.292289] r7 : 00000001 r6 : 0053507c r5 : 7eb370f8 r4 : 00000000 [ 549.298853] r3 : 00428358 r2 : 00535060 r1 : 00000000 r0 : 0042b078 [ 549.305414] Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user [ 549.312643] Control: 10c5387d Table: 1c06004a DAC: 00000055 [ 549.318436] CPU: 0 PID: 2755 Comm: AutoReaderDevic Tainted: G O 4.14.170-3.0.4+gbaa6c24240a4 #1 [ 549.328284] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 549.334830] Backtrace: [ 549.337322] [<8010c394>] (dump_backtrace) from [<8010c604>] (show_stack+0x18/0x1c) [ 549.344915] r7:80000007 r6:600d0113 r5:00000000 r4:80d55a78 [ 549.350592] [<8010c5ec>] (show_stack) from [<80873c30>] (dump_stack+0x9c/0xb0) [ 549.357827] [<80873b94>] (dump_stack) from [<801089a0>] (show_regs+0x14/0x18) [ 549.364968] r7:80000007 r6:75df1470 r5:8d6fb200 r4:0000000b [ 549.370639] [<8010898c>] (show_regs) from [<80112d68>] (do_user_fault+0x100/0x104) [ 549.378391] [<80112c68>] (do_user_fault) from [<80113070>] (do_page_fault+0x288/0x390) [ 549.386485] r7:75df1470 r6:8c92e540 r5:8d6fb200 r4:8da63fb0 [ 549.392150] [<80112de8>] (do_page_fault) from [<801013f8>] (do_PrefetchAbort+0x40/0xa0) [ 549.400158] r10:0042b078 r9:00535050 r8:8da63fb0 r7:75df1470 r6:80112de8 r5:00000007 [ 549.407988] r4:80d0ab7c [ 549.410528] [<801013b8>] (do_PrefetchAbort) from [<8010cecc>] (ret_from_exception+0x0/0x14) [ 549.418882] Exception stack(0x8da63fb0 to 0x8da63ff8) [ 549.423938] 3fa0: 0042b078 00000000 00535060 00428358 [ 549.432121] 3fc0: 00000000 7eb370f8 0053507c 00000001 0000000b 00535050 0042b078 00000000 [ 549.440302] 3fe0: 75df1470 7eb37068 7624d1e4 75df1470 600d0010 ffffffff [ 549.446922] r8:10c5387d r7:10c5387d r6:ffffffff r5:600d0010 r4:75df1470 Segmentation fault
It looks like a duplicate of #259
@Iaggoq in which version this project was generated?
Adding the project repo: https://github.com/TotalCross/2I
6.1.1
Issue Title
Problem with video drivers on IMX6ULL Toradex
Describe the bug
Client 2i tried to run application on IMX6ULL standard distro and got the this error message. TotalCross version: 6.1.1
Testing video drivers... SDL_VIDEODRIVER available: x11 wayland dummy SDL_VIDEODRIVER usable : x11 [ 549.239153] pgd = 8c060000 [ 549.241871] [75df1470] pgd=1d926831, pte=00000000, *ppte=00000000 [ 549.248207] CPU: 0 PID: 2755 Comm: AutoReaderDevic Tainted: G O 4.14.170-3.0.4+gbaa6c24240a4 #1 [ 549.258086] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 549.264643] task: 8d6fb200 task.stack: 8da62000 [ 549.269186] PC is at 0x75df1470 [ 549.272331] LR is at 0x7624d1e4 [ 549.275513] pc : [<75df1470>] lr : [<7624d1e4>] psr: 600d0010 [ 549.281791] sp : 7eb37068 ip : 75df1470 fp : 00000000 [ 549.287057] r10: 0042b078 r9 : 00535050 r8 : 0000000b [ 549.292289] r7 : 00000001 r6 : 0053507c r5 : 7eb370f8 r4 : 00000000 [ 549.298853] r3 : 00428358 r2 : 00535060 r1 : 00000000 r0 : 0042b078 [ 549.305414] Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user [ 549.312643] Control: 10c5387d Table: 1c06004a DAC: 00000055 [ 549.318436] CPU: 0 PID: 2755 Comm: AutoReaderDevic Tainted: G O 4.14.170-3.0.4+gbaa6c24240a4 #1 [ 549.328284] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 549.334830] Backtrace: [ 549.337322] [<8010c394>] (dump_backtrace) from [<8010c604>] (show_stack+0x18/0x1c) [ 549.344915] r7:80000007 r6:600d0113 r5:00000000 r4:80d55a78 [ 549.350592] [<8010c5ec>] (show_stack) from [<80873c30>] (dump_stack+0x9c/0xb0) [ 549.357827] [<80873b94>] (dump_stack) from [<801089a0>] (show_regs+0x14/0x18) [ 549.364968] r7:80000007 r6:75df1470 r5:8d6fb200 r4:0000000b [ 549.370639] [<8010898c>] (show_regs) from [<80112d68>] (do_user_fault+0x100/0x104) [ 549.378391] [<80112c68>] (do_user_fault) from [<80113070>] (do_page_fault+0x288/0x390) [ 549.386485] r7:75df1470 r6:8c92e540 r5:8d6fb200 r4:8da63fb0 [ 549.392150] [<80112de8>] (do_page_fault) from [<801013f8>] (do_PrefetchAbort+0x40/0xa0) [ 549.400158] r10:0042b078 r9:00535050 r8:8da63fb0 r7:75df1470 r6:80112de8 r5:00000007 [ 549.407988] r4:80d0ab7c [ 549.410528] [<801013b8>] (do_PrefetchAbort) from [<8010cecc>] (ret_from_exception+0x0/0x14) [ 549.418882] Exception stack(0x8da63fb0 to 0x8da63ff8) [ 549.423938] 3fa0: 0042b078 00000000 00535060 00428358 [ 549.432121] 3fc0: 00000000 7eb370f8 0053507c 00000001 0000000b 00535050 0042b078 00000000 [ 549.440302] 3fe0: 75df1470 7eb37068 7624d1e4 75df1470 600d0010 ffffffff [ 549.446922] r8:10c5387d r7:10c5387d r6:ffffffff r5:600d0010 r4:75df1470 Segmentation fault