Nano 2GB + IMX477 + SPI1 not working

Noob here.
Basically, I am trying to run the IMX477 camera via CSI slot 0 and some LED strip WS2812B via SPI1.
My Problem is, as already discussed and solved here, that camera and LEDs together(!) are not working. I tried following the solution but I encouter several problems there, so hopefully somebody can help me.

  • This is my $ cat /etc/nv_tegra_release
    # R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t210ref, EABI: aarch64, DATE: Mon Jul 26 19:20:30 UTC 2021

Symptoms:

  • Camera works, but only without configuring SPI1, for the camera installation I follow the instructions of this ArduCam tutorial and after reboot, I can use the camera.

  • LEDs on SPI1 also work, for SPI1 config I use jetson-io.py and configure the 40-pin header, after reboot, the LEDs work fine, but the camera does not work anymore.

Trouble following the solution:

  1. Copy bl_update_payload_imx477 from the downloaded tar file to /usr/sbin on the developer kit
    Run the following commands -
  2. cd /usr/sbin
  3. sudo dpkg-reconfigure nvidia-l4t-bootloader
  4. sudo l4t_payload_updater_t210 bl_update_payload_imx477
  5. Copy libnvodm_imager.so included in the tar on to the Jetson developer kit to the path shown below.
    • sudo cp libnvodm_imager.so /usr/lib/aarch64-linux-gnu/tegra/libnvodm_imager.so
  6. Reboot the device
  • I get stuck at step 4.

Step 3. $ sudo dpkg-reconfigure nvidia-l4t-bootloader
[sudo] password for home:
3448-300-0000–1–jetson-nano-devkit-
Starting bootloader post-install procedure.
Update bootloader completed.
Reboot the target system for changes to take effect.
Updating extlinux.conf…
Root device is set in the extlinux.conf

Step 4. $ sudo l4t_payload_updater_t210 bl_update_payload_imx477
BLOB PATH:
/usr/sbin/bl_update_payload_imx477

SPEC: 3448-400-0000-F.0-1-0-jetson-nano-qspi-sd-mmcblk0p1
Compatible SPEC: 3448-300-0000–1–jetson-nano-devkit-

Error. Cannot find matched SPEC in blob.
No changes have been made. Exiting…

I assume the problem is that I have no clue what to do with the tegra210-p3448-0003-p3542-0000.dtb file. I tried copying it into ~/boot/, but no success.

I’d appreciate any hint or advice, thanks in advance.

Hi yoghurt,

For r32.6.1, please use below steps to enable imx477:

Follow the commands below to Configure IMX477:
   - sudo /opt/nvidia/jetson-io/jetson-io.py
   - Select "Configure Jetson Nano CSI Connector"
   - Select "Configure for compatible hardware"
   - Select "Camera IMX477 Dual"
   - Select "Save pin changes"
   - Select "Save and reboot to reconfigure pins" 
1 Like

Hi @carolyuu,

thanks so much for you help!
With your instructions, I managed to configure both, the imx477 camera and SPI1:

home@jetson-nano:~$ ls /dev/video*
/dev/video0

home@jetson-nano:~$ ls /dev/spi*
/dev/spidev0.0  /dev/spidev0.1  /dev/spidev1.0  /dev/spidev1.1

However, I now get this error 20022 when I try to activate the camera and get a visual:

home@jetson-nano:~$ dmesg
[ 6046.463022] vi 54080000.vi: tegra_channel_error_status:error 20022 frame 6362
[ 6046.496358] vi 54080000.vi: tegra_channel_error_status:error 20022 frame 6363
[ 6046.529668] vi 54080000.vi: tegra_channel_error_status:error 20022 frame 6364
[ 6046.563103] vi 54080000.vi: tegra_channel_error_status:error 20022 frame 6365
[ 6046.596326] vi 54080000.vi: tegra_channel_error_status:error 20022 frame 6366
[ 6046.629645] vi 54080000.vi: tegra_channel_error_status:error 20022 frame 6367
[ 6046.662971] vi 54080000.vi: tegra_channel_error_status:error 20022 frame 6368
[ 6046.696290] vi 54080000.vi: tegra_channel_error_status:error 20022 frame 6369
...
  • I am aware of this post from 2018, but I still could not get the camera running.

In order to test the new configured camera I run following simple gstream commands found here and get the following messages:

home@jetson-nano:~$ SENSOR_ID=0
home@jetson-nano:~$ FRAMERATE=30
home@jetson-nano:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:725 No cameras available
Got EOS from element "pipeline0".
Execution ended after 0:00:00.012367945
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

What am I doing wrong?

Looks like the devname in tegra-camera-platform{} didn’t match the driver name.
Have dump dtb to confirm it.

The devname need the same with v4l2-ctl --list-device like below, devname need the same with “ov5693 30-0036”

nvidia@nvidia-desktop:~$ v4l2-ctl --list-device
vi-output, ov5693 30-0036 (platform:15700000.vi:0):

Ok, here is the output:

home@jetson-nano:~$ v4l2-ctl --list-device
vi-output, imx477 8-001a (platform:54080000.vi:4):
    /dev/video0

Please dump the device tree to confirm.

sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

Ok, here is the whole device tree dump:

$ sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

extracted_proc.dts: Warning (unit_address_vs_reg): Node /reserved-memory/fb0_carveout has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /reserved-memory/ramoops_carveout has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /reserved-memory/fb1_carveout has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /reserved-memory/iram-carveout has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ptm has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/admaif@0x702d0000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/amx@702d3100 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/afc@702d7300 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/i2s@702d1000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/iqc@702de000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/i2s@702d1300 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/dmic@702d4200 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/adx@702d3900 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/mvc@702da000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/sfc@702d2400 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/amx@702d3000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/afc@702d7200 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/afc@702d7500 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/i2s@702d1200 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/dmic@702d4100 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/amixer@702dbb00 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/sfc@702d2000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/ope@702d8400 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/adx@702d3800 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/iqc@702de200 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/mvc@702da200 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/sfc@702d2600 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/afc@702d7100 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/ope@702d8000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/afc@702d7400 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/i2s@702d1100 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/dmic@702d4000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/i2s@702d1400 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/sfc@702d2200 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/spkprot@702d8c00 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /ahub/afc@702d7000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /clock has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /lens_imx219@RBPCV2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /gpu has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /camera-pcl/dpd/csie has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /camera-pcl/dpd/csic has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /camera-pcl/dpd/csia has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /camera-pcl/dpd/csif has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /camera-pcl/dpd/csid has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /camera-pcl/dpd/csib has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /adma@702e2000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /usb_cd has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /eeprom-manager/bus@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /eeprom-manager/bus@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /tegra_cec has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /soctherm@0x700E2000/throttle_dev@gpu_high has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /soctherm@0x700E2000/throttle@critical has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /soctherm@0x700E2000/fuse_war@fuse_rev_0_1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /soctherm@0x700E2000/throttle@heavy has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /soctherm@0x700E2000/throttle_dev@cpu_high has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /soctherm@0x700E2000/fuse_war@fuse_rev_2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /chosen/plugin-manager/ids/connection/i2c@7000c500 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /chosen/plugin-manager/ids/connection/i2c@7000c500/module@0x50 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /chosen/plugin-manager/ids/connection/i2c@7000c500/module@0x57 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /aconnect@702c0000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /aconnect@702c0000/ahub has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /aconnect@702c0000/ahub/ope@702d8400/mbdrc@702d8600 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /aconnect@702c0000/ahub/ope@702d8400/peq@702d8500 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /aconnect@702c0000/ahub/mvc@0x702da200 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /aconnect@702c0000/ahub/ope@702d8000/mbdrc@702d8200 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /aconnect@702c0000/ahub/ope@702d8000/peq@702d8100 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /aconnect@702c0000/adsp has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@5 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@5/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@5/override@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@5/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@8 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@8/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@3 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@3/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@3/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@6 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@6/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@1/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@13 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@13/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@13/override@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@13/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@13/override@3 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-b00@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-b00@2/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-b00@2/overrides@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-pins@3 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-pins@3/overrides@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@0/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@0/override@0/_overlay_/channel@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@0/override@0/_overlay_/channel@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@9 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@9/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@9/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@8 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@6 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@10 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@4 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/override@12 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@9 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@7 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@11 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@3 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-common@0/overrides@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@4 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@4/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@4/override@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@4/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-a00@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-a00@1/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment-e2614-a00@1/overrides@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@7 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragement@7/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@2/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@2/override@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@2/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@12 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@12/override@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /plugin-manager/fragment@12/override@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /bpmp has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /sata@70020000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@1/emc-table@1600000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@1/emc-table@204000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@1/emc-table-derated@204000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@1/emc-table-derated@1600000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@0/emc-table@1600000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@0/emc-table@204000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@0/emc-table-derated@204000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /external-memory-controller@7001b000/emc-table@0/emc-table-derated@1600000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/nvcsi/channel@0/ports/port@1/endpoint@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/nvcsi/channel@0/ports/port@0/endpoint@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/nvcsi/channel@1/ports/port@3/endpoint@3 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/nvcsi/channel@1/ports/port@2/endpoint@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/nvjpg has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/dsi has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/dpaux has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/tsec has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/sor1 has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/nvenc has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/sor has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/sor/dp-display/dp-lt-settings/lt-setting@2 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/sor/dp-display/dp-lt-settings/lt-setting@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/sor/dp-display/dp-lt-settings/lt-setting@1 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/vic has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/vi has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/dpaux1 has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/tsecb has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /host1x/nvdec has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /i2c@7000c500/battery-charger@6b has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /mc has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /mipical has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /i2c@7000d000/max77620@3c/pinmux@0 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /i2c@7000d000/max77620@3c/fps/fps0 has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /i2c@7000d000/max77620@3c/fps/fps1 has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /i2c@7000d000/max77620@3c/fps/fps2 has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /iommu has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /dfll-max77621@70110000 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /interrupt-controller has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (unit_address_vs_reg): Node /i2c@7000c400/iqs263@44 has a unit name, but no reg property
extracted_proc.dts: Warning (unit_address_vs_reg): Node /mselect has a reg or ranges property, but no unit name
extracted_proc.dts: Warning (pci_bridge): Node /pcie@1003000/pci@2,0 missing bus-range for PCI bridge
extracted_proc.dts: Warning (pci_bridge): Node /pcie@1003000/pci@1,0 missing bus-range for PCI bridge
extracted_proc.dts: Warning (unit_address_format): Failed prerequisite 'pci_bridge'
extracted_proc.dts: Warning (pci_device_reg): Failed prerequisite 'pci_bridge'
extracted_proc.dts: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'
extracted_proc.dts: Warning (simple_bus_reg): Node /extcon/disp-state missing or empty reg/ranges property
extracted_proc.dts: Warning (simple_bus_reg): Node /mods-simple-bus/mods-clocks missing or empty reg/ranges property
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/nvcsi missing or empty reg/ranges property
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/nvjpg simple-bus unit address format error, expected "54380000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/dsi simple-bus unit address format error, expected "54300000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/dpaux simple-bus unit address format error, expected "545c0000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/tsec simple-bus unit address format error, expected "54500000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/sor1 simple-bus unit address format error, expected "54580000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/nvenc simple-bus unit address format error, expected "544c0000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/sor simple-bus unit address format error, expected "54540000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/vic simple-bus unit address format error, expected "54340000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/vi-bypass missing or empty reg/ranges property
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/vi simple-bus unit address format error, expected "54080000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/vi/ports missing or empty reg/ranges property
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/dpaux1 simple-bus unit address format error, expected "54040000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/tsecb simple-bus unit address format error, expected "54100000"
extracted_proc.dts: Warning (simple_bus_reg): Node /host1x/nvdec simple-bus unit address format error, expected "54480000"
extracted_proc.dts: Warning (simple_bus_reg): Node /regulators/regulator@10 simple-bus unit address format error, expected "a"
extracted_proc.dts: Warning (gpios_property): property 'gpio' size (15) is invalid, expected multiple of 4 in node /__symbols__
extracted_proc.dts: Warning (gpios_property): Missing property '#gpio-cells' in node /thermal-zones/AO-therm/trips/gpu-scaling5 or bad phandle (referred from /plugin-manager/fragment-e2614-pins@3/overrides@0/_overlay_:gpios[0])

Check the context in tegra-camera-platform{} in extracted_proc.dts

    tegra-camera-platform {
        isp_bw_margin_pct = <0x19>;
        compatible = "nvidia, tegra-camera-platform";
        max_pixel_rate = <0x3a980>;
        num_csi_lanes = <0x4>;
        vi_peak_byte_per_pixel = <0x2>;
        max_lane_speed = <0x16e360>;
        phandle = <0x12a>;
        vi_bw_margin_pct = <0x19>;
        linux,phandle = <0x12a>;
        min_bits_per_pixel = <0xa>;
        isp_peak_byte_per_pixel = <0x5>;

        modules {

            module0 {
                badge = "porg_front_RBPCV3";
                status = "okay";
                phandle = <0x12b>;
                position = "front";
                linux,phandle = <0x12b>;
                orientation = [31 00];

                drivernode1 {
                    pcl_id = "v4l2_lens";
                    proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
                    phandle = <0x12d>;
                    linux,phandle = <0x12d>;
                };

                drivernode0 {
                    devname = "imx477 7-001a";
                    pcl_id = "v4l2_sensor";
                    status = "okay";
                    proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@0/rbpcv3_imx477_a@1a";
                    phandle = <0x12c>;
                    linux,phandle = <0x12c>;
                };
            };

            module1 {
                badge = "porg_rear_RBPCV3";
                status = "okay";
                phandle = <0x12e>;
                position = "rear";
                linux,phandle = <0x12e>;
                orientation = [31 00];

                drivernode1 {
                    pcl_id = "v4l2_lens";
                    proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
                    phandle = <0x130>;
                    linux,phandle = <0x130>;
                };

                drivernode0 {
                    devname = "imx477 8-001a";
                    pcl_id = "v4l2_sensor";
                    status = "okay";
                    proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@1/rbpcv3_imx477_e@1a";
                    phandle = <0x12f>;
                    linux,phandle = <0x12f>;
                };
            };
        };

The devname didn’t match.
Maybe change to another port to try.

Thanks, I double checked the cables and tried both cam0 and cam1 ports on the Jetson Nano.
As expected, when the camera is on cam0 I get:

home@jetson-nano:~$ v4l2-ctl --list-devices

vi-output, imx477 7-001a (platform:54080000.vi:0):
    /dev/video0

Instead of imx477 8-001a.

Unfortunately, the IMX477 still doesn’t work. Here is the output from gstream:

home@jetson-nano:~$ sudo gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=60/1" ! nvvidconv ! nveglglessink
[sudo] password for home: 
Setting pipeline to PAUSED ...

Using winsys: x11 
Pipeline is live and does not need PREROLL ...
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:725 No cameras available
Got EOS from element "pipeline0".
Execution ended after 0:00:00.227460459
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

It is the same error message as before, when plugged in to port cam1.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.