Need HELP,build rockchip CIF ISP drive erro

build RK358(ROCK 3a) on openwrt 23,kernel 6.1 .
1.the *.o file has build pass. no erro.
2.this erro accouse at o file complie to app.
3.the file and fuction all exist.
4.I think maybe some config is not setting .or ...

aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.data+0x18): undefined reference to vb2_fop_poll' aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.data+0x30): undefined reference to vb2_fop_mmap'
aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.data+0x50): undefined reference to vb2_ops_wait_prepare' aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.data+0x58): undefined reference to vb2_ops_wait_finish'
aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x280): undefined reference to vb2_ioctl_reqbufs' aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x288): undefined reference to vb2_ioctl_querybuf'
aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x290): undefined reference to vb2_ioctl_qbuf' aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x298): undefined reference to vb2_ioctl_expbuf'
aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x2a0): undefined reference to vb2_ioctl_dqbuf' aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x2a8): undefined reference to vb2_ioctl_create_bufs'
aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x2b0): undefined reference to vb2_ioctl_prepare_buf' aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x2d0): undefined reference to vb2_ioctl_streamon'
aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-scale.o:(.rodata+0x2d8): undefined reference to vb2_ioctl_streamoff' aarch64-openwrt-linux-musl-ld: drivers/media/platform/rockchip/cif/cif-tools.o: in function rkcif_tools_fop_release':

same reply as in USB camera compatibility on Rockchip 3A with OpenWRT

yes maybe the same .but there no solution.
I found an intresting thing.

CONFIG_VIDEO_ROCKCHIP_CIF=y
CONFIG_VIDEO_ROCKCHIP_ISP=y
config in rockchip foulder no use,so I changed in make file.


so is there some reason by depend on or select?

# SPDX-License-Identifier: GPL-2.0
obj-y += video_rkcif.o
video_rkcif-objs += dev.o \
depends on V4L_PLATFORM_DRIVERS
depends on VIDEO_DEV && OF
depends on ARCH_ROCKCHIP
depends on MEDIA_CAMERA_SUPPORT
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_CMA_SG
select VIDEOBUF2_VMALLOC
select V4L2_FWNODE

Correct, and there never will be, the reply is the same though - you're running some 3rd party Openwrt spin off, ask them for support.

:rofl: thanks ,maybe have a good luck!

With the 3rd party ?
Who knows, fingers X:ed.

nothing relate to hardware. so maybe somebody have exp.

If there are zero changes to the source code, why don't you simply use vanilla Openwrt?

If your problem is not hardware specific, it means it is software specific. And, the software you are using is not OpenWrt (at least not from this project -- it is highly modified by some other party).

Please reach out to the maintainer of the SDK you used.

1 Like

This topic was automatically closed after 63 minutes. New replies are no longer allowed.