Orange Pi R1 Plus LTS - Bad performance

Hi Zookeeper1378,
Sorry, but I left out a crucial detail. The operation fails if I use the SQUASHFS image, while if I use, like you, the EXT4 image there are no problems.
What is the difference between the 2 images?
I was advised to always use SQUASHFS.
By

Paolo

I tested this SQUASHFS version, it really isn't possible to resize with GParted.

Nothing has changed here, the performance is the same.
Something is wrong, any and all connections coming from outside are extremely slow.
I can't even install the OpenWrt packages.

The official Orange Pi image uses Ext4.
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-R1-Plus-LTS.html

I have tested with firmware: openwrt-23.05.0-rockchip-armv8-xunlong_orangepi-r1-plus-lts-ext4-sysupgrade.img and can confirm the performance issue occurs with this device/firmware combination.
When I use a USB ethernet adapter instead of eth0, it works as desired.

1 Like

Were you able to test the new image?
openwrt-23.05.0-rockchip-armv8-xunlong_orangepi-r1-plus-lts-ext4-sysupgrade.img

Yes, that is the image I’m using.

The list of modules is the same, between the R1 Plus and the R1 Plus LTS. They both contain
base-files busybox ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools kmod-gpio-button-hotplug kmod-nft-offload kmod-usb-net-rtl8152 libc libgcc libustream-mbedtls logd luci mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only opkg partx-utils ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd”.
On the wiki page it says

  • Different GbE PHY chip (Motorcomm YT8531C, apparently pin-2-pin compatible with Realtek RTL8111F, but drivers are not compatible)

I’m guessing, but to me it looks like the YT8531C driver is missing.

1 Like

Could this be the reason for the extreme slowness of any external connection?

I saw the YT8531 driver is in Linux from 6.5.8: ( https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/phy/motorcomm.c?h=v6.5.8 ).
I’m going to try to merge that file into 5.15 and build my own image. Wish me luck :slight_smile:

1 Like

I believe you will make it.
It's surprising that they sell something that doesn't work properly.
In fact, OpenWrt does not take a position on this topic to clarify the possible problem.
I believe there are people who are able to use it without any problems.

I succeeded in building an image with the new driver, but it still has the same issues.
This is now in the logs:

Mon Oct 9 21:45:42 2023 kern.info kernel: [ 11.913609] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
Mon Oct 9 21:45:42 2023 kern.info kernel: [ 11.978574] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
Mon Oct 9 21:45:42 2023 kern.info kernel: [ 11.987122] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found

What I did:
Follow the guide at https://openwrt.org/user/ahorner/build-guide (with v23.05.0)
Tested the image that was created; it should work exactly as the original image from the selector. It did, so I knew the build worked.
Then I modified the file linux-5.15.134/drivers/net/phy/motorcomm.c, by uncompressing & untarring (and removing) the file from the linux-5.15.134.tar.xz file in the ~/openwrt/dl directory. After modifying I added it again to the tar and compressed it again.
Then I tried to build again, but it failed because patch series 791 modifies the motorcomm.c file. I removed all of the patch files matching ~/openwrt/target/linux/generic/backport-5.15/791-v6.*
Now the image is successfully created, with the correct driver reported.
But, it still has the same low download speed.

1 Like

Finally my Orange Pi R1 Plus LTS is working perfectly.

Thank you very much @PjV

The image you prepared was essential for my SBC to work!

Hi,
It is not kernel 6.6, it is 5.15 plus a patch from @regae.
I only used the motorcomm.c file from 6.6.1, but that doesn’t appear to make a difference.

1 Like

Is it possible, to have a link to download a functional image/firmware of 23.05.0 an "Orange Pi R1 Plus LTS"?
I'm new on openwrt, and i does't have the capacity to build my own image/firmware.

regards
G

If you're referring to images with kernel 6, or parts from it, then you need to build them yourself.
23.05.x images are available, link is in this thread.

Hi. Is the patch from @regae and the YT8531C driver included in the latest v.23.05.2 or do I really need to build my own custom image? I can't find any info even in the detailed changelog. Thanks.

1 Like

Nope... It is not...

Good afternoon. Can you please share a link to the image, because I can't build it myself. I have been struggling for a long time.

PM sent.
(I don’t want to post it here, it is not an official image.)

A fix has been released for OpenWrt version 23.05.3

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.