chwe Posted March 4, 2018 Posted March 4, 2018 (edited) Since Armbian moved to the official Rockchip kernel, camera support should work with their new ISP1 driver. I built an image with the needed drivers but unfortunately it doesn't boot anymore... A boot log with the compiled drivers can be seen here (kernel config is attached to this post): Spoiler U-Boot SPL 2017.09-armbian (Mar 03 2018 - 23:43:36) Returning to boot ROM... U-Boot 2017.09-armbian (Mar 03 2018 - 23:43:36 +0100) Model: Tinker-RK3288 DRAM: 2 GiB MMC: dwmmc@ff0c0000: 1 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Model: Tinker-RK3288 Net: eth0: ethernet@ff290000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 1485 bytes read in 38 ms (38.1 KiB/s) ## Executing script at 00000000 U-boot loaded from eMMC 106 bytes read in 32 ms (2.9 KiB/s) 54282 bytes read in 97 ms (545.9 KiB/s) 3583671 bytes read in 211 ms (16.2 MiB/s) 8047464 bytes read in 412 ms (18.6 MiB/s) ## Loading init Ramdisk from Legacy Image at 21000000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 3583607 Bytes = 3.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to 0fc95000, end 0ffffe77 ... OK Loading Device Tree to 0fc84000, end 0fc94409 ... OK Starting kernel ... [ 2.819343] Internal error: Oops: 5 [#1] SMP ARM [ 2.824450] Modules linked in: [ 2.827835] CPU: 0 PID: 1 Comm: swapper/0 Tainted: GW 4.4.119-rockchip #6 [ 2.836684] Hardware name: Rockchip (Device Tree) [ 2.841884] task: ee950000 task.stack: ee958000 [ 2.846900] PC is at pinctrl_free+0x8c/0x138 [ 2.851624] LR is at __slab_free+0x1a0/0x2d4 [ 2.856348] pc : [<c05ea8a0>] lr : [<c022f14c>] psr: 20000013 [ 2.856348] sp : ee959d60 ip : 00000000 fp : ee959d94 [ 2.869041] r10: eea40f00 r9 : 00000100 r8 : edb00f8c [ 2.874816] r7 : eea40f0c r6 : edb00d0c r5 : edb00d00 r4 : 00000000 [ 2.882032] r3 : 00000000 r2 : edb00d0c r1 : ef466c00 r0 : 00000000 [ 2.889251] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 2.897140] Control: 10c5387d Table: 0000406a DAC: 00000051 [ 2.903491] [ 2.903491] PC: 0xc05ea820: [ 2.908210] a820 e24dd00c e52de004 e8bd4000 e1a05000 e59f0110 e50b1030 e3a09 c01 eb19bc04 [ 2.917310] a840 e595a00c e59a6000 e285200c e15a0002 1a000010 e1a00005 eb000 f52 e51b3030 [ 2.926405] a860 e3530000 0a000005 e1c520d0 e3a00c01 e3a01c02 e5823004 e5832 000 e1c500f0 [ 2.935503] a880 e1a00005 ebf1131e e59f00b8 eb19bc26 e24bd028 e89daff0 e1a07 00a e5b7400c [ 2.944599] a8a0 e5948000 e1540007 1a00000a e89a0006 e1a0000a e5812004 e5821 000 e3a02c02 [ 2.953698] a8c0 e58a9000 e58a2004 e1a0a006 ebf1130c e5966000 eaffffdb e5942 008 e3520002 [ 2.962796] a8e0 0a00000d 3a000001 e3520004 9a000012 e8940006 e1a00004 e5812 004 e5821000 [ 2.971890] a900 e3a02c02 e5849000 e5842004 e1a04008 ebf112fb e5988000 eafff fe1 e5952014 [ 2.980990] [ 2.980990] LR: 0xc022f0cc: [ 2.985709] f0cc 1a000017 e5951008 e1590001 1a00003d e595100c e15a0001 1a000 03a e51b2084 [ 2.994807] f0ec e1a01fa3 e50b3044 e1c530bc e7ee3853 e5852008 e5d5200f e7c72 391 e5c5200f [ 3.003898] f10c e1d520be e7ce2013 e5953000 e1c520be e3130001 1a000006 e7f00 1f2 e3a04000 [ 3.012995] f12c eaffffdc e5951000 e3110001 1afffffc eaffffdc f57ff05b e1a01 005 eb0e2a2c [ 3.022092] f14c e51b3080 e121f003 e3540000 0a000027 e15b36b8 e3530000 1a000 003 e5942010 [ 3.031191] f16c e5963008 e1520003 2a00002a e5963004 e59f20f8 e1120003 03a07 000 e3570000 [ 3.040290] f18c 0a00000c e1a01005 e1a00006 ebfff3cf e5943010 e2852014 e2841 014 e2833001 [ 3.049377] f1ac e5843010 e5943018 e5842018 e5851014 e5853018 e5832000 e51b1 078 e1a00004 [ 3.058479] [ 3.058479] SP: 0xee959ce0: [ 3.063198] 9ce0 ee959d14 ee959cf0 8040003b c01a1764 c05ea8a0 20000013 fffff fff ee959d44 [ 3.072296] 9d00 ee959d94 ee959d10 c010c760 c01011e4 00000000 ef466c00 edb00 d0c 00000000 [ 3.081395] 9d20 00000000 edb00d00 edb00d0c eea40f0c edb00f8c 00000100 eea40 f00 ee959d94 [ 3.090486] 9d40 00000000 ee959d60 c022f14c c05ea8a0 20000013 ffffffff 00000 051 c022f510 [ 3.099576] 9d60 eedc9e5c 00000001 ee959d8c edb00cc0 ee959db8 eeac1610 00000 002 edb00c80 [ 3.108674] 9d80 c0f9c145 c070ca18 ee959da4 ee959d98 c05ea994 c05ea820 ee959 db4 ee959da8 [ 3.117773] 9da0 c05ea9b4 c05ea958 ee959dec ee959db8 c070cc0c c05ea9a4 edb00 c80 edb00cc0 [ 3.126861] 9dc0 c1399894 eeac1610 c1451fb0 fffffdfb 00000000 c1399894 c12d0 148 00000000 [ 3.135953] [ 3.135953] FP: 0xee959d14: [ 3.140671] 9d14 ef466c00 edb00d0c 00000000 00000000 edb00d00 edb00d0c eea40 f0c edb00f8c [ 3.149768] 9d34 00000100 eea40f00 ee959d94 00000000 ee959d60 c022f14c c05ea 8a0 20000013 [ 3.158868] 9d54 ffffffff 00000051 c022f510 eedc9e5c 00000001 ee959d8c edb00 cc0 ee959db8 [ 3.167966] 9d74 eeac1610 00000002 edb00c80 c0f9c145 c070ca18 ee959da4 ee959 d98 c05ea994 [ 3.177063] 9d94 c05ea820 ee959db4 ee959da8 c05ea9b4 c05ea958 ee959dec ee959 db8 c070cc0c [ 3.186154] 9db4 c05ea9a4 edb00c80 edb00cc0 c1399894 eeac1610 c1451fb0 fffff dfb 00000000 [ 3.195254] 9dd4 c1399894 c12d0148 00000000 ee959e04 ee959df0 c070cd08 c070c a54 eeac1610 [ 3.204350] 9df4 c1451fb0 ee959e2c ee959e08 c0708eb4 c070ccc0 eeac1610 eeac1 644 c1399894 [ 3.213446] [ 3.213446] R1: 0xef466b80: [ 3.218164] 6b80 00000001 00000100 00000200 ee801e40 00000000 00000080 00000 000 00000000 [ 3.227251] 6ba0 00400040 00000001 00000100 00000200 ee801e40 00000000 00000 080 00000000 [ 3.236347] 6bc0 00000000 00330033 00000001 00000100 00000200 ee88e3c0 00000 000 00000080 [ 3.245434] 6be0 00000000 00000000 00330033 00000001 00000100 00000200 ee88e 3c0 00000000 [ 3.254530] 6c00 00000080 00000000 edb00f80 8040003b 00000001 ef489244 00020 002 ee801e40 [ 3.263628] 6c20 00000000 00000000 00000000 00000000 ffffffff 00000001 00000 100 00000200 [ 3.272715] 6c40 00000000 00000000 00000080 00000000 00000000 80200020 00000 001 00000100 [ 3.281810] 6c60 00000200 ee801d80 00000000 00000080 00000000 00000000 80330 033 00000001 [ 3.290909] [ 3.290909] R2: 0xedb00c8c: [ 3.295627] 0c8c c0f3e3ec 00000014 00000000 edb00d00 edb00f80 edb00ec0 eea40 f00 ffffffed [ 3.304722] 0cac 00000000 00000000 00000000 00000000 00000000 ee959db8 edb00 c80 c05ea998 [ 3.313818] 0ccc c0f1ba03 00000004 00000000 edb00d00 00000000 00000000 00000 000 00000000 [ 3.322912] 0cec 00000000 00000000 00000000 00000000 00000000 c136d59c edaf9 200 eeac1610 [ 3.332009] 0d0c eea40f00 eea40f00 edb00ec0 edb00d40 edb00e40 00000000 00000 000 00000000 [ 3.341106] 0d2c 00000000 00000000 00000000 00000000 00000000 edb00dc0 edb00 d18 eeaecb00 [ 3.350204] 0d4c edb02898 00000002 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.359299] 0d6c 00000000 00000000 00000000 00000000 00000000 edb00e00 edaf9 a80 edb02898 [ 3.368388] [ 3.368388] R5: 0xedb00c80: [ 3.373107] 0c80 edb00cc0 ee959db8 c070ca30 c0f3e3ec 00000014 00000000 edb00 d00 edb00f80 [ 3.382205] 0ca0 edb00ec0 eea40f00 ffffffed 00000000 00000000 00000000 00000 000 00000000 [ 3.391304] 0cc0 ee959db8 edb00c80 c05ea998 c0f1ba03 00000004 00000000 edb00 d00 00000000 [ 3.400395] 0ce0 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.409493] 0d00 c136d59c edaf9200 eeac1610 eea40f00 eea40f00 edb00ec0 edb00 d40 edb00e40 [ 3.418589] 0d20 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.427688] 0d40 edb00dc0 edb00d18 eeaecb00 edb02898 00000002 00000000 00000 000 00000000 [ 3.436783] 0d60 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.445883] [ 3.445883] R6: 0xedb00c8c: [ 3.450602] 0c8c c0f3e3ec 00000014 00000000 edb00d00 edb00f80 edb00ec0 eea40 f00 ffffffed [ 3.459699] 0cac 00000000 00000000 00000000 00000000 00000000 ee959db8 edb00 c80 c05ea998 [ 3.468797] 0ccc c0f1ba03 00000004 00000000 edb00d00 00000000 00000000 00000 000 00000000 [ 3.477891] 0cec 00000000 00000000 00000000 00000000 00000000 c136d59c edaf9 200 eeac1610 [ 3.486988] 0d0c eea40f00 eea40f00 edb00ec0 edb00d40 edb00e40 00000000 00000 000 00000000 [ 3.496083] 0d2c 00000000 00000000 00000000 00000000 00000000 edb00dc0 edb00 d18 eeaecb00 [ 3.505170] 0d4c edb02898 00000002 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.514255] 0d6c 00000000 00000000 00000000 00000000 00000000 edb00e00 edaf9 a80 edb02898 [ 3.523351] [ 3.523351] R7: 0xeea40e8c: [ 3.528069] 0e8c bffffdf7 f6f5dffe ff5d77dd ce78f39d fcf1bdf4 fef3fcab ff4ff df5 ff7dfffe [ 3.537158] 0eac ef57fdf7 ffbbfff2 effdf9f3 f6eaee06 ef3a7dd3 00676572 ef003 040 ffd8ffbd [ 3.546253] 0ecc bdb5ffff ffcdfffc ddf3ff33 f7f3ef75 ba4ff31f fdb77dff bd1ff ff7 b4f3ef83 [ 3.555344] 0eec eb2e779d 7f98bf7b ff77fff7 ff3bdbdf 79d6ef3b edb00d0c edb00 d0c cfc879fd [ 3.564435] 0f0c 00000000 00000200 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.573522] 0f2c 00000000 00000000 00000000 00000000 00000000 74726f70 ef003 040 effffdef [ 3.582619] 0f4c eddeefb5 bf7cf5e1 cffcffbd 9dffff7e 7bbfff7e f7f3be1d fdf3f fe7 fff7abf3 [ 3.591717] 0f6c 7b3fdff4 ffefbfde ffddf7fd f7dbcfdd fbb07f7f 00000000 fbff9 f4b edfdf77e [ 3.600815] [ 3.600815] R8: 0xedb00f0c: [ 3.605533] 0f0c eeaecb00 eeac4240 00000049 0000001b 00000000 00000000 00000 000 00000000 [ 3.614628] 0f2c 00000000 00000000 00000000 00000000 00000000 edb00f00 00000 200 00000003 [ 3.623722] 0f4c eeaecb00 eeac4240 0000000a eeb09880 00000001 00000000 00000 000 00000000 [ 3.632817] 0f6c 00000000 00000000 00000000 00000000 00000000 edb00fc0 00000 200 cfc879f5 [ 3.641914] 0f8c edb00f8c edb00f8c 00000002 eeaecb00 eeac4240 00000049 00000 01b 00000000 [ 3.651010] 0fac 00000000 00000000 00000000 00000000 00000000 edb00ec0 00000 200 00000003 [ 3.660106] 0fcc eeaecb00 eeac4240 0000000a eeb09880 00000001 00000000 00000 000 00000000 [ 3.669194] 0fec 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.678294] [ 3.678294] R10: 0xeea40e80: [ 3.683108] 0e80 656d616e 3f757f00 f7febd7f bffffdf7 f6f5dffe ff5d77dd ce78f 39d fcf1bdf4 [ 3.692208] 0ea0 fef3fcab ff4ffdf5 ff7dfffe ef57fdf7 ffbbfff2 effdf9f3 f6eae e06 ef3a7dd3 [ 3.701305] 0ec0 00676572 ef003040 ffd8ffbd bdb5ffff ffcdfffc ddf3ff33 f7f3e f75 ba4ff31f [ 3.710403] 0ee0 fdb77dff bd1ffff7 b4f3ef83 eb2e779d 7f98bf7b ff77fff7 ff3bd bdf 79d6ef3b [ 3.719498] 0f00 edb00d0c edb00d0c cfc879fd 00000000 00000200 00000000 00000 000 00000000 [ 3.728594] 0f20 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.737689] 0f40 74726f70 ef003040 effffdef eddeefb5 bf7cf5e1 cffcffbd 9dfff f7e 7bbfff7e [ 3.746777] 0f60 f7f3be1d fdf3ffe7 fff7abf3 7b3fdff4 ffefbfde ffddf7fd f7dbc fdd fbb07f7f [ 3.755870] Process swapper/0 (pid: 1, stack limit = 0xee958258) [ 3.762510] Stack: (0xee959d60 to 0xee95a000) [ 3.767335] 9d60: eedc9e5c 00000001 ee959d8c edb00cc0 ee959db8 eeac1610 00000 002 edb00c80 [ 3.776385] 9d80: c0f9c145 c070ca18 ee959da4 ee959d98 c05ea994 c05ea820 ee959 db4 ee959da8 [ 3.785434] 9da0: c05ea9b4 c05ea958 ee959dec ee959db8 c070cc0c c05ea9a4 edb00 c80 edb00cc0 [ 3.794482] 9dc0: c1399894 eeac1610 c1451fb0 fffffdfb 00000000 c1399894 c12d0 148 00000000 [ 3.803531] 9de0: ee959e04 ee959df0 c070cd08 c070ca54 eeac1610 c1451fb0 ee959 e2c ee959e08 [ 3.812579] 9e00: c0708eb4 c070ccc0 eeac1610 eeac1644 c1399894 c137e2e0 c130b be0 c12d0148 [ 3.821628] 9e20: ee959e4c ee959e30 c07090dc c0708df4 00000000 c1399894 c0709 080 c137e2e0 [ 3.830676] 9e40: ee959e74 ee959e50 c0707474 c070908c eea20074 eea96c40 c0c5b 52c c1399894 [ 3.839723] 9e60: edb02800 00000000 ee959e84 ee959e78 c0708a18 c07073f0 ee959 eac ee959e88 [ 3.848772] 9e80: c0708654 c07089fc c0f7a43b ee959e98 c1399894 edb00c80 00000 000 c130bbe0 [ 3.857821] 9ea0: ee959ec4 ee959eb0 c0709c44 c07084dc c123dc14 edb00c80 ee959 ed4 ee959ec8 [ 3.866869] 9ec0: c070ab8c c0709ba0 ee959ee4 ee959ed8 c123dc2c c070ab58 ee959 f5c ee959ee8 [ 3.875918] 9ee0: c0101ba8 c123dc20 ee959f0c ee959ef8 c0139e4c c0139dd4 eedbd 900 eedbd999 [ 3.884965] 9f00: ee959f5c ee959f10 c013a018 c0139e28 c01682b4 c10141a4 c1014 1a4 00000006 [ 3.894013] 9f20: 00000006 00000180 c10131a0 eedbd99a 00000000 00000007 c13e0 000 00000007 [ 3.903061] 9f40: c13e0000 00000180 c1272040 c13e0000 ee959f94 ee959f60 c1200 f58 c0101a14 [ 3.912108] 9f60: 00000006 00000006 00000000 c1200600 00000000 c0c56d74 00000 000 00000000 [ 3.921155] 9f80: 00000000 00000000 ee959fac ee959f98 c0c56d8c c1200d48 00000 000 c0c56d74 [ 3.930203] 9fa0: 00000000 ee959fb0 c01076d0 c0c56d80 00000000 00000000 00000 000 00000000 [ 3.939249] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000 [ 3.948296] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 75bea 7bf 5fcbffd8 [ 3.957354] [<c05ea8a0>] (pinctrl_free) from [<c05ea994>] (pinctrl_put+0x48/0 x4c) [ 3.965639] [<c05ea994>] (pinctrl_put) from [<c05ea9b4>] (devm_pinctrl_releas e+0x1c/0x20) [ 3.974694] [<c05ea9b4>] (devm_pinctrl_release) from [<c070cc0c>] (release_no des+0x1c4/0x1e4) [ 3.984133] [<c070cc0c>] (release_nodes) from [<c070cd08>] (devres_release_al l+0x54/0x5c) [ 3.993187] [<c070cd08>] (devres_release_all) from [<c0708eb4>] (driver_probe _device+0xcc/0x298) [ 4.002910] [<c0708eb4>] (driver_probe_device) from [<c07090dc>] (__driver_at tach+0x5c/0x9c) [ 4.012248] [<c07090dc>] (__driver_attach) from [<c0707474>] (bus_for_each_de v+0x90/0xa0) [ 4.021298] [<c0707474>] (bus_for_each_dev) from [<c0708a18>] (driver_attach+ 0x28/0x30) [ 4.030156] [<c0708a18>] (driver_attach) from [<c0708654>] (bus_add_driver+0x 184/0x1ec) [ 4.039013] [<c0708654>] (bus_add_driver) from [<c0709c44>] (driver_register+ 0xb0/0xf0) [ 4.047874] [<c0709c44>] (driver_register) from [<c070ab8c>] (__platform_driv er_register+0x40/0x54) [ 4.057888] [<c070ab8c>] (__platform_driver_register) from [<c123dc2c>] (rock chip_thermal_driver_init+0x18/0x20) [ 4.069150] [<c123dc2c>] (rockchip_thermal_driver_init) from [<c0101ba8>] (do _one_initcall+0x1a0/0x1d4) [ 4.079549] [<c0101ba8>] (do_one_initcall) from [<c1200f58>] (kernel_init_fre eable+0x21c/0x26c) [ 4.089179] [<c1200f58>] (kernel_init_freeable) from [<c0c56d8c>] (kernel_ini t+0x18/0x118) [ 4.098327] [<c0c56d8c>] (kernel_init) from [<c01076d0>] (ret_from_fork+0x14/ 0x24) [ 4.106705] Code: e24bd028 e89daff0 e1a0700a e5b7400c (e5948000) [ 4.113538] ---[ end trace d1463f71914aa6bf ]--- [ 4.118838] Unable to handle kernel paging request at virtual address 3832666 6 [ 4.126847] pgd = c0004000 [ 4.129871] [38326666] *pgd=00000000 [ 4.129927] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00 00000b [ 4.129927] [ 4.129940] CPU1: stopping [ 4.129953] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D W 4.4.119-r ockchip #6 [ 4.129957] Hardware name: Rockchip (Device Tree) [ 4.129985] [<c0110104>] (unwind_backtrace) from [<c010bde8>] (show_stack+0x2 0/0x24) [ 4.130004] [<c010bde8>] (show_stack) from [<c05bcd70>] (dump_stack+0x84/0xa4 ) [ 4.130020] [<c05bcd70>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x2 88) [ 4.130034] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/ 0x9c) [ 4.130047] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0 x70) [ 4.130053] Exception stack(0xee97df58 to 0xee97dfa0) [ 4.130060] df40: 00000 001 00000000 [ 4.130073] df60: 00000000 c0119160 00000000 00000000 c0d01a8c c13e0300 c1306 634 410fc0d1 [ 4.130087] df80: 00000000 ee97dfb4 ee97dfb8 ee97dfa8 c0108200 c01081f0 60000 013 ffffffff [ 4.130102] [<c010c7d4>] (__irq_svc) from [<c01081f0>] (arch_cpu_idle+0x2c/0x 48) [ 4.130121] [<c01081f0>] (arch_cpu_idle) from [<c0168c98>] (default_idle_call +0x38/0x3c) [ 4.130140] [<c0168c98>] (default_idle_call) from [<c0168f64>] (cpu_startup_e ntry+0x268/0x334) [ 4.130156] [<c0168f64>] (cpu_startup_entry) from [<c010e304>] (secondary_sta rt_kernel+0x114/0x130) [ 4.130169] [<c010e304>] (secondary_start_kernel) from [<0010188c>] (0x10188c ) [ 4.130177] CPU3: stopping [ 4.130189] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D W 4.4.119-r ockchip #6 [ 4.130193] Hardware name: Rockchip (Device Tree) [ 4.130219] [<c0110104>] (unwind_backtrace) from [<c010bde8>] (show_stack+0x2 0/0x24) [ 4.130237] [<c010bde8>] (show_stack) from [<c05bcd70>] (dump_stack+0x84/0xa4 ) [ 4.130252] [<c05bcd70>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x2 88) [ 4.130266] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/ 0x9c) [ 4.130279] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0 x70) [ 4.130284] Exception stack(0xee981f58 to 0xee981fa0) [ 4.130292] 1f40: 00000 001 00000000 [ 4.130305] 1f60: 00000000 c0119160 00000000 00000000 c0d01a8c c13e0300 c1306 634 410fc0d1 [ 4.130319] 1f80: 00000000 ee981fb4 ee981fb8 ee981fa8 c0108200 c01081f0 60000 013 ffffffff [ 4.130335] [<c010c7d4>] (__irq_svc) from [<c01081f0>] (arch_cpu_idle+0x2c/0x 48) [ 4.130352] [<c01081f0>] (arch_cpu_idle) from [<c0168c98>] (default_idle_call +0x38/0x3c) [ 4.130369] [<c0168c98>] (default_idle_call) from [<c0168f64>] (cpu_startup_e ntry+0x268/0x334) [ 4.130385] [<c0168f64>] (cpu_startup_entry) from [<c010e304>] (secondary_sta rt_kernel+0x114/0x130) [ 4.130397] [<c010e304>] (secondary_start_kernel) from [<0010188c>] (0x10188c ) [ 4.133631] CPU0: stopping [ 4.133642] CPU: 0 PID: 2 Comm: kthreadd Tainted: G D W 4.4.119-ro ckchip #6 [ 4.133646] Hardware name: Rockchip (Device Tree) [ 4.133670] [<c0110104>] (unwind_backtrace) from [<c010bde8>] (show_stack+0x2 0/0x24) [ 4.133687] [<c010bde8>] (show_stack) from [<c05bcd70>] (dump_stack+0x84/0xa4 ) [ 4.133702] [<c05bcd70>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x2 88) [ 4.133715] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/ 0x9c) [ 4.133728] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0 x70) [ 4.133733] Exception stack(0xee95bb20 to 0xee95bb68) [ 4.133747] bb20: c1450b20 ee950700 00000000 00000027 c13e28c8 60000113 00000 027 00000018 [ 4.133760] bb40: 00000018 c13e321e 00000000 ee95bbc4 ee95bac8 ee95bb70 c064f ed8 c0175c2c [ 4.133766] bb60: 60000113 ffffffff [ 4.133784] [<c010c7d4>] (__irq_svc) from [<c0175c2c>] (console_unlock+0x150/ 0x3e0) [ 4.133801] [<c0175c2c>] (console_unlock) from [<c0176200>] (vprintk_emit+0x3 44/0x4a0) [ 4.133816] [<c0176200>] (vprintk_emit) from [<c017638c>] (vprintk+0x30/0x38) [ 4.133830] [<c017638c>] (vprintk) from [<c01763ac>] (vprintk_default+0x18/0x 1c) [ 4.133848] [<c01763ac>] (vprintk_default) from [<c01ec268>] (printk+0x3c/0x4 8) [ 4.133866] [<c01ec268>] (printk) from [<c01155b0>] (show_pte+0x4c/0x100) [ 4.133884] [<c01155b0>] (show_pte) from [<c011a23c>] (__do_kernel_fault.part .0+0x54/0x1f4) [ 4.133900] [<c011a23c>] (__do_kernel_fault.part.0) from [<c011599c>] (do_pag e_fault+0x338/0x34c) [ 4.133913] [<c011599c>] (do_page_fault) from [<c0115af4>] (do_translation_fa ult+0x2c/0xbc) [ 4.133926] [<c0115af4>] (do_translation_fault) from [<c0101220>] (do_DataAbo rt+0x48/0xc8) [ 4.133938] [<c0101220>] (do_DataAbort) from [<c010c760>] (__dabt_svc+0x40/0x 60) [ 4.133943] Exception stack(0xee95bdc0 to 0xee95be08) [ 4.133957] bdc0: 2dab2000 c12d90b8 000045f8 00000000 ee801e40 38326666 ee801 e40 024000c0 [ 4.133970] bde0: c1440934 c0138650 00000000 ee95be44 ee95be10 ee95be10 c022e 70c c022e890 [ 4.133975] be00: 20000113 ffffffff [ 4.133991] [<c010c760>] (__dabt_svc) from [<c022e890>] (kmem_cache_alloc+0x1 c0/0x244) [ 4.134008] [<c022e890>] (kmem_cache_alloc) from [<c0138650>] (alloc_pid+0x28 /0x438) [ 4.134024] [<c0138650>] (alloc_pid) from [<c011c600>] (copy_process.constpro p.6+0x930/0x152c) [ 4.134037] [<c011c600>] (copy_process.constprop.6) from [<c011d350>] (_do_fo rk+0x8c/0x384) [ 4.134050] [<c011d350>] (_do_fork) from [<c011d6b8>] (kernel_thread+0x3c/0x4 4) [ 4.134064] [<c011d6b8>] (kernel_thread) from [<c013b26c>] (kthreadd+0x180/0x 1ec) [ 4.134080] [<c013b26c>] (kthreadd) from [<c01076d0>] (ret_from_fork+0x14/0x2 4) [ 4.683640] ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x0000000b [ 4.683640] [ 24.137015] ------------[ cut here ]------------ [ 24.142135] WARNING: CPU: 2 PID: 1 at kernel/watchdog.c:352 watchdog_timer_fn+0x18c/0x344() [ 24.151368] Watchdog detected hard LOCKUP on cpu 3 [ 24.156468] Modules linked in: [ 24.160034] CPU: 2 PID: 1 Comm: swapper/0 Tainted: G D W 4.4.119-rockchip #6 [ 24.168883] Hardware name: Rockchip (Device Tree) [ 24.174100] [<c0110104>] (unwind_backtrace) from [<c010bde8>] (show_stack+0x20/0x24) [ 24.182675] [<c010bde8>] (show_stack) from [<c05bcd70>] (dump_stack+0x84/0xa4) [ 24.190670] [<c05bcd70>] (dump_stack) from [<c011e104>] (warn_slowpath_common+0x98/0xc4) [ 24.199616] [<c011e104>] (warn_slowpath_common) from [<c011e170>] (warn_slowpath_fmt+0x40/0x48) [ 24.209243] [<c011e170>] (warn_slowpath_fmt) from [<c01b3bd8>] (watchdog_timer_fn+0x18c/0x344) [ 24.218778] [<c01b3bd8>] (watchdog_timer_fn) from [<c018a888>] (__hrtimer_run_queues+0x1f8/0x30c) [ 24.228600] [<c018a888>] (__hrtimer_run_queues) from [<c018b060>] (hrtimer_interrupt+0xc0/0x20c) [ 24.238325] [<c018b060>] (hrtimer_interrupt) from [<c095cb30>] (arch_timer_handler_phys+0x38/0x48) [ 24.248241] [<c095cb30>] (arch_timer_handler_phys) from [<c017b700>] (handle_percpu_devid_irq+0xf4/0x19c) [ 24.258822] [<c017b700>] (handle_percpu_devid_irq) from [<c0176fb0>] (generic_handle_irq+0x28/0x38) [ 24.268835] [<c0176fb0>] (generic_handle_irq) from [<c017730c>] (__handle_domain_irq+0xb0/0xc4) [ 24.278463] [<c017730c>] (__handle_domain_irq) from [<c0101478>] (gic_handle_irq+0x64/0x9c) [ 24.287705] [<c0101478>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0x70) [ 24.295978] Exception stack(0xee959ab0 to 0xee959af8) [ 24.301566] 9aa0: ee959b24 00000000 fd640800 00002a46 [ 24.310615] 9ac0: 28ec93f5 00005dbf 00004bc8 00004c90 0000003d c136cf5c 066665b0 ee959b1c [ 24.319660] 9ae0: ee959b20 ee959b04 c05bac90 c05bac20 80000013 ffffffff [ 24.326982] [<c010c7d4>] (__irq_svc) from [<c05bac20>] (read_current_timer+0x10/0x48) [ 24.335648] [<c05bac20>] (read_current_timer) from [<c05bac90>] (__timer_delay+0x38/0x5c) [ 24.344697] [<c05bac90>] (__timer_delay) from [<c05bace0>] (__timer_const_udelay+0x2c/0x34) [ 24.353941] [<c05bace0>] (__timer_const_udelay) from [<c01ec1f8>] (panic+0x1cc/0x200) [ 24.362611] [<c01ec1f8>] (panic) from [<c0121414>] (do_exit+0x51c/0x930) [ 24.370027] [<c0121414>] (do_exit) from [<c010c0c8>] (die+0x2dc/0x31c) [ 24.377255] [<c010c0c8>] (die) from [<c011a24c>] (__do_kernel_fault.part.0+0x64/0x1f4) [ 24.386020] [<c011a24c>] (__do_kernel_fault.part.0) from [<c011599c>] (do_page_fault+0x338/0x34c) [ 24.395838] [<c011599c>] (do_page_fault) from [<c0115af4>] (do_translation_fault+0x2c/0xbc) [ 24.405078] [<c0115af4>] (do_translation_fault) from [<c0101220>] (do_DataAbort+0x48/0xc8) [ 24.414221] [<c0101220>] (do_DataAbort) from [<c010c760>] (__dabt_svc+0x40/0x60) [ 24.422397] Exception stack(0xee959d10 to 0xee959d58) [ 24.427984] 9d00: 00000000 ef466c00 edb00d0c 00000000 [ 24.437034] 9d20: 00000000 edb00d00 edb00d0c eea40f0c edb00f8c 00000100 eea40f00 ee959d94 [ 24.446079] 9d40: 00000000 ee959d60 c022f14c c05ea8a0 20000013 ffffffff [ 24.453402] [<c010c760>] (__dabt_svc) from [<c05ea8a0>] (pinctrl_free+0x8c/0x138) [ 24.461678] [<c05ea8a0>] (pinctrl_free) from [<c05ea994>] (pinctrl_put+0x48/0x4c) [ 24.469961] [<c05ea994>] (pinctrl_put) from [<c05ea9b4>] (devm_pinctrl_release+0x1c/0x20) [ 24.479014] [<c05ea9b4>] (devm_pinctrl_release) from [<c070cc0c>] (release_nodes+0x1c4/0x1e4) [ 24.488452] [<c070cc0c>] (release_nodes) from [<c070cd08>] (devres_release_all+0x54/0x5c) [ 24.497505] [<c070cd08>] (devres_release_all) from [<c0708eb4>] (driver_probe_device+0xcc/0x298) [ 24.507228] [<c0708eb4>] (driver_probe_device) from [<c07090dc>] (__driver_attach+0x5c/0x9c) [ 24.516565] [<c07090dc>] (__driver_attach) from [<c0707474>] (bus_for_each_dev+0x90/0xa0) [ 24.525616] [<c0707474>] (bus_for_each_dev) from [<c0708a18>] (driver_attach+0x28/0x30) [ 24.534473] [<c0708a18>] (driver_attach) from [<c0708654>] (bus_add_driver+0x184/0x1ec) [ 24.543331] [<c0708654>] (bus_add_driver) from [<c0709c44>] (driver_register+0xb0/0xf0) [ 24.552190] [<c0709c44>] (driver_register) from [<c070ab8c>] (__platform_driver_register+0x40/0x54) [ 24.562204] [<c070ab8c>] (__platform_driver_register) from [<c123dc2c>] (rockchip_thermal_driver_init+0x18/0x20) [ 24.573464] [<c123dc2c>] (rockchip_thermal_driver_init) from [<c0101ba8>] (do_one_initcall+0x1a0/0x1d4) [ 24.583862] [<c0101ba8>] (do_one_initcall) from [<c1200f58>] (kernel_init_freeable+0x21c/0x26c) [ 24.593490] [<c1200f58>] (kernel_init_freeable) from [<c0c56d8c>] (kernel_init+0x18/0x118) [ 24.602637] [<c0c56d8c>] (kernel_init) from [<c01076d0>] (ret_from_fork+0x14/0x24) [ 24.611006] ---[ end trace d1463f71914aa6c0 ]--- What I tried so far: -disable all patches which have something todo with MIPI system and adjust defconfig -try to compile kernel with isp1 as module (doesn't compile) -the 'asus way' of getting the camera to work seems also not possible (thanks to @TonyMac32 for providing those links). Please consider that they don't use the same kernelsource. The 'asus way': https://github.com/TinkerBoard/debian_kernel/commit/159704c50bc8b6ea5cdc312a2425aa85ddb4c19e https://github.com/TinkerBoard/debian_kernel/commit/5ba2b36a2f6a419088f2482fbf955228ce36ebb6 https://github.com/TinkerBoard/debian_kernel/commit/24ef89c0d19b4bc8251c24207f25b0e3cb96c497 https://github.com/TinkerBoard/debian_kernel/commit/c2b6426fed813cf668f8ac272dba0f7714115647 (it's possible that I did a mistake here, cause there are so many changes that I might miss something... ) To my knowledge there's no linux available for the tinker which uses the new ISP1 driver for camera support. Any help/idea/hint for getting up the camera support is appreciated. linux-rockchip-default.config Edited March 4, 2018 by chwe spoiler 1
TonyMac32 Posted March 5, 2018 Posted March 5, 2018 I've picked up both the 5 MP and 8 MP camera module, we'll see if I can help. If not I have a pile of Pi's lying about gathering dust... 1
chwe Posted March 6, 2018 Author Posted March 6, 2018 hmmm.. getting confused by this issue. It seems to be (somehow) device tree related. When I play around with asus miniarm device tree (which solved the camera support differently) the board boots with the activated drivers.
TonyMac32 Posted March 6, 2018 Posted March 6, 2018 Hmmm, what is the armbianmonitor -u look like when it boots? :-P. I should have my cameras in a matter of hours, so I can join in in the confusions. :-)
chwe Posted March 6, 2018 Author Posted March 6, 2018 too late.. the image is away (running out of SD-Cards so I've to erase them from time to time).. dmesg showed that it fails to touch it and multiple errors with the isp10 driver (that's the one Asus uses for camera support, according to the RK config it's ok to have both activated)... 12 minutes ago, TonyMac32 said: so I can join in in the confusions. :-) have fun.
TonyMac32 Posted March 8, 2018 Posted March 8, 2018 I've hit the same wall you have, I'm getting a kernel oops as the first thing that happens, tied to the ISP1 driver. Nothing is particularly different about the device tree between tinker and firefly, and as you pointed out, someone claimed to have gotten it working on firefly... Tomorrow I will investigate any changes that were made to the other camera drivers that may not have been made to the rpi cameras... [edit] of note, it happens on both cameras, same fault, so it is either a common error to the 2 drivers, or it is the isp1 driver itself. This is of particular interest as the same configuration is required for the rk3399.
chwe Posted March 8, 2018 Author Posted March 8, 2018 In case someone wants to dive in to this topic: Here is where it seemed to work: https://github.com/rockchip-linux/kernel/issues/33#issuecomment-346275025 Keep in mind, this was done with a different board and due the time the ISP was in a early access branch. They removed this branch after merging it to the 4.4 kernel. But a 'snapshot' of it can be found in his github repo cause he forked it: https://github.com/teseo-sw/kernel/tree/isp-early-access There are a lot of changes made in the device tree and the kernel is ~3500 changes behind the release kernel now, so playing with this kernel instead of release kernel is only a 'research option'.. edit: to make it easier for you, here you should find the needed drivers in case you play with the buildsystem: device drivers --> <*> Multimedia support ---> [*] Media Controller API [*] V4L2 sub-device userspace API [*] V4L platform devices ---> <*> Rockchip Image Signal Processing v1 Unit driver [ ] Autoselect ancillary drivers (tuners, sensors, i2c, frontend... needs to be unset Encoders, decoders, sensors and other helper chips ---> imx219 ov5647 and TC35874X (I think the thoshiba tc35874x is not necessary cause this chip is not populated on the tinkerboard but I guess that the firefly uses this configuration when you look into its dts, nevertheless I let it activated as rockchip suggests it) can be found here...
TonyMac32 Posted March 8, 2018 Posted March 8, 2018 I will try building it without any extra patches to see if it works that way. If not I will reach out to Rockchip concerning the issue. 1
chwe Posted March 8, 2018 Author Posted March 8, 2018 I'm building an image with their buildscript right now. In case this doesn't work I'll open an issue on their github repo (and as a side note that they should rename their rootfs name on gdrive: rootfs-debian-20171225(fix a stupid mistake, affect performance since 20170901).tar.gz it's nasty to work with such names from console... ). Another side note: RK suggests to use gcc <6: Quote If you insist on developing on your own environment, please make sure the version of gcc-arm-linux-gnueabihf and gcc-aarch64-linux-gnu is less than 6. Whereas we use gcc7, I tested it with: case $BRANCH in default) KERNELSOURCE='https://github.com/rockchip-linux/kernel.git' KERNELBRANCH='branch:release-4.4' KERNELDIR='linux-rockchip' KERNEL_USE_GCC='< 6.0' it built without issues but the kernel failed also to boot... Can this have an effect? I'm not that motivated to test all possible configurations with gcc<6... Update: At least it boots... but dmesg shows: linaro@linaro-alip:/usr/local/bin$ dmesg | grep ov56 [ 3.664487] OF: graph: no port node found in /i2c@ff660000/ov5647@36 [ 3.677146] ov5647 2-0036: DT parsing error: -22 [ 3.687968] ov5647: probe of 2-0036 failed with error -22 and therefore as expected their camera test fails too: linaro@linaro-alip:/usr/local/bin$ sudo ./test_camera.sh Start MIPI CSI Camera Preview! ./test_camera.sh: 9: ./test_camera.sh: cannot create /sys/module/video_rkisp1/parameters/rkisp1_debug: Permission denied Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstRkXImageSink:rkximagesink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Additional debug info: gstbasesink.c(5184): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstRkXImageSink:rkximagesink0: Failed to start Setting pipeline to NULL ... Freeing pipeline ... I'll open an issue... Seems that the camera is powered during boot (red LED on camera board shines up for a short time before it turns off). Update II: issue is open and I hope we get some respond: https://github.com/rockchip-linux/kernel/issues/72 1
JMCC Posted March 22, 2018 Posted March 22, 2018 Just ordered an ov5647 camera to join the party. Will take a few days to ship from China, though 2
chwe Posted March 22, 2018 Author Posted March 22, 2018 It's a lame pary.. It' normally ends with the first message you get from USB-UART (I guess you have one, otherwise buy one ). In case you start with the Linaro built with their buildscript (at least this ones boot with the ISP), the DTB can be found on partition 4 or so (if you only change parts of the DTS cross-compiling a kernel takes a few seconds and you get a kernelimage + a new DTB), you have to mount it first when you want to replace without recompilation and I think they still have the reboot issue, so cutting the power was the only way I got it booting... The GitHub issue might be a good starting point (e.g. port description).
TonyMac32 Posted April 13, 2018 Posted April 13, 2018 Not yet. There was just an update to the kernel, looks like some driver work went on, might give it another go shortly. 1
JMCC Posted May 17, 2018 Posted May 17, 2018 (edited) Dumb question: Has anybody tried to use the old driver (CONFIG_VIDEO_RK_CIF_ISP10) as a workaround, until the new one works? @TonyMac32 said in some other thread that it requires more tweaking to work, so I'm guessing it won't work "out-of-the-box" just enabling the kernel config. [EDIT: I just saw this post, saying that @chwe already tried it] Edited May 17, 2018 by JMCC
chwe Posted May 17, 2018 Author Posted May 17, 2018 40 minutes ago, JMCC said: [EDIT: I just saw this post, saying that @chwe already tried it] I think I messed in one or two attempts with it before I gave up... It failed everytime on build if I've this right in mind.. This might help you: On 3/8/2018 at 5:43 PM, chwe said: edit: to make it easier for you, here you should find the needed drivers in case you play with the buildsystem: device drivers --> <*> Multimedia support ---> [*] Media Controller API [*] V4L2 sub-device userspace API [*] V4L platform devices ---> <*> Rockchip Image Signal Processing v1 Unit driver [ ] Autoselect ancillary drivers (tuners, sensors, i2c, frontend... needs to be unset Encoders, decoders, sensors and other helper chips ---> imx219 ov5647 and TC35874X (I think the thoshiba tc35874x is not necessary cause this chip is not populated on the tinkerboard but I guess that the firefly uses this configuration when you look into its dts, nevertheless I let it activated as rockchip suggests it) can be found here... On 3/8/2018 at 9:53 PM, chwe said: Update II: issue is open and I hope we get some respond: https://github.com/rockchip-linux/kernel/issues/72 have fun. I lost a bit track on it.. due to dealing with other crap.. in case you want to compare: the output of make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- rockchip_linux_defconfig is attached bellow.. rockchip_orig.config 1
JMCC Posted May 20, 2018 Posted May 20, 2018 On 5/19/2018 at 12:53 AM, chwe said: Means, you have now time for the RPi cam on the tinker? Yeah, let's give it a try. It's in my to-do list, together with making a script for the XU4. Just to save me some time, which .dts should I tinker with, the one in the u-boot or in the kernel tree?
TonyMac32 Posted May 20, 2018 Posted May 20, 2018 18 minutes ago, JMCC said: Yeah, let's give it a try. It's in my to-do list, together with making a script for the XU4. Just to save me some time, which .dts should I tinker with, the one in the u-boot or in the kernel tree? The kernel tree. at the end this will beast be done with overlays, as the 2 different possible cameras conflict with each other for resources, but if we get one working then we can handle that later.
chwe Posted May 20, 2018 Author Posted May 20, 2018 @JMCC if you have the imx219 (rpi cam2), dts should be 'fine' in case you've the ovXX(v 1.3) you have to switch the endnodes (cut from imx and post in ov)... But I think, it's related to some other modules we compile/load compared to defaultconig... but mess around with kernelkonfig can be nasty.. --> moved to thread where it belongs
JMCC Posted June 4, 2018 Posted June 4, 2018 Some updates on the issue: the OV5647 camera works out of the box in a Rockchip-Linaro image compiled 2018-03-19 (an image made with the current status of the repo won't just boot). I decompiled rk3288-miniarm.dtb, and edited the resulting .dts file as described in this post. That should not be necessary for the imx219 camera, enabled by default. If you want to do the test yourself, you can use these two gstreamer commands for displaying and capturing, respectively: $ gst-launch-1.0 rkcamsrc device=/dev/video0 io-mode=4 isp-mode=0A ! videoconvert ! video/x-raw,format=NV12,width=640,height=480 ! rkximagesink $ gst-launch-1.0 rkcamsrc device=/dev/video0 io-mode=4 isp-mode=0A num-buffers=512 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! queue ! mpph264enc ! queue ! h264parse ! mpegtsmux ! filesink location=videotest.ts Notice that this driver supports the full 1080p@30 resolution of the camera, unlike the older one included in ASUS image, that only supports up to 640x480 Compiling a current Armbian kernel with the camera enabled will cause a kernel panic on boot. Changing the rk3288-miniarm.dtb from that current Armbian image to the one from the rockchip-linaro referenced above, makes the board boot, but with no HDMI display, and the camera nodes (/dev/video*) don't show up either. UART works OK, you can login, and you have network. Of course, the problems referenced in 4. may not have anything to do with the dtb, but with the fact that Armbian's rockchip kernel is now messed up. I'll try to do the same experiment with an older snapshot. @TonyMac32 @Igor any suggestion on what snapshot to use (and the best way to prevent Armbian script from auto-updating)?
JMCC Posted June 4, 2018 Posted June 4, 2018 Just in case anyone else wants to try, I am attaching here the working .dtb from the upstream rockchip image compiled in March 19: rk3288-miniarm.dts rk3288-miniarm.dtb
TonyMac32 Posted June 5, 2018 Posted June 5, 2018 16 hours ago, JMCC said: Notice that this driver supports the full 1080p@30 resolution of the camera, unlike the older one included in ASUS image, that only supports up to 640x480 Excellent. 16 hours ago, JMCC said: Changing the rk3288-miniarm.dtb from that current Armbian image to the one from the rockchip-linaro referenced above, makes the board boot, but with no HDMI display, and the camera nodes (/dev/video*) don't show up either. UART works OK, you can login, and you have network. Kernel config issues. I'm on the right track with the Mali I think, filtering through feedback and I now get a desktop coming up making mali-for-android a module. Apparently when Rockchip says "allow compile as module" they mean "force compile as module" With the mali as module: Spoiler Graphics Feature Status Canvas: Hardware accelerated CheckerImaging: Disabled Flash: Hardware accelerated Flash Stage3D: Hardware accelerated Flash Stage3D Baseline profile: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Force enabled Native GpuMemoryBuffers: Software only. Hardware acceleration disabled Rasterization: Software only. Hardware acceleration disabled Video Decode: Hardware accelerated WebGL: Hardware accelerated WebGL2: Hardware accelerated Driver Bug Workarounds clear_uniforms_before_first_program_use disable_framebuffer_cmaa scalarize_vec_and_mat_constructor_args use_virtualized_gl_contexts Problems Detected The Mali-Txxx driver does not guarantee flush ordering: 154715, 10068, 269829, 294779, 285292 Applied Workarounds: use_virtualized_gl_contexts Clear uniforms before first program use on all platforms: 124764, 349137 Applied Workarounds: clear_uniforms_before_first_program_use Always rewrite vec/mat constructors to be consistent: 398694 Applied Workarounds: scalarize_vec_and_mat_constructor_args Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198 Applied Workarounds: disable_framebuffer_cmaa Disable KHR_blend_equation_advanced until cc shaders are updated: 661715 Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent) Don't expose disjoint_timer_query extensions to WebGL: 808744 Native GpuMemoryBuffers have been disabled, either via about:flags or command line. Disabled Features: native_gpu_memory_buffers Checker-imaging has been disabled via finch trial or the command line. Disabled Features: checker_imaging Version Information Data exported2018-06-05T04:07:12.806Z Chrome versionChrome/65.0.3325.181 Operating systemLinux 4.4.135-rockchip Software rendering list URLhttps://chromium.googlesource.com/chromium/src/+/abb5172872b726072a64dfabaf45894c6ecf7369/gpu/config/software_rendering_list.json Driver bug list URLhttps://chromium.googlesource.com/chromium/src/+/abb5172872b726072a64dfabaf45894c6ecf7369/gpu/config/gpu_driver_bug_list.json ANGLE commit idunknown hash 2D graphics backendSkia/65 8a3e0b31927ae78bc3e9c342b1290a6a64233674- Command Line/usr/lib/chromium-browser/chromium-browser --disable-low-res-tiling --num-raster-threads=4 --profiler-timing=0 --disable-composited-antialiasing --disk-cache-dir=/tmp/tony-cache --disk-cache-size=156701491 --no-sandbox --test-type --show-component-extension-options --ignore-gpu-blacklist --use-gl=egl --ppapi-flash-path=/usr/lib/chromium-browser/pepper/libpepflashplayer.so --ppapi-flash-version=26.0.0.102 --enable-pinch --user-agent=Mozilla/5.0 (X11; CrOS armv7l 6946.63.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36 --flag-switches-begin --flag-switches-end Driver Information Initialization time159 In-process GPUfalse Passthrough Command Decoderfalse Direct Compositionfalse Supports overlaysfalse Sandboxedfalse GPU0VENDOR = 0x0000, DEVICE= 0x0000 *ACTIVE* Optimusfalse Optimusfalse AMD switchablefalse Driver vendorES Driver version3.2 Driver date Pixel shader version3.20 Vertex shader version3.20 Max. MSAA samples8 Machine model name Machine model version GL_VENDORARM GL_RENDERERMali-T760 GL_VERSIONOpenGL ES 3.2 v1.r14p0-01rel0-git(966ed26).eedaf0c5244add8e249cecdd3c721329 GL_EXTENSIONSGL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex Disabled ExtensionsGL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent Disabled WebGL ExtensionsEXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2 Window system binding vendorARM Window system binding version1.4 Midgard-"r14p0-01rel0" Window system binding extensionsEGL_KHR_image_pixmap EGL_KHR_partial_update EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_ARM_pixmap_multisample_discard EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_create_context_robustness EGL_KHR_cl_event2 Window managerXfwm4 XDG_CURRENT_DESKTOPXFCE Compositing managerNo Direct renderingYes Reset notification strategy0x8252 GPU process crash count0 System visual ID0 RGBA visual ID0 Compositor Information Tile Update ModeOne-copy Partial RasterEnabled GpuMemoryBuffers Status ATCSoftware only ATCIASoftware only DXT1Software only DXT5Software only ETC1Software only R_8Software only R_16Software only RG_88Software only BGR_565Software only RGBA_4444Software only RGBX_8888Software only RGBA_8888Software only BGRX_8888Software only BGRX_1010102Software only BGRA_8888Software only RGBA_F16Software only YVU_420Software only YUV_420_BIPLANARSoftware only UYVY_422Software only Display(s) Information InfoDisplay[1251772561504000] bounds=0,0 1920x1080, workarea=0,31 1920x1049, scale=1, external Color space information{primaries:INVALID, transfer:INVALID, matrix:INVALID, range:INVALID} Bits per color component8 Bits per pixel24 Video Acceleration Information Log Messages [2588:2588:0605/040640.743999:ERROR:sandbox_linux.cc(375)] : InitializeSandbox() called with multiple threads in process gpu-process. [2588:2588:0605/040641.567102:ERROR:gles2_cmd_decoder.cc(2603)] : [GroupMarkerNotSet(crbug.com/242999)!:20DF0885]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : BackFramebuffer::Create: <- error from previous GL command
Myy Posted June 5, 2018 Posted June 5, 2018 For OpenGL ES issues, Apitrace might help you get a trace that can be analyzed by other people : https://github.com/apitrace/apitrace
Recommended Posts