Support QNAP QHora-322 ? (aka. IEI PUZZLE M902)

same machine different model
I don't know if they did anything on the bootloader

(I just got the news but the 322 is not on sale yet)

By the way I forgot to mention QNAP QHora-321 (aka. IEI PUZZLE M901)

need to wait the release on store..

A post was split to a new topic: IEI Puzzle M-902

What is the procedure to replace QNAP QHora-322 proprietary OS with PUZZLE M902 Image?

same question here.
for DBG Console TTL pin number:
from 1-4 (rx 3.3v tx GND)

I meant to create a wiki with instructions for QHora-322, Thanks to Daniel I managed to install OpenWRT, is fully functional but requires lots of changes for initial setup.

I will update wiki in coming weeks

3 Likes

Thats super cool.
Mine is QHora-322 with the following u-boot and QuRouter OS version (QHora-322_20221104-2.2.6.005.img)

Marvell>> version
U-Boot 2019.10-10.3.4.0-11 (Jun 08 2022 - 17:52:37 +0800)

aarch64-marvell-linux-gnu-gcc (Marvell Inc. Version: Marvell GCC7 build 249.0) 7.3.0
GNU ld (Marvell Inc. Version: Marvell GCC7 build 249.0) 2.30

Hello Akron,

could you please share the installation procedure please?
I got the router and would like to switch to OpenWRT on this nice piece of hardware.

Thank you so much.

Any news about the instructions ?? :innocent:

could you please share the installation procedure please? :grinning:

I'm travelling for work and have very limited time, if someone could create and update the wiki with these instructions for QHora-322 you should be able to run full OpenWRT on it.

to get OpenWRT booting with original uboot you need to do this:

assuming you already have opened the box and have a UART serial connected, if not do it before anything else, also get a TFTP server running before anything else with a cable directly connected to port 2

stop at uboot environment by pressing ctrl + c or any key

setenv ipaddr 192.168.1.11
setenv serverip 192.168.1.111
setenv ethact mvpp2-1
ping 192.168.1.111

tftpboot 0x6500000 openwrt-22.03.2-mvebu-cortexa72-iei_puzzle-m902-initramfs-kernel.bin
ext4load mmc 0:2 0x6000000 cn9132-db-A.dtb
booti 0x6500000 - 0x6000000

once inside the initramfs , upload the decompressed PUZZLE image 0.img and 1.img. to decompress use any linux machine then upload 0.img and 1.img via USB pendrive to the device as no network will work inside initramfs, you will need a FAT or F2FS formatted filesystem to mount on initramfs

wget https://downloads.openwrt.org/snapshots/targets/mvebu/cortexa72/openwrt-mvebu-cortexa72-iei_puzzle-m902-squashfs-sdcard.img.gz
gzip -d openwrt-mvebu-cortexa72-iei_puzzle-m902-squashfs-sdcard.img.gz
newloop=$(losetup -f)
sudo losetup -P $newloop openwrt-mvebu-cortexa72-iei_puzzle-m902-squashfs-sdcard.img
dd if=${newloop}p1 of=0.img
dd if=${newloop}p2 of=1.img
sudo losetup -d $newloop

USB both 0.img and 1.img and write them to part 1 and part 3 respectively leaving others intact

image

then reboot to uboot and do this:

setenv bootcmd 'ext4load mmc 0:1 0x6500000 Image; ext4load mmc 0:1 0x6000000 cn9132-puzzle-m902.dtb; setenv bootargs $console cpuidle.off=1 root=/dev/mmcblk0p3; booti 0x6500000 - 0x6000000'

setenv current_entry 0
saveenv

openwrt should boot normally from there, you can then upgrade from luci or cli

1 Like

you will need to tweak fan settings afterwards as per other thread as both QHora-322 and PUZZLE-M902 run hot and will throttle when hot

Hello,

I`m new to the OpenWrt community, and I would like to ask for your help regarding the Qhora322 device.
I managed to write and boot the openwrt-22.03.2-mvebu-cortexa72-iei_puzzle-m902-initramfs-kernel.bin

And from here I need help. I don`t know what to do after that...:frowning: If someone could guide me, what to do after this step. Thank you very much in advance !

You have full device access at this point and can do whatever you want to accomplish, the webinterface should also be at your disposal (22.03.3, as all release images, has it preinstalled).

But from here what akron wrote, I`m stucked. Here at this point I need help...

Only this I managed to run:

setenv ipaddr 192.168.1.11
setenv serverip 192.168.1.111
setenv ethact mvpp2-1
ping 192.168.1.111

tftpboot 0x6500000 openwrt-22.03.2-mvebu-cortexa72-iei_puzzle-m902-initramfs-kernel.bin
ext4load mmc 0:2 0x6000000 cn9132-db-A.dtb
booti 0x6500000 - 0x6000000

Thank you slh

But here what akron wrote, I`m stucked. Here at this point I need help...

Only this I managed to run:

setenv ipaddr 192.168.1.11
setenv serverip 192.168.1.111
setenv ethact mvpp2-1
ping 192.168.1.111

tftpboot 0x6500000 openwrt-22.03.2-mvebu-cortexa72-iei_puzzle-m902-initramfs-kernel.bin
ext4load mmc 0:2 0x6000000 cn9132-db-A.dtb
booti 0x6500000 - 0x6000000

I`m running the initramfs, but you can see I getting this errors. Maybe it is my fault, because I did not understand very good, what to do after the boot of initramfs.......

Update: Finally, I got the two img files (0.img and 1.img). There are copied to an usb stick that is FAT partioned.
Now, I dont know :frowning: what commands to run from root@OpenWrt to copy them in mmcblk0p1 and mmcblk0p3

I got the two img files (0.img and 1.img). There are copied to an usb stick that is FAT partioned.
Now, I dont know :frowning: what commands to run from root@OpenWrt to copy them in mmcblk0p1 and mmcblk0p3
Thank you in advance, very much ! :smiley:

Have any of you had the opportunity to test the interfaces throughput running OpenWRT?

Can the ports negotiate 2.5, 5 and 10 gbps?