head 1.36; access; symbols netbsd-11-0-RC5:1.34 netbsd-11-0-RC4:1.34 netbsd-11-0-RC3:1.34 netbsd-11-0-RC2:1.34 netbsd-11-0-RC1:1.34 perseant-exfatfs-base-20250801:1.34 netbsd-11:1.34.0.4 netbsd-11-base:1.34 netbsd-10-1-RELEASE:1.32 perseant-exfatfs-base-20240630:1.34 perseant-exfatfs:1.34.0.2 perseant-exfatfs-base:1.34 netbsd-8-3-RELEASE:1.22.6.2 netbsd-9-4-RELEASE:1.28 netbsd-10-0-RELEASE:1.32 netbsd-10-0-RC6:1.32 netbsd-10-0-RC5:1.32 netbsd-10-0-RC4:1.32 netbsd-10-0-RC3:1.32 netbsd-10-0-RC2:1.32 thorpej-ifq:1.33.0.4 thorpej-ifq-base:1.33 thorpej-altq-separation:1.33.0.2 thorpej-altq-separation-base:1.33 netbsd-10-0-RC1:1.32 netbsd-10:1.32.0.4 netbsd-10-base:1.32 bouyer-sunxi-drm:1.32.0.2 bouyer-sunxi-drm-base:1.32 netbsd-9-3-RELEASE:1.28 thorpej-i2c-spi-conf2:1.31.0.16 thorpej-i2c-spi-conf2-base:1.31 thorpej-futex2:1.31.0.14 thorpej-futex2-base:1.31 thorpej-cfargs2:1.31.0.12 thorpej-cfargs2-base:1.31 cjep_sun2x-base1:1.31 cjep_sun2x:1.31.0.10 cjep_sun2x-base:1.31 cjep_staticlib_x-base1:1.31 netbsd-9-2-RELEASE:1.28 cjep_staticlib_x:1.31.0.8 cjep_staticlib_x-base:1.31 thorpej-i2c-spi-conf:1.31.0.6 thorpej-i2c-spi-conf-base:1.31 thorpej-cfargs:1.31.0.4 thorpej-cfargs-base:1.31 thorpej-futex:1.31.0.2 thorpej-futex-base:1.31 netbsd-9-1-RELEASE:1.28 bouyer-xenpvh-base2:1.30 phil-wifi-20200421:1.30 bouyer-xenpvh-base1:1.30 phil-wifi-20200411:1.30 bouyer-xenpvh:1.30.0.2 bouyer-xenpvh-base:1.30 is-mlppp:1.29.0.2 is-mlppp-base:1.29 phil-wifi-20200406:1.30 netbsd-8-2-RELEASE:1.22.6.2 ad-namecache-base3:1.29 netbsd-9-0-RELEASE:1.28 netbsd-9-0-RC2:1.28 ad-namecache-base2:1.29 ad-namecache-base1:1.28 ad-namecache:1.28.0.4 ad-namecache-base:1.28 netbsd-9-0-RC1:1.28 phil-wifi-20191119:1.28 netbsd-9:1.28.0.2 netbsd-9-base:1.28 phil-wifi-20190609:1.28 netbsd-8-1-RELEASE:1.22.6.2 netbsd-8-1-RC1:1.22.6.2 isaki-audio2:1.27.0.2 isaki-audio2-base:1.27 pgoyette-compat-merge-20190127:1.25.4.2 pgoyette-compat-20190127:1.27 pgoyette-compat-20190118:1.27 pgoyette-compat-1226:1.26 pgoyette-compat-1126:1.26 pgoyette-compat-1020:1.26 pgoyette-compat-0930:1.26 pgoyette-compat-0906:1.26 pgoyette-compat-0728:1.25 netbsd-8-0-RELEASE:1.22.6.1 phil-wifi:1.25.0.6 phil-wifi-base:1.25 pgoyette-compat-0625:1.25 netbsd-8-0-RC2:1.22.6.1 pgoyette-compat-0521:1.25 pgoyette-compat-0502:1.25 pgoyette-compat-0422:1.25 netbsd-8-0-RC1:1.22.6.1 pgoyette-compat-0415:1.25 pgoyette-compat-0407:1.25 pgoyette-compat-0330:1.25 pgoyette-compat-0322:1.25 pgoyette-compat-0315:1.25 pgoyette-compat:1.25.0.4 pgoyette-compat-base:1.25 tls-maxphys:1.25.0.2 tls-maxphys-base-20171202:1.25 matt-nb8-mediatek:1.22.6.1.0.2 matt-nb8-mediatek-base:1.22.6.1 nick-nhusb-base-20170825:1.24 perseant-stdc-iso10646:1.22.0.8 perseant-stdc-iso10646-base:1.22 netbsd-8:1.22.0.6 netbsd-8-base:1.22 prg-localcount2-base3:1.22 prg-localcount2-base2:1.22 prg-localcount2-base1:1.22 prg-localcount2:1.22.0.4 prg-localcount2-base:1.22 pgoyette-localcount-20170426:1.22 bouyer-socketcan-base1:1.22 jdolecek-ncq:1.22.0.2 jdolecek-ncq-base:1.22 pgoyette-localcount-20170320:1.22 nick-nhusb-base-20170204:1.21 bouyer-socketcan:1.21.0.4 bouyer-socketcan-base:1.21 pgoyette-localcount-20170107:1.21 nick-nhusb-base-20161204:1.21 pgoyette-localcount-20161104:1.21 nick-nhusb-base-20161004:1.21 localcount-20160914:1.21 pgoyette-localcount-20160806:1.21 pgoyette-localcount-20160726:1.21 pgoyette-localcount:1.21.0.2 pgoyette-localcount-base:1.21 nick-nhusb-base-20160907:1.21 nick-nhusb-base-20160529:1.21 nick-nhusb-base-20160422:1.21 nick-nhusb-base-20160319:1.21 nick-nhusb-base-20151226:1.18 nick-nhusb-base-20150921:1.16 nick-nhusb-base-20150606:1.13 nick-nhusb-base-20150406:1.12 nick-nhusb:1.3.0.2 nick-nhusb-base:1.3; locks; strict; comment @# @; 1.36 date 2026.01.15.16.57.38; author skrll; state Exp; branches; next 1.35; commitid UVeApcfGk2xpIvqG; 1.35 date 2026.01.15.06.22.51; author skrll; state Exp; branches; next 1.34; commitid QxiJn71qpvjwcsqG; 1.34 date 2024.01.29.18.27.11; author christos; state Exp; branches; next 1.33; commitid KXsF1U1D4DhafnWE; 1.33 date 2023.02.09.14.09.48; author abs; state Exp; branches; next 1.32; commitid TaTOPEdyZJGxcRcE; 1.32 date 2022.08.07.02.52.25; author simonb; state Exp; branches; next 1.31; commitid HXKRRXLciPDtrTOD; 1.31 date 2020.09.27.13.48.50; author roy; state Exp; branches; next 1.30; commitid DA9l8f9bbF8ATGpC; 1.30 date 2020.04.02.13.03.53; author nisimura; state Exp; branches; next 1.29; commitid knvM9ChY7JOenO2C; 1.29 date 2020.01.19.01.25.05; author thorpej; state Exp; branches; next 1.28; commitid JHEWDzmAWJGESeTB; 1.28 date 2019.04.26.21.40.29; author sevan; state Exp; branches 1.28.4.1; next 1.27; commitid 6ehTybiQEayJbUkB; 1.27 date 2018.12.30.14.51.36; author sevan; state Exp; branches; next 1.26; commitid 7a9Ack56FfqkHP5B; 1.26 date 2018.08.01.20.04.11; author maxv; state Exp; branches; next 1.25; commitid UbIHSaPqOzfNisMA; 1.25 date 2017.09.14.07.58.40; author mrg; state Exp; branches 1.25.2.1 1.25.4.1 1.25.6.1; next 1.24; commitid ngZ6fHXwTqlZA87A; 1.24 date 2017.07.29.18.08.57; author maxv; state Exp; branches; next 1.23; commitid OtoNC1YDOrKHu91A; 1.23 date 2017.07.25.06.44.22; author mrg; state Exp; branches; next 1.22; commitid SM9U6dJr6jMHPz0A; 1.22 date 2017.02.19.07.47.00; author rin; state Exp; branches 1.22.6.1; next 1.21; commitid ivCr5u3yfBMzbxGz; 1.21 date 2016.01.29.01.54.13; author macallan; state Exp; branches 1.21.2.1 1.21.4.1; next 1.20; commitid od6oTB4zQ2oUFLSy; 1.20 date 2016.01.03.06.23.25; author macallan; state Exp; branches; next 1.19; commitid Eiyg4L4ckWYH0sPy; 1.19 date 2016.01.02.16.55.46; author macallan; state Exp; branches; next 1.18; commitid 2ZQatngsI3NGxnPy; 1.18 date 2015.10.29.00.15.48; author mrg; state Exp; branches; next 1.17; commitid vmvH6kqUU9XR5WGy; 1.17 date 2015.10.08.17.58.51; author macallan; state Exp; branches; next 1.16; commitid BdP8hr7W34XJEkEy; 1.16 date 2015.08.12.07.53.57; author maxv; state Exp; branches; next 1.15; commitid 6eLXlen4HB1O8Xwy; 1.15 date 2015.08.07.17.41.43; author macallan; state Exp; branches; next 1.14; commitid PABJyxIWZO4rymwy; 1.14 date 2015.07.11.19.00.04; author macallan; state Exp; branches; next 1.13; commitid MCJOTwlMWgVQQTsy; 1.13 date 2015.04.06.14.12.28; author martin; state Exp; branches; next 1.12; commitid tmoI2FzSf1ALlxgy; 1.12 date 2015.04.04.12.32.34; author macallan; state Exp; branches; next 1.11; commitid 5ZjP4eAU8NErRggy; 1.11 date 2015.03.17.07.28.18; author macallan; state Exp; branches; next 1.10; commitid 7nyrYZBtCOnTKVdy; 1.10 date 2015.03.10.18.20.20; author macallan; state Exp; branches; next 1.9; commitid x4pS6XZSNYLxA5dy; 1.9 date 2015.03.08.17.15.58; author macallan; state Exp; branches; next 1.8; commitid KY0XdzaWyQCtiPcy; 1.8 date 2015.03.07.15.39.57; author macallan; state Exp; branches; next 1.7; commitid xPNeDTOVKaDxNGcy; 1.7 date 2014.12.25.05.15.42; author macallan; state Exp; branches; next 1.6; commitid iXJ5yl8dyC3UEn3y; 1.6 date 2014.12.23.16.16.49; author macallan; state Exp; branches; next 1.5; commitid jAFaFrwWPtLEnb3y; 1.5 date 2014.12.23.15.06.01; author macallan; state Exp; branches; next 1.4; commitid jWJbAQaSL2rdZa3y; 1.4 date 2014.12.06.14.31.27; author macallan; state Exp; branches; next 1.3; commitid ap7KkAPENpIolZ0y; 1.3 date 2014.11.25.04.55.13; author macallan; state Exp; branches 1.3.2.1; next 1.2; commitid S48uEs2g1AaEvwZx; 1.2 date 2014.11.22.19.48.36; author martin; state Exp; branches; next 1.1; commitid R7LgVFyZvHVaydZx; 1.1 date 2014.11.22.15.17.02; author macallan; state Exp; branches; next ; commitid EtcQFt0KzdXp2cZx; 1.28.4.1 date 2020.01.25.22.38.40; author ad; state Exp; branches; next ; commitid ethRERRmx7bMJ7UB; 1.25.2.1 date 2017.09.14.07.58.40; author jdolecek; state dead; branches; next 1.25.2.2; commitid XcIYRZTAh1LmerhA; 1.25.2.2 date 2017.12.03.11.36.09; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.25.4.1 date 2018.09.06.06.55.33; author pgoyette; state Exp; branches; next 1.25.4.2; commitid HCi1bXD317XIK0RA; 1.25.4.2 date 2019.01.18.08.50.16; author pgoyette; state Exp; branches; next ; commitid Lmlzg3OVT2cd6f8B; 1.25.6.1 date 2019.06.10.22.06.12; author christos; state Exp; branches; next 1.25.6.2; commitid jtc8rnCzWiEEHGqB; 1.25.6.2 date 2020.04.08.14.07.36; author martin; state Exp; branches; next ; commitid Qli2aW9E74UFuA3C; 1.22.6.1 date 2017.08.01.23.36.08; author snj; state Exp; branches; next 1.22.6.2; commitid Lt3NuvyNOZb7dz1A; 1.22.6.2 date 2019.01.07.13.46.57; author martin; state Exp; branches; next ; commitid RzezcpN4ab5O6R6B; 1.21.2.1 date 2017.03.20.06.57.13; author pgoyette; state Exp; branches; next ; commitid jjw7cAwgyKq7RfKz; 1.21.4.1 date 2017.04.21.16.53.26; author bouyer; state Exp; branches; next ; commitid dUG7nkTKALCadqOz; 1.3.2.1 date 2015.04.06.15.17.56; author skrll; state Exp; branches; next 1.3.2.2; commitid pz01Zhy7RP6iGxgy; 1.3.2.2 date 2015.06.06.14.39.59; author skrll; state Exp; branches; next 1.3.2.3; commitid O6LVO5i6UulOvnoy; 1.3.2.3 date 2015.09.22.12.05.41; author skrll; state Exp; branches; next 1.3.2.4; commitid CpNWKp3ozVNTafCy; 1.3.2.4 date 2015.12.27.12.09.35; author skrll; state Exp; branches; next 1.3.2.5; commitid BTSqUD4SdJ5k7AOy; 1.3.2.5 date 2016.03.19.11.29.58; author skrll; state Exp; branches; next 1.3.2.6; commitid 2PHKtPSg1vDV9fZy; 1.3.2.6 date 2017.08.28.17.51.36; author skrll; state Exp; branches; next ; commitid UQQpnjvcNkUZn05A; desc @@ 1.36 log @Revert previous @ text @# $NetBSD: CI20,v 1.35 2026/01/15 06:22:51 skrll Exp $ # # MIPS Creator CI20 # include "arch/evbmips/conf/std.ingenic" #options INCLUDE_CONFIG_FILE # embed config file in kernel binary #ident "CI20-$Revision: 1.35 $" maxusers 32 #makeoptions COPTS="-Os" # Optimise for space. Implies -O2 options MIPS32R2 makeoptions CPUFLAGS+="-mips32r2" makeoptions NEED_BINARY="yes" makeoptions NEED_UBOOTIMAGE="gz" options COM_TOLERANCE=50 # +/- 5% options CONSPEED=115200 # u-boot default # Options for necessary to use MD #makeoptions NEED_MDSETIMAGE="yes" #options MEMORY_DISK_HOOKS #options MEMORY_DISK_IS_ROOT # force root on memory disk #options MEMORY_DISK_SERVER=0 # no userspace memory disk support #options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks #options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks #options MEMORY_DISK_ROOT_SIZE=7300 # Size reduction options #options VNODE_OP_NOINLINE #options PIPE_SOCKETPAIR options SOSEND_NO_LOAN # Standard system options options KTRACE # system call tracing support #options SYSVMSG # System V message queues #options SYSVSEM # System V semaphores #options SYSVSHM # System V shared memory options NTP # network time protocol # Debugging options options DIAGNOSTIC # extra kernel sanity checking #options DEBUG # extra kernel debugging support #options USERCONF # userconf(4) support #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel options DDB # kernel dynamic debugger options DDB_HISTORY_SIZE=100 # enable history editing in DDB makeoptions DEBUG="-g" # compile full symbol table makeoptions COPY_SYMTAB=1 # size for embedded symbol table #options INGENIC_DEBUG #options INGENIC_CLOCK_DEBUG #options INGENIC_INTR_DEBUG # *very* spammy # Compatibility options include "conf/compat_netbsd16.config" #options EXEC_ECOFF # exec ECOFF binaries #options COMPAT_ULTRIX # binary compatibility with Ultrix # File systems file-system FFS # Berkeley Fast Filesystem #file-system MFS # memory-based filesystem #file-system EXT2FS # second extended file system (linux) file-system NFS # Sun NFS-compatible filesystem client file-system KERNFS # kernel data-structure filesystem #file-system NULLFS # NULL layered filesystem #file-system OVERLAY # overlay file system #file-system FDESC # user file descriptor filesystem #file-system UMAPFS # uid/gid remapping filesystem #file-system LFS # Log-based filesystem (still experimental) file-system PROCFS # /proc #file-system CD9660 # ISO 9660 + Rock Ridge file system #file-system UNION # union file system file-system MSDOSFS # MS-DOS FAT filesystem(s). #file-system CODA # Coda File System; also needs vcoda (below) file-system PTYFS # /dev/pts/N support file-system TMPFS # Efficient memory file-system # File system options #options FFS_EI # FFS Endian Independent support options FFS_NO_SNAPSHOT # No FFS snapshot support #options QUOTA # legacy UFS quotas #options QUOTA2 # new, in-filesystem UFS quotas #options UFS_DIRHASH # UFS Large Directory Hashing #options UFS_EXTATTR # Extended attribute support for UFS1 options WAPBL # File system journaling support #options DISKLABEL_EI # disklabel Endian Independent support #options NFSSERVER # Network File System server # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN # Networking options #options GATEWAY # IP packet forwarding options INET # Internet protocols options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # packet forwarding of multicast packets #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk (over Ethernet) protocol #options PPP_BSDCOMP # BSD-Compress compression support for PPP #options PPP_DEFLATE # Deflate compression support for PPP #options PPP_FILTER # Active filter support for PPP (requires bpf) # JIT compiler for bpfilter #options SLJIT #options BPFJIT # These options enable verbose messages for several subsystems. # Warning, these may compile large string tables into the kernel! options MIIVERBOSE # verbose PHY autoconfig messages options NFS_BOOT_BOOTP options NFS_BOOT_DHCP #options NFS_V2_ONLY config netbsd root on sd0a type ffs #config netbsd root on axe0 type nfs #config netbsd root on dme0 type nfs mainbus0 at root #options MULTIPROCESSOR cpu* at mainbus? #wdog0 at mainbus? apbus0 at mainbus? # On-chip UARTs com* at apbus? # EFUSE efuse* at apbus? # On-chip USB dwctwo* at apbus? #options DWC2_DEBUG usb* at dwctwo? ohci* at apbus? usb* at ohci? # this one doesn't work right just yet ehci* at apbus? #options INGENIC_EHCI_DEBUG #options EHCI_DEBUG #options USBVERBOSE #options USBHIST usb* at ehci? # onboard ethernet dme* at apbus? # I2C/SMBus jziic* at apbus? #options JZIIC_DEBUG # spammy iic* at jziic? # voltage control and the like, no driver yet #act8600pm0 at iic0 addr 0x5a # XXX # the manual says there's a Pericom RTC at SMB4 addr 0x68 # on my preproduction CI20 that's not the case, instead there's something that # looks like a PCF8563 at addr 0x51 # the Pericom PT7C4337 seems to be a DS1339 clone #dsrtc0 at iic4 addr 0x68 flags 1339 # at least some CI20 have this instead pcf8563rtc0 at iic4 addr 0x51 #jzgpio* at apbus? addr ? #gpio* at jzgpio? # MSC / SDMMC - unfinished #jzmmc* at apbus? #options JZMMC_DEBUG #sdmmc* at jzmmc? #ld* at sdmmc? # USB stuff uhub* at usb? uhub* at uhub? port ? # USB HID device uhidev* at uhub? port ? configuration ? interface ? # USB Mice ums* at uhidev? reportid ? wsmouse* at ums? mux 0 # USB Keyboards ukbd* at uhidev? reportid ? wskbd* at ukbd? console ? mux 1 # USB Generic HID devices uhid* at uhidev? reportid ? # USB Mass Storage umass* at uhub? port ? configuration ? interface ? scsibus* at umass? channel ? sd* at scsibus? target ? lun ? # SCSI disk drives cd* at scsibus? target ? lun ? # SCSI CD-ROM drives # Ethernet #axe* at uhub? port ? #urtwn* at uhub? port ? # Random number generator jzrng0 at apbus0 # MII/PHY support #acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs dmphy* at mii? phy ? # Davicom DM9101 PHYs #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs #gphyter* at mii? phy ? # NS83861 Gig-E PHY #icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs #nsphy* at mii? phy ? # NS83840 PHYs #nsphyter* at mii? phy ? # NS83843 PHYs #pnaphy* at mii? phy ? # generic HomePNA PHYs #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs #tlphy* at mii? phy ? # ThunderLAN PHYs #tqphy* at mii? phy ? # TDK Semiconductor PHYs #rlphy* at mii? phy ? # RealTek PHYs ukphy* at mii? phy ? # generic unknown PHYs # Pseudo-devices # Disk/mass storage pseudo-devices #pseudo-device ccd # concatenated disk devices #pseudo-device raid # RAIDframe disk driver #pseudo-device fss # file system snapshot device #pseudo-device md # memory disk device (ramdisk) #pseudo-device vnd # disk-like interface to files # Network pseudo-devices pseudo-device bpfilter # Berkeley packet filter pseudo-device carp # Common Address Redundancy Protocol #pseudo-device npf # NPF packet filter pseudo-device loop # network loopback #pseudo-device ppp # Point-to-Point Protocol #pseudo-device sl # Serial Line IP #pseudo-device tun # network tunneling over tty #pseudo-device tap # virtual Ethernet #pseudo-device gre # generic L3 over IP tunnel #pseudo-device ipip # RFC 2003 IP Encapsulation #pseudo-device gif # RFC1933 tunnel #pseudo-device faith # IPv[46] tcp relay translation #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation #pseudo-device vlan # IEEE 802.1q encapsulation #pseudo-device bridge # simple inter-network bridging #pseudo-device vether # Virtual Ethernet for bridge # Miscellaneous pseudo-devices pseudo-device pty # pseudo-terminals pseudo-device clockctl # user control of clock subsystem pseudo-device ksyms # /dev/ksyms # A pseudo device needed for Coda # also needs CODA (above) #pseudo-device vcoda # coda minicache <-> venus comm. include "dev/veriexec.config" # Pull in optional local configuration - always at end cinclude "arch/evbmips/conf/CI20.local" @ 1.35 log @Fix the build by starting the FDTisation of CI20 @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.34 2024/01/29 18:27:11 christos Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.34 $" a15 2 options FDT a136 1 com* at fdt? @ 1.34 log @PR/57889: Ricardo Branco: ext2fs does not have user immutable and append file flags, only system ones. Restrict those to the superuser. Before the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the default. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.33 2023/02/09 14:09:48 abs Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.33 $" d16 2 d139 1 @ 1.33 log @Adjust _all_ cinclude of *.local files - Ensure always at end - Use tab rather than spaces - Add consistent comment "Pull in optional local configuration - always at end" The only functional change is that a local file which tried to override an existing setting (eg with "no foo") would have failed in some cases before, but now will work @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.32 2022/08/07 02:52:25 simonb Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.32 $" a90 2 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and # immutable) behave as system flags. @ 1.32 log @UFS/LFS dirhash: - Enable UFS_DIRHASH if the architecture or kernel model specific config file can use 128MB of RAM or more. - Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel and by a number of NetBSD developers for years. - Add LFS_DIRHASH if LFS was enabled. - Be somewhat consistent with FS options order. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.31 2020/09/27 13:48:50 roy Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.31 $" d278 1 a279 1 @ 1.31 log @vether: Add to kernel configurations It's only enabled if the kernel enabled bridge AND tap. Otherwise it's commented out. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.30 2020/04/02 13:03:53 nisimura Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.30 $" d84 2 a85 1 #options NFSSERVER # Sun NFS-compatible filesystem server d88 2 a89 2 #options DISKLABEL_EI # disklabel Endian Independent support #options FFS_EI # FFS Endian Independent support a90 1 options FFS_NO_SNAPSHOT # No FFS snapshot support d93 2 @ 1.30 log @add ukphy as the last resort. enable dmphy for dme @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.29 2020/01/19 01:25:05 thorpej Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.29 $" d264 1 @ 1.29 log @Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is long since obsolete. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.28 2019/04/26 21:40:29 sevan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.28 $" d222 1 a222 1 #dmphy* at mii? phy ? # Davicom DM9101 PHYs d236 1 a236 1 #ukphy* at mii? phy ? # generic unknown PHYs @ 1.28 log @Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs. On ports without a GENERIC kernel config enable in individul files, e.g evbmips. Omit on: atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k, mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource constraints or port infancy. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.27 2018/12/30 14:51:36 sevan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.27 $" a254 1 #pseudo-device strip # Starmode Radio IP (Metricom) @ 1.28.4.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.29 2020/01/19 01:25:05 thorpej Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.29 $" d255 1 @ 1.27 log @Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels. time results of a Lemote Fuloong 2F extracting the pkgsrc tree brick$ time tar -jxf pkgsrc.tar.bz2 priocscan + log 612.90 real 103.45 user 194.98 sys priocscan nolog 1345.48 real 103.57 user 274.32 sys fcfs + log 736.02 real 101.71 user 192.95 sys fcfs nolog 1475.16 real 103.06 user 271.14 sys @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.26 2018/08/01 20:04:11 maxv Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.26 $" d250 1 d274 1 @ 1.26 log @Unreference IPF/PF from all the config files, and enable NPF instead when wanted. This also fixes some inconsistencies I saw in several files (eg IPF options while IPF was not compiled, IPF+PF enabled by default, etc). @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.25 2017/09/14 07:58:40 mrg Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.25 $" d94 5 @ 1.25 log @clean up COMPAT_* options for native netbsd code: - new series of files that are useful for saying "i want everything since netbsd 1.4", etc. - use the fact COMPAT_* options have future dependancies to remove many redundant options. removes about 3000 lines total across kernel configuration files. tested about 30 random kernels in the changed list. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.24 2017/07/29 18:08:57 maxv Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.24 $" a105 2 #options IPFILTER_LOG # ipmon(8) log support #options IPFILTER_LOOKUP # ippool(8) support d245 1 a245 1 #pseudo-device ipfilter # IP filter (firewall) and NAT @ 1.25.6.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.28 2019/04/26 21:40:29 sevan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.28 $" a93 5 # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN d106 2 d247 1 a247 2 pseudo-device carp # Common Address Redundancy Protocol #pseudo-device npf # NPF packet filter a269 1 include "dev/veriexec.config" @ 1.25.6.2 log @Merge changes from current as of 20200406 @ text @d1 1 a1 1 # $NetBSD$ d10 1 a10 1 #ident "CI20-$Revision$" d222 1 a222 1 dmphy* at mii? phy ? # Davicom DM9101 PHYs d236 1 a236 1 ukphy* at mii? phy ? # generic unknown PHYs d255 1 @ 1.25.4.1 log @Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes) @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.26 2018/08/01 20:04:11 maxv Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.26 $" d106 2 d247 1 a247 1 #pseudo-device npf # NPF packet filter @ 1.25.4.2 log @Synch with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.25.4.1 2018/09/06 06:55:33 pgoyette Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.25.4.1 $" a93 5 # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN @ 1.25.2.1 log @file CI20 was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000 @ text @d1 272 @ 1.25.2.2 log @update from HEAD @ text @a0 272 # $NetBSD$ # # MIPS Creator CI20 # include "arch/evbmips/conf/std.ingenic" #options INCLUDE_CONFIG_FILE # embed config file in kernel binary #ident "CI20-$Revision$" maxusers 32 #makeoptions COPTS="-Os" # Optimise for space. Implies -O2 options MIPS32R2 makeoptions CPUFLAGS+="-mips32r2" makeoptions NEED_BINARY="yes" makeoptions NEED_UBOOTIMAGE="gz" options COM_TOLERANCE=50 # +/- 5% options CONSPEED=115200 # u-boot default # Options for necessary to use MD #makeoptions NEED_MDSETIMAGE="yes" #options MEMORY_DISK_HOOKS #options MEMORY_DISK_IS_ROOT # force root on memory disk #options MEMORY_DISK_SERVER=0 # no userspace memory disk support #options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks #options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks #options MEMORY_DISK_ROOT_SIZE=7300 # Size reduction options #options VNODE_OP_NOINLINE #options PIPE_SOCKETPAIR options SOSEND_NO_LOAN # Standard system options options KTRACE # system call tracing support #options SYSVMSG # System V message queues #options SYSVSEM # System V semaphores #options SYSVSHM # System V shared memory options NTP # network time protocol # Debugging options options DIAGNOSTIC # extra kernel sanity checking #options DEBUG # extra kernel debugging support #options USERCONF # userconf(4) support #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel options DDB # kernel dynamic debugger options DDB_HISTORY_SIZE=100 # enable history editing in DDB makeoptions DEBUG="-g" # compile full symbol table makeoptions COPY_SYMTAB=1 # size for embedded symbol table #options INGENIC_DEBUG #options INGENIC_CLOCK_DEBUG #options INGENIC_INTR_DEBUG # *very* spammy # Compatibility options include "conf/compat_netbsd16.config" #options EXEC_ECOFF # exec ECOFF binaries #options COMPAT_ULTRIX # binary compatibility with Ultrix # File systems file-system FFS # Berkeley Fast Filesystem #file-system MFS # memory-based filesystem #file-system EXT2FS # second extended file system (linux) file-system NFS # Sun NFS-compatible filesystem client file-system KERNFS # kernel data-structure filesystem #file-system NULLFS # NULL layered filesystem #file-system OVERLAY # overlay file system #file-system FDESC # user file descriptor filesystem #file-system UMAPFS # uid/gid remapping filesystem #file-system LFS # Log-based filesystem (still experimental) file-system PROCFS # /proc #file-system CD9660 # ISO 9660 + Rock Ridge file system #file-system UNION # union file system file-system MSDOSFS # MS-DOS FAT filesystem(s). #file-system CODA # Coda File System; also needs vcoda (below) file-system PTYFS # /dev/pts/N support file-system TMPFS # Efficient memory file-system # File system options #options NFSSERVER # Sun NFS-compatible filesystem server #options QUOTA # legacy UFS quotas #options QUOTA2 # new, in-filesystem UFS quotas #options DISKLABEL_EI # disklabel Endian Independent support #options FFS_EI # FFS Endian Independent support options WAPBL # File system journaling support options FFS_NO_SNAPSHOT # No FFS snapshot support #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and # immutable) behave as system flags. # Networking options #options GATEWAY # IP packet forwarding options INET # Internet protocols options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # packet forwarding of multicast packets #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk (over Ethernet) protocol #options PPP_BSDCOMP # BSD-Compress compression support for PPP #options PPP_DEFLATE # Deflate compression support for PPP #options PPP_FILTER # Active filter support for PPP (requires bpf) #options IPFILTER_LOG # ipmon(8) log support #options IPFILTER_LOOKUP # ippool(8) support # JIT compiler for bpfilter #options SLJIT #options BPFJIT # These options enable verbose messages for several subsystems. # Warning, these may compile large string tables into the kernel! options MIIVERBOSE # verbose PHY autoconfig messages options NFS_BOOT_BOOTP options NFS_BOOT_DHCP #options NFS_V2_ONLY config netbsd root on sd0a type ffs #config netbsd root on axe0 type nfs #config netbsd root on dme0 type nfs mainbus0 at root #options MULTIPROCESSOR cpu* at mainbus? #wdog0 at mainbus? apbus0 at mainbus? # On-chip UARTs com* at apbus? # EFUSE efuse* at apbus? # On-chip USB dwctwo* at apbus? #options DWC2_DEBUG usb* at dwctwo? ohci* at apbus? usb* at ohci? # this one doesn't work right just yet ehci* at apbus? #options INGENIC_EHCI_DEBUG #options EHCI_DEBUG #options USBVERBOSE #options USBHIST usb* at ehci? # onboard ethernet dme* at apbus? # I2C/SMBus jziic* at apbus? #options JZIIC_DEBUG # spammy iic* at jziic? # voltage control and the like, no driver yet #act8600pm0 at iic0 addr 0x5a # XXX # the manual says there's a Pericom RTC at SMB4 addr 0x68 # on my preproduction CI20 that's not the case, instead there's something that # looks like a PCF8563 at addr 0x51 # the Pericom PT7C4337 seems to be a DS1339 clone #dsrtc0 at iic4 addr 0x68 flags 1339 # at least some CI20 have this instead pcf8563rtc0 at iic4 addr 0x51 #jzgpio* at apbus? addr ? #gpio* at jzgpio? # MSC / SDMMC - unfinished #jzmmc* at apbus? #options JZMMC_DEBUG #sdmmc* at jzmmc? #ld* at sdmmc? # USB stuff uhub* at usb? uhub* at uhub? port ? # USB HID device uhidev* at uhub? port ? configuration ? interface ? # USB Mice ums* at uhidev? reportid ? wsmouse* at ums? mux 0 # USB Keyboards ukbd* at uhidev? reportid ? wskbd* at ukbd? console ? mux 1 # USB Generic HID devices uhid* at uhidev? reportid ? # USB Mass Storage umass* at uhub? port ? configuration ? interface ? scsibus* at umass? channel ? sd* at scsibus? target ? lun ? # SCSI disk drives cd* at scsibus? target ? lun ? # SCSI CD-ROM drives # Ethernet #axe* at uhub? port ? #urtwn* at uhub? port ? # Random number generator jzrng0 at apbus0 # MII/PHY support #acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs #dmphy* at mii? phy ? # Davicom DM9101 PHYs #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs #gphyter* at mii? phy ? # NS83861 Gig-E PHY #icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs #nsphy* at mii? phy ? # NS83840 PHYs #nsphyter* at mii? phy ? # NS83843 PHYs #pnaphy* at mii? phy ? # generic HomePNA PHYs #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs #tlphy* at mii? phy ? # ThunderLAN PHYs #tqphy* at mii? phy ? # TDK Semiconductor PHYs #rlphy* at mii? phy ? # RealTek PHYs #ukphy* at mii? phy ? # generic unknown PHYs # Pseudo-devices # Disk/mass storage pseudo-devices #pseudo-device ccd # concatenated disk devices #pseudo-device raid # RAIDframe disk driver #pseudo-device fss # file system snapshot device #pseudo-device md # memory disk device (ramdisk) #pseudo-device vnd # disk-like interface to files # Network pseudo-devices pseudo-device bpfilter # Berkeley packet filter #pseudo-device ipfilter # IP filter (firewall) and NAT pseudo-device loop # network loopback #pseudo-device ppp # Point-to-Point Protocol #pseudo-device sl # Serial Line IP #pseudo-device strip # Starmode Radio IP (Metricom) #pseudo-device tun # network tunneling over tty #pseudo-device tap # virtual Ethernet #pseudo-device gre # generic L3 over IP tunnel #pseudo-device ipip # RFC 2003 IP Encapsulation #pseudo-device gif # RFC1933 tunnel #pseudo-device faith # IPv[46] tcp relay translation #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation #pseudo-device vlan # IEEE 802.1q encapsulation #pseudo-device bridge # simple inter-network bridging # Miscellaneous pseudo-devices pseudo-device pty # pseudo-terminals pseudo-device clockctl # user control of clock subsystem pseudo-device ksyms # /dev/ksyms # A pseudo device needed for Coda # also needs CODA (above) #pseudo-device vcoda # coda minicache <-> venus comm. cinclude "arch/evbmips/conf/CI20.local" @ 1.24 log @Remove TCP_COMPAT_42 from the config files. Pass 3. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.23 2017/07/25 06:44:22 mrg Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.23 $" d59 2 a60 12 #options COMPAT_43 # compatibility with 4.3BSD binaries #options COMPAT_09 # NetBSD 0.9, #options COMPAT_10 # NetBSD 1.0, #options COMPAT_11 # NetBSD 1.1, #options COMPAT_12 # NetBSD 1.2, #options COMPAT_13 # NetBSD 1.3, #options COMPAT_14 # NetBSD 1.4, #options COMPAT_15 # NetBSD 1.5, #options COMPAT_16 # NetBSD 1.6, #options COMPAT_20 # NetBSD 2.0, #options COMPAT_30 # NetBSD 3.0, and #options COMPAT_40 # NetBSD 4.0 binary compatibility. a62 1 #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. @ 1.23 log @don't set NEED_MDSETIMAGE when we don't enable the md_root. move the option in with the commented md_root options. part 2 of the CI20 kernel build fix. now evbmips builds completes sanely for me. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.22 2017/02/19 07:47:00 rin Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.22 $" a119 3 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. #options TCP_COMPAT_42 @ 1.22 log @PR kern/51208 Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for ALL on amd64 and i386. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.21 2016/01/29 01:54:13 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.21 $" a17 1 makeoptions NEED_MDSETIMAGE="yes" d24 1 @ 1.22.6.1 log @Pull up following revision(s) (requested by mrg in ticket #174): external/gpl3/binutils/usr.sbin/mdsetimage/bin_bfd.c: revision 1.2 sys/arch/evbmips/conf/CI20: revision 1.23 initialise some stack variables to zero so that later checking ensures they are considered "unfound" instead of some random value. part 1 in fixing the CI20 kernel build. this one actually will cause the build to fail, but it's outputting broken objects right now anyway. part 2 coming up in the CI20 configuration itself. -- don't set NEED_MDSETIMAGE when we don't enable the md_root. move the option in with the commented md_root options. part 2 of the CI20 kernel build fix. now evbmips builds completes sanely for me. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.22 2017/02/19 07:47:00 rin Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.22 $" d18 1 a24 1 #makeoptions NEED_MDSETIMAGE="yes" @ 1.22.6.2 log @Pull up following revision(s) (requested by sevan in ticket #1156): sys/arch/evbmips/conf/ERLITE: revision 1.21 sys/arch/evbmips/conf/LOONGSON: revision 1.41 sys/arch/evbmips/conf/SBMIPS: revision 1.8 sys/arch/evbmips/conf/MALTA: revision 1.94 sys/arch/evbmips/conf/WGT624V3: revision 1.29 sys/arch/evbmips/conf/ZYXELKX: revision 1.15 sys/arch/evbmips/conf/XLSATX: revision 1.28 sys/arch/evbmips/conf/ADM5120-NB: revision 1.25 sys/arch/evbmips/conf/ADM5120: revision 1.27 sys/arch/evbmips/conf/MERAKI: revision 1.32 sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10 sys/arch/evbmips/conf/DB120: revision 1.21 sys/arch/evbmips/conf/ADM5120-USB: revision 1.27 sys/arch/evbmips/conf/AP30: revision 1.38 sys/arch/evbmips/conf/ALCHEMY: revision 1.65 sys/arch/evbmips/conf/RB153: revision 1.22 sys/arch/evbmips/conf/RB433UAH: revision 1.18 sys/arch/evbmips/conf/CI20: revision 1.27 sys/arch/evbmips/conf/GDIUM: revision 1.35 sys/arch/evbmips/conf/CPMBR1400: revision 1.30 Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels. time results of a Lemote Fuloong 2F extracting the pkgsrc tree brick$ time tar -jxf pkgsrc.tar.bz2 priocscan + log 612.90 real 103.45 user 194.98 sys priocscan nolog 1345.48 real 103.57 user 274.32 sys fcfs + log 736.02 real 101.71 user 192.95 sys fcfs nolog 1475.16 real 103.06 user 271.14 sys @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.22.6.1 2017/08/01 23:36:08 snj Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.22.6.1 $" a104 5 # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN @ 1.21 log @first shot at SMP support, very much broken and experimental So far the 2nd core wakes up, makes its way to the idle loop, and things lock up when we start the timer interrupt. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.20 2016/01/03 06:23:25 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.20 $" d98 1 @ 1.21.4.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.22 2017/02/19 07:47:00 rin Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.22 $" a97 1 #options DISKLABEL_EI # disklabel Endian Independent support @ 1.21.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.22 2017/02/19 07:47:00 rin Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.22 $" a97 1 #options DISKLABEL_EI # disklabel Endian Independent support @ 1.20 log @comment out ukphy @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.19 2016/01/02 16:55:46 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.19 $" d141 1 a141 1 cpu0 at mainbus? @ 1.19 log @enable ehci, now that it works properly @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.18 2015/10/29 00:15:48 mrg Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.18 $" d246 1 a246 1 ukphy* at mii? phy ? # generic unknown PHYs @ 1.18 log @eliminate USBHIST as a define/option. it was entangled with USB_DEBUG and only referenced a handful of times. rename any usage in configs. fixes recent build problems i introduced with the previous files.usb change. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.17 2015/10/08 17:58:51 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.17 $" a144 3 # EFUSE Slave Interface efuse* at apbus? d148 3 d160 1 a160 1 #ehci* at apbus? d164 2 a165 2 #options USB_DEBUG #usb* at ehci? d223 2 a224 1 axe* at uhub? port ? @ 1.17 log @add efuse driver @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.16 2015/08/12 07:53:57 maxv Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.16 $" d164 1 a164 1 #options USBHIST @ 1.16 log @Remove KMEMSTATS. @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.15 2015/08/07 17:41:43 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.15 $" d145 3 @ 1.15 log @add jzrng @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.14 2015/07/11 19:00:04 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.14 $" a46 1 #options KMEMSTATS # kernel memory statistics (vmstat -m) @ 1.14 log @- get rid of private bus space in ingenic_com.c - move com to apbus - attach the other UARTs @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.13 2015/04/06 14:12:28 martin Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.13 $" d223 3 @ 1.13 log @Allow local overrides in a CI20.local file @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.12 2015/04/04 12:32:34 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.12 $" d46 1 a46 1 options DEBUG # extra kernel debugging support d137 1 d141 1 a143 1 com* at mainbus? d146 4 a149 1 # On-board USB d157 1 a157 1 # this one doesn't work yet d159 4 a168 3 # Work in progress - can't do transfers over 15 bytes per direction, # no interrupts etc. # Good enough for talking to an RTC though, so it's enabled. d190 6 @ 1.12 log @add jziic and RTC drivers @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.11 2015/03/17 07:28:18 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.11 $" d265 4 @ 1.11 log @do as arm does and get rid of addresses in kernel config @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.10 2015/03/10 18:20:20 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.10 $" d139 1 d160 22 a184 2 # no RTC! so fake with a stub (required to prevent evbmips panic) @ 1.10 log @add dme at apbus ( onboard ethernet ) @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.9 2015/03/08 17:15:58 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.9 $" d145 1 a145 1 dwctwo* at apbus? addr 0x13500000 d149 1 a149 1 ohci* at apbus? addr 0x134a0000 d153 1 a153 1 #ehci* at apbus? addr 0x13490000 d157 1 a157 1 dme* at apbus? addr 0x16000000 @ 1.9 log @add ohci and commented out ehci @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.8 2015/03/07 15:39:57 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.8 $" d156 3 a158 2 uhub* at usb? uhub* at uhub? port ? d164 4 @ 1.8 log @comment out debug spam, add more filesystems @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.7 2014/12/25 05:15:42 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.7 $" d148 8 @ 1.7 log @add some more USB devices @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.6 2014/12/23 16:16:49 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.6 $" d55 2 a56 2 options INGENIC_DEBUG options INGENIC_CLOCK_DEBUG d78 1 a78 1 file-system MFS # memory-based filesystem d81 1 a81 1 #file-system KERNFS # kernel data-structure filesystem d87 1 a87 1 #file-system PROCFS # /proc d90 1 a90 1 #file-system MSDOSFS # MS-DOS FAT filesystem(s). d92 2 a93 1 #file-system PTYFS # /dev/pts/N support d108 1 a108 1 #options INET6 # IPV6 d132 1 a132 1 #options NFS_BOOT_DHCP d135 2 a136 1 config netbsd root on ? type ? @ 1.6 log @more debug defflag-ing @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.5 2014/12/23 15:06:01 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.5 $" d144 1 a144 1 options DWC2_DEBUG a147 3 umass* at uhub? port ? configuration ? interface ? scsibus* at umass? channel ? sd* at scsibus? target ? lun ? d153 22 d193 1 a193 1 #ukphy* at mii? phy ? # generic unknown PHYs @ 1.5 log @set debug options uncomment USB ( not functional yet but some hardware setup is done ) @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.4 2014/12/06 14:31:27 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.4 $" d57 1 @ 1.4 log @pull in intr.c, attach apbus @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.3 2014/11/25 04:55:13 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.3 $" d55 3 d142 8 a149 7 #dwctwo* at apbus? addr 0x13500000 #usb* at dwctwo? #uhub* at usb? #uhub* at uhub? port ? #umass* at uhub? port ? configuration ? interface ? #scsibus* at umass? channel ? #sd* at scsibus? target ? lun ? @ 1.3 log @remove some cargoculted goop @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.2 2014/11/22 19:48:36 martin Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.2 $" d136 1 a136 1 #apbus0 at mainbus? d139 1 a139 1 #dwctwo* at apbus? @ 1.3.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.12 2015/04/04 12:32:34 macallan Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.12 $" a54 4 #options INGENIC_DEBUG #options INGENIC_CLOCK_DEBUG #options INGENIC_INTR_DEBUG # *very* spammy d74 1 a74 1 #file-system MFS # memory-based filesystem d77 1 a77 1 file-system KERNFS # kernel data-structure filesystem d83 1 a83 1 file-system PROCFS # /proc d86 1 a86 1 file-system MSDOSFS # MS-DOS FAT filesystem(s). d88 1 a88 2 file-system PTYFS # /dev/pts/N support file-system TMPFS # Efficient memory file-system d103 1 a103 1 options INET6 # IPV6 d127 1 a127 1 options NFS_BOOT_DHCP d130 1 a130 2 config netbsd root on sd0a type ffs #config netbsd root on axe0 type nfs a132 1 #options MULTIPROCESSOR d136 1 a136 1 apbus0 at mainbus? d139 7 a145 36 dwctwo* at apbus? #options DWC2_DEBUG usb* at dwctwo? ohci* at apbus? usb* at ohci? # this one doesn't work yet #ehci* at apbus? #usb* at ehci? # onboard ethernet dme* at apbus? # I2C/SMBus # Work in progress - can't do transfers over 15 bytes per direction, # no interrupts etc. # Good enough for talking to an RTC though, so it's enabled. jziic* at apbus? #options JZIIC_DEBUG # spammy iic* at jziic? # voltage control and the like, no driver yet #act8600pm0 at iic0 addr 0x5a # XXX # the manual says there's a Pericom RTC at SMB4 addr 0x68 # on my preproduction CI20 that's not the case, instead there's something that # looks like a PCF8563 at addr 0x51 # the Pericom PT7C4337 seems to be a DS1339 clone #dsrtc0 at iic4 addr 0x68 flags 1339 # at least some CI20 have this instead pcf8563rtc0 at iic4 addr 0x51 d149 1 a149 23 # USB stuff uhub* at usb? uhub* at uhub? port ? # USB HID device uhidev* at uhub? port ? configuration ? interface ? # USB Mice ums* at uhidev? reportid ? wsmouse* at ums? mux 0 # USB Keyboards ukbd* at uhidev? reportid ? wskbd* at ukbd? console ? mux 1 # USB Generic HID devices uhid* at uhidev? reportid ? # USB Mass Storage umass* at uhub? port ? configuration ? interface ? scsibus* at umass? channel ? sd* at scsibus? target ? lun ? # SCSI disk drives cd* at scsibus? target ? lun ? # SCSI CD-ROM drives a150 2 # Ethernet axe* at uhub? port ? d169 1 a169 1 ukphy* at mii? phy ? # generic unknown PHYs @ 1.3.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.3.2.1 2015/04/06 15:17:56 skrll Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.3.2.1 $" d175 1 a175 1 a264 4 cinclude "arch/evbmips/conf/CI20.local" @ 1.3.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.3.2.2 2015/06/06 14:39:59 skrll Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.3.2.2 $" d46 2 a47 1 #options DEBUG # extra kernel debugging support a136 1 #config netbsd root on dme0 type nfs a139 1 d142 1 d145 1 a145 4 # On-chip UARTs com* at apbus? # On-chip USB d153 1 a153 1 # this one doesn't work right just yet a154 4 #options INGENIC_EHCI_DEBUG #options EHCI_DEBUG #options USBVERBOSE #options USBHIST d161 3 a184 6 # MSC / SDMMC - unfinished #jzmmc* at apbus? #options JZMMC_DEBUG #sdmmc* at jzmmc? #ld* at sdmmc? a211 3 # Random number generator jzrng0 at apbus0 @ 1.3.2.4 log @Sync with HEAD (as of 26th Dec) @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.3.2.3 2015/09/22 12:05:41 skrll Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.3.2.3 $" a144 3 # EFUSE Slave Interface efuse* at apbus? d161 1 a161 1 #options USB_DEBUG @ 1.3.2.5 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.3.2.4 2015/12/27 12:09:35 skrll Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.3.2.4 $" d141 1 a141 1 cpu* at mainbus? d145 3 a150 3 # EFUSE efuse* at apbus? d160 1 a160 1 ehci* at apbus? d164 2 a165 2 #options USBHIST usb* at ehci? d223 1 a223 2 #axe* at uhub? port ? #urtwn* at uhub? port ? d245 1 a245 1 #ukphy* at mii? phy ? # generic unknown PHYs @ 1.3.2.6 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.3.2.5 2016/03/19 11:29:58 skrll Exp $ d10 1 a10 1 #ident "CI20-$Revision: 1.3.2.5 $" d18 1 a24 1 #makeoptions NEED_MDSETIMAGE="yes" a97 1 #options DISKLABEL_EI # disklabel Endian Independent support d119 3 @ 1.2 log @Fix copy and pasto in #ident @ text @d1 1 a1 1 # $NetBSD: CI20,v 1.1 2014/11/22 15:17:02 macallan Exp $ a5 1 # for now d10 1 a10 1 #ident "CI20-$Revision: 1.1 $" d21 1 a21 1 options COM_16650,COM_TOLERANCE=50 # +/- 5% a22 2 options CONSADDR=0x10030000 options MEMSIZE="(256*1024*1024)" a125 7 # Bitmask for enabling the PCI IDE channels in the southbridge. # Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1. # # Do this if your firmware (usually PMON and YAMON) doens't enable the IDE # channels for you (thus causing the NetBSD `pciide' driver to ignore them). #options PCI_NETBSD_ENABLE_IDE=0x1 a134 1 #options COM_REGMAP d136 5 a140 2 #ehci* at arbus? addr ? #usb* at ehci? d146 2 a147 5 #ae* at arbus? addr ? #ath* at arbus? addr ? #athflash* at arbus? addr ? #argpio* at arbus? addr ? #gpio* at argpio? @ 1.1 log @initial support for CI20 / Ingenic JZ4780 not much there yet, it loads, attaches a serial port and you can drop into ddb @ text @d1 1 a1 1 # $NetBSD: DB120,v 1.15 2014/08/23 20:26:57 dholland Exp $ d11 1 a11 1 #ident "DB120-$Revision: 1.15 $" @