Jump to content
  • 0

mipi_csi2_rx_subsystem was not initialized!


shantaramj

Question

Hello folks,

I am building Pcam-5c petalinux project. For this we are using zybo-Z7-20 and referring following github link:

https://github.com/Digilent/Zybo-Z7-20-base-linux

Software versions:

Vivado ver. 2018.2
petalinux ver. 2018.2


I am getting following error message in linux boot log.


Linux boot log :

xilinx-video amba_pl:video_cap: device registered
xilinx-csi2rxss 43c60000.mipi_csi2_rx_subsystem: Xilinx CSI2 Rx Subsystem device found!
xilinx-video amba_pl:video_cap: Entity type for entity 43c60000.mipi_csi2_rx_subsystem was not initialized!
OF: ERROR: Bad of_node_put() on /amba_pl/mipi_csi2_rx_subsystem@43c60000/ports/port@0/endpoint

CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx-v2018.2 #34
Hardware name: Xilinx Zynq Platform
[<c010e894>] (unwind_backtrace) from [<c010aad0>] (show_stack+0x10/0x14)
[<c010aad0>] (show_stack) from [<c064f2c8>] (dump_stack+0x80/0xa0)
[<c064f2c8>] (dump_stack) from [<c06529b8>] (kobject_put+0x88/0x9c)
[<c06529b8>] (kobject_put) from [<c04c67c0>] (xvip_graph_notify_complete+0xb4/0x4d4)
[<c04c67c0>] (xvip_graph_notify_complete) from [<c04b5a04>] (v4l2_async_register_subdev+0xa0/0xc8)
[<c04b5a04>] (v4l2_async_register_subdev) from [<c04cb988>] (xcsi2rxss_probe+0x6b8/0x790)
[<c04cb988>] (xcsi2rxss_probe) from [<c03bbeb0>] (platform_drv_probe+0x50/0x9c)
[<c03bbeb0>] (platform_drv_probe) from [<c03ba9f4>] (driver_probe_device+0x1ec/0x2b0)
[<c03ba9f4>] (driver_probe_device) from [<c03bab34>] (__driver_attach+0x7c/0xa8)
[<c03bab34>] (__driver_attach) from [<c03b9244>] (bus_for_each_dev+0x7c/0x8c)
[<c03b9244>] (bus_for_each_dev) from [<c03ba06c>] (bus_add_driver+0x16c/0x1d4)
[<c03ba06c>] (bus_add_driver) from [<c03bb2b8>] (driver_register+0xa0/0xe0)
[<c03bb2b8>] (driver_register) from [<c0101a54>] (do_one_initcall+0xfc/0x11c)
[<c0101a54>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8)
[<c0900da4>] (kernel_init_freeable) from [<c065fddc>] (kernel_init+0x8/0x108)
[<c065fddc>] (kernel_init) from [<c01070f0>] (ret_from_fork+0x14/0x24)
OF: ERROR: Bad of_node_put() on /amba_pl/mipi_csi2_rx_subsystem@43c60000/ports/port@1/endpoint
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx-v2018.2 #34
Hardware name: Xilinx Zynq Platform
[<c010e894>] (unwind_backtrace) from [<c010aad0>] (show_stack+0x10/0x14)
[<c010aad0>] (show_stack) from [<c064f2c8>] (dump_stack+0x80/0xa0)
[<c064f2c8>] (dump_stack) from [<c06529b8>] (kobject_put+0x88/0x9c)
[<c06529b8>] (kobject_put) from [<c04c68f4>] (xvip_graph_notify_complete+0x1e8/0x4d4)
[<c04c68f4>] (xvip_graph_notify_complete) from [<c04b5a04>] (v4l2_async_register_subdev+0xa0/0xc8)
[<c04b5a04>] (v4l2_async_register_subdev) from [<c04cb988>] (xcsi2rxss_probe+0x6b8/0x790)
[<c04cb988>] (xcsi2rxss_probe) from [<c03bbeb0>] (platform_drv_probe+0x50/0x9c)
[<c03bbeb0>] (platform_drv_probe) from [<c03ba9f4>] (driver_probe_device+0x1ec/0x2b0)
[<c03ba9f4>] (driver_probe_device) from [<c03bab34>] (__driver_attach+0x7c/0xa8)
[<c03bab34>] (__driver_attach) from [<c03b9244>] (bus_for_each_dev+0x7c/0x8c)
[<c03b9244>] (bus_for_each_dev) from [<c03ba06c>] (bus_add_driver+0x16c/0x1d4)
[<c03ba06c>] (bus_add_driver) from [<c03bb2b8>] (driver_register+0xa0/0xe0)
[<c03bb2b8>] (driver_register) from [<c0101a54>] (do_one_initcall+0xfc/0x11c)
[<c0101a54>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8)
[<c0900da4>] (kernel_init_freeable) from [<c065fddc>] (kernel_init+0x8/0x108)
[<c065fddc>] (kernel_init) from [<c01070f0>] (ret_from_fork+0x14/0x24)
uvcvideo: Unable to create debugfs directory
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
usbcore: registered new interface driver cpia2
cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at d09b6000 with timeout 10s
EDAC MC: ECC not enabled
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
nand: No NAND device found
pl35x-nand e1000000.flash: nand_scan_ident for NAND failed
fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20170425 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20170425)
can: broadcast manager protocol (rev 20170425 t)
can: netlink gateway (rev 20170425) max_hops=1
Registering SWP/SWPB emulation handler
[drm] load() is defered & will be called again
hctosys: unable to open rtc device (rtc0)
of_cfs_init
of_cfs_init: OK
DOVDD_reg: disabling
AVDD_reg: disabling
DVDD_reg: disabling
ALSA device list:
  No soundcards found.
Warning: unable to open an initial console.
Freeing unused kernel memory: 17408K
udevd[786]: starting version 3.2.2
udevd[787]: starting eudev-3.2.2

PetaLinux 2018.2 testcam /dev/ttyPS0

testcam login: root
Password:
root@testcam:~# ls cd /dev
ls: cd: No such file or directory
/dev:
block               loop1               ram0                shm                 tty19               tty34               tty5                tty8
bus                 loop2               ram1                snd                 tty2                tty35               tty50               tty9
char                loop3               ram10               stderr              tty20               tty36               tty51               ttyPS0
console             loop4               ram11               stdin               tty21               tty37               tty52               udev_network_queue
cpu_dma_latency     loop5               ram12               stdout              tty22               tty38               tty53               urandom
fd                  loop6               ram13               tty                 tty23               tty39               tty54               v4l
full                loop7               ram14               tty0                tty24               tty4                tty55               v4l-subdev0
gpiochip0           media0              ram15               tty1                tty25               tty40               tty56               v4l-subdev1
i2c-0               mem                 ram2                tty10               tty26               tty41               tty57               vcs
i2c-1               memory_bandwidth    ram3                tty11               tty27               tty42               tty58               vcs1
iio:device0         mtab                ram4                tty12               tty28               tty43               tty59               vcsa
iio:device1         network_latency     ram5                tty13               tty29               tty44               tty6                vcsa1
initctl             network_throughput  ram6                tty14               tty3                tty45               tty60               vga_arbiter
kmsg                null                ram7                tty15               tty30               tty46               tty61               video0
log                 port                ram8                tty16               tty31               tty47               tty62               watchdog
loop-control        ptmx                ram9                tty17               tty32               tty48               tty63               watchdog0
loop0               pts                 random              tty18               tty33               tty49               tty7                zero
root@testcam:~#

 

Thanks in advance

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...