Hi there,
I had encounter the problem to update the kernel image on the DRIVE P2 platform by using the bootburn.sh. The process had been executed without any error. But the new kernel wasn’t take effected after the operation. Here is updating log,
For verification the kernel update, I had using the menuconfig to enable CONFIG_LOCALVERSION with debug information. And confirming that the debug information wasn’t effected after update the new kernel.
Can you help to let me know if I had missing some procedure which had been required for the kernel updating? Thanks!
The following URL had been referenced for the kernel updating.
https://docs.nvidia.com/drive/active/5.0.10.3L/nvvib_docs/index.html#page/NVIDIA%2520DRIVE%2520Linux%2520SDK%2520Development%2520Guide%2FFlashing%2Fflashing_lnx.html%23wwpID0E06C0HA
drivepx@liteon-ThinkPad-T480:~/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK$ cd drive-t186ref-foundation/tools/host/flashtools/bootburn
drivepx@liteon-ThinkPad-T480:~/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn$ ./bootburn.sh -b p2379c01-t186a -u kernel -x /dev/ttyUSB1
Successfully acquired lock over /var/lock/LCK…bootburn_seq
Successfully acquired lock over /var/lock/LCK…ttyUSB1
Disabling SIGINT <Ctrl+C> temporarily
Setting Tegra-A on hold…/dev/ttyUSB1:
Done
Setting Tegra-B on hold…/dev/ttyUSB1:
Done
Setting Tegra-A in recovery… /dev/ttyUSB1:
/dev/ttyUSB1:
Done
Setting Tegra-B in recovery… /dev/ttyUSB1:
/dev/ttyUSB1:
Done
Enabling SIGINT <Ctrl+C>
Target BR_CID: 0x81801001642d98421c00000013048480
Target ECID: 0x1642d98421c00000013048480
AdbSerialNum : 130484801c000000642d
Detected prod device type
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/mb1//mb1_recovery_prod.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/rcm-flash/mb1_recovery.bin’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/mb1//mb1_prod.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/rcm-flash/mb1.bin’
Sending MB1
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/mts/mce_mts_d15_prod_cr.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/rcm-flash/mts-bootpack.bin’
############## Host machine info ##############
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
Linux liteon-ThinkPad-T480 5.11.0-44-generic #48~20.04.2-Ubuntu SMP Tue Dec 14 15:36:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Target ChipId 0x18 ChipVersion 0x02
###############################################
############## Using Binaries ###############
###############################################
QB: /home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/firmwares/bin/t186/qb_cpu.bin
QB DTB: /home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/firmwares/bin/t186/t186-vcm31t186.dtb
BPMP DTB:/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/platform-config/bpmp_dt/t186/tegra186-a02-bpmp-vcm31-p2379a-000-c00-00-hv.dtb
RCM_Flashing DTB:/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/flash/t18x/rcmkernel/tegra186-vcm31-p2379-flashing-base.dtb
RCM_Flashing Cfg:/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/flash/t18x/quickboot_flashing.cfg
Config file:/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/out/p2379c01-t186a/global_storage.cfg
HyperVisorImage:/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/out/p2379c01-t186a
Generated Image Path: /home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S
SDRAM Config: /home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//platform-config/bct/t186/sdram/E2379_C01_8GB_TA_Samsung_8GB_lpddr4_204MHz_A02.cfg
ADB tool: /home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//tools/host/flashtools/flash/adb
devOTAFlashOptions file: p2379c01-t186a_4QOfBfWu0G_flashOptions.txt
###############################################
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//tools/host/flashtools/flash/t18x/rcmkernel/tegra186-vcm31-p2379-flashing-base.dtb’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/rcm-flash/linux.dtb’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//tools/host/flashtools/flash/t18x/rcmfirmware/tegra186-a02-bpmp-vcm31-p2379a-000-c00-00.dtb’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/rcm-flash/bpmp.dtb’
Generating BCT Files
Generating BR_BCT File
Preserving SkuInfo from Target
Generating MB1_BCT File
Generating Flashing-RCM Images
Sending bct and prerequisite binaries
Sending Blob for RCM blob to target
Applet version 01.00.0000
Sending blob
[…] 100%
Flashing-boot started
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/mb1//mb1_recovery_prod.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/mb1_recovery.bin’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/mb1//mb1_prod.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/mb1.bin’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/mts/mce_mts_d15_prod_cr.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/mts-bootpack.bin’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186//qb_cpu.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/qb_cpu.bin’
Appending Qb DTB to Qb binary
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/nvtboot.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/nvtboot.bin’
Generating BR_BCT File
Generating MB1_BCT File
Generating Flash Images, this may take a few minutes
1+0 records in
1+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 4.3869e-05 s, 93.4 MB/s
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/warmboot/warmboot_prod.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/warmboot.bin’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//…/drive-t186ref-linux/kernel/tegra186-vcm31-p2379-0000-c01-00-base-a-safety.dtb’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/linux.dtb’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//platform-config/bpmp_dt/t186/tegra186-a02-bpmp-vcm31-p2379a-000-c00-00-hv.dtb’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/bpmp.dtb’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/camera-rtcpu-ape.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/adsp-fw.bin’
‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/…/…/…/…//firmwares/bin/t186/sce-fw.bin’ → ‘/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/_temp_dump_Z5bSqUiZ8S/flash-images/sce-fw.bin’
Flashing-Images started
Waiting for USB device. This may take up to 100 seconds…
Android Debug Bridge version 1.0.36
Revision -android
Platform version 7.0
supports 262144 Bytes MAX_PAYLOAD
This build is for NVIDIA embedded bootburn
Build time : May 16 2017 01:26:13
-
daemon not running. starting it now on port 5037 *
-
daemon started successfully *
Waiting for device : 130484801c000000642d to be online…
Flashing for Partition kernel (Size: 3832928 bytes, Time: 23.265 seconds)
Press Reset button to Reboot the target
Bootburn Time 37.584 seconds
Adb Shell Time 23.070 seconds
Process tail (15227) still running. Trying to kill after 5 seconds
/home/drivepx/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/bootburn_lib.sh: line 92: 15227 Killed tail -f ${s_FlashLogFiles[@]}
Re-setting Tegra-A… /dev/ttyUSB1:
/dev/ttyUSB1:
Done
Re-setting Tegra-B… /dev/ttyUSB1:
/dev/ttyUSB1:
Done
Bootburn operation successful