Apalis-imx8 custom linux kernel module build failed error

Thanks @ritesh.tx now my driver is working and I can actually see my camera output by running gstreamer pipeline.

I was able to solve it using u-boot env variables set during boot solved in below thread

If you can help me answer why do we need to set these args that’d be really helpful.

Thanks
Gaurav C.