Hi,
It is not fully correct. I mean you need to use sdkmanger to download files. Then you don’t need to change anything else anymore… just put the board into RCM and start the flash.
the flash command is :
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device mmcblk1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 p3509-a02+p3767-0000 internal
Default SDKM will use jetson-orin-nano-devkit to flash, which won’t enable HDMI, so that is why you need to run command manually.
Just in case there is anything wrong. Let me put the document over here as the command are on it.
https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/text/IN/QuickStart.html
This is the first time flashing the Nano from the Xavier board. We used the exact command given above by you. We are still trying to figure out what is going on here.
When we were flashing before, we hadn’t seen this error:
blockdev: cannot open /dev/sdc: No medium found
or
Error: Error opening /dev/sdb: No medium found
We did not modify ANYTHING after downloading everything with the SDKManager. Any ideas here?
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
Run command: if [ -f /qspi/l4t_flash_from_kernel.sh ]; then USER=root /qspi/l4t_flash_from_kernel.sh --no-reboot --qspi-only ; fi on root@fe80::1%usb0
blockdev: cannot open /dev/sdc: No medium found
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /home/parallels/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/internal/flash.idx
Number of lines is 75
max_index=74
SSH ready
blockdev: cannot open /dev/mmcblk0boot0: No such file or directory
Flash index file is /qspi/internal/flash.idx
Number of lines is 75
max_index=74
[ 0]: l4t_flash_from_kernel: Starting to flash to qspi
QSPI storage size: 67108864 bytes.
writing item=59, 6:0:primary_gpt, 512, 19968, gpt_primary_6_0.bin, 16896, fixed-<reserved>-0, cb8f482e1a16dc596b84d34019f8e4be58a2ab3d
Error: Error opening /dev/sdb: No medium found
Erased 67108864 bytes from address 0x00000000 in flash
Flash index file is /qspi/internal/flash.idx
Number of lines is 75
max_index=74
Writing br_bct_BR.bct (parittion: BCT) into /dev/mtd0
Sha1 checksum matched for /qspi/internal/br_bct_BR.bct
Writing /qspi/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:0
Copied 8192 bytes from /qspi/internal/br_bct_BR.bct to address 0x00000000 in flash
[ 180]: l4t_flash_from_kernel: QSPI erase block size is 65536
[ 180]: l4t_flash_from_kernel: Writing 16 copies of /qspi/internal/br_bct_BR.bct
Writing /qspi/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:65536
Writing /qspi/internal/qspi_bootblob_ver.txt (109 bytes) into /dev/mtd0:66977792
Copied 109 bytes from /qspi/internal/qspi_bootblob_ver.txt to address 0x03fe0000 in flash
Writing gpt_secondary_3_0.bin (parittion: secondary_gpt) into /dev/mtd0
Sha1 checksum matched for /qspi/internal/gpt_secondary_3_0.bin
Writing /qspi/internal/gpt_secondary_3_0.bin (16896 bytes) into /dev/mtd0:67091968
Copied 16896 bytes from /qspi/internal/gpt_secondary_3_0.bin to address 0x03ffbe00 in flash
[ 219]: l4t_flash_from_kernel: Successfully flash the qspi
[ 219]: l4t_flash_from_kernel: Flashing success
Error flashing non-qspi storage
Cleaning up...
please always attach the whole log into a editor, save it and attach that full log here.
Also, dump the serial console log at the same time. Serial console log is device side log while above log is host side log.
We need logs from both sides so that we can know what happened.
BTW, flash failure is okay and common. No need to panic.
Are you still trying to boot from sdcard or you change another medium?
We are still using SD card.
Attaching both logs
Serial Output
OrinTTYAttemp01.txt (93.8 KB)
Host output:
OrinFlashAttempt01.txt (306.6 KB)
Hi,
There is one stupid mistake here that might be caused by me.
The forum system will make quotation marks format wrong… and this leads to wrong behavior if you directly copy…
Please check the fullwidth/halfwidth for the quotation marks…
Cannot believe we’ve been hit by the quotes again and I didn’t think to check either, as this has happened to me before.
Also, we had to switch -showlogs to --showlogs and then it worked! We are able to output on HDMI on XavierNX carrier with Orin Nano installed.
So on to the next step. Since we need to build the kernel so we can enable some additional drivers (tc358743) and to put a USB patch from DaveYYY
(Debugging BCCPLEXWDT reset source - #32 by bsirang1)
1 Like
Also note, we so A LOT of these messages in the console:
tegra186.c:937 tegra186_gpio_irq+0x1ac/0x1f0
[ 33.106670] ---[ end trace b66837e57985297c ]---
[ 33.111427] WARNING: CPU: 0 PID: 0 at drivers/gpio/gpio-
1 Like
It is a known issue. Not yet got fixed.
Did you have any comments for us as we now want to transition to building our kernel, what the best path to take would be with the Xavier custom carrier.
Actually it depends on what change is needed. I would suggest you can file a new topic for it.
I will start a new topic for additional questions, thanks