Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Orange Pi 5: dmesg errors & non-working USB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Gladdle
Guru
Guru


Joined: 27 Jul 2008
Posts: 313
Location: Cleebronn, Germany

PostPosted: Thu Nov 30, 2023 5:48 pm    Post subject: Orange Pi 5: dmesg errors & non-working USB Reply with quote

Hi there, currently i have a Probem with USB. At first the output from "dmesg -l err" (If you need some specific for USB or soemthing i can post it complete):
Code:
[    6.021187] fiq_debugger fiq_debugger.0: IRQ fiq not found
[    6.021192] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[    6.021196] fiq_debugger_probe: could not install nmi irq handler
[    6.706365] rk-pcie fe190000.pcie: IRQ msi not found
[    6.706376] rk-pcie fe190000.pcie: Missing *config* reg space
[    6.706524] rk-pcie fe190000.pcie: Missing *config* reg space
[    6.706553] rk-pcie fe190000.pcie: invalid resource
[    6.711468] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
[    6.713035] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
[    6.713037] rkvdec2_init:1008: No niu aclk reset resource define
[    6.713041] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
[    6.713043] rkvdec2_init:1011: No niu hclk reset resource define
[    6.713720] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found!
[    6.713723] rkvdec2_init:1008: No niu aclk reset resource define
[    6.713726] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found!
[    6.713728] rkvdec2_init:1011: No niu hclk reset resource define
[    6.975187] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy pll locked!
[    6.975473] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy lane locked!
[    7.266907] rk806 spi2.0: no sleep-setting state
[    7.266915] rk806 spi2.0: no reset-setting pinctrl state
[    7.266922] rk806 spi2.0: no dvs-setting pinctrl state
[    7.277414] rk_gmac-dwmac fe1c0000.ethernet: no regulator found
[    7.277440] rk_gmac-dwmac fe1c0000.ethernet: Can not read property: rx_delay.
[    7.277447] rk_gmac-dwmac fe1c0000.ethernet: set rx_delay to 0xffffffff
[    7.277489] rk_gmac-dwmac fe1c0000.ethernet: cannot get clock mac_clk_rx
[    7.277500] rk_gmac-dwmac fe1c0000.ethernet: cannot get clock mac_clk_tx
[    7.277532] rk_gmac-dwmac fe1c0000.ethernet: cannot get clock clk_mac_speed
[    7.699917] Goodix-TS 2-0014: i2c test failed attempt 1: -6
[    7.726575] Goodix-TS 2-0014: i2c test failed attempt 2: -6
[    7.753085] Goodix-TS 2-0014: I2C communication failure: -6
[    7.899918] Goodix-TS 7-0014: i2c test failed attempt 1: -6
[    7.926574] Goodix-TS 7-0014: i2c test failed attempt 2: -6
[    7.953082] Goodix-TS 7-0014: I2C communication failure: -6
[    8.032865] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[    8.051710] debugfs: File 'Capture' in directory 'dapm' already present!
[    8.054305] debugfs: File 'Capture' in directory 'dapm' already present!
[    8.070213] ES8323 6-0010: ASoC: error at soc_component_write_no_lock on ES8323.6-0010: -5
[    8.186240] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present!
[    8.196930] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
[    8.196949] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
[    8.196959] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
[    8.206119] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present!
[    8.231768] RKNPU fdab0000.npu: failed to find power_model node
[    8.231778] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[    8.231783] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
[    9.619832] rk-pcie fe190000.pcie: PCIe Link Fail
[    9.619860] rk-pcie fe190000.pcie: failed to initialize host


Seems a little bit terrible ... On my Notebook there are only two insignificant Comments

I've found a picture, maybe it explains more than my bad english:
https://errebishop.com/6509-large_default/orange-pi-5-mit-4-gb-ram.jpg

on the USB on the button, there is nothing in lsusb - Is it damaged? If i put it in the upper one (both are working), there is that (i paste both):
Code:
Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Flash Drive
- OR -
Bus 006 Device 003: ID 058f:6387 Alcor Micro Corp. Flash Drive

but i cant see any /dev/sd* devices, also there is NOTHING in blkid. What can i do?

Sorry for the post before, i hit the "post" button, not the preview one.
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1242
Location: Richmond Hill, Canada

PostPosted: Thu Nov 30, 2023 6:42 pm    Post subject: Reply with quote

Gladdle,

May be your device or cable is wrong type? the bottom(below) USB port is for USB 2.
Back to top
View user's profile Send private message
Ferociouspineapple
n00b
n00b


Joined: 09 Feb 2023
Posts: 7

PostPosted: Fri Dec 29, 2023 9:20 pm    Post subject: Reply with quote

Something specific might be required to enable that USB port from what I infer [1] and as for the kernel dmesg errors see [2]

[1] https://github.com/Joshua-Riek/ubuntu-rockchip/blob/main/scripts/config-image.sh#L105
[2] https://github.com/Joshua-Riek/ubuntu-rockchip/discussions/358
Back to top
View user's profile Send private message
Gladdle
Guru
Guru


Joined: 27 Jul 2008
Posts: 313
Location: Cleebronn, Germany

PostPosted: Fri Dec 29, 2023 10:02 pm    Post subject: Reply with quote

pingtoo wrote:
Gladdle,

May be your device or cable is wrong type? the bottom(below) USB port is for USB 2.

I've used the same USB (USB2) Stick for testing all Onboard USB Slots. Like i have written in the first post, in the bottom USB Slot (Called "USB2.0 (shared with Type-C)") my USB Stick doesn't work, in the top USB2.0 Slot it's recognized as "Bus 001 Device 002: ID 058f:6387 Alcor Micro Corp. Flash Drive". And no, there is nothing pluged in in the Type-C Slot.


EDIT: I found something here:
Quote:
What works:

Single HDMI display output limited at 1080p 60Hz, desktop and apps are software rendered (though video playback is surprisingly smooth at 720p or even 1080p full screen, with minimal tearing and dropped frames)
on ROCK 5B it's the one near the USB-C port.
USB 3 ports (Type-A and Type-C in host mode), including USB boot, networking and other peripherals with ARM64 native drivers.
on ROCK 5B and Orange Pi 5, the top USB 3.0 Type-A port only supports SuperSpeed (3.0) devices (so mouse & keyboard won't work). The other USB 3 ports are limited to 2.0 speeds.
on Indiedroid Nova, both USB 3.0 Type-A ports only support SuperSpeed (3.0) devices. It is possible to connect USB 2.0 / 1.1 devices with an USB-C OTG dongle.
UART serial console for debugging or EMS & SAC.
eMMC Modules with the driver at https://github.com/worproject/Rockchip-Windows-Drivers/releases

What doesn't work:

USB 2.0-only ports (depending on how they're wired up internally, for instance the vertically mounted USB 2.0 port on the Orange Pi 5 is shared with USB 3 on the Type-C and so it does work)
Proper CPU frequency scaling. Cores are now set to their maximum frequency (1.8 GHz on little cores, 2.4 GHz on the big ones), but Windows reports lower values.
Some USB 3.0 SATA to USB enclosures or drives using the following chipsets have been reported to not work. Your mileage may vary.
VIA VL711
Everything else (PCIe, SATA, SDIO, GMAC Ethernet, Audio (I2S), Display management (incl. DP alt mode), GPU acceleration, NPU, video decoders, GPIO, PWM, SARADC, I2C, SPI, etc.)



Ferociouspineapple wrote:
Something specific might be required to enable that USB port from what I infer [1] and as for the kernel dmesg errors see [2]

[1] https://github.com/Joshua-Riek/ubuntu-rockchip/blob/main/scripts/config-image.sh#L105
[2] https://github.com/Joshua-Riek/ubuntu-rockchip/discussions/358

Thanks, seems like a useful script and notes.


I have searched a lot and like Sebastian Reichel (german kernel engineer at collabora) also says: The documentation is awful.
It seems like that's a driver / kernel problem which will be solved with newer kernel versions. collabora works on the rk3588 chipset drivers for the kernel, some patches are in the kernel tree since version 6.3, the genkernel is currently at 6.6. If that kernel boots i can say if it's solved or not - i'm working on it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum