Skip to content
Snippets Groups Projects
Commit f5fcec3d authored by Sebastian Reichel's avatar Sebastian Reichel
Browse files

[HACK] add rock5b-cam-config

This is my test config. It currently results in the following problem:

[    2.316464] rkcifhw fdce0000.rkcif: ignoring dependency for device, assuming no driver
[    2.317351] rkcifhw fdce0000.rkcif: No reserved memory region assign to CIF
[    2.318425] rkcif rkcif-mipi-lvds2: ignoring dependency for device, assuming no driver
[    2.319504] rkcif rkcif-mipi-lvds2: rkcif driver version: v00.02.00
[    2.320952] rkcif rkcif-mipi-lvds2: attach to cif hw node
[    2.321781] rkcif rkcif-mipi-lvds2: rkcif wait line 0
[    2.322222] rkcif rkcif-mipi-lvds2: rkcif fastboot reserve bufs num 3
[    2.322784] : terminal subdev does not exist
[    2.323158] : terminal subdev does not exist
[    2.323530] : terminal subdev does not exist
[    2.323911] : terminal subdev does not exist
[    2.324285] : get_remote_sensor: video pad[0] is null
[    2.324724] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    2.325352] : rkcif_scale_set_fmt: req(40, 30) src out(0, 0)
[    2.325845] : get_remote_sensor: video pad[0] is null
[    2.326285] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    2.326913] : rkcif_scale_set_fmt: req(40, 30) src out(0, 0)
[    2.327406] : get_remote_sensor: video pad[0] is null
[    2.327876] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    2.328503] : rkcif_scale_set_fmt: req(40, 30) src out(0, 0)
[    2.328996] : get_remote_sensor: video pad[0] is null
[    2.329435] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    2.330063] : rkcif_scale_set_fmt: req(40, 30) src out(0, 0)
[    2.333124] Insufficient stack space to handle exception!
[    2.333127] ESR: 0x0000000096000047 -- DABT (current EL)
[    2.333129] FAR: 0xffff800080987fe0
[    2.333130] Task stack:     [0xffff800080988000..0xffff80008098c000]
[    2.333131] IRQ stack:      [0xffff800080020000..0xffff800080024000]
[    2.333132] Overflow stack: [0xffff07543f73c320..0xffff07543f73d320]
[    2.333134] CPU: 4 UID: 0 PID: 73 Comm: kworker/u32:3 Not tainted 6.14.0-rc1+ #16
[    2.333138] Hardware name: Radxa ROCK 5B (DT)
[    2.333140] Workqueue: events_unbound deferred_probe_work_func
[    2.333147] pstate: 604000c9 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    2.333149] pc : kobject_get+0x4/0xc0
[    2.333154] lr : of_node_get+0x20/0x40
[    2.333158] sp : ffff800080988000
[    2.333159] x29: ffff800080988000 x28: 0000000000000000 x27: ffffd97f50a34d78
[    2.333162] x26: 0000000000000000 x25: ffffd97f4de00ee0 x24: ffff075436f203a8
[    2.333164] x23: ffffd97f4fe2bfa8 x22: ffffd97f50a38440 x21: 0000000000000000
[    2.333166] x20: 0000000000000000 x19: ffff07543f7c55e8 x18: 00000000ffffffff
[    2.333168] x17: 000000040044ffff x16: 005000f2b5503510 x15: 0000000000000000
[    2.333170] x14: ffffffffffffffff x13: 0000000000000000 x12: 0000000000000040
[    2.333172] x11: 0101010101010101 x10: ffffd97f50738a38 x9 : 0000000000000020
[    2.333174] x8 : 0101010101010101 x7 : 7f7f7f7f7f7f7f7f x6 : 0000000080808080
[    2.333177] x5 : 0000000000000000 x4 : 8080808000000000 x3 : ffffd97f4f068158
[    2.333179] x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff07543f7c5668
[    2.333181] Kernel panic - not syncing: kernel stack overflow
[    2.333183] CPU: 4 UID: 0 PID: 73 Comm: kworker/u32:3 Not tainted 6.14.0-rc1+ #16
[    2.333185] Hardware name: Radxa ROCK 5B (DT)
[    2.333186] Workqueue: events_unbound deferred_probe_work_func
[    2.333188] Call trace:
[    2.333189]  show_stack+0x18/0x24 (C)
[    2.333194]  dump_stack_lvl+0x60/0x80
[    2.333198]  dump_stack+0x18/0x24
[    2.333200]  panic+0x168/0x360
[    2.333203]  add_taint+0x0/0xbc
[    2.333206]  panic_bad_stack+0x108/0x120
[    2.333210]  handle_bad_stack+0x34/0xc0
[    2.333212]  __bad_stack+0x80/0x84
[    2.333214]  kobject_get+0x4/0xc0 (P)
[    2.333217]  of_get_child_by_name+0x44/0xf0
[    2.333221]  of_graph_get_next_endpoint+0xc0/0x140
[    2.333224]  of_fwnode_graph_get_next_endpoint+0x58/0x80
[    2.333226]  fwnode_graph_get_next_endpoint+0x54/0xd4
[    2.333229]  v4l2_async_nf_parse_fwnode_endpoints+0x44/0x140
[    2.333232]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333234]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333236]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333239]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333241]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333243]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333245]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333247]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333249]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333251]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333253]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333256]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333258]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333260]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333262]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333264]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333266]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333268]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333270]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333273]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333275]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333277]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333279]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333281]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333283]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333285]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333287]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333289]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333291]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333294]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333296]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333298]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333300]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333301]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333303]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333305]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333308]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333310]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333312]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333314]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333316]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333318]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333320]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333322]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333324]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333326]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333328]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333330]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333332]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333334]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333336]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333338]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333340]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333343]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333345]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333347]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333349]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333351]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333353]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333355]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333357]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333359]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333361]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333363]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333365]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333367]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333368]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333371]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333373]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333375]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333376]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333378]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333380]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333382]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333384]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333386]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333388]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333390]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333392]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333394]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333396]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333398]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333400]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333402]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333404]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333406]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333408]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333410]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333413]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333415]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333417]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333418]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333420]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333422]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333424]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333427]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333428]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333430]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333432]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333434]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333436]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333438]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333441]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333443]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333445]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333447]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333449]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333451]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333453]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333455]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333457]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333459]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333461]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333462]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333464]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333466]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333469]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333470]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333472]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333474]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333476]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333478]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333480]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333482]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333484]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333486]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333488]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333490]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333492]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333494]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333495]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333497]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333499]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333501]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333503]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333505]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333506]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333508]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333510]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333513]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333515]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333516]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333518]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333520]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333522]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333524]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333526]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333528]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333530]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333532]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333534]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333536]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333538]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333540]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333541]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333544]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333546]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333548]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333550]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333552]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333554]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333556]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333558]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333560]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333562]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333564]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333566]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333568]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333570]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333572]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333574]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333576]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333578]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333580]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333582]  v4l2_async_nf_parse_fwnode_endpoints+0x9c/0x140
[    2.333584]  rkcif_plat_init+0x3dc/0x700
[    2.333588]  rkcif_plat_probe+0x194/0x440
[    2.333590]  platform_probe+0x68/0xd8
[    2.333592]  really_probe+0xbc/0x2c0
[    2.333594]  __driver_probe_device+0x78/0x120
[    2.333596]  driver_probe_device+0x40/0x158
[    2.333598]  __driver_attach+0xec/0x1c4
[    2.333599]  bus_for_each_dev+0x7c/0xe0
[    2.333603]  driver_attach+0x24/0x30
[    2.333604]  bus_add_driver+0xe8/0x1f8
[    2.333606]  driver_register+0x68/0x130
[    2.333608]  __platform_driver_register+0x24/0x30
[    2.333610]  rkcif_plat_hw_probe+0x518/0x670
[    2.333613]  platform_probe+0x68/0xd8
[    2.333615]  really_probe+0xbc/0x2c0
[    2.333616]  __driver_probe_device+0x78/0x120
[    2.333618]  driver_probe_device+0x40/0x158
[    2.333620]  __device_attach_driver+0xe0/0x164
[    2.333622]  bus_for_each_drv+0x88/0xe8
[    2.333625]  __device_attach+0xa0/0x190
[    2.333626]  device_initial_probe+0x14/0x20
[    2.333628]  bus_probe_device+0xb4/0xc0
[    2.333630]  deferred_probe_work_func+0x90/0xc8
[    2.333631]  process_one_work+0x148/0x284
[    2.333634]  worker_thread+0x2cc/0x3e8
[    2.333636]  kthread+0x12c/0x204
[    2.333638]  ret_from_fork+0x10/0x20
[    2.333640] SMP: stopping secondary CPUs
[    2.333742] Kernel Offset: 0x597ecc400000 from 0xffff800080000000
[    2.333743] PHYS_OFFSET: 0xfff0f8adc0000000
[    2.333744] CPU features: 0x300,00000170,00901250,8200720b
[    2.333746] Memory Limit: none
[    2.450095] ---[ end Kernel panic - not syncing: kernel stack overflow ]---
parent 27b5d54f
Branches
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment