Gullik
-
Posts
65 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Gullik
-
-
My final comment in this thread (unless something USB related comes up)
USB works fine for me, and I have tested it with hub's and my own usb-device design.
Also, kernels are now at 6.8.5 build.417, and boot just fine.
Regards,
Gullik
-
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
-
Yes, I did and that fixed the problem initially. However, now I do not get that message but .411 gives a black screen.
The system boot but needs a serial line to set up, else no cigar.
G
-
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
-
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
-
Right you are Efe,
I am now running Armbian 24.5.0-trunk.407 Noble with bleeding edge Linux 6.8.5-edge-rockchip-rk3588
And, yes, I finally have all the USB ports....
On to development, and testing the functionality, hopefully on the route to mainline....
Regards,
G
-
Hi efe,
Yes, I understand, but it is ...edge... is'nt it?
G
-
Hmmm.....
There is no orangepi-5.dtb, but there is a ornangepi-5-plus.dtb
Using armbian-config to browse the dtb, it looks as that one is used.
Are they the same??
G
-
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
-
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
-
How do you build it? I have been using the "standard build procedure", and I only get an option to build standard, vendor or edge kernels, edge seems
to be 6.8.4. Where do I modify for a different kernel git url? I could well spend the work and effort....
Gullik
-
But this is the Orange PI 5 thread....? It is RK3588
Is there some version confusion??
G
-
And the same goes for:
Armbian-unofficial 24.5.0-trunk Jammy with bleeding edge Linux 6.8.4-edge-rockchip-rk3588
which I built.
How to apply Sebastien Reichels USB patches to the 6.8 kernel?
Do I put his patches in userpatches after cloning Armbian?
Best Regards
Gullik
-
FYI, Kernel 6.8.2 also does not handle usb correctly, so 6.1.43 is the most complete for OPI 5.
This is with edge kernels dated Mars-28
Gullik
-
Is there something I could do to help? I have several opi 5, and can set one up...
Gullik
-
The patches to enable the USB have not propagated to the 6.8.1 kernel....
I downloaded and tested but no luck....
Gullik
-
And the Armbian_24.5.0-trunk.260_Orangepi5_noble_vendor_6.1.43_xfce_desktop.img also works wrt USB.
Adding a second wifi card, it shows in lsusb, and the driver can be loaded, but there is no wlan interface.
So, now this thread is obsolete.....
Gullik
-
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
-
And HDMI sound is also fine.....
Gullik
-
I am impressed with the quality of the build system, I did not have to change/edit a single file to build these.
Best Regards,
Gullik
-
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
-
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
-
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 portIs 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
-
And 6.8-rc7 as well..
Gullik
Towards a mainstream kernel for Orange Pi 5
in Orange Pi 5 / 5B
Posted · Edited by Gullik
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