Hi,
This is my environment:
Hardware: Jetson Orin NX 8GB SOM + customized carried board
Software: JetPack 5.1.1 L4T 35.3.1
I flash the hole system use this command and works ok:
Now I want to flash individual partition, such as kernel-dtb or kernel module.
I use this command: (reference to README_initrd_flash.txt:Workflow 9: Flash inidividual partition)
If I recall correctly flashing to an externel NVMe drive is somewhat limited by the available tools (this is a recent feature in the BSP). I know that flash.sh can handle flashing just the kernel image or kernel device tree (without the need of rebuilding whole file system image) using the integrated eMMC but I am not sure about an external storage drive use case. Still you could try taking a look at this documentation: Flashing Support — Jetson Linux Developer Guide documentation
Hi, jchaves,
Thank for you reply, but I didn’t find effective way to flash kernel-dtb individually in the link you provide.
Reference to this link, flash.sh cannot flash data to external devices.
My environment is :Jetson Orin NX 8GB SOM + customized carried board.
And I flash kernel+ rootfs to the NVME device ,which attach on the carried board .
Can u give me some useful command how to update kernel-dtb to NVME device with l4t_initrd_flash.sh?
Hi, DavenLLL,
Unfortunately, I find a pity solution :
Can you give any suggetion how to use dd to update kernel-dtb?
Because it means I will waste a lot of time to debug my kernel driver if we don’t have a convenient method.
In newer releases of L4T, kernel dtb is loaded from rootfs by default, and there is no need to flash the kernel-dtb partition. You can just replace the file indicated by the FDT entry in /boot/ext/extlinux.conf.
But I have another question, which was mentioned in the title at the beginning.
How to update kernel module and flash it?
I have search in the forums, and this is my method:
So the same custom board works fine with your monitor if there is no change applied to the kernel code?
Can you share the hardware design of your carrier board, and what changes you make in device trees?
Maybe also dmesg logs after the device boots into black screen.
My kernel didn’t change anything ,just add a symbol.
+++ b/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0001-p3509-a02.dts
@@ -21,5 +21,5 @@
nvidia,dtsfilename = __FILE__;
nvidia,dtbbuildtime = __DATE__, __TIME__;
compatible = "nvidia,p3509-0000+p3767-0001", "nvidia,p3767-0001", "nvidia,tegra234", "nvidia,tegra23x";
- model = "NVIDIA Orin NX Developer Kit";
+ model = "NVIDIA Orin NX Developer Kit Seavo";
};
After careful check ,
I find only when starting for the first time after flashing,
will happened the HDMI not display.
And reboot the system,HDMI can display normal.
This is the log: dmesg.log (60.6 KB) Xorg.0.log (12.5 KB)
Actually, yes,
But I want to check why the first time boot HDMI cannnot display,
the default sdk do not have this problem.
can you help me do some analysis?
It’s strange that the logo only appears for 1 or 2 seconds and then display the GUI desktop. So it means in the UEFI and kernel, it stayed all black.
The same goes for the default SDK.