When I debug the driver, And I try to printk the driver name, a access null pointer error appeared。
Then I correct the error, use the following command to flash a new kernel:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
--showlogs --network usb0 jetson-orin-nano-devkit internal
I know the kernel cannot enter rootfs, so the process of flashing stop.
SO, How can I resume(flash) the jetson kernel?
I solved the this problem, when you are boot , pressed ESC:
select: Device Manager->NVIDIA Configuration->L4T Configuration->L4T Boot Mode
Default is “Extlinux”,Then change it to Kernel Partition.
This will boot kernel frome device not rootfs file(/boot/Image)。
Then,Flash the kernel only:
sudo ./flash.sh -r -k A_kernel jetson-orin-nano-devkit-nvme internal
sudo ./flash.sh -r -k B_kernel jetson-orin-nano-devkit-nvme internal
it will boot from the partition which you flashed just now.
1 Like
system
Closed
September 26, 2024, 10:00am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.