- Posts: 78
- Thank you received: 17
Can the OPI5 be Configured to Run LCNC?
- Guglielmi
- Offline
- Senior Member
-
Less
More
3 years 5 months ago - 3 years 5 months ago #271373
by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
Last edit: 3 years 5 months ago by Guglielmi.
The following user(s) said Thank You: royka
Please Log in or Create an account to join the conversation.
- Guglielmi
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 17
3 years 5 months ago #271423
by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
I checked and now the serial works perfectly !!
I'm now designing the interface board and finally I will test on CNC.
Last question: I can work with ttyS0 or ttyS1 so in principle I'm fine.. but.. there is a potential debug UART on OPI5 (3 pins separated and close to GPIOs).. why I can't do the same as other UARTs? In the repo you posted above, I can't find dts for this port, in the manual is reported as ttyUSB0, I found some info in the web and based on them, it seems to be ttyS2.
Should I disable the console and then maybe I can access to it? (how?)
If it's an effort, I can deal with ttyS0, but using the debug port I can have 2 additional GPIOs for general purpose functions.. at the moment I don't need but designing the hardware interface I prefer to have the max flexibility.
I'm now designing the interface board and finally I will test on CNC.
Last question: I can work with ttyS0 or ttyS1 so in principle I'm fine.. but.. there is a potential debug UART on OPI5 (3 pins separated and close to GPIOs).. why I can't do the same as other UARTs? In the repo you posted above, I can't find dts for this port, in the manual is reported as ttyUSB0, I found some info in the web and based on them, it seems to be ttyS2.
Should I disable the console and then maybe I can access to it? (how?)
If it's an effort, I can deal with ttyS0, but using the debug port I can have 2 additional GPIOs for general purpose functions.. at the moment I don't need but designing the hardware interface I prefer to have the max flexibility.
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
3 years 5 months ago #271427
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Nice!
To disable the serial console I think adding the following line to armbianEnv.txt should work:
console=display
There is no overlay file for it needed I guess because it's enabled by default in the dtb.
To disable the serial console I think adding the following line to armbianEnv.txt should work:
console=display
Code:
echo "console=display" | sudo tee -a /boot/armbianEnv.txt
There is no overlay file for it needed I guess because it's enabled by default in the dtb.
The following user(s) said Thank You: Guglielmi
Please Log in or Create an account to join the conversation.
- Guglielmi
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 17
3 years 5 months ago #271429
by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
3 years 5 months ago #271430
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
I see it's already in use in:
github.com/armbian/linux-rockchip/blob/r...ip/rk3588-linux.dtsi
When I enable this overlay I can see ttyS2, could you test this one?
github.com/armbian/linux-rockchip/blob/r...ip/rk3588-linux.dtsi
When I enable this overlay I can see ttyS2, could you test this one?
Please Log in or Create an account to join the conversation.
- Guglielmi
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 17
3 years 5 months ago #271463
by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
I placed the file into /boot/dtb/rockchip/overlay/ folder, as others files and if I add uart2 in the overlay command into
ArmbianEnv.txt file, it doesn't boot.. doesn't startup.
I tried to add the file and remove the uart2 name in the ArmbianEnv.txt file and the serial is not existing..
What I did wrong?
The file it seems in the folder above in the repo, should I place it in /boot/dtb/rockchip/ folder?
ArmbianEnv.txt file, it doesn't boot.. doesn't startup.
I tried to add the file and remove the uart2 name in the ArmbianEnv.txt file and the serial is not existing..
What I did wrong?
The file it seems in the folder above in the repo, should I place it in /boot/dtb/rockchip/ folder?
Please Log in or Create an account to join the conversation.
Time to create page: 0.147 seconds