547739cc00
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
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
# $FreeBSD$
|
|
|
|
# arge0 mdio bus
|
|
hint.argemdio.0.at="nexus0"
|
|
hint.argemdio.0.maddr=0x19000000
|
|
hint.argemdio.0.msize=0x1000
|
|
hint.argemdio.0.order=0
|
|
|
|
# arge0: dedicated switch port
|
|
hint.arge.0.phymask=0x10 # PHY4
|
|
hint.arge.0.miimode=3 # RGMII
|
|
hint.arge.0.mdio=mdioproxy1 # .. off of the switch mdiobus
|
|
|
|
# arge1: nail to 1000/full, RGMII - connected to the switch
|
|
hint.arge.1.media=1000 # Map to 1000/full
|
|
hint.arge.1.fduplex=1 #
|
|
hint.arge.1.phymask=0x0 # no directly mapped PHYs
|
|
hint.arge.1.miimode=3 # RGMII
|
|
|
|
hint.arswitch.0.at="mdio0"
|
|
hint.arswitch.0.is_7240=0
|
|
hint.arswitch.0.numphys=4
|
|
hint.arswitch.0.phy4cpu=1
|
|
hint.arswitch.0.is_rgmii=1
|
|
hint.arswitch.0.is_gmii=0
|
|
|
|
# Don't flip on anything that isn't already enabled.
|
|
# This includes leaving the SPI CS1/CS2 pins as GPIO pins as they're
|
|
# not used here.
|
|
hint.gpio.0.function_set=0x00000000
|
|
hint.gpio.0.function_clear=0x00000000
|
|
|
|
# These are the GPIO LEDs and buttons which can be software controlled.
|
|
hint.gpio.0.pinmask=0x000000ff
|
|
|
|
# GPIO 0: Pin 1
|
|
# GPIO 1: Pin 2
|
|
# GPIO 2: RF LED
|
|
# GPIO 3: Pin 3
|
|
# GPIO 4: Pin 4
|
|
# GPIO 5: Pin 5
|
|
# GPIO 6: Pin 6
|
|
# GPIO 7: Pin 7
|
|
|
|
# RF led
|
|
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"
|