Hi ! ![]()
2 Questions ![]()
-
Did you have any kind of special development board or just a stock Qhora-322 ?
-
Do you think that it's possible to enable SSH to the device directly from the debug console before installing OpenWRT ?
Thank you ?
Hi ! ![]()
2 Questions ![]()
Did you have any kind of special development board or just a stock Qhora-322 ?
Do you think that it's possible to enable SSH to the device directly from the debug console before installing OpenWRT ?
Thank you ?
Hi there! ![]()
I have a stock QHora-322.
I do not know. I have not tried it before flashing OpenWrt. But when you find out, you can let me know. ![]()
Have a nice day. ![]()
Will come back with more info regarding the installing of SSH before the installation of OWRT.
Thank you
Great tutorial, thank you!
I used it for some months and everything worked great.
Now, after trying to update to 24.10 over luci the device seems to be bricked.
I only get the following message over uart and can't acess luci or the shell.
mount_root: overlay filesystem in /dev/mmcblk0p7 has not been formatted yet.
Any help would be highly appreciated!
Hi qwiXy
I did not have such issue when upgrading to 24.10, but let me try to help you.
Do you have shell access via the serial console? If not, then try booting only the kernel via tftp. (See secions 2 - 4 of the guide)
The error message you mentioned tells us, that there is no file system on /dev/mmcblk0p7. So let's fix that by formatting this partition with f2fs. Enter the following command in your shell:
mkfs.f2fs /dev/mmcblk0p7
If nothing else is broken, that should be it.
Please let me know how it goes.
Best of luck and have a great day! ![]()
Thank you - I'm up and running again!
It really seems that the update from 23.05 to 24.10 bricks the partition layout. I did the same process again after formatting (as I still had my usb-stick with the old 23.05 files laying arround). After updating within luci -> same error. Formatting /dev/mccblk0p7 again and it's booting.
There is only one thing not working, the fans spin on startup, but as soon as the bootloader starts the OS the fans are stopping. If I manually try to change the fan speed the following error appears:
root@OpenWrt:~# echo "255" > /sys/class/hwmon/hwmon6/pwm1
-ash: can't create /sys/class/hwmon/hwmon6/pwm1: Permission denied
Could there be some package missing? At the moment the pwm1 won't even show up.
Thank you again for your help and have a nice day!
Hi there
Glad to hear your router is working again.
Thank you for the hint regarding the pwm. I did not even notice until now. For me it is also missing ... I will investigate.
Found it! Seems like the numbering of the hwmons has been changed.
What was previously hwmon6 now seems to be hwmon9. The command to set the fan speed to 100 % is now
echo "255" > /sys/class/hwmon/hwmon9/pwm1
Thanks again for the hint. I would not have noticed!
Edit:
Nice ![]()
For a brief moment I had the feeling that the time has come to build a diy x86 router with a Intel x710-t4 card as there arent many alternatives in the prosumer market.
Thank you again and have a nice weekend ![]()
I have also updated my qhora-322 from OpenWrt 23.05.3 to OpenWrt 24.10.1.
runs smoothly
no partition problems and the fan control also works
Hello,can you please give some details on how to upgrade the router. I’m quite new using OpenWRT and there is no sysupgrade file. Thanks !
Here is a link to the firmware selector that should always lead you to the latest OpenWrt version for this device: https://firmware-selector.openwrt.org/?target=mvebu%2Fcortexa72&id=iei_puzzle-m902
To upgrade, simply download the “SDCARD” image and upload it via LuCIs firmware-upgrade functionality. It does not matter if you use the ext4 or squashfs variant.
Let me know if you have any trouble.
Thanks for the quick answer! Will try it next week in order to have time if something goes wrong ![]()
Hi ! Quick update : the upgrade went smoothly
thanks again !
Does it come with any form of Hardware Offload?
Also, the rebranded IEI Puzzle M902 mentions an m.2 key m pcie3x1 slot whereas qnap does not mention it. Is there such a slot and if yes, is it accessible in OpenWrt?
I don’t know, but if I had to guess, probably no.
As you probably saw in the picture of my original post ( [How-to guide] Installing OpenWrt on Qnap QHora-322 ), the M.2 slot is physically present in the top-middle area of the board. I have never tried inserting anything in it though.
Here is an excerpt from my kernel log:
root@Qnap-QHora-322:~# dmesg | grep -Ei pci
[ 0.409741] PCI: CLS 0 bytes, default 64
[ 1.224951] armada8k-pcie f2640000.pcie: host bridge /cp0/pcie@f2640000 ranges:
[ 1.236966] armada8k-pcie f2640000.pcie: MEM 0x00e1000000..0x00e1efffff -> 0x00e1000000
[ 1.249929] armada8k-pcie f2640000.pcie: iATU: unroll F, 8 ob, 8 ib, align 64K, limit 4G
[ 2.261560] armada8k-pcie f2640000.pcie: Phy link never came up
[ 2.267820] armada8k-pcie f2640000.pcie: PCI host bridge to bus 0000:00
[ 2.274495] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.280018] pci_bus 0000:00: root bus resource [mem 0xe1000000-0xe1efffff]
[ 2.286975] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400
[ 2.293026] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 2.299354] pci 0000:00:00.0: supports D1 D2
[ 2.303644] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.310478] pci 0000:00:00.0: BAR 0: assigned [mem 0xe1000000-0xe10fffff]
[ 2.317308] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 2.937642] pcieport 0000:00:00.0: AER: enabled with IRQ 60
These lines indicate, that there is a PCIe controller, that failed to bring up a link, probably because no device is connected.
Unfortunately, I do not have a spare NVMe SSD lying around to try it. But honestly, I would be very surprised if it didn't work.
Have a great day! ![]()
Thank you @JuliusZet for confirming the m2 pcie slot.
I wonder how these A72 cores will manage without offloading, for example when doing NAT with 10gbps from the ISP and an MTU=1500
Does your ISP offer you 10 Gb/s access? ![]()
I could not hit 10 Gb/s, even with just normal routing between two local networks, when I had the MTU set to 1500. See this comment: [How-to guide] Installing OpenWrt on Qnap QHora-322 - #18 by JuliusZet
Therefore, I would recommend you to set MTU on each interface as high as possible. Remember to ensure that all devices, that are on the same OSI layer 2 (or on the same VLAN), are able to handle it. 9000 was the best I could do, because there was always at least one device that did not allow me to configure higher MTUs. For my WiFi VLANs I had to stick with 1500 because my WiFi access-point does not allow me to configure it at all.
Have a nice day! ![]()
I wonder if the oem firmware has some offload capabilities enabled that allows qnap to claim on their website:
“Over 9 Gbps upload/download speed is available when using PPPoE Internet.”
The mvpp2 ethernet driver does not have nat hw offload, so I don’t understand how they achieve this.
I think this board should support some crypto HW offloading, but I don’t have the board yet to test.
The package to install should be kmod-crypto-hw-safexcel and then:
modprobe crypto_safexcel
grep safexcel /proc/crypto # should return the algorithms