summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-07-27 05:37:01 +0000
committerimp <imp@FreeBSD.org>2012-07-27 05:37:01 +0000
commit383580986ae2dc473d5b185a7fd018c7f8c00c5a (patch)
tree7d39315ab00eeed33dd62b27cab239f7206c68fd
parente8e08eee9e77356689aed572050a72c805c79305 (diff)
downloadFreeBSD-src-383580986ae2dc473d5b185a7fd018c7f8c00c5a.zip
FreeBSD-src-383580986ae2dc473d5b185a7fd018c7f8c00c5a.tar.gz
Document the dataflash/mmc-sd issue. Add umass driver and usb. Boot
off da0s1a instead of ate0. Note that MMC/SD is slot B. Until I switch over to NAND boot, dataflash booting will preclude having SD cards inserted at boot, so this last bit is untested. My SAM9260-EK not boots to multi-user prompt.
-rw-r--r--sys/arm/conf/SAM9260EK44
1 files changed, 26 insertions, 18 deletions
diff --git a/sys/arm/conf/SAM9260EK b/sys/arm/conf/SAM9260EK
index f1cef53..08b308d 100644
--- a/sys/arm/conf/SAM9260EK
+++ b/sys/arm/conf/SAM9260EK
@@ -66,14 +66,17 @@ options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
#options INCLUDE_CONFIG_FILE # Include this file in kernel
# required for netbooting
-options BOOTP
-options BOOTP_COMPAT
-options BOOTP_NFSROOT
-options BOOTP_NFSV3
-options BOOTP_WIRED_TO=ate0
+#options BOOTP
+#options BOOTP_COMPAT
+#options BOOTP_NFSROOT
+#options BOOTP_NFSV3
+#options BOOTP_WIRED_TO=ate0
# alternatively, boot from a MMC/SD memory card
-#options ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
+#options ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
+
+# Alternatively, boot from a USB card.
+options ROOTDEVNAME=\"ufs:/dev/da0s1a\"
# kernel/memory size reduction
options MUTEX_NOINLINE
@@ -112,16 +115,21 @@ device iicbus # I2C bus system
device icee # I2C eeprom
# MMC/SD
+# See comment for DataFlash below
device at91_mci # Atmel AT91 Multimedia Card Interface
-options AT91_MCI_HAS_4WIRE
+options AT91_MCI_HAS_4WIRE # 4 wires
+options AT91_MCI_SLOT_B # Wired to slot B
device mmc # MMC/SD bus
device mmcsd # MMC/SD memory card
# DataFlash
-device at91_spi # Atmel AT91 Serial Peripheral Interface
-device spibus # SPI bus
-device at45d # Atmel AT45D
-device geom_map # GEOM partition mapping
+# The DataFlash and MMC card are wired together, so we must pick one or the
+# other. This is due to pin mux, and also due to the design of the
+# SAM9260EK board. SLOT A wouldn't have this issue.
+#device at91_spi # Atmel AT91 Serial Peripheral Interface
+#device spibus # SPI bus
+#device at45d # Atmel AT45D
+#device geom_map # GEOM partition mapping
# Pseudo devices.
device loop # Network loopback
@@ -135,13 +143,13 @@ device ether # Ethernet support
#device firmware # firmware assist module
# SCSI peripherals
-#device scbus # SCSI bus (required for ATA/SCSI)
+device scbus # SCSI bus (required for ATA/SCSI)
#device ch # SCSI media changers
-#device da # Direct Access (disks)
+device da # Direct Access (disks)
#device sa # Sequential Access (tape etc)
-#device cd # CD
-#device pass # Passthrough device (direct ATA/SCSI access)
-#device ses # Enclosure Services (SES and SAF-TE)
+device cd # CD/DVD
+device pass # Passthrough device (direct ATA/SCSI access)
+device ses # Enclosure Services (SES and SAF-TE)
#device ctl # CAM Target Layer
# Serial (COM) ports
@@ -150,9 +158,9 @@ options ALT_BREAK_TO_DEBUGGER
# USB support
#options USB_DEBUG # enable debug msgs
-device ohci # OHCI PCI->USB interface
+device ohci # OHCI USB interface
device usb # USB Bus (required)
-#device umass # Disks/Mass storage - Requires scbus and da
+device umass # Disks/Mass storage - Requires scbus and da
# watchdog
device at91_wdt # Atmel AT91 Watchdog Timer
OpenPOWER on IntegriCloud