[ar71xx] Fix routerstation / routerstation pro redboot FIS probing

Some changes back in ye olde times somewhere has changed the default
block size the flash device exposes.  So, the default geom redboot
FIS probing (to find the partition table structure in flash!)
is no longer finding it.

So, force it to probe at the last 64k of flash regardless of the
underlying flash block size.

Tested:

* Ubiquiti Routerstation pro, boots -HEAD MIPS
This commit is contained in:
Adrian Chadd 2021-02-25 13:06:03 -08:00
parent 5001c579ba
commit 547739cc00
2 changed files with 8 additions and 0 deletions

View File

@ -46,3 +46,7 @@ hint.gpioled.0.at="gpiobus0"
hint.gpioled.0.name="rf"
# pin 2
hint.gpioled.0.pins=0x0004
# Override this to ensure we definitely point to the last 64K of the
# 16MiB flash chip in case underlying block size of the flash driver changes.
hint.redboot.0.fisoffset="0xff0000"

View File

@ -47,3 +47,7 @@ hint.gpioled.0.at="gpiobus0"
hint.gpioled.0.name="rf"
# pin 2
hint.gpioled.0.pins=0x0004
# Override this to ensure we definitely point to the last 64K of the
# 16MiB flash chip in case underlying block size of the flash driver changes.
hint.redboot.0.fisoffset="0xff0000"