SOLVED Xavier AGX Jetpack4.6不能刷入MPI327相机驱动
-
AGX+原装0001主板,刚刚使用SDK Manager刷入的4.6系统,什么软件都没有安装
写入Image等3个文件到boot,并添加FDT命令,但无法找到驱动,
降级为4.5.1则驱动刷入正常这是4.6系统的刷入截图
更奇怪的是把boot文件夹改为boot.old后系统仍能启动,怀疑是4.6系统的双rootfs功能启动了
但无论如何都无法刷入驱动,刷4.6安驱动失败,降级4.5.1安驱动成功,再次刷4.6安驱动,还是失败,(都是下载的对应版本的Image文件,具体可见图中的md5sum),搞了10多个小时了,精疲力尽
-
-
@wudecao
您好,如之前讨论过,你的操作是没问题的。而且你的系统中/boot/删掉都可以正常启动,很可能是jetpack4.6新的机制——rootfs冗余机制引起的。
请参考一下nVidia的文档:
https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra Linux Driver Package Development Guide/rootfs_custom.html#wwpID0E06E0HA进一步排查一下,期待update进展。
-
This post is deleted! -
@veye_xumm我查阅资料,并使用命令:
sudo nvbootctrl -t rootfs get-current-slot
提示双rootfs并未开启(默认是不开的,需要手动配置),目前不知道删除boot还能正常启动的原因
-
@wudecao
这个问题暂时我没有思路。你如果愿意,可以把你的agx寄到我公司,我尝试追踪解决一下。
私信我,会给你邮寄地址。 -
@veye_xumm 已解决,使用host PC方法刷入固件,更新成功。Jetpack 4.6包含rootfs的备份隐藏分区,需要在host PC上使用flash -k命令才能同步更新隐藏分区。
-
@veye_xumm Oh No!出现错误
agx@agx-desktop:~$ dmesg | grep veye327
[ 4.777449] i2c i2c-35: of_i2c: modalias failure on /i2c@3180000/tca9548@70/i2c@5/veye327_f@3b
[ 4.777453] i2c i2c-35: Failed to create I2C device for /i2c@3180000/tca9548@70/i2c@5/veye327_f@3b
[ 4.778924] veye327 30-003b: probing v4l2 sensor
[ 4.779299] veye327 30-003b: devm_clk_get failed for pllp_grtba
[ 4.779392] veye327 30-003b: tegracam sensor driver:veye327_v2.0.6
[ 4.780429] veye327 30-003b: read sensor id 6
[ 4.780551] veye327 30-003b: Detected VEYE327 sensor
[ 4.780594] veye327 31-003b: probing v4l2 sensor
[ 4.780749] veye327 31-003b: devm_clk_get failed for pllp_grtba
[ 4.780835] veye327 31-003b: tegracam sensor driver:veye327_v2.0.6
[ 4.781528] veye327 31-003b: veye327_board_setup: error during i2c read probe (-121)
[ 4.781629] veye327 31-003b: board setup failed
[ 4.781712] veye327: probe of 31-003b failed with error -121
[ 4.781746] veye327 32-003b: probing v4l2 sensor
[ 4.781837] veye327 32-003b: devm_clk_get failed for pllp_grtba
[ 4.781894] veye327 32-003b: tegracam sensor driver:veye327_v2.0.6
[ 4.782584] veye327 32-003b: veye327_board_setup: error during i2c read probe (-121)
[ 4.782665] veye327 32-003b: board setup failed
[ 4.782732] veye327: probe of 32-003b failed with error -121
[ 4.782764] veye327 33-003b: probing v4l2 sensor
[ 4.783110] veye327 33-003b: devm_clk_get failed for pllp_grtba
[ 4.783190] veye327 33-003b: tegracam sensor driver:veye327_v2.0.6
[ 4.784262] veye327 33-003b: veye327_board_setup: error during i2c read probe (-121)
[ 4.784418] veye327 33-003b: board setup failed
[ 4.784511] veye327: probe of 33-003b failed with error -121
[ 4.784545] veye327 34-003b: probing v4l2 sensor
[ 4.784658] veye327 34-003b: devm_clk_get failed for pllp_grtba
[ 4.784739] veye327 34-003b: tegracam sensor driver:veye327_v2.0.6
[ 4.818131] veye327 34-003b: veye327_board_setup: error during i2c read probe (-121)
[ 4.822306] veye327 34-003b: board setup failed
[ 4.822383] veye327: probe of 34-003b failed with error -121
[ 4.822458] veye327 35-003b: probing v4l2 sensor
[ 4.822640] veye327 35-003b: tegracam sensor driver:veye327_v2.0.6
[ 4.838064] veye327 35-003b: veye327_board_setup: error during i2c read probe (-121)
[ 4.838069] veye327 35-003b: board setup failed
[ 4.838168] veye327: probe of 35-003b failed with error -121
[ 9.414327] tegra194-vi5 15c10000.vi: subdev veye327 30-003b bound -
@veye_xumm 但是驱动都已经显示装上了呀
agx@agx-desktop:~$ ls /proc/device-tree/i2c@3180000/tca9548@70/i2c@*
/proc/device-tree/i2c@3180000/tca9548@70/i2c@0:
'#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_a@3b/proc/device-tree/i2c@3180000/tca9548@70/i2c@1:
'#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_b@3b/proc/device-tree/i2c@3180000/tca9548@70/i2c@2:
'#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_c@3b/proc/device-tree/i2c@3180000/tca9548@70/i2c@3:
'#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_d@3b/proc/device-tree/i2c@3180000/tca9548@70/i2c@4:
'#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_e@3b/proc/device-tree/i2c@3180000/tca9548@70/i2c@5:
'#address-cells' name '#size-cells' veye327_g@3b
i2c-mux,deselect-on-exit reg veye327_f@3b
agx@agx-desktop:~$ ls /sys/bus/i2c/drivers/
bq27xxx-battery imx390 max9295 'PEX9749 thermal sensor' tps65132
cs53l30 imx477 max9296 rt5640 ucsi_ccg
cssc132 ina219x nct1008_nct72 rt5659 usb3503
csx307 ina230x ov10823 rtc-rx8025 veye327
dummy ina3221x ov23850 sgtl5000 veyecam
i2c-ds90ub954 lc898212 ov9281 stepper_pca
imx219 lp855x pca953x tas2552
imx268 lt6911uxc pca954x tegra_edid
imx318 max77620 pca9570 tmpm32xi2c -
@veye_xumm 但是,虽然报错。
使用命令:gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvoverlaysink sync=false相机是能够工作的...
-
@wudecao
这个不能算是错误,因为你并没有插入6个摄像头。所以会提示有的摄像头检测到,有的检测不到。