I am new to the Orin and have been having a lot of trouble resolving an issue of connecting a Cyglidar D1 via UART to USB adapter to my Jetson Orin Nano 8GB Developer Kit with Jetpack 6.0 and release 36.3. It is not creating a ttyUSB0 or any new tty when I plug in the Cyglidar (which I know is on because the light works). But when I type lsusb it outputs “Bus 001 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P” but when I check the config.gz file for PL2303 with the line “sudo zcat /proc/config.gz | grep PL2303” it outputs: “# CONFIG_USB_SERIAL_PL2303 is not set”
I read in a separate post that you need to rebuild the kernel to include pl2303. As a beginner, I was lost in the instructions and was wondering if someone could give a more detailed process of modifying the kernel and rebuilding it.
No, three is no /dev/ttyUSB* after I plug in the USB cable.
I tried to follow those instructions previously, but after attempting the line “./source_sync.sh -k -t ” while in /Linux_for_Tegra/source it resulted with bash: ./source_sync.sh: No such file or directory.
I then tried manual download and expand the kernel sources which worked.
I then did Building the Jetson Linux Kernel, but when I got to step 3. I used the these instructions to get my toolchain-path then typed “make -C kernel” and it output this:
Yes, you should download the source → modify kernel config(in defconfig) → compile kernel image → update kernel image in BSP package → flash the board to apply the change.
All above steps should be done on host PC.
From here, is it possible to only flash the kernel image or do I need to completely flash the whole Orin Nano? What would those steps be if it is possible?
Unfortunately, I am still having issues with the process so here are the exact steps that I have taken and maybe you can help point out what I have done wrong:
On my host Linux PC running Ubuntu 20.04, I followed steps 1 and 2 (Including downloading “Driver PAckage (BSP)” and “Sample Root Filesystem” from Drivers section here).
I went here to follow the exact setup of the toolchain (Including downloading the Bootlin Toolchain gcc 11.3 from here)
I then went to follow these steps (Including syncing the kernel sources with Git, which I used the Linux_for_Tegra directory created from the previous guide). Before building the Jetson Linux Kernel I went to the defconfig file in ~/Linux_for_Tegra/source/kernel/kernel-for-jammy-src/arch/arm64/configs and added the line “CONFIG_USB_SERIAL_PL2303=y” and saved it. I then continued the rest of the instructions for building the Jetson Linux Kernel and In-Tree Modules.
Following the completion of this, I went back to this instruction and made sure my NVIDIA Jetson Orin Nano was already configured with Jetpack 6.0 (Rev 1.0) 36.3, and put it in force recovery mode correctly and connected it with a proper USB A to USB C cable and using a 128 GB SD Card. I then followed the rest of the instructions, but when I tried this line:
It output with the following:
*** no-flash flag enabled. Exiting now… ***
User can run above saved command in factory environment without
providing pkc and sbk keys to flash a device
Example:
$ cd bootloader
$ sudo bash ./flashcmd.txt
Save initrd flashing command parameters to /home/ubunty/Linux_for_Tegra/tools/kernel_flash/initrdflashparam.txt
/tmp/tmp.gKipr0Atv8 /home/ubunty/Linux_for_Tegra
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
/tmp/tmp.gKipr0Atv8/initrd /tmp/tmp.gKipr0Atv8 /home/ubunty/Linux_for_Tegra
84298 blocks
cp: cannot stat ‘/home/ubunty/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-rt-tegra/updates/drivers/spi’: No such file or directory
Cleaning up…
I gave all of the exact steps in the previous reply by following the instructions of each link exactly and downloading the files mentioned. Let me know if there are any parts that need more detail.
I am unaware of RT patches? What is the process for setting that up and what does it do?