TL;DR I didn't find 'OpenWrt One - Setup, Install, and Discussion' and particularly the OpenWRT One - Howto (pdf) before doing some stupid stuff.
I got my OpenWRT One yesterday, and since I'd just built a LuCI app I wanted to try that out. So I needed to install LuCI, but when I tried that it wanted a newer kernel, so I had to update my firmware.
My One arrived switched to NOR, and I didn't have a good understanding of NOR vs NAND, which led to some frustration when any attempt at sysupdate -v openwrt-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb
didn't work.
Through the magic of the boot menu, I managed to update the various NOR components to the latest snapshot
So then on to NAND... by using TFTP to upload the snapshot initramfs I was able to boot into the latest kernel, and install LuCI. Progress, I though. I used LuCI to perform a firmware update with the snapshot sysupgrade image.
On rebooting:
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [1000]
T0: 0000 0244 [010F]
Jump to BL
NOTICE: BL2: v2.9.0(release):OpenWrt v2023.10.13~0ea67d76-1 (mt7981-spim-nand-ubi-ddr4)
NOTICE: BL2: Built : 09:35:38, May 21 2024
NOTICE: WDT: Cold boot
NOTICE: WDT: disabled
NOTICE: EMI: Using DDR4 settings
NOTICE: EMI: Detected DRAM size: 1024MB
NOTICE: EMI: complex R/W mem test passed
NOTICE: CPU: MT7981 (1300MHz)
NOTICE: SPI_NAND parses attributes from parameter page.
NOTICE: SPI_NAND Detected ID 0xef
NOTICE: Page size 2048, Block size 131072, size 268435456
NOTICE: UBI: scanning [0x100000 - 0x10000000] ...
NOTICE: UBI: scanning is finished
NOTICE: UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
NOTICE: UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
ERROR: UBI error: No volume named fip could be found
NOTICE: UBI: scanning [0x100000 - 0x10000000] ...
NOTICE: UBI: scanning is finished
NOTICE: UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
NOTICE: UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
ERROR: UBI error: No volume named fip could be found
ERROR: BL2: Failed to load image id 3 (-2)
Oops. At least the NOR was still working. I removed the jumper to ensure it wouldn't be overwritten.
At some stage (trying to follow various Banana Pi and other MT7981 guides) it seems that I did an mtd erase
of the NOR (whilst trying to write stuff to NAND), and the jumper not being present didn't save me
F0: 102B 0000
FA: 5100 0000
FA: 5100 0000 [0200]
F9: 103F 0000
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 102C 0000
F5: 1026 0000
00: 1005 0000
FA: 5100 0000
FA: 5100 0000 [0200]
F9: 103F 0000
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 102C 0000
01: 102A 0001
02: 1005 0000
BP: 2000 00C0 [0001]
EC: 0000 0000 [0000]
T0: 0000 00D6 [010F]
System halt!
and then I finally found the docs I should have been following, but it's too late as I've managed to break the 'failsafe recovery'.
I have a JTAG/SWD programmer ordered, which hopefully arrives tomorrow. I'll be following Steps to load u-boot via JTAG to try to get things working again.