I have Radxa cm3 io and I want use opengl for QtQuick Project.
But I can’t build qt source because I don’t know where is opengl directories?
And how to use --platform eglfs for run app smoothly.
Can anyone guide me?
OS: UBUNTU 20.04 or what you prefer to fix this!
Qt ver: 5.15.2 (LTS)
Hello Mr.@RadxaYuntian, it seems that after the period of time you mentioned Mr.@Nasca and no response has been received from him, could you introduce someone who can help me install and deploy my Qt Quick application on this board using a different operating system?
@RadxaYuntian, @Nasca Which are images of Armbian those compatible with Radxa cm3 io?
And does Manjaro OS support qt quick?
And after installed, do I have to install kernel or other system apps?
And what about android?
Please answer each of my request!
Thx.
To modify the debug serial port bound to fiq_debugger to a regular serial port, follow these steps:
1,Remove the relevant fiq_debugger definitions in the kernel directory:
— a/arch/arm64/boot/dts/rockchip/rk3568-android.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3568-android.dtsi
@@ -6,7 +6,7 @@
/ {
chosen: chosen {
- bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0";
+ bootargs = "";
};
aliases {
@@ -26,7 +26,7 @@
interrupts = <GIC_SPI 252 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&uart2m0_xfer>;
- status = "okay";
+ status = "disabled";
};
2,Enable the configuration for uart2 in the DTS (Device Tree Source) file in the kernel directory:
--- a/arch/arm64/boot/dts/rockchip/rk3566-rock-compute-module-3.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-rock-compute-module-3.dtsi
@@ -643,6 +643,12 @@
pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
};
+&uart2 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2m0_xfer>;
+};
3,Remove the following configuration from the kernel configuration file
CONFIG_SERIAL_8250_CONSOLE
OK, thx @liuxian the android image is on this page and download file.
Well, considering that I don’t have access to the file 6.boot.img, how should I make these modifications in the .dtsi files?
Or after installed android then access to root is in your opinion!
This is for linux after installed. How about android?
And how to check my Pin8, Pin10 as port serial (UART)? (like command line)
Please answer each of my request!
You can download the android source code at the following address for modification
Branch: Android11_Radxa_rk11.1
Android root permission acquisition is documented in the source code:
RKDocs\android\patches\root
The uart port can be viewed through the adb command of android or related serial port app
Thx @liuxian, do you have a simple qt source code for connect to uart for android? or guide me?
Because I am newbie to android!
So after I installed official Android image cm3, I have serial console notification, is it ok?!
Is it necessary to access by manifest file to connect to the serial port on pins 8 and 10(uart) in the Android application?!
For reading and writing on uart in Android likes Ubuntu (as programming)?!
The serial console notification is because it is still a debug, and the source code needs to be modified to be used as a normal serial port.
Android serial port access is the same as ubuntu.
Want to use opengles in QT?
Have you tried to use QT->SDL2->opengles in the linux system?
I have seen a small part of the source code of SDL2 before, and it seems to support opengles.
So much thanks @liuxian yes I want to use opengl in qt, but in Linux (Ubuntu), I can’t compile and configure qt source code when enable opengl, and forth post of this page is said not supporting opengl yet!!
*** I came to Android because I could use graphics card (Mali) for my application, not just CPU, because of the same problem I told you about Linux.
You mean that because Android is now in debug mode, I can’t use uart from those two pins??
In this mode, it means debug, the applications don’t run quickly, because it’s not in release!?
I have to build the Android image again ?! (Do you have tutorial to build Android image)
If I connect a USB to serial cable to the USB of this board, I can read and write or do I have to root?
I would appreciate it if you could answer my questions, because I am new to Android and I appreciate your patience.
The androd uart is currently in debug mode. In this mode, the system will output related startup logs from pin6, pin8, and pin10. Of course, you can also input debugging commands through the serial port.
To use the regular serial port function, you need to modify the android source code and rebuild the android image (https://github.com/radxa/manifests explains how to build and compile the environment)
USB to serial port cable, we usually connect the USB port to the PC, and the serial port to pin6, pin8, pin10
Hi @liuxian I tried to make android and download very slowly with over 100 Gb but I can’t build it.
Can you build this for download
I have not any option
If not working I have to sell these boards unfortunately!