cd $HOME/nvidia/sources/Linux_for_Tegra/source/public/kernel/kernel-4.9/ &&
TEGRA_KERNEL_OUT=$HOME/nvidia/final_out/ &&
LOCALVERSION=-tegra &&
mkdir -p $TEGRA_KERNEL_OUT &&
make O=$TEGRA_KERNEL_OUT tegra_defconfig &&
make O=$TEGRA_KERNEL_OUT -j6 &&
sudo cp $TEGRA_KERNEL_OUT/arch/arm64/boot/Image /boot/;
sudo cp $TEGRA_KERNEL_OUT/arch/arm64/boot/dts/tegra194-p3668-all-p3509-0000.dtb /boot/dtb/
Just building the Image and dtb through this process, shall update results tomorrow.
I asusmed menuconfig is doing the issue, i tried with out it but did not work
or anything else i am missing in specific ? what log would identify this issue ?
i have a doubt here in the i2c0 of device tree what is the register address to be used ? the existing imx219 device tree uses 0x10 , in the code i have adopted its 0x21 , what is the correct i2c address of cam0 of xavier nx development board
i was able to see video node in my /dev/ but the main problem observed from dmesg logs is there is no ack from the address 0x21(the address is correct for the device)
if you see my daughter board schematic i did not put any pullup on my board, i have seen 47k pulled up to 3.3v on both scl and sda lines of carrier board scheamtic, please confirm if i require pullups on my daughter board too ?
below is the snap of standard carrier board schematic
the device is responding to i2cget -y 2 0x21 , but not for i2c detect
i understood that the adv devices mostly wont respond to i2cdetect as they need write followed by read (assumption)
leaving i2cdetect issue aside
i went forward , i was able to see the appearance of video0 node in /dev
i went to see dmesg | grep 7282 the log is as follows
Line 594: [ 2.158727] adv7282 9-0021: chip found @ 0x21 (i2c-2-mux (chan_id 0))
Line 607: [ 2.176037] adv7282: probe of 9-0021 failed with error -121
Line 608: [ 2.176116] adv7282 10-0021: chip found @ 0x21 (i2c-2-mux (chan_id 1))
Line 610: [ 2.197643] adv7282 10-0021: adv7282-m probed!
Line 610: [ 2.197643] adv7282 10-0021: adv7282-m probed!
Line 816: [ 3.179292] tegra194-vi5 15c10000.vi: subdev adv7282 10-0021 bound
so i can clearly see the device is probed sucessfully and video node is created
i went forward to see whether i can open the cheese app,it crashed
the dmesg then read with latest error as below
i followed the guide you provided to drag trace log
i personally was not able to pin point the issue here
attached is the log. trace_log.txt (619.4 KB)