Deleted Added
full compact
PICOSTATION_M2HP (291049) PICOSTATION_M2HP (295945)
1#
2# Specific board setup for the Picostation M2 HP board.
3#
4# This board has the following hardware:
5#
6# + AR7241 CPU SoC
7# + AR9287 Wifi
8# + Integrated switch (XXX speed?)
9# + 8MB flash
10# + 32MB RAM
11# + uboot environment
12
1#
2# Specific board setup for the Picostation M2 HP board.
3#
4# This board has the following hardware:
5#
6# + AR7241 CPU SoC
7# + AR9287 Wifi
8# + Integrated switch (XXX speed?)
9# + 8MB flash
10# + 32MB RAM
11# + uboot environment
12
13# $FreeBSD: head/sys/mips/conf/PICOSTATION_M2HP 291049 2015-11-19 01:58:12Z imp $
13# $FreeBSD: head/sys/mips/conf/PICOSTATION_M2HP 295945 2016-02-24 00:39:36Z sobomax $
14
15#NO_UNIVERSE
16
17include "AR724X_BASE"
18ident "PICOSTATION_M2HP"
19hints "PICOSTATION_M2HP.hints"
20
21options AR71XX_REALMEM=32*1024*1024
22
23options AR71XX_ENV_UBOOT
24
25# Limit inlines
26makeoptions INLINE_LIMIT=768
27
28# We bite the performance overhead for now; the kernel won't
29# fit if the mutexes are inlined.
30options MUTEX_NOINLINE
31options RWLOCK_NOINLINE
32options SX_NOINLINE
33
34# There's no need to enable swapping on this platform.
35options NO_SWAPPING
36
37# For DOS - enable if required
38# options MSDOSFS
39
40# uncompress - to boot read-only lzma natively from flash
14
15#NO_UNIVERSE
16
17include "AR724X_BASE"
18ident "PICOSTATION_M2HP"
19hints "PICOSTATION_M2HP.hints"
20
21options AR71XX_REALMEM=32*1024*1024
22
23options AR71XX_ENV_UBOOT
24
25# Limit inlines
26makeoptions INLINE_LIMIT=768
27
28# We bite the performance overhead for now; the kernel won't
29# fit if the mutexes are inlined.
30options MUTEX_NOINLINE
31options RWLOCK_NOINLINE
32options SX_NOINLINE
33
34# There's no need to enable swapping on this platform.
35options NO_SWAPPING
36
37# For DOS - enable if required
38# options MSDOSFS
39
40# uncompress - to boot read-only lzma natively from flash
41device geom_uncompress
42options GEOM_UNCOMPRESS
43options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
41device geom_uzip
42options GEOM_UZIP
43options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
44
45# Not enough space for these..
46nooptions INVARIANTS
47nooptions INVARIANT_SUPPORT
48nooptions WITNESS
49nooptions WITNESS_SKIPSPIN
50nooptions DEBUG_REDZONE
51nooptions DEBUG_MEMGUARD
52
53# Used for the static uboot partition map
54device geom_map
55
56# Options needed for the EEPROM based calibration/PCI configuration data.
57options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
58options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
59device firmware # Used by the above
60
61# Options required for miiproxy and mdiobus
62options ARGE_MDIO # Export an MDIO bus separate from arge
63device miiproxy # MDIO bus <-> MII PHY rendezvous
64
65device etherswitch
66device arswitch
67
68# Enable GPIO
69device gpio
70device gpioled
44
45# Not enough space for these..
46nooptions INVARIANTS
47nooptions INVARIANT_SUPPORT
48nooptions WITNESS
49nooptions WITNESS_SKIPSPIN
50nooptions DEBUG_REDZONE
51nooptions DEBUG_MEMGUARD
52
53# Used for the static uboot partition map
54device geom_map
55
56# Options needed for the EEPROM based calibration/PCI configuration data.
57options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
58options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
59device firmware # Used by the above
60
61# Options required for miiproxy and mdiobus
62options ARGE_MDIO # Export an MDIO bus separate from arge
63device miiproxy # MDIO bus <-> MII PHY rendezvous
64
65device etherswitch
66device arswitch
67
68# Enable GPIO
69device gpio
70device gpioled