Author: ian
Date: Sun Feb 23 01:48:07 2014
New Revision: 262354
URL: http://svnweb.freebsd.org/changeset/base/262354

Log:
  Create a generic IMX6 kernel config.  This is based on the existing
  WANDBOARD.common config, but with the freescale-specific optons and devices
  all together at the bottom now.  In addition to reformatting and shuffling
  lines around, two new options are added because they're now known to work,
  VFP and FREEBSD_BOOT_LOADER.
  
  This config does not include any static DTB, it requires that u-boot
  provide a DTB (or a custom kernel config can compile one in).
  
  This will supercede all the existing WANDBOARD* configs, but those will
  be left around for a while to help people transition their customized
  configs to include this new one instead.

Added:
  head/sys/arm/conf/IMX6
     - copied, changed from r262304, head/sys/arm/conf/WANDBOARD.common

Copied and modified: head/sys/arm/conf/IMX6 (from r262304, 
head/sys/arm/conf/WANDBOARD.common)
==============================================================================
--- head/sys/arm/conf/WANDBOARD.common  Fri Feb 21 21:02:19 2014        
(r262304, copy source)
+++ head/sys/arm/conf/IMX6      Sun Feb 23 01:48:07 2014        (r262354)
@@ -65,73 +65,70 @@ options     ALT_BREAK_TO_DEBUGGER   # Use <C
 #options       INVARIANT_SUPPORT       # Extra sanity checks of internal 
structures, required by INVARIANTS
 #options       WITNESS                 # Enable checks to detect deadlocks and 
cycles
 
-# Note that 'bpf' is required for DHCP.
-device         bpf             # Berkeley packet filter
-
 # Pseudo devices.
-device         loop            # Network loopback
-device         random          # Entropy device
-device         vlan            # 802.1Q VLAN support
-device         tun             # Packet tunnel.
-device         md              # Memory "disks"
-#device        gif             # IPv6 and IPv4 tunneling
-#device        faith           # IPv6-to-IPv4 relaying (translation)
-#device        firmware        # firmware assist module
-device         ether           # Ethernet support
-device         miibus          # Required for ethernet
+device         loop                    # Network loopback
+device         random                  # Entropy device
+device         vlan                    # 802.1Q VLAN support
+device         tun                     # Packet tunnel.
+device         md                      # Memory "disks"
+#device        gif                     # IPv6 and IPv4 tunneling
+#device        faith                   # IPv6-to-IPv4 relaying (translation)
+#device        firmware                # firmware assist module
+device         ether                   # Ethernet support
+device         miibus                  # Required for ethernet
+device         bpf                     # Berkeley packet filter (required for 
DHCP)
+#device        iomux                   # IO Multiplexor
 
 # Serial (COM) ports
-device         uart            # Multi-uart driver
+device         uart                    # Multi-uart driver
 
-#device        iomux           # IO Multiplexor
+# SDCard
+device         sdhci                   # SD controller
+device         mmc                     # SD/MMC protocol
+device         mmcsd                   # SDCard disk device
 
 # SCSI peripherals
-device         scbus           # SCSI bus (required for SCSI)
-device         da              # Direct Access (disks)
-device         cd              # CD
-device         pass            # Passthrough device (direct SCSI access)
+device         scbus                   # SCSI bus (required for SCSI)
+device         da                      # Direct Access (disks)
+device         cd                      # CD
+device         pass                    # Passthrough device (direct SCSI 
access)
 
 # USB support
-#options       USB_DEBUG       # enable debug msgs
-options  USB_HOST_ALIGN=32     # Required for ARM, set to cache line size.
-device         ehci            # OHCI USB interface
-device         usb             # USB Bus (required)
-device         umass           # Disks/Mass storage - Requires scbus and da
-device         uhid            # "Human Interface Devices"
-device         u3g             # USB modems
-
-# USB Ethernet, requires miibus
-#device        aue             # ADMtek USB Ethernet
-#device        axe             # ASIX Electronics USB Ethernet
-#device        cdce            # Generic USB over Ethernet
-#device        cue             # CATC USB Ethernet
-#device        kue             # Kawasaki LSI USB Ethernet
-#device        rue             # RealTek RTL8150 USB Ethernet
-#device        udav            # Davicom DM9601E USB
+#options       USB_DEBUG               # enable debug msgs
+device         ehci                    # OHCI USB interface
+device         usb                     # USB Bus (required)
+device         umass                   # Disks/Mass storage - Requires scbus 
and da
+device         uhid                    # "Human Interface Devices"
+device         u3g                     # USB modems
+#device        ukbd                    # Allow keyboard like HIDs to control 
console
+#device        ums                     # USB mouse
+
+# USB Ethernet, requires miibus        
+#device        aue                     # ADMtek USB Ethernet
+#device        axe                     # ASIX Electronics USB Ethernet
+#device        cdce                    # Generic USB over Ethernet
+#device        cue                     # CATC USB Ethernet
+#device        kue                     # Kawasaki LSI USB Ethernet
+#device        rue                     # RealTek RTL8150 USB Ethernet
+#device        udav                    # Davicom DM9601E USB
 
 # USB Wireless
-#device        rum             # Ralink Technology RT2501USB wireless NICs
-
-# Watchdog timer.
-# WARNING: can't be disabled!!!
-#device        imxwdt          # Watchdog
+#device        rum                     # Ralink Technology RT2501USB wireless 
NICs
 
 # Wireless NIC cards
-#device        wlan            # 802.11 support
-#device        wlan_wep        # 802.11 WEP support
-#device        wlan_ccmp       # 802.11 CCMP support
-#device        wlan_tkip       # 802.11 TKIP support
-#device        wlan_amrr       # AMRR transmit rate control algorithm
+#device        wlan                    # 802.11 support
+#device        wlan_wep                # 802.11 WEP support
+#device        wlan_ccmp               # 802.11 CCMP support
+#device        wlan_tkip               # 802.11 TKIP support
+#device        wlan_amrr               # AMRR transmit rate control algorithm
 
 # NOTE: serial console will be disabled if syscons enabled
 # Uncomment following lines for framebuffer/syscons support
 # Wandboard has no video console support yet.
 #device        sc
 #device        kbdmux
-#options       SC_DFLT_FONT    # compile font in
+#options       SC_DFLT_FONT            # compile font in
 #makeoptions   SC_DFLT_FONT=cp437
-#device        ukbd            # Allow keyboard like HIDs to control console
-#device        ums
 
 # required for netbooting
 #options       BOOTP
@@ -143,13 +140,16 @@ device    u3g             # USB modems
 # U-Boot stuff lives on slice 1, FreeBSD on slice 2.
 options        ROOTDEVNAME=\"ufs:mmcsd0s2a\"
 
-#device        fsliic          # Freescale i2c/iic (not ready yet)
-#device        iic             # iic protocol
-#device        iicbus          # iic bus
-
-device         sdhci           # SD controller
-device         mmc             # SD/MMC protocol
-device         mmcsd           # SDCard disk device
-
-device         ffec            # Freescale Fast Ethernet Controller
+# ARM and SoC-specific options
+options        FDT                     # Configure using FDT/DTB data.
+#options       SMP                     # Enable multiple cores
+options        VFP                     # Enable floating point hardware support
+options        FREEBSD_BOOT_LOADER     # Process metadata passed from loader(8)
+
+# SoC-specific devices
+device         ffec                    # Freescale Fast Ethernet Controller
+#device        fsliic                  # Freescale i2c/iic (not ready yet)
+#device        iic                     # iic protocol
+#device        iicbus                  # iic bus
+#device        imxwdt                  # Watchdog. WARNING: can't be 
disabled!!!
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to