diff options
author | adrian <adrian@FreeBSD.org> | 2011-05-05 09:04:49 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-05-05 09:04:49 +0000 |
commit | d9e180209fe31d29a426a8cf783b92485d33f8d8 (patch) | |
tree | 304de0c0c9ad5e4fbecfc508514cf512ae9e3333 /sys/mips/conf/PB92.hints | |
parent | 7bb431331ff49407ccd475783ff321aeeda4efd4 (diff) | |
download | FreeBSD-src-d9e180209fe31d29a426a8cf783b92485d33f8d8.zip FreeBSD-src-d9e180209fe31d29a426a8cf783b92485d33f8d8.tar.gz |
Add nvram2env (untested) and geom_map (tested) to PB92.
Diffstat (limited to 'sys/mips/conf/PB92.hints')
-rw-r--r-- | sys/mips/conf/PB92.hints | 56 |
1 files changed, 50 insertions, 6 deletions
diff --git a/sys/mips/conf/PB92.hints b/sys/mips/conf/PB92.hints index 014e62f..846d57d 100644 --- a/sys/mips/conf/PB92.hints +++ b/sys/mips/conf/PB92.hints @@ -9,12 +9,6 @@ hint.uart.0.maddr=0x18020003 hint.uart.0.msize=0x18 hint.uart.0.irq=3 -# ohci -#hint.ohci.0.at="apb0" -#hint.ohci.0.maddr=0x1b000000 -#hint.ohci.0.msize=0x01000000 -#hint.ohci.0.irq=1 - #ehci - note the 0x100 offset for the AR913x/AR724x hint.ehci.0.at="nexus0" hint.ehci.0.maddr=0x1b000100 @@ -67,3 +61,53 @@ hint.mx25l.0.cs=0 # Watchdog hint.ar71xx_wdog.0.at="nexus0" + +# nvram mapping - XXX ? +hint.nvram.0.base=0x1f030000 +hint.nvram.0.maxsize=0x2000 +hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic +hint.nvram.1.base=0x1f032000 +hint.nvram.1.maxsize=0x4000 +hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic + +# GEOM_MAP +# +# From my PB92 environment: +# +# mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART) + +hint.map.0.at="flash/spi0" +hint.map.0.start=0x00000000 +hint.map.0.end=0x00040000 # 256k u-boot +hint.map.0.name="u-boot" +hint.map.0.readonly=1 + +hint.map.1.at="flash/spi0" +hint.map.1.start=0x00040000 +hint.map.1.end=0x00050000 # 64k u-boot-env +hint.map.1.name="u-boot-env" +hint.map.1.readonly=0 + +hint.map.2.at="flash/spi0" +hint.map.2.start=0x00050000 +hint.map.2.end=0x00300000 # 2752k rootfs +hint.map.2.name="rootfs" +hint.map.2.readonly=1 + +hint.map.3.at="flash/spi0" +hint.map.3.start=0x00300000 +hint.map.3.end=0x003e0000 # 896k uImage +hint.map.3.name="uImage" +hint.map.3.readonly=0 + +hint.map.4.at="flash/spi0" +hint.map.4.start=0x003e0000 +hint.map.4.end=0x003f0000 # 64k NVRAM +hint.map.4.name="NVRAM" +hint.map.4.readonly=0 + +hint.map.5.at="flash/spi0" +hint.map.5.start=0x003f0000 +hint.map.5.end=0x00400000 # 64k ART +hint.map.5.name="ART" +hint.map.5.readonly=1 |