Hi
We use "cd /opt/viv_samples/vdk/ && ./tutorial5 -f 100" to test Gpu function in the imx6q and linux version is 3.0.35. If we didn't use "uboot logo keep from uboot to kernel" patch ,the gpu test work well; but when use this patch ,a null pointer will appear. The error log is as follows:
[ 86.290668] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 86.290677] pgd = ba370000
[ 86.290682] [00000000] *pgd=4a23d831, *pte=00000000, *ppte=00000000
[ 86.290697] Internal error: Oops: 817 [#1] PREEMPT SMP
[ 86.290705] Modules linked in:
[ 86.290715] CPU: 1 Not tainted (3.0.35-2508-g54750ff-HNS010700101-03 #15)
[ 86.290736] PC is at wait_for_common+0xec/0x1bc
[ 86.290745] LR is at wait_for_common+0xcc/0x1bc
[ 86.290755] pc : [<8056a104>] lr : [<8056a0e4>] psr: 40000093
[ 86.290761] sp : ba32db88 ip : 00000a0c fp : ba32dbd4
[ 86.290769] r10: 00000000 r9 : ba32dba8 r8 : ba32c000
[ 86.290777] r7 : 00000002 r6 : bfe4fb2c r5 : bfe4fb28 r4 : 00000032
[ 86.290785] r3 : 00000000 r2 : 00000001 r1 : bfe4fb34 r0 : 00000047
[ 86.290797] Flags: nZcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 86.290806] Control: 10c53c7d Table: 4a37004a DAC: 00000015
[ 86.290816] Process tutorial5 (pid: 2601, stack limit = 0xba32c2f0)
[ 86.290825] Stack: (0xba32db88 to 0xba32e000)
[ 86.290836] db80: ba32dba8 ba1931b0 00000001 00000000 00000018 00000001
[ 86.290850] dba0: bffb2f20 800719d4 bfe4fb34 00000000 00000001 bfe4fa98 00000000 bfe4f800
[ 86.290864] dbc0: 00000002 00000000 bfe4f83c 00000000 00000000 80259850 00000001 80148eb4
[ 86.290877] dbe0: 00000001 ba32c000 ba32dbfc 8006f00c bc041640 8bb2e6a0 ffffffff 000002d0
[ 86.290891] dc00: 00000780 27b00000 00000000 00000000 00001e00 bfe4fa98 ba32c000 4944bd18
[ 86.290905] dc20: 20335053 44004742 33505349 00474620 bc041640 bfe4f800 bfe4f83c 00000000
[ 86.290918] dc40: 00000000 000005a0 bfe4f83c 00000000 00000000 80247b80 bfe4fc0f bfe4f800
[ 86.290931] dc60: 00000000 00000000 00000000 00010000 80b321c4 80248534 00000780 000002d0
[ 86.290944] dc80: 00000780 00000870 00000000 00000000 00000020 00000000 00000010 00000008
[ 86.290957] dca0: 00000000 00000008 00000008 00000000 00000000 00000008 00000000 00000018
[ 86.290970] dcc0: 00000008 00000000 00000000 00000000 ffffffff ffffffff 00000000 000028b1
[ 86.290983] dce0: 00000020 00000020 00000010 00000080 00000010 0000000e 00000000 00000000
[ 86.290996] dd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000001
[ 86.291009] dd20: ba32dd34 ba19a094 80000013 00000000 00000001 00000003 00000000 ba183cbc
[ 86.291023] dd40: ba32dd6c 8018d45c 00000001 bc1c7000 ba183c80 bc08ac00 bc08ac00 800bbb40
[ 86.291036] dd60: bc08ab20 bffdab40 bf8875d8 800be04c bc041980 ba19a014 00000001 ba32c000
[ 86.291049] dd80: ba32dd94 8006f00c 00000001 80b22600 00000001 ba32c000 ba32ddac 8006f00c
[ 86.291063] dda0: bfe4f800 0002425c ba32c000 00000004 8003f104 ba32c000 00000000 80248998
[ 86.291076] ddc0: 00000000 800f4d80 800f4da8 00000780 000002d0 00000780 00000870 00000000
[ 86.291089] dde0: 00000000 00000020 00000000 00000010 00000008 00000000 00000008 00000008
[ 86.291101] de00: 00000000 00000000 00000008 00000000 00000018 00000008 00000000 00000000
[ 86.291115] de20: 00000000 ffffffff ffffffff 00000000 000028b1 00000020 00000020 00000010
[ 86.291127] de40: 00000080 00000010 0000000e 00000000 00000000 00000000 00000000 00000000
[ 86.291140] de60: 00000000 00000000 00000000 ba32def8 00000001 bffaa250 0000002f ba1dcf70
[ 86.291154] de80: ba32def8 ba32df78 ba320000 ba32deb4 ba32c000 ba32c000 00000000 800fe87c
[ 86.291167] dea0: ba32dec4 ba32c000 00000000 7ecd73b8 00000068 bff87320 bc1bd4c8 800f58e8
[ 86.291180] dec0: 0000b301 00000000 00000000 00000001 ba32df78 ba320000 ffffff9c ffffff9c
[ 86.291194] dee0: ba32c000 00000000 00000000 800fec44 00000041 ba1dcf70 0002425c bffda500
[ 86.291207] df00: 00000004 80100b54 ba320005 00000000 bc03cd48 ba1dcf70 00000101 00000004
[ 86.291220] df20: 00000000 00000000 00000001 bffda508 ba32df44 8006f00c 00000001 ba37b820
[ 86.291233] df40: 00000000 800f119c 00000001 ba320000 bffda500 00000004 bffda508 00000020
[ 86.291247] df60: ba32c000 bffda500 0002425c 00004601 00000004 8003f104 ba32c000 00000000
[ 86.291260] df80: 00000000 80101058 00000000 00000000 7ecd7b7c 000241f8 7ecd7b7c 00000001
[ 86.291273] dfa0: 00000036 8003ef80 000241f8 7ecd7b7c 00000004 00004601 0002425c 000002d0
[ 86.291286] dfc0: 000241f8 7ecd7b7c 00000001 00000036 00000000 00000000 7ecd7c04 00000000
[ 86.291300] dfe0: 0002425c 7ecd7a38 2ac536f4 2aecb7bc 20000010 00000004 ffff7fff fffff7fb
[ 86.291336] [<8056a104>] (wait_for_common+0xec/0x1bc) from [<80259850>] (mxcfb_pan_display+0x250/0x55c)
[ 86.291367] [<80259850>] (mxcfb_pan_display+0x250/0x55c) from [<80247b80>] (fb_pan_display+0xbc/0x13c)
[ 86.291387] [<80247b80>] (fb_pan_display+0xbc/0x13c) from [<80248534>] (fb_set_var+0x138/0x290)
[ 86.291403] [<80248534>] (fb_set_var+0x138/0x290) from [<80248998>] (do_fb_ioctl+0x30c/0x5d0)
[ 86.291427] [<80248998>] (do_fb_ioctl+0x30c/0x5d0) from [<80100b54>] (do_vfs_ioctl+0x80/0x54c)
[ 86.291446] [<80100b54>] (do_vfs_ioctl+0x80/0x54c) from [<80101058>] (sys_ioctl+0x38/0x5c)
[ 86.291466] [<80101058>] (sys_ioctl+0x38/0x5c) from [<8003ef80>] (ret_fast_syscall+0x0/0x30)
[ 86.291482] Code: e3822001 e50b102c e50b2038 e50b3028 (e5839000)
Hi zero
one can try L3.0.101_4.1.1_SOURCE_BSP which fixed some GPU bugs mentioned on
where can i find instruction for applying L3.0.101 BSP patch?
or post issue on Patch to support uboot logo keep from uboot to kernel for NXP Linux and Android BSP (HDMI, LCD and L...
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------