Orange Pi R1 Plus LTS - Bad performance

Hello, I tested all versions and it always presents instabilities, making it impossible to access the internet.

I know it is not a stable version yet, but I would like to know if anyone else has the same problem.

Version: 23.05-r2

Version: 23.05-r3

Hi Zookeeper1738,
how you have installed version 23.05-r2?
I use version 19.x and sysupgrade don't work for me

Thanks
Paolo

I tested 23.05-r2 and 23.05-r3.

openwrt-23.05.0-rc2-rockchip-armv8-xunlong_orangepi-r1-plus-lts-ext4-sysupgrade.img
openwrt-23.05.0-rc3-rockchip-armv8-xunlong_orangepi-r1-plus-lts-ext4-sysupgrade.img

You can download it from this link: https://firmware-selector.openwrt.org

I also tested version 21.02 (Offered by Orange Pi), performance is also not satisfactory.

Version 19.x works well? How can I test?

Thanks.

Thanks for your reply.

No, don't try 19.x: there are many problems, for example eth0 don't works and I can use only eht1 for inside and outside networks.

Now, I need to flash my SD card with sysupgrade EXT4 or SQUASHFS?

Perfect, were you able to test it?

1 Like

Hi,
Yes, it works very well!!
On the 23.05.rc3 version there is only a disk space problem.
With a 32GB SD, only 60MB is available.
root@OpenWrt-Roma:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.5M 3.5M 0 100% /rom
tmpfs 494.1M 1020.0K 493.1M 0% /tmp
/dev/loop0 98.5M 38.6M 59.9M 39% /overlay
overlayfs:/overlay 98.5M 38.6M 59.9M 39% /
tmpfs 512.0K 0 512.0K 0% /dev

The procedure I found to extend the space doesn't work...
it gives me an error with resize2fs... "/dev/mmcblk0 bad magic number in super-block"

Do you have the same problem?

Paolo

Could you share Fast.com result?

You can increase the partition space using GParted.

I tryed to expand with gparted, but there are some errors.

and the resize option in not enabled

Do you have idea how to extend partition /dev/sdb2?

Here work

1 Like

Which model did you choose in the firmware selector?
I only see Xunlong Orange Pi R1 and not Xunlong Orange Pi R1 Plus LTS

Where did you install gparted?
I installed it on the Raspberry Pi 4, maybe it can't manage the OpenWRT images...
On orange Pi R1 I can't install the gui and I can't even find gparted

Do not use GParted to expand the ext4 partition as it can corrupt the partition and may cause read/write issues on the SD card.

  1. Identify Storage Device:
    Use block info to list storage devices.
  2. Create New Partition:
    Run fdisk /dev/mmcblk0 to create a new partition. Follow the on-screen instructions.
  3. Format to ext4:
    Run mkfs.ext4 /dev/mmcblk0p2.
  4. Temporarily Mount New Partition:
    Create a temp directory and mount the new partition with mount /dev/mmcblk0p2 /tmp/new_overlay.
  5. Copy Data:
    Copy existing overlay data with cp -a /overlay/. /tmp/new_overlay/.
  6. Unmount:
    Use umount /tmp/new_overlay.
  7. Update fstab:
    Edit /etc/config/fstab to include the new partition.
  8. Reboot:
    Use reboot to apply changes.

After several attempts, combining various posts, I managed to create this script to extend the disk space on my Orange Pi R1 Plus LTS. I think it might be useful to others too:

Install packages

opkg update
opkg install parted cfdisk f2fs-tools losetup

Identify disk name and partition number

echo -e "ok\nfix" | parted -l ---pretend-input-tty

Expand root partition

parted -s /dev/mmcblk0 resizepart 2 100%

Grow f2fs filesystem

LOOP="$(losetup -n -O NAME | sort | sed -n -e "1p")"
ROOT="$(losetup -n -O BACK-FILE ${LOOP} | sed -e "s|^|/dev|")"
OFFS="$(losetup -n -O OFFSET ${LOOP})"
LOOP="$(losetup -f)"

losetup -o ${OFFS} ${LOOP} ${ROOT}

fsck.f2fs -f ${LOOP}
mount ${LOOP} /mnt
umount ${LOOP}
resize.f2fs ${LOOP}

Apply changes

reboot

Maybe there's something wrong with your ethernet cables
Can you test it by plugging it directly to your computer?

I've never had any problems with Gparted.
It Works very well.
See the video I recorded.

Result:

1 Like

Yes, I saw the video.
I am used to doing all the configuration via a script that starts from the original ISO.
With this system, should the new version be released, I am able to reconfigure the device in a few minutes.
I prefer to install and use LUCI only for the installation test phase.

Hello Zookeeper 1738,
I have a curiosity. What hardware and operating system did you use gparted on?
OrangePi has no graphical interface. I use on Raspberry, but the partition has the alert icon for filesystem unknown.

I use this command to write the image to TF Card.
sudo dd bs=1M if=openwrt-23.05.0-rc4-rockchip-armv8-xunlong_orangepi-r1-plus-lts-ext4-sysupgrade.img of=/dev/mmcblk1 status=progress

Then I use gparted

Then I resize the partition.
This is the result.