Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

Orange Pi 5: dmesg errors & non-working USB

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

Orange Pi 5: dmesg errors & non-working USB

  • Quote

Post by Gladdle » Thu Nov 30, 2023 5:48 pm

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: Select all

[    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_defau ... 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: Select all

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.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2185
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Thu Nov 30, 2023 6:42 pm

Gladdle,

May be your device or cable is wrong type? the bottom(below) USB port is for USB 2.
Top
Ferociouspineapple
n00b
n00b
Posts: 7
Joined: Thu Feb 09, 2023 3:20 am

  • Quote

Post by Ferociouspineapple » Fri Dec 29, 2023 9:20 pm

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-r ... ge.sh#L105
[2] https://github.com/Joshua-Riek/ubuntu-r ... ssions/358
Top
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

  • Quote

Post by Gladdle » Fri Dec 29, 2023 10:02 pm

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:
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- ... s/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-r ... ge.sh#L105
[2] https://github.com/Joshua-Riek/ubuntu-r ... ssions/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.
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic