betaflight / betaflight-configurator

Cross platform configuration tool for the Betaflight firmware
GNU General Public License v3.0
2.56k stars 905 forks source link

Rockchip RK3588S new-gen 8-core 64-bit Ubuntu 20.04 How to compile and use https://app.betaflight.com ​ Can't connect. #4247

Open jiaozhuliu opened 3 days ago

jiaozhuliu commented 3 days ago

Describe the bug

Rockchip RK3588S new-gen 8-core 64-bit Ubuntu 20.04 How to compile and use https://app.betaflight.com ​ Can't connect. IMG_20241112_012013

To Reproduce

Rockchip RK3588S new-gen 8-core 64-bit Ubuntu 20.04 How to compile and use https://app.betaflight.com ​ Can't connect.

Expected behavior

Rockchip RK3588S new-gen 8-core 64-bit Ubuntu 20.04 How to compile and use https://app.betaflight.com ​ Can't connect.

Configurator version

Rockchip RK3588S new-gen 8-core 64-bit Ubuntu 20.04 How to compile and use https://app.betaflight.com ​ Can't connect.

Flight controller configuration

No response

Add any other context about the problem that you think might be relevant here

No response

haslinghuis commented 3 days ago

No need to compile online configurator. Chromium based browser will provide an offline option.

For connection issues see https://betaflight.com/docs/development/building/Building-in-Ubuntu#flashing-a-target-with-betaflight-configurator

jiaozhuliu commented 2 days ago

It still can't be connected after installation. rga: request[1] submit failed! [ 12.112110] usb 2-1.3: new full-speed USB device number 3 using ehci-platform [ 12.211694] usb 2-1.3: New USB device found, idVendor=0483, idProduct=5740, b cdDevice= 2.00 [ 12.211716] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber =3 [ 12.211725] usb 2-1.3: Product: Betaflight STM32F7x2 [ 12.211733] usb 2-1.3: Manufacturer: Betaflight [ 12.211742] usb 2-1.3: SerialNumber: 364B38683432 [ 12.213289] cdc_acm 2-1.3:1.0: ttyACM0: USB ACM device

haslinghuis commented 1 day ago

Default chromium installation uses snap builds which are sand boxed for added security.

Remove that one and try instead:

sudo add-apt-repository ppa:xtradeb/apps -y
sudo apt update
sudo apt install chromium
jiaozhuliu commented 1 day ago

ttyACM0 No data cat@lubancat:~$ sudo cat /dev/ttyACM0

^Z [1]+ Stopped sudo cat /dev/ttyACM0 cat@lubancat:~$ sudo cat /dev/ttyS0 [ 199.679957] of_dma_request_slave_channel: dma-names property of node '/serial@fd890000' missing or empty ▒XQ68▒▒▒8'▒\x▒▒9▒▒F▒▒▒▒!J▒▒▒▒▒5▒h;J▒A▒▒BxL▒▒)▒r CD▒▒ !B▒Q▒'w▒N!▒▒!▒);C