Trying to update my camera driver for IMX477 the same way I did in previous Jetpack releases. I have used this instruktion to update the driver and dtb
Ok, this comment is more clear than your first post.
āsudo apt-get upgradeā from sdkm by default will re-install the default BSP again. Such BSP does not know you are using the NVMe. So currently your dtb is probably from the eMMC again.
I donāt know which kind of board you are using. This is a more complicated situation.
If your module is sdcard based, then the default setting will be from sdcard
However, after jeppack4.6, the nvme has higher boot priority than emmc/sdcard, thus, it also has chance to be boot from NVMe.
It is not possible for me to tell the precise boot location of your board now. That is why I asked you to dump the uart log and it will tell us what is going on. Without log, what we are doing is just guessing and guessing. No one can really know what happened to your board.
I have built a kernel image and dtb file with no changes to the source from Jetpack4.6
When I update the kernel image by running, the system is still working fine
sudo apt-get install --reinstall ./nvidia-l4t-kernel_4.9.253-tegra-32.6.1-20210726122859_arm64.de
When I try to update the dtb file by running, the problems start.
sudo apt-get install --reinstall ./nvidia-l4t-kernel-dtbs_4.9.253-tegra-32.6.1-20210726122859_arm64.deb
To revert back to a working configuration, I run this on-target
sudo apt-get upgrade
Attatched you see the bootlog bootlog.txt (36.9 KB)
What are you trying to do exactly? I have no idea why you are building a deb file.
If you are a vendor who needs to distributes your own deb file to your customers, then you can try to make a deb file.
However, if you are just trying to update the kernel and deb for yourself, then making a deb file is overkill. There is no need to that.
Just put the Image to /boot/Image and dtb to /boot/dtb and modify the āFDTā inside your extlinux.conf and it will use the updated image and dtb.
The problem here is āapt-get upgradeā is causing your setting gone. Thus, you can just remove the NVIDIA related sources from the apt source list and āapt-get upgradeā wonāt affect your boot process anymore.
The reason for buildling deb files is that the updated camera driver will be deployed on multiple units, and I thought it would be simpler. I have tried the manual copying ot the Image and dtb file, with the same result.
The log file, and the problem description is prior to running the āapt-get upgradeā, so itās not really a part of the equation. I just described the āround-tripā solution of getting in and out of the āproblemā.
Should the dtb file be located in /boot or /boot/dtb ?
WIth the setup I have, with direct boot from NVMe, do I need to flash the dtb file as well?
Should the FDT reference be in the primary, or JetsonIO section of the extlinux.conf file?
I am not sure if you really understand how to share correct info. Your comment is not clear enough for other people to understand
Let me point out it firstā¦
since as soon as I have updated the dtb file, JetsonIO fails to run.
How did you update the dtb here? And why do you mention ājetson IOā? Are you trying to say you select the boot option in the uart console and let it boot from jetson IO option?
It just blinks and exit
What blinks and exit? I totally have no idea about what could exit here.
Please provide the log that matches to your scenario. Currently, the log you shared does not use jetson IO at all.