Jump to content

Gullik

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by Gullik

  1. Wifi performance is strange, but probably a RTW88_8821cu driver issue.

     

    Download rate 20-25 Mbps

    Upload rate   115-130 Mbps

    Iperf3 rate 55/56 Mbps

    My phone does 200/200 on the same ap and distance.

     

    Now running 6.8.6, latest edge........

     

    Same performance..

     

    Replacing kitted driver with https://github.com/morrownr/8821cu-20210916

     

    results in download rate going from 25 Mbps to 70 Mbps

    and upload rate going from 50-100 to 130 -180 Mbps

     

    so obviously there is work to be done..

     

    G

  2. One of my OPI5 was left alone for > 30 minutes, and DID in fact boot. What was happening is not known....

     

    Wifi performance is strange, but probably a RTW88_8821cu driver issue.

     

    Download rate 20-25 Mbps

    Upload rate   115-130 Mbps

    Iperf3 rate 55/56 Mbps

    My phone does 200/200 on the same ap and distance.

     

    Gullik

     

  3. Since the specific USB hardware support is now in place, I thought it would be good to discuss pitfalls and remedies

    for transitioning to a modern kernel.

     

    I have now tested the 6.8.5 based Armbian. None of the latest packages (.408 - .411) come up with HDMI output. You have to have

    a serial console connected, and then correct the problems.

     

    1) This is what you are greeted with: [    6.828040] panthor fb000000.gpu: [drm] *ERROR* Failed to load firmware image 'mali_csffw.bin'

    To fix this do apt install armbian-firmware-full and reboot

     

    2) The 8821cu driver has performance problems. Also, the stupid "windows" adapter comes up as a CDROM, and has to be cycled

    by removing and inserting with its driver loaded, for the wifi to be recognized.

     

    These seem minor fixes, firmware repackaging etc...

     

    Hopefully we can document results from testing and workarounds in this thread.

     

    A big hurray, for Armbian bringing mainstream to OPI 5.....

     

    Gullik

     

     

     

     

  4. A fall backwards,

     

    both 24.5.0-trunk.409 Noble and 24.5.0-trunk.410 Noble and trunk.411

     

    seem to be missing:

     

    [    6.828040] panthor fb000000.gpu: [drm] *ERROR* Failed to load firmware image 'mali_csffw.bin'

     

    a find / does not find it, so it seems to be missing from packaging....

     

    I m trying to find it ....

     

    G

     

  5. An apt update/upgrade fixed the video problem, and upgraded to trunk.405.

     

    After that I have a seemingly working system, but lsusb only shows 6 ports.

    webjorn@orangepi5:~$ lsusb -t
    /:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=ehci-platform/1p, 480M
        |__ Port 001: Dev 002, If 0, Class=Vendor Specific Class, Driver=rtw_8821cu, 480M
    /:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=ohci-platform/1p, 12M
    /:  Bus 005.Port 001: Dev 001, Class=root_hub, Driver=ohci-platform/1p, 12M
        |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 001: Dev 002, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    /:  Bus 006.Port 001: Dev 001, Class=root_hub, Driver=ehci-platform/1p, 480M
    webjorn@orangepi5:~$

     

    webjorn@orangepi5:~$ dmesg | grep i2c
    [    1.777030] i2c_dev: i2c /dev entries driver
    [   16.267158] i2c 6-0022: deferred probe pending: typec_fusb302: cannot register tcpm port
    [   18.392713] dwhdmi-rockchip fde80000.hdmi: i2c read time out!
    webjorn@orangepi5:~$

     

    Regards

    G

  6. Armbian 24.5.0-trunk.404 Noble ttyS2 has not fixed the USB.

     

    It only displays a black screen, so something is wrong with the HDMI also.

     

    With a serial console I can see it boot up.

     

    These are the USB related log entries from dmesg

     

    [   17.123480] i2c 6-0022: deferred probe pending: typec_fusb302: cannot register tcpm port
    [   17.123494] platform fc000000.usb: deferred probe pending: dwc3: failed to initialize core
    [   32.053018] vdd_gpu_s0: disabling


    root@orangepi5:~#

     

    Regards,

     

    Gullik

  7. For the orange pi 5, this kernel, 6.1.43-vendor-rk35xx,  seems like the most complete.

    The 6.8 versions does not seem to have received all the patches.

    Would this now be the time to get rid of the 5.10 kernel, to bring more testing to

    the 6.X line?

     

    I have now upgraded my PI 5 computers to this, and will check out issues posted

    to see if there is anything else missing, or if there are stability problems.

     

    Gullik

  8. And, I have now built jammy_desktop on kernel Armbian-unofficial_24.5.0-trunk_Orangepi5_jammy_vendor_6.1.43_xfce_desktop

     

    On this kernel usb also works.

     

    Besides, my 8821cu wifi adapter was generated in, so I did not have to add and compile driver, but it came alive automaticaly

     

    I will explore status in other areas, but this kernel seems best for Orange PI 5 so far....

     

    Gullik

  9. Well, I downloade and built a new armbian on my OPI 5.

     

    I selected the "vendor kernel" and I changed the dwc3 dual role to host only.

     

    The kernel that was built was 6.1.43, and I could finally see the missing USB port.

     

    I am right now rebuilding the "edge kernel" with the same host only mode,

    and will check and report back.

     

    So, a fall in the forward direction.......

     

    Gullik

  10. And, now edge is kernel 6.8.1. However, no vertical USB .

     

    syslog:

     

    2024-03-20T11:06:51.630382+01:00 orangepi5-2 kernel: platform fc000000.usb: deferred probe pending: dwc3: failed to initialize core
    2024-03-20T11:06:51.630400+01:00 orangepi5-2 kernel: i2c 6-0022: deferred probe pending: typec_fusb302: cannot register tcpm port

     

    Is this just a lack of enabling Sebastian Reichels patches on the orange pi 5, or is there some component missing?

    Device tree??

     

    Is there something I could do myself, I could spend some hours if I understood better where to start.

     

    Gullik

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines