I am working over the Orin NX module + Orin Nano carrier board. I flashed the Jetpack 6 succesfully using the sdkmanager. Now I am trying to flash my own kernel and dts using l4t_initrd_flash script, but it fails.
Below you can find the last logs showed before flash failure:
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for device to expose ssh …RTNETLINK answers: File exists
RTNETLINK answers: File exists
Waiting for device to expose ssh …Run command: flash on fc00:1:1:0::2
SSH ready
blockdev: cannot open /dev/mmcblk3boot0: No such file or directory
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 79
max_index=78
writing item=62, 6:0:primary_gpt, 512, 19968, gpt_primary_6_0.bin, 16896, fixed--0, 1b6086b41ef3bf9e54dc6a3b5756680e610fdbfa
Error: Could not stat device /dev/mmcblk3 - No such file or directory.
Flash failure
Cleaning up…
Using Jetpack 5.1.2 I did not have this problem, the module was flashed correctly.
Any idea of what the problem might be o which way to go?
Did you also remember to install kernel modules after compiling the new kernel?
Anyway, please dump the serial console log during flashing as indicated in:
[2024-01-22_14:17:29:301]modprobe: ERROR: could not insert ‘tegra_mce’: Exec format error
[2024-01-22_14:17:29:320]9968] spi_tegra210_quad: disagrees about version of symbol module_layout
I don’t believe you are doing it right.
Please also check this post:
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Timeout
Cleaning up...
OK, so now you are not getting error loading those drivers/modules.
That’s good.
Do you have any USB 2.0 devices connected to the board while flashing? Anything like a mouse or a keyboard. There’s currently a bug in 36.2 that USB devices are not enumerated correctly, which affects the flashing cable.
Then please make sure there is one.
Also, are you sure it’s the complete serial console log?
I don’t think it will timeout after only 3 seconds into the kernel.