Just thought I’d share this discussion as it looks like there’s a bug in the device tree for the j401 and it may be the same on the board you’re using:
I had the issue where cam0 wasn’t working for the imx477 but cam1 was, they provided a fixed dtbo file which enabled cam0. If your board only has cam0, it’d be likely it’s the same issue.