Successfully flashed the router with the latest snapshot, but it is failing on me on the third reboot (issuing reboot commands from console)
Noticing this in the commit message:
Notable changes to U-Boot include
[...]
- dual partition scheme with "nomimal" or "rescue" systems, falling
back to "rescue" unless the OS signals success in 3 attempts
Does that mean it was fixed or not fixed?
Possible to get a regular uboot onto this device?
dump from pre-uboot:
Jump to BL
NOTICE: BL2: v2.6(release):v2.6-234-ge6fff8ecc
NOTICE: BL2: Built : 11:02:39, Sep 29 2022
NOTICE: WDT: disabled
NOTICE: CPU: MT7986 (2000MHz)
NOTICE: EMI: Using DDR4 settings
NOTICE: EMI: Detected DRAM size: 1024MB
NOTICE: EMI: complex R/W mem test passed
NOTICE: SPI_NAND parses attributes from parameter page.
NOTICE: SPI_NAND Detected ID 0x75
NOTICE: Page size 4096, Block size 262144, size 536870912
NOTICE: Initializing NMBM ...
NOTICE: Signature found at block 2047 [0x1ffc0000]
NOTICE: First info table with writecount 0 found in block 1920
NOTICE: Second info table with writecount 0 found in block 1923
NOTICE: NMBM has been successfully attached in read-only mode
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.6(release):v2.6-234-ge6fff8ecc
NOTICE: BL31: Built : 11:02:41, Sep 29 2022
U-Boot 2022.04-00001-g750deab192 (Sep 29 2022 - 10:09:33 +0000)
Ouch. Looks like that's my fault. Don't know how I managed to both make this error and miss it, but the problem is that /etc/init.d/bootcount has wrong mode. You can fix your installed image by doing
chmod 755 /etc/init.d/bootcount
You can verify the fix by looking at this after boot: