Qhora-322 installation issue

Hello guys

I am follow up the instuciton [How-to guide] Installing OpenWrt on Qnap QHora-322 to install the OP to my Qhora-322

The last command give me the following output:

Saving Environment to SPI Flash... SF: Detected mx25l3205d with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Erasing SPI flash...Writing to SPI flash...done
OK

Then I unplug the Qnap QHora-322 from the power source and plug it back in back t he OpenWrt was not booting automatically. it always to the Marvell>>

some log as below, any ideas??

Loading Environment from SPI Flash...
Bus spi@700680 CS0 address is not set correct.
SF: Detected mx25l3205d with page size 256 Bytes, erase size 4 KiB, total 4 MiB
OK
RTC_RX8130: original reg[0x1d]:0x2c
RTC_RX8130: modified reg[0x1d]:0x2c
RTC_RX8130: original reg[0x1f]:0x10
RTC_RX8130: modified reg[0x1f]:0x10
Net: eth0: mvpp2-0 [PRIME], eth1: mvpp2-1, eth2: mvpp2-2, eth3: mvpp2-3, eth4: mvpp2-4, eth5: mvpp2-5, eth6: mvpp2-6, eth7: mvpp2-7, eth8: mvpp2-8
Auto-update from TFTP: Skip auto-update, env. variable 'updatefile' not found
Hit any key to stop autoboot: 0
Marvell>> 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'
Marvell>>
Marvell>> setenv current_entry 0
Marvell>>
Marvell>> saveenv
Saving Environment to SPI Flash... SF: Detected mx25l3205d with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
Marvell>>
Marvell>>

BootROM - 2.03

Starting CP-0 IOROM 1.07

Booting from SPI NOR flash 1 (0x32)

Found valid image at boot postion 0x000

lNOTICE: Starting binary extension
NOTICE: SVC: DEV ID: CN913x, FREQ Mode: 0x6
NOTICE: SVC: AVS work point changed from 0x2e2 to 0x2e2
mv_ddr: Marvell-devel (release) (Jun 08 2022 - 17:52:54)
SSCG_EN
Synopsys DDR43 PHY Firmware version: A-2017.11
SNPS DDR: 1D training passed
SNPS DDR: 2D training passed
SNPS DDR: training completed
dma memcmp pass
mv_ddr: completed successfully
NOTICE: Cold boot
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.2(release): (Marvell-10.3.4.0-4)
NOTICE: BL1: Built : 17:52:57, Jun 8 2022
NOTICE: BL1: Booting BL2
NOTICE: BL2: v2.2(release): (Marvell-10.3.4.0-4)
NOTICE: BL2: Built : 17:52:59, Jun 8 2022
NOTICE: Change the base address of AP0-CP1 to f4000000
NOTICE: Change the base address of AP0-CP2 to f6000000
NOTICE: SCP_BL2 contains 7 concatenated images
NOTICE: Load image to CP1 MG
NOTICE: Loading MG image from address 0x402305c Size 0xe0f0 to MG at 0xf4100000
NOTICE: Load image to CP0 MG
NOTICE: Loading MG image from address 0x403114c Size 0xe0f0 to MG at 0xf2100000
NOTICE: Skipping MSS CP3 related image
NOTICE: Load image to CP2 MSS AP0
NOTICE: Loading MSS FW from addr. 0x4040f38 Size 0x1cfc to MSS at 0xf6280000
NOTICE: Done
NOTICE: Load image to CP1 MSS AP0
NOTICE: Loading MSS FW from addr. 0x4042c34 Size 0x1cfc to MSS at 0xf4280000
NOTICE: Done
NOTICE: Load image to CP0 MSS AP0
NOTICE: Loading MSS FW from addr. 0x4044930 Size 0x1cfc to MSS at 0xf2280000
NOTICE: Done
NOTICE: Load image to AP0 MSS
NOTICE: Loading MSS FW from addr. 0x404662c Size 0x5400 to MSS at 0xf0580000
NOTICE: Done
NOTICE: BL1: Booting BL31
lNOTICE: BL31: v2.2(release): (Marvell-10.3.4.0-4)
NOTICE: BL31: Built : 17:53:03, Jun 8 2022

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

Model: QHora-322
SoC: cn9132-A1; AP807-B0; 3xCP115-A0
Clock: CPU 2200 [MHz]
DDR 1200 [MHz]
FABRIC 1200 [MHz]
MSS 200 [MHz]
LLC Enabled (Exclusive Mode)
DRAM: 4 GiB
Running in RAM - U-Boot at: 0x7fee9000
Env at: 0x7ff95cc8
Comphy chip #0:
Comphy-0: SATA1
Comphy-1: SGMII2 3.125 Gbps
Comphy-2: SFI0 10.3125 Gbps
Comphy-3: USB3_HOST1
Comphy-4: SGMII1 3.125 Gbps
Comphy-5: PEX2
UTMI PHY 0 initialized to USB Host1
Comphy chip #1:
Comphy-0: IGNORE
Comphy-1: SGMII2 3.125 Gbps
Comphy-2: SFI0 10.3125 Gbps
Comphy-3: IGNORE
Comphy-4: SGMII1 3.125 Gbps
Comphy-5: IGNORE
Comphy chip #2:
Comphy-0: IGNORE
Comphy-1: SGMII2 3.125 Gbps
Comphy-2: SFI0 10.3125 Gbps
Comphy-3: IGNORE
Comphy-4: SGMII1 3.125 Gbps
Comphy-5: IGNORE
PCIE-0: Link down
NAND: 0 MiB
MMC: sdhci@6e0000: 0
Loading Environment from SPI Flash...
Bus spi@700680 CS0 address is not set correct.
SF: Detected mx25l3205d with page size 256 Bytes, erase size 4 KiB, total 4 MiB
OK
RTC_RX8130: original reg[0x1d]:0x2c
RTC_RX8130: modified reg[0x1d]:0x2c
RTC_RX8130: original reg[0x1f]:0x10
RTC_RX8130: modified reg[0x1f]:0x10
Net: eth0: mvpp2-0 [PRIME], eth1: mvpp2-1, eth2: mvpp2-2, eth3: mvpp2-3, eth4: mvpp2-4, eth5: mvpp2-5, eth6: mvpp2-6, eth7: mvpp2-7, eth8: mvpp2-8
Auto-update from TFTP: Skip auto-update, env. variable 'updatefile' not found
Hit any key to stop autoboot: 2  1  0
Marvell>>

Your bootcmd looks correct.

Looking at your log it kind of looks like as if you have hit any key to stop the autoboot. Try disconnecting the wire from the RX Pin just to be sure that there are no inputs happening.

Let me know if that did not help. Have a great day! :slight_smile: