You have to refer to the document I shared to sync kernel source and build kernel image on an Ubuntu host PC.
After that, you can either replace the /boot/Image on your board or reflash the board to apply the change.
To update DTB, you can also replace /boot/dtb/xxxx.dtb.
I’m not sure what’s the exact DTB used in your case.
You can find it from full flash log, please share it as file here for further check.
Please just refer to the steps in the document to build kernel Image.
After replacing the /boot/Image, please reboot the board to check if you can boot up the board.
You may also run uname -v to check its build time.
Hello, could you please take a look at the nvidia you provided,pmc-wakeup = <&tegra_pmc PMC_WAKE_TYPE_EVENT 43 PMC_TRIGGER_TYPE_LOW>; Is there a problem with this? The &tegra_pmc reference was unsuccessful, resulting in the decompilation failure
Hello. I’m very sorry. I misunderstood your meaning before. After adding nvidia, pmc-wakeup = <&tegra_pmc PMC_WAKE_TYPE_EVENT 43 PMC_TRIGGER_TYPE_LOW> in the source code, As for whether it is necessary to recompile and generate the device tree file, my current understanding is that it is necessary to first modify the source code, then rebuild the kernel, and after the construction is completed, flash the machine
Hello, tegra_pmc:pmc@360000 exists, Since I added pmc-wakeup = <&tegra_pmc PMC_WAKE_TYPE_EVENT 43 PMC_TRIGGER_TYPE_LOW> directly in the device tree file at the beginning, which led to the decompilation failure, it was not added in the source code file. Currently, I would like to consult you about the following question:
Could you compile device tree successful after you change its order in device tree?
If not, please share the full device tree file with me to check if it could be compiled.
Hello, I’m currently rebuilding the kernel using Jetpack 4.6.4. I added “nvidia,pmc-wakeup = ;” to the file /home/yahboom/Linux_for_Tegra/source/public/hardware/nvidia/soc/t19x/kernel-dts/tegra194-soc/tegra194-soc-can.dtsi. During the compilation process, an error occurred: Error: ./.. /.. There is a syntax error at line 40, characters 50-51 in /hardware/nvidia/soc/t19x/kernel-dts/tegra194-soc/tegra194-soc-can.dtsi. FATAL ERROR: Unable to parse input tree
arch/arm64/boot/dts/Makefile:120: recipe for target ‘arch/arm64/boot/dts/ddot/ddot/ddot/ddot/ddot/ddot/hardware/nvidia/platform/t19x/galen-industrial/kernel-dts/tegra194-p2888-0008-e3366-1199.dtb’ failed
make[1]: *** [arch/arm64/boot/dts/ddot/ddot/ddot/ddot/ddot/ddot/hardware/nvidia/platform/t19x/galen-industrial/kernel-dts/tegra194-p2888-0008-e3366-1199.dtb] Error 1
arch/arm64/Makefile:154: recipe for target ‘dtbs’ failed
make: *** [dtbs] Error 2
make: *** Waiting for unfinished jobs… 。 I’m not sure which ones belong to the source code of the device tree files. The installation package I downloaded from the official website is shown in the picture.
Hello, I still can’t determine the exact location for adding “nvidia,pmc-wakeup = <&tegra_pmc PMC_WAKE_TYPE_EVENT 43 PMC_TRIGGER_TYPE_LOW>;”. According to your request, I added the above content in the /home/nvidia/Linux_for_Tegra/source/public/hardware/nvidia/soc/t18x/kernel-dts/tegra186-soc/tegra186-soc-base.dtsi file. However, an error occurred as shown in the figure.
I think there may have been a slight misunderstanding. Let me try to clarify.
Could you please add the following line to the mttcan node in tegra186-soc-base.dtsi.txt?
The file should contain the tegra_pmc node.