head 1.50; access; symbols perseant-exfatfs-base-20250801:1.50 perseant-exfatfs-base-20240630:1.50 perseant-exfatfs:1.50.0.14 perseant-exfatfs-base:1.50 netbsd-8-3-RELEASE:1.49 bouyer-sunxi-drm:1.50.0.12 bouyer-sunxi-drm-base:1.50 cjep_sun2x:1.50.0.10 cjep_sun2x-base:1.50 cjep_staticlib_x-base1:1.50 cjep_staticlib_x:1.50.0.8 cjep_staticlib_x-base:1.50 thorpej-futex-base:1.50 bouyer-xenpvh-base2:1.50 phil-wifi-20200421:1.50 bouyer-xenpvh-base1:1.50 phil-wifi-20200411:1.50 bouyer-xenpvh:1.50.0.6 bouyer-xenpvh-base:1.50 phil-wifi-20200406:1.50 netbsd-8-2-RELEASE:1.49 ad-namecache-base3:1.50 ad-namecache-base2:1.50 ad-namecache-base1:1.50 ad-namecache:1.50.0.4 ad-namecache-base:1.50 netbsd-8-1-RELEASE:1.49 netbsd-8-1-RC1:1.49 isaki-audio2:1.50.0.2 isaki-audio2-base:1.50 pgoyette-compat-merge-20190127:1.49.14.1 pgoyette-compat-20190127:1.50 pgoyette-compat-20190118:1.50 pgoyette-compat-1226:1.50 pgoyette-compat-1126:1.50 pgoyette-compat-1020:1.50 pgoyette-compat-0930:1.50 pgoyette-compat-0906:1.50 netbsd-7-2-RELEASE:1.12.2.6 pgoyette-compat-0728:1.50 netbsd-8-0-RELEASE:1.49 pgoyette-compat-0625:1.50 netbsd-8-0-RC2:1.49 pgoyette-compat-0521:1.50 pgoyette-compat-0502:1.50 pgoyette-compat-0422:1.50 netbsd-8-0-RC1:1.49 pgoyette-compat-0415:1.50 pgoyette-compat-0407:1.49 pgoyette-compat-0330:1.49 pgoyette-compat-0322:1.49 pgoyette-compat-0315:1.49 netbsd-7-1-2-RELEASE:1.12.2.6 pgoyette-compat:1.49.0.14 pgoyette-compat-base:1.49 netbsd-7-1-1-RELEASE:1.12.2.6 tls-maxphys-base-20171202:1.49 matt-nb8-mediatek:1.49.0.12 matt-nb8-mediatek-base:1.49 nick-nhusb-base-20170825:1.49 perseant-stdc-iso10646:1.49.0.10 perseant-stdc-iso10646-base:1.49 netbsd-8:1.49.0.8 netbsd-8-base:1.49 prg-localcount2-base3:1.49 prg-localcount2-base2:1.49 prg-localcount2-base1:1.49 prg-localcount2:1.49.0.6 prg-localcount2-base:1.49 pgoyette-localcount-20170426:1.49 bouyer-socketcan-base1:1.49 jdolecek-ncq:1.49.0.4 jdolecek-ncq-base:1.49 pgoyette-localcount-20170320:1.49 netbsd-7-1:1.12.2.6.0.4 netbsd-7-1-RELEASE:1.12.2.6 netbsd-7-1-RC2:1.12.2.6 nick-nhusb-base-20170204:1.49 netbsd-7-nhusb-base-20170116:1.12.2.6 bouyer-socketcan:1.49.0.2 bouyer-socketcan-base:1.49 pgoyette-localcount-20170107:1.49 netbsd-7-1-RC1:1.12.2.6 nick-nhusb-base-20161204:1.46 pgoyette-localcount-20161104:1.46 netbsd-7-0-2-RELEASE:1.12.2.5 nick-nhusb-base-20161004:1.46 localcount-20160914:1.46 netbsd-7-nhusb:1.12.2.6.0.2 netbsd-7-nhusb-base:1.12.2.6 pgoyette-localcount-20160806:1.46 pgoyette-localcount-20160726:1.46 pgoyette-localcount:1.46.0.2 pgoyette-localcount-base:1.46 nick-nhusb-base-20160907:1.46 nick-nhusb-base-20160529:1.46 netbsd-7-0-1-RELEASE:1.12.2.5 nick-nhusb-base-20160422:1.45 nick-nhusb-base-20160319:1.45 nick-nhusb-base-20151226:1.45 netbsd-7-0:1.12.2.5.0.2 netbsd-7-0-RELEASE:1.12.2.5 nick-nhusb-base-20150921:1.41 netbsd-7-0-RC3:1.12.2.5 netbsd-7-0-RC2:1.12.2.5 netbsd-7-0-RC1:1.12.2.5 nick-nhusb-base-20150606:1.41 nick-nhusb-base-20150406:1.38 nick-nhusb:1.37.0.2 nick-nhusb-base:1.37 tls-maxphys-base:1.12 tls-maxphys:1.15.0.2 netbsd-7:1.12.0.2 netbsd-7-base:1.12 yamt-pagecache:1.10.0.8 rmind-smpnet-base:1.10 rmind-smpnet:1.10.0.6 rmind-smpnet-nbase:1.10 yamt-pagecache-base9:1.10 tls-earlyentropy:1.10.0.4 tls-earlyentropy-base:1.12 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.10 matt-nb5-mips64:1.10.0.2 riastradh-drm2-base3:1.10; locks; strict; comment @# @; 1.50 date 2018.04.08.13.19.17; author jmcneill; state dead; branches; next 1.49; commitid q5EGfoYzQIhbLDxA; 1.49 date 2016.12.13.20.42.17; author christos; state Exp; branches 1.49.2.1 1.49.14.1; next 1.48; commitid DChNb4lHFyTOFRxz; 1.48 date 2016.12.10.23.03.23; author christos; state Exp; branches; next 1.47; commitid w4dRXIf7WDldyuxz; 1.47 date 2016.12.08.11.31.10; author nat; state Exp; branches; next 1.46; commitid r0h4avej48pZLaxz; 1.46 date 2016.04.25.20.15.46; author bouyer; state Exp; branches 1.46.2.1; next 1.45; commitid rtV91qtItACdY24z; 1.45 date 2015.12.19.13.28.22; author skrll; state Exp; branches; next 1.44; commitid hJGlaLEytUQjQyNy; 1.44 date 2015.11.16.12.35.54; author bouyer; state Exp; branches; next 1.43; commitid tJTAhcdm44DbCjJy; 1.43 date 2015.11.15.21.31.29; author bouyer; state Exp; branches; next 1.42; commitid fhlt3IomaSPbBeJy; 1.42 date 2015.10.17.15.30.14; author bouyer; state Exp; branches; next 1.41; commitid G7SXYNu5Y09MutFy; 1.41 date 2015.04.29.19.05.51; author martin; state Exp; branches; next 1.40; commitid 1Q9kkMfOCBLnewjy; 1.40 date 2015.04.20.00.09.48; author matt; state Exp; branches; next 1.39; commitid A04uBxiXK4lMegiy; 1.39 date 2015.04.19.21.28.37; author matt; state Exp; branches; next 1.38; commitid 4EntbASDiqR3lfiy; 1.38 date 2015.02.13.13.48.17; author joerg; state Exp; branches; next 1.37; commitid mwKbk7hEBwp3TQ9y; 1.37 date 2014.11.16.18.54.52; author martin; state Exp; branches 1.37.2.1; next 1.36; commitid bUV1EGTfgn4FrrYx; 1.36 date 2014.11.16.10.20.21; author martin; state Exp; branches; next 1.35; commitid HmI5sRy4sAz4BoYx; 1.35 date 2014.11.15.14.59.25; author jmcneill; state Exp; branches; next 1.34; commitid vvUJydYTIVIUaiYx; 1.34 date 2014.11.12.17.38.56; author jmcneill; state Exp; branches; next 1.33; commitid 4A0JwvgcBJYC9VXx; 1.33 date 2014.11.11.15.12.51; author skrll; state Exp; branches; next 1.32; commitid OYVLj608XbVsnMXx; 1.32 date 2014.11.10.17.56.58; author jmcneill; state Exp; branches; next 1.31; commitid POjx5sK8QqkNjFXx; 1.31 date 2014.11.05.20.32.53; author martin; state Exp; branches; next 1.30; commitid Oo4ZNyt5dH49l2Xx; 1.30 date 2014.11.05.18.32.29; author jmcneill; state Exp; branches; next 1.29; commitid scnBTVzDpsfWF1Xx; 1.29 date 2014.10.24.10.48.05; author jmcneill; state Exp; branches; next 1.28; commitid WP7GaCGiZ9GxurVx; 1.28 date 2014.10.15.23.04.08; author jmcneill; state Exp; branches; next 1.27; commitid QDgzBA1iUttZQlUx; 1.27 date 2014.10.11.11.55.07; author uebayasi; state Exp; branches; next 1.26; commitid ODew7CI1H60rhMTx; 1.26 date 2014.09.13.17.50.27; author jmcneill; state Exp; branches; next 1.25; commitid IixdQFn2yfW89dQx; 1.25 date 2014.09.09.22.49.20; author jmcneill; state Exp; branches; next 1.24; commitid c5aZuAIHvjcEVIPx; 1.24 date 2014.09.09.00.16.03; author jmcneill; state Exp; branches; next 1.23; commitid g6EeOfMY4oSorBPx; 1.23 date 2014.09.08.19.24.16; author rjs; state Exp; branches; next 1.22; commitid zQLZEDoZWX0cPzPx; 1.22 date 2014.09.07.17.50.01; author jmcneill; state Exp; branches; next 1.21; commitid CcMxXGGmkiEXkrPx; 1.21 date 2014.09.06.16.55.50; author jmcneill; state Exp; branches; next 1.20; commitid I2Fzyr0x91xm4jPx; 1.20 date 2014.09.06.16.55.07; author jmcneill; state Exp; branches; next 1.19; commitid 8b20X8ZtUSk74jPx; 1.19 date 2014.09.06.00.16.36; author jmcneill; state Exp; branches; next 1.18; commitid yjxyHheuX14zxdPx; 1.18 date 2014.09.04.02.39.41; author jmcneill; state Exp; branches; next 1.17; commitid Rmm9gGHGhVuDoYOx; 1.17 date 2014.08.31.19.13.01; author matt; state Exp; branches; next 1.16; commitid FMUklqrTN2xP0yOx; 1.16 date 2014.08.23.20.26.57; author dholland; state Exp; branches; next 1.15; commitid Ef5fhfmsGe1uFwNx; 1.15 date 2014.08.18.06.31.24; author christos; state Exp; branches 1.15.2.1; next 1.14; commitid szm6ssWdlH5WdOMx; 1.14 date 2014.08.17.21.17.43; author joerg; state Exp; branches; next 1.13; commitid 1Tn1qthIdwV09LMx; 1.13 date 2014.08.16.17.56.31; author apb; state Exp; branches; next 1.12; commitid gjT9TWtCibuK4CMx; 1.12 date 2014.08.03.08.53.56; author martin; state Exp; branches 1.12.2.1; next 1.11; commitid Fq8PfzZ3qg4yuTKx; 1.11 date 2014.07.27.03.34.41; author dholland; state Exp; branches; next 1.10; commitid rlGfXZaBJUt0XXJx; 1.10 date 2014.02.26.00.32.21; author matt; state Exp; branches 1.10.2.1 1.10.4.1 1.10.6.1 1.10.8.1; next 1.9; commitid 93swQM68lowsNxqx; 1.9 date 2014.02.25.00.09.00; author jmcneill; state Exp; branches; next 1.8; commitid uFO0yz8ykj2AHpqx; 1.8 date 2013.09.08.04.06.44; author matt; state Exp; branches; next 1.7; commitid 8Ge88XYhkDiytA4x; 1.7 date 2013.09.08.00.03.40; author matt; state Exp; branches; next 1.6; commitid e7WxXNAHg8lw8z4x; 1.6 date 2013.09.07.22.52.12; author matt; state Exp; branches; next 1.5; commitid GcSkU9lSzUSXJy4x; 1.5 date 2013.09.07.02.46.26; author matt; state Exp; branches; next 1.4; commitid ghKMMhFRZpkk4s4x; 1.4 date 2013.09.07.02.34.01; author matt; state Exp; branches; next 1.3; commitid DQwUI6dThEfZZr4x; 1.3 date 2013.09.07.00.29.22; author matt; state Exp; branches; next 1.2; commitid bpGOt6ofXUjgjr4x; 1.2 date 2013.09.04.02.39.01; author matt; state Exp; branches; next 1.1; commitid nOIg7YF0NiOg744x; 1.1 date 2013.09.03.06.12.00; author matt; state Exp; branches; next ; commitid DIqPOIxVGeJHkX3x; 1.49.2.1 date 2017.04.18.21.31.48; author bouyer; state Exp; branches; next ; commitid VVvcdhAIiaivT3Oz; 1.49.14.1 date 2018.04.16.01.59.54; author pgoyette; state dead; branches; next ; commitid qk3nktk0szmTIByA; 1.46.2.1 date 2017.01.07.08.56.13; author pgoyette; state Exp; branches; next ; commitid uEL0C1YuiJrlV0Bz; 1.37.2.1 date 2015.04.06.15.17.55; author skrll; state Exp; branches; next 1.37.2.2; commitid pz01Zhy7RP6iGxgy; 1.37.2.2 date 2015.06.06.14.39.58; author skrll; state Exp; branches; next 1.37.2.3; commitid O6LVO5i6UulOvnoy; 1.37.2.3 date 2015.12.27.12.09.34; author skrll; state Exp; branches; next 1.37.2.4; commitid BTSqUD4SdJ5k7AOy; 1.37.2.4 date 2016.05.29.08.44.16; author skrll; state Exp; branches; next 1.37.2.5; commitid 8mlnPW6uSaJU1m8z; 1.37.2.5 date 2017.02.05.13.40.07; author skrll; state Exp; branches; next ; commitid 8hwpk1aHl2UuyLEz; 1.15.2.1 date 2014.08.18.06.31.24; author tls; state dead; branches; next 1.15.2.2; commitid jTnpym9Qu0o4R1Nx; 1.15.2.2 date 2014.08.20.00.02.53; author tls; state Exp; branches; next 1.15.2.3; commitid jTnpym9Qu0o4R1Nx; 1.15.2.3 date 2017.12.03.11.36.03; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.12.2.1 date 2014.09.10.09.37.51; author martin; state Exp; branches; next 1.12.2.2; commitid RPwYYvtu1N48wMPx; 1.12.2.2 date 2014.11.12.19.54.46; author martin; state Exp; branches; next 1.12.2.3; commitid QrfKe5gqOM6dUVXx; 1.12.2.3 date 2014.11.14.13.26.46; author martin; state Exp; branches; next 1.12.2.4; commitid BhRxoXogOrV7H9Yx; 1.12.2.4 date 2014.11.14.13.37.39; author martin; state Exp; branches; next 1.12.2.5; commitid 27lXzgYHTqjRK9Yx; 1.12.2.5 date 2014.11.16.10.33.57; author martin; state Exp; branches; next 1.12.2.6; commitid BMtfrrkQyf4RFoYx; 1.12.2.6 date 2016.02.26.22.52.53; author snj; state Exp; branches; next ; commitid PCAIbdudmUn0KtWy; 1.10.2.1 date 2014.02.26.00.32.21; author matt; state dead; branches; next 1.10.2.2; commitid K9UqxuhRMXm91Ztx; 1.10.2.2 date 2014.03.24.18.46.38; author matt; state Exp; branches; next ; commitid K9UqxuhRMXm91Ztx; 1.10.4.1 date 2014.08.10.06.53.54; author tls; state Exp; branches; next ; commitid 7fY3uHKSIbCABMLx; 1.10.6.1 date 2014.02.26.00.32.21; author rmind; state dead; branches; next 1.10.6.2; commitid mL5ZYSzpqK6QS2Bx; 1.10.6.2 date 2014.05.18.17.45.03; author rmind; state Exp; branches; next ; commitid mL5ZYSzpqK6QS2Bx; 1.10.8.1 date 2014.02.26.00.32.21; author yamt; state dead; branches; next 1.10.8.2; commitid VUUXuyNWnt3AKwBx; 1.10.8.2 date 2014.05.22.11.39.40; author yamt; state Exp; branches; next ; commitid VUUXuyNWnt3AKwBx; desc @@ 1.50 log @Remove old Allwinner port. @ text @# # $NetBSD: CUBIEBOARD,v 1.49 2016/12/13 20:42:17 christos Exp $ # # CUBIEBOARD -- Allwinner A10/A20 Eval Board Kernel # include "arch/evbarm/conf/std.awin" # CPU options no makeoptions BOARDTYPE makeoptions BOARDTYPE="cubieboard" no makeoptions CPUFLAGS makeoptions CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon" #options UVMHIST,UVMHIST_PRINT options ALLWINNER_A10 options ALLWINNER_A20 options AWIN_CONSOLE_EARLY include "arch/evbarm/conf/GENERIC.common" # u-boot images contain kernels w/o any symbols, so we need to copy # them over to kernel text makeoptions COPY_SYMTAB=1 ## USB Debugging options options USB_DEBUG options EHCI_DEBUG options OHCI_DEBUG options UHUB_DEBUG # Valid options for BOOT_ARGS: # single Boot to single user only # kdb Give control to kernel debugger # ask Ask for file name to reboot from # memorydisk= Set memorydisk size to KB # quiet Show aprint_naive output # verbose Show aprint_normal and aprint_verbose output options BOOT_ARGS="\"\"" config netbsd root on ? type ? # The main bus device mainbus0 at root # CPU(s) options MULTIPROCESSOR #options __HAVE_PREEMPTION cpu* at mainbus? # Specify the memory size in megabytes (optional). #options MEMSIZE=256 #options MEMSIZE=128 # A7 core devices armperiph0 at mainbus? armgic0 at armperiph? # Interrupt Controller armgtmr0 at armperiph? # ARM Generic Timer # SoC I/O awinio0 at mainbus? # SD/MMC controllers awinmmc0 at awinio0 port 0 sdmmc* at awinmmc? ld* at sdmmc? # NAND controller awinnand0 at awinio0 # NAND layer nand0 at nandbus? # use the bad block table options NAND_BBT # Define flash partitions for board flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env flash3 at nand0 offset 0x280000 size 0x400000 # kernel flash4 at nand0 offset 0x680000 size 0 # filesystem # Interrupt Controller awinicu0 at awinio0 # DMA Controller awindma0 at awinio0 # 64-bit counter awincnt0 at awinio0 # GPIO Controller awingpio0 at awinio0 gpio* at awingpio? # System Control Module #awinscm0 at awinio? # I2C Controller awiniic0 at awinio? port 0 #awiniic* at awinio? port ? iic* at awiniic? axp20x0 at iic0 addr 0x34 # AXP209 Power Management Unit # On-board 16550 UARTs com0 at awinio? port 0 # UART0 (console) options CONADDR=0x01c28000, CONSPEED=115200 # Consumer IR awinir0 at awinio? cir0 at awinir0 # Operating System Timer (A10) awintmr0 at awinio? # Watchdog timers awinwdt* at awinio? # RTC awinrtc* at awinio? # Low res ADC awinlradc* at awinio? # onboard audio codec awinac0 at awinio0 audio0 at awinac0 # HDMI awinhdmi0 at awinio0 awinhdmiaudio0 at awinio0 audio1 at awinhdmiaudio0 spkr* at audio? # PC speaker (synthesized) # TCON awintcon0 at awinio0 port 0 awintcon1 at awinio0 port 1 # DE-BE awindebe0 at awinio0 port 0 awindebe1 at awinio0 port 1 # Framebuffer genfb0 at awindebe0 genfb1 at awindebe1 wsdisplay* at genfb? options VCONS_DRAW_INTR options WSEMUL_VT100 options WS_KERNEL_FG=WSCOL_GREEN options WS_KERNEL_BG=WSCOL_BLACK options WSDISPLAY_COMPAT_PCVT options WSDISPLAY_COMPAT_SYSCONS options WSDISPLAY_COMPAT_USL options WSDISPLAY_COMPAT_RAWKBD options WSDISPLAY_DEFAULTSCREENS=4 pseudo-device wsmux # mouse & keyboard multiplexor pseudo-device wsfont # Power, Reset and Clock Management #prcm* at awinio? # On-board USB awinusb0 at awinio0 port 0 awinusb1 at awinio0 port 1 ohci* at awinusb? ehci* at awinusb? usb* at ohci? usb* at ehci? # USB OTG motg0 at awinio0 usb* at motg? # SATA ahcisata* at awinio0 atabus* at ata? wd* at atabus? drive ? # 10/100 Ethernet (A10/A20) awe0 at awinio0 port ? # 10/100/1000 Ethernet (A10/A20) awge0 at awinio0 port ? include "dev/usb/usbdevices.config" midi* at midibus? rlphy* at mii? phy ? rgephy* at mii? phy ? ukphy* at mii? phy ? cinclude "arch/evbarm/conf/CUBIEBOARD.local" @ 1.49 log @wildcard speaker attachments, now that we can handle many of them. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.48 2016/12/10 23:03:23 christos Exp $ @ 1.49.14.1 log @Sync with HEAD, resolve some conflicts @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.49 2016/12/13 20:42:17 christos Exp $ @ 1.49.2.1 log @Include options CAN and canloop pseudo-device by default. Add awincan0 device to CUBIEBOARD @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.49 2016/12/13 20:42:17 christos Exp $ a187 3 # CAN bus awincan0 at awinio0 port ? @ 1.48 log @remove VAUDIOSPEAKER for now, will be done differently. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.47 2016/12/08 11:31:10 nat Exp $ d136 1 a136 1 spkr0 at audio0 # PC speaker (synthesized) @ 1.47 log @Add a synthesized pc beeper and keyboard bell for platforms with an audio device. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.46 2016/04/25 20:15:46 bouyer Exp $ a135 1 options VAUDIOSPEAKER @ 1.46 log @Add a driver for the lradc device found in allwinner SoCs. The events are reported as hotkeys press/release to sysmon_power(9). The levels and associated event names are configured in the fex script (the channels remain disabled if no appropriate fex script is provided). @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.45 2015/12/19 13:28:22 skrll Exp $ d136 3 @ 1.46.2.1 log @Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.) @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.49 2016/12/13 20:42:17 christos Exp $ a135 2 spkr* at audio? # PC speaker (synthesized) @ 1.45 log @Tweak CPUFLAGS to cover all CPUs @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.44 2015/11/16 12:35:54 bouyer Exp $ d124 3 @ 1.44 log @Remove USB HID entries, they're already in usbdevices.config @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.43 2015/11/15 21:31:29 bouyer Exp $ d13 2 @ 1.43 log @Add genfb1, awindebe1, and awintcon1. These will attach if the fex script request them. While there add USB HID, keyboard, mouse and touchscreen. If you have a display you'll most proabbly want input devices too. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.42 2015/10/17 15:30:14 bouyer Exp $ a166 15 # USB HID device uhidev* at uhub? port ? configuration ? interface ? # USB Mice ums* at uhidev? reportid ? wsmouse* at ums? mux 0 # USB generic touchscreen uts* at uhidev? reportid ? wsmouse* at uts? mux 0 # USB Keyboards ukbd* at uhidev? reportid ? wskbd* at ukbd? console ? mux 1 @ 1.42 log @Implement CPU frequency switching for A20. This requires adjusting the CPU voltage, so enable the axp20x driver for A20 boards. In evbarm/awin/awin_machdep.c, the DCDC powering up the CPU cores needs to be defined for each board. The board machine-dependant code (at this time, only awin_machdep.c) has to provide a awin_set_mpu_volt() function which calls the right PMU driver to change the CPU core voltage. The CPU frequency/voltage table in awin_board.c comes from various sources: linux kernel, device tree and fex scripts, and experiments on olimex lime2 and cubieboard 2. The following sysctls are provided (compatible with estd): machdep.frequency.min,machdep.frequency.max: writable lower and upper bounds of the useable frequencies. Affects machdep.frequency.available. Lower bound defaults to 700Mhz, as does linux. Upper bound defaults to 960Mhz, which is the boot frequency on the boards I tested. There is a 1008Mhz entry available, but requires an out of spec CPU voltage (more than 1.4V) so it's not available by default. machdep.frequency.available: list of available frequencies. This is the CPU frequency/voltage table, bound by machdep.frequency.{min,max}. machdep.frequency.current: current CPU speed. Write a new value to change the CPU speed, only values from machdep.frequency.available are accepted. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.41 2015/04/29 19:05:51 martin Exp $ d133 1 d137 1 d141 1 d167 15 @ 1.41 log @Add options COPY_SYMTAB to make module loading (and /dev/ksyms) work again. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.40 2015/04/20 00:09:48 matt Exp $ d103 1 a103 1 #axp20x0 at iic0 addr 0x34 # AXP209 Power Management Unit @ 1.40 log @Comment out __HAVE_PREEMPTION @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.39 2015/04/19 21:28:37 matt Exp $ d20 4 @ 1.39 log @Remove options CPU_CORTEX* since options ALLWINNER_* will now define them. Use GENERIC.common for CUBIEBOARD (and BPI and CUBIETRUCK) @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.38 2015/02/13 13:48:17 joerg Exp $ d42 1 a42 1 options __HAVE_PREEMPTION @ 1.38 log @Both ext2 and iso9660 are useful when dealing with external devices, so include them. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.37 2014/11/16 18:54:52 martin Exp $ a8 9 # estimated number of users maxusers 32 # Standard system options options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT #options NTP # NTP phase/frequency locked loop a13 2 options CPU_CORTEXA8 options CPU_CORTEXA7 a15 1 options PMAPCOUNTERS d18 1 a18 123 # Architecture options # File systems file-system FFS # UFS #file-system LFS # log-structured file system file-system MFS # memory file system file-system NFS # Network file system #file-system ADOSFS # AmigaDOS-compatible file system file-system EXT2FS # second extended file system (linux) file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system KERNFS # /kern #file-system NULLFS # loopback file system file-system PROCFS # /proc file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) #file-system UMAPFS # NULLFS + uid and gid remapping #file-system UNION # union file system file-system TMPFS # memory file system file-system PTYFS # /dev/pts/N support # File system options #options QUOTA # legacy UFS quotas #options QUOTA2 # new, in-filesystem UFS quotas #options FFS_EI # FFS Endian Independent support #options NFSSERVER options WAPBL # File system journaling support #options FFS_NO_SNAPSHOT # No FFS snapshot support # Networking options #options GATEWAY # packet forwarding options INET # IP + ICMP + TCP + UDP options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk networking #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 TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG options NFS_BOOT_BOOTP options NFS_BOOT_DHCP #options NFS_BOOT_BOOTSTATIC #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" options NFS_BOOT_RWSIZE=1024 # Compatibility options options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries #options COMPAT_43 # 4.3BSD compatibility. #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, options COMPAT_40 # NetBSD 4.0, options COMPAT_50 # NetBSD 5.0, options COMPAT_60 # NetBSD 6.0, and options COMPAT_70 # NetBSD 7.0 binary compatibility. #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. # Shared memory options options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing # Device options #options MEMORY_DISK_HOOKS # boottime setup of ramdisk #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks #options MEMORY_DISK_DYNAMIC #options MINIROOTSIZE=1000 # Size in blocks #options MEMORY_DISK_IS_ROOT # use memory disk as root # Wedge support options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges # Miscellaneous kernel options options KTRACE # system call tracing, a la ktrace(1) #options KMEMSTATS # kernel memory statistics #options SCSIVERBOSE # Verbose SCSI errors #options MIIVERBOSE # Verbose MII autoconfuration messages #options DDB_KEYCODE=0x40 #options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN # Development and Debugging options #options PERFCTRS # performance counters options DIAGNOSTIC # internal consistency checks #options DEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging #options VERBOSE_INIT_ARM # verbose bootstraping messages options DDB # in-kernel debugger options DDB_ONPANIC=1 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB #options KGDB makeoptions DEBUG="-g" # compile full symbol table makeoptions COPY_SYMTAB=1 d21 4 a24 5 options USB_DEBUG options EHCI_DEBUG options OHCI_DEBUG options UHUB_DEBUG d42 1 a181 22 # Pseudo-Devices # disk/mass storage pseudo-devices #pseudo-device md # memory disk device (ramdisk) pseudo-device vnd # disk-like interface to files options VND_COMPRESSION # compressed vnd(4) #pseudo-device fss # file system snapshot device pseudo-device putter # for puffs and pud pseudo-device drvctl # driver control # network pseudo-devices pseudo-device bpfilter # Berkeley packet filter pseudo-device loop # network loopback #pseudo-device kttcp # network loopback # miscellaneous pseudo-devices pseudo-device pty # pseudo-terminals #options RND_COM #pseudo-device clockctl # user control of clock subsystem pseudo-device ksyms # /dev/ksyms pseudo-device lockstat # lock profiling @ 1.37 log @Enable puffs @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.36 2014/11/16 10:20:21 martin Exp $ d39 2 a40 2 #file-system EXT2FS # second extended file system (linux) #file-system CD9660 # ISO 9660 + Rock Ridge file system @ 1.37.2.1 log @Sync with HEAD @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.38 2015/02/13 13:48:17 joerg Exp $ d39 2 a40 2 file-system EXT2FS # second extended file system (linux) file-system CD9660 # ISO 9660 + Rock Ridge file system @ 1.37.2.2 log @Sync with HEAD @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.37.2.1 2015/04/06 15:17:55 skrll Exp $ d9 9 d23 2 d27 1 d30 1 a30 1 include "arch/evbarm/conf/GENERIC.common" d32 120 a151 2 # u-boot images contain kernels w/o any symbols, so we need to copy # them over to kernel text d155 5 a159 4 options USB_DEBUG options EHCI_DEBUG options OHCI_DEBUG options UHUB_DEBUG a176 1 #options __HAVE_PREEMPTION d213 1 a213 1 awinicu0 at awinio0 d316 22 @ 1.37.2.3 log @Sync with HEAD (as of 26th Dec) @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.37.2.2 2015/06/06 14:39:58 skrll Exp $ a12 2 no makeoptions CPUFLAGS makeoptions CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon" d103 1 a103 1 axp20x0 at iic0 addr 0x34 # AXP209 Power Management Unit a132 1 awintcon1 at awinio0 port 1 a135 1 awindebe1 at awinio0 port 1 a138 1 genfb1 at awindebe1 @ 1.37.2.4 log @Sync with HEAD @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.37.2.3 2015/12/27 12:09:34 skrll Exp $ a123 3 # Low res ADC awinlradc* at awinio? @ 1.37.2.5 log @Sync with HEAD @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.37.2.4 2016/05/29 08:44:16 skrll Exp $ a135 2 spkr* at audio? # PC speaker (synthesized) @ 1.36 log @Enable vnd and putter pseudo devices. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.35 2014/11/15 14:59:25 jmcneill Exp $ d46 1 a46 1 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) @ 1.35 log @enable awinir, cir @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.34 2014/11/12 17:38:56 jmcneill Exp $ d320 2 a321 1 #pseudo-device vnd # disk-like interface to files d323 1 a323 1 #pseudo-device putter # for puffs and pud @ 1.34 log @add awinhdmiaudio @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.33 2014/11/11 15:12:51 skrll Exp $ d239 4 @ 1.33 log @One awincnt0 is enough @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.32 2014/11/10 17:56:58 jmcneill Exp $ d254 2 @ 1.32 log @enable awinhdmi, awintcon, awindebe, genfb, wsmux, wsfont @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.31 2014/11/05 20:32:53 martin Exp $ a247 3 # 64-bit counter awincnt0 at awinio0 @ 1.31 log @Add awincnt at awinio (64 bit timer counter) @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.30 2014/11/05 18:32:29 jmcneill Exp $ d255 2 a256 18 # onboard video #awinfb* at obio0 addr 0x48050000 size 0x10000 #wsdisplay* at wsemuldisplaydev? console ? # various options for wscons - we try to look as much like a standard # sun console as possible #options WSEMUL_VT100 # sun terminal emulation #options WS_DEFAULT_FG=WSCOL_BLACK #options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE #options WS_KERNEL_FG=WSCOL_GREEN #options WS_KERNEL_BG=WSCOL_LIGHT_WHITE #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls #options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes #options WSDISPLAY_DEFAULTSCREENS=4 #options FONT_QVSS8x15 #options FONT_GALLANT12x22 # the console font d258 21 a278 2 #pseudo-device wsmux # mouse & keyboard multiplexor #pseudo-device wsfont @ 1.30 log @add MULTIPROCESSOR, awincnt @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.29 2014/10/24 10:48:05 jmcneill Exp $ d248 3 @ 1.29 log @disable axp20x for now, it seems after a while we get "send STOP failed" from i2c bus and then things go from bad to worse @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.28 2014/10/15 23:04:08 jmcneill Exp $ d175 2 a176 1 # The boot cpu d218 3 @ 1.28 log @motg works now @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.27 2014/10/11 11:55:07 uebayasi Exp $ d229 1 a229 1 axp20x0 at iic0 addr 0x34 # AXP209 Power Management Unit @ 1.27 log @Device midi attachment where the evil usbdevices.config is included. @ text @d2 1 a2 1 # $NetBSD$ d282 2 a283 2 #motg0 at awinio0 #usb* at motg? @ 1.26 log @add motg (commented out) @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.25 2014/09/09 22:49:20 jmcneill Exp $ d297 2 @ 1.25 log @add axp20x @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.24 2014/09/09 00:16:03 jmcneill Exp $ d281 4 @ 1.24 log @add BUFQ_PRIOCSCAN @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.23 2014/09/08 19:24:16 rjs Exp $ d229 1 @ 1.23 log @Add rgephy. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.22 2014/09/07 17:50:01 jmcneill Exp $ d134 5 @ 1.22 log @add awinrtc @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.21 2014/09/06 16:55:50 jmcneill Exp $ d288 1 @ 1.21 log @remove duplicate awindma entry @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.20 2014/09/06 16:55:07 jmcneill Exp $ d235 3 @ 1.20 log @enable audio driver now that it works @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.19 2014/09/06 00:16:36 jmcneill Exp $ a234 3 # onboard DMA #awindma0 at obio0 addr 0x48056000 size 0x1000 @ 1.19 log @add awindma @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.18 2014/09/04 02:39:41 jmcneill Exp $ d239 2 a240 2 #awinac0 at awinio0 #audio0 at awinac0 @ 1.18 log @add (commented out) awinac driver @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.17 2014/08/31 19:13:01 matt Exp $ d208 5 @ 1.17 log @Move away from cubie to awin since "cubie" will actually work on non-cubie boards. Let the config file specify what board is being built for. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.16 2014/08/23 20:26:57 dholland Exp $ d233 4 @ 1.16 log @Systematize (and in many cases, fix) the comments on options COMPAT_NN. There are quite a few configs that are missing some COMPAT_NN options in ways that don't make sense; this should probably get cleaned up too, but for the time being I've not added or removed anything. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.15 2014/08/18 06:31:24 christos Exp $ d7 1 a7 1 include "arch/evbarm/conf/std.cubie" d20 2 d171 1 a171 1 cpu0 at mainbus? @ 1.15 log @- Enable Wedge support for MBR/BSDLABEL where it was commented out. - Add apple partition support where it was missing - Add comments where missing @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.14 2014/08/17 21:17:43 joerg Exp $ d88 14 a101 14 options COMPAT_70 # NetBSD 7.0 compatibility. options COMPAT_60 # NetBSD 6.0 compatibility. options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_40 # NetBSD 4.0 compatibility. options COMPAT_30 # NetBSD 3.0 compatibility. #options COMPAT_20 # NetBSD 2.0 compatibility. #options COMPAT_16 # NetBSD 1.6 compatibility. #options COMPAT_15 # NetBSD 1.5 compatibility. #options COMPAT_14 # NetBSD 1.4 compatibility. #options COMPAT_13 # NetBSD 1.3 compatibility. #options COMPAT_12 # NetBSD 1.2 compatibility. #options COMPAT_11 # NetBSD 1.1 compatibility. #options COMPAT_10 # NetBSD 1.0 compatibility. #options COMPAT_09 # NetBSD 0.9 compatibility. @ 1.15.2.1 log @file CUBIEBOARD was added on branch tls-maxphys on 2014-08-20 00:02:53 +0000 @ text @d1 300 @ 1.15.2.2 log @Rebase to HEAD as of a few days ago. @ text @a0 298 # # $NetBSD$ # # CUBIEBOARD -- Allwinner A10/A20 Eval Board Kernel # include "arch/evbarm/conf/std.cubie" # estimated number of users maxusers 32 # Standard system options options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT #options NTP # NTP phase/frequency locked loop # CPU options #options UVMHIST,UVMHIST_PRINT options CPU_CORTEXA8 options CPU_CORTEXA7 options ALLWINNER_A10 options ALLWINNER_A20 options PMAPCOUNTERS options AWIN_CONSOLE_EARLY # Architecture options # File systems file-system FFS # UFS #file-system LFS # log-structured file system file-system MFS # memory file system file-system NFS # Network file system #file-system ADOSFS # AmigaDOS-compatible file system #file-system EXT2FS # second extended file system (linux) #file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system KERNFS # /kern #file-system NULLFS # loopback file system file-system PROCFS # /proc #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) #file-system UMAPFS # NULLFS + uid and gid remapping #file-system UNION # union file system file-system TMPFS # memory file system file-system PTYFS # /dev/pts/N support # File system options #options QUOTA # legacy UFS quotas #options QUOTA2 # new, in-filesystem UFS quotas #options FFS_EI # FFS Endian Independent support #options NFSSERVER options WAPBL # File system journaling support #options FFS_NO_SNAPSHOT # No FFS snapshot support # Networking options #options GATEWAY # packet forwarding options INET # IP + ICMP + TCP + UDP options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk networking #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 TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG options NFS_BOOT_BOOTP options NFS_BOOT_DHCP #options NFS_BOOT_BOOTSTATIC #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" options NFS_BOOT_RWSIZE=1024 # Compatibility options options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries #options COMPAT_43 # 4.3BSD compatibility. options COMPAT_60 # NetBSD 6.0 compatibility. options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_40 # NetBSD 4.0 compatibility. options COMPAT_30 # NetBSD 3.0 compatibility. #options COMPAT_20 # NetBSD 2.0 compatibility. #options COMPAT_16 # NetBSD 1.6 compatibility. #options COMPAT_15 # NetBSD 1.5 compatibility. #options COMPAT_14 # NetBSD 1.4 compatibility. #options COMPAT_13 # NetBSD 1.3 compatibility. #options COMPAT_12 # NetBSD 1.2 compatibility. #options COMPAT_11 # NetBSD 1.1 compatibility. #options COMPAT_10 # NetBSD 1.0 compatibility. #options COMPAT_09 # NetBSD 0.9 compatibility. #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. # Shared memory options options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing # Device options #options MEMORY_DISK_HOOKS # boottime setup of ramdisk #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks #options MEMORY_DISK_DYNAMIC #options MINIROOTSIZE=1000 # Size in blocks #options MEMORY_DISK_IS_ROOT # use memory disk as root options DKWEDGE_AUTODISCOVER options DKWEDGE_METHOD_GPT # Miscellaneous kernel options options KTRACE # system call tracing, a la ktrace(1) #options KMEMSTATS # kernel memory statistics #options SCSIVERBOSE # Verbose SCSI errors #options MIIVERBOSE # Verbose MII autoconfuration messages #options DDB_KEYCODE=0x40 #options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) # Development and Debugging options #options PERFCTRS # performance counters options DIAGNOSTIC # internal consistency checks #options DEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging #options VERBOSE_INIT_ARM # verbose bootstraping messages options DDB # in-kernel debugger options DDB_ONPANIC=1 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB #options KGDB makeoptions DEBUG="-g" # compile full symbol table options SYMTAB_SPACE=820000 ## USB Debugging options options USB_DEBUG options EHCI_DEBUG options OHCI_DEBUG options UHUB_DEBUG # Valid options for BOOT_ARGS: # single Boot to single user only # kdb Give control to kernel debugger # ask Ask for file name to reboot from # memorydisk= Set memorydisk size to KB # quiet Show aprint_naive output # verbose Show aprint_normal and aprint_verbose output options BOOT_ARGS="\"\"" config netbsd root on ? type ? # The main bus device mainbus0 at root # The boot cpu cpu0 at mainbus? # Specify the memory size in megabytes (optional). #options MEMSIZE=256 #options MEMSIZE=128 # A7 core devices armperiph0 at mainbus? armgic0 at armperiph? # Interrupt Controller armgtmr0 at armperiph? # ARM Generic Timer # SoC I/O awinio0 at mainbus? # SD/MMC controllers awinmmc0 at awinio0 port 0 sdmmc* at awinmmc? ld* at sdmmc? # NAND controller awinnand0 at awinio0 # NAND layer nand0 at nandbus? # use the bad block table options NAND_BBT # Define flash partitions for board flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env flash3 at nand0 offset 0x280000 size 0x400000 # kernel flash4 at nand0 offset 0x680000 size 0 # filesystem # Interrupt Controller awinicu0 at awinio0 awingpio0 at awinio0 gpio* at awingpio? # System Control Module #awinscm0 at awinio? # I2C Controller awiniic0 at awinio? port 0 #awiniic* at awinio? port ? iic* at awiniic? # On-board 16550 UARTs com0 at awinio? port 0 # UART0 (console) options CONADDR=0x01c28000, CONSPEED=115200 # Operating System Timer (A10) awintmr0 at awinio? # Watchdog timers awinwdt* at awinio? # onboard DMA #awindma0 at obio0 addr 0x48056000 size 0x1000 # onboard video #awinfb* at obio0 addr 0x48050000 size 0x10000 #wsdisplay* at wsemuldisplaydev? console ? # various options for wscons - we try to look as much like a standard # sun console as possible #options WSEMUL_VT100 # sun terminal emulation #options WS_DEFAULT_FG=WSCOL_BLACK #options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE #options WS_KERNEL_FG=WSCOL_GREEN #options WS_KERNEL_BG=WSCOL_LIGHT_WHITE #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls #options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes #options WSDISPLAY_DEFAULTSCREENS=4 #options FONT_QVSS8x15 #options FONT_GALLANT12x22 # the console font #pseudo-device wsmux # mouse & keyboard multiplexor #pseudo-device wsfont # Power, Reset and Clock Management #prcm* at awinio? # On-board USB awinusb0 at awinio0 port 0 awinusb1 at awinio0 port 1 ohci* at awinusb? ehci* at awinusb? usb* at ohci? usb* at ehci? # SATA ahcisata* at awinio0 atabus* at ata? wd* at atabus? drive ? # 10/100 Ethernet (A10/A20) awe0 at awinio0 port ? # 10/100/1000 Ethernet (A10/A20) awge0 at awinio0 port ? include "dev/usb/usbdevices.config" rlphy* at mii? phy ? ukphy* at mii? phy ? # Pseudo-Devices # disk/mass storage pseudo-devices #pseudo-device md # memory disk device (ramdisk) #pseudo-device vnd # disk-like interface to files #pseudo-device fss # file system snapshot device #pseudo-device putter # for puffs and pud pseudo-device drvctl # driver control # network pseudo-devices pseudo-device bpfilter # Berkeley packet filter pseudo-device loop # network loopback #pseudo-device kttcp # network loopback # miscellaneous pseudo-devices pseudo-device pty # pseudo-terminals #options RND_COM #pseudo-device clockctl # user control of clock subsystem pseudo-device ksyms # /dev/ksyms pseudo-device lockstat # lock profiling cinclude "arch/evbarm/conf/CUBIEBOARD.local" @ 1.15.2.3 log @update from HEAD @ text @d7 10 a16 1 include "arch/evbarm/conf/std.awin" a19 4 no makeoptions BOARDTYPE makeoptions BOARDTYPE="cubieboard" no makeoptions CPUFLAGS makeoptions CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon" d21 2 d25 1 d28 1 a28 1 include "arch/evbarm/conf/GENERIC.common" d30 114 a143 3 # u-boot images contain kernels w/o any symbols, so we need to copy # them over to kernel text makeoptions COPY_SYMTAB=1 d146 5 a150 4 options USB_DEBUG options EHCI_DEBUG options OHCI_DEBUG options UHUB_DEBUG d166 2 a167 4 # CPU(s) options MULTIPROCESSOR #options __HAVE_PREEMPTION cpu* at mainbus? a203 8 # DMA Controller awindma0 at awinio0 # 64-bit counter awincnt0 at awinio0 # GPIO Controller a214 1 axp20x0 at iic0 addr 0x34 # AXP209 Power Management Unit a219 4 # Consumer IR awinir0 at awinio? cir0 at awinir0 d226 2 a227 2 # RTC awinrtc* at awinio? d229 18 a246 2 # Low res ADC awinlradc* at awinio? d248 2 a249 35 # onboard audio codec awinac0 at awinio0 audio0 at awinac0 # HDMI awinhdmi0 at awinio0 awinhdmiaudio0 at awinio0 audio1 at awinhdmiaudio0 spkr* at audio? # PC speaker (synthesized) # TCON awintcon0 at awinio0 port 0 awintcon1 at awinio0 port 1 # DE-BE awindebe0 at awinio0 port 0 awindebe1 at awinio0 port 1 # Framebuffer genfb0 at awindebe0 genfb1 at awindebe1 wsdisplay* at genfb? options VCONS_DRAW_INTR options WSEMUL_VT100 options WS_KERNEL_FG=WSCOL_GREEN options WS_KERNEL_BG=WSCOL_BLACK options WSDISPLAY_COMPAT_PCVT options WSDISPLAY_COMPAT_SYSCONS options WSDISPLAY_COMPAT_USL options WSDISPLAY_COMPAT_RAWKBD options WSDISPLAY_DEFAULTSCREENS=4 pseudo-device wsmux # mouse & keyboard multiplexor pseudo-device wsfont a261 4 # USB OTG motg0 at awinio0 usb* at motg? a273 2 midi* at midibus? a274 1 rgephy* at mii? phy ? d277 21 @ 1.14 log @Reorganize symbol table embedding. The existing option SYMTAB_SPACE is replaced by the make option COPY_SYMTAB set to any value. The copy of the symbol table is no longer put into a buffer in kern_ksyms.o, but a small helper object. This object is build first with a dummy size, then the kernel is linked to compute the real dimension of the symbol table buffer. After that, the helper object is rebuild and the kernel linked again. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.13 2014/08/16 17:56:31 apb Exp $ d119 3 a121 2 options DKWEDGE_AUTODISCOVER options DKWEDGE_METHOD_GPT @ 1.13 log @Add "options COMPAT_70" to all kernel configuration files that already had "options COMPAT_60". @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.12 2014/08/03 08:53:56 martin Exp $ d144 1 a144 1 options SYMTAB_SPACE=820000 @ 1.12 log @Add COMPAT_NETBSD32, following the switch to eabi by default. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.11 2014/07/27 03:34:41 dholland Exp $ d88 1 @ 1.12.2.1 log @Pull up following revision(s) (requested by skrll in ticket #82): sys/arch/evbarm/awin/awin_start.S: revision 1.1 sys/arch/evbarm/conf/mk.cubie: file removal sys/arch/evbarm/conf/std.awin: revision 1.1 sys/arch/evbarm/cubie/genassym.cf: file removal sys/arch/evbarm/conf/CUBIEBOARD: revision 1.17 sys/arch/evbarm/conf/BPI: revision 1.1 sys/arch/evbarm/awin/genassym.cf: revision 1.1 sys/arch/evbarm/awin/platform.h: revision 1.1 sys/arch/evbarm/conf/files.awin: revision 1.1 sys/arch/evbarm/conf/mk.cubie: revision 1.4 sys/arch/evbarm/conf/CUBIETRUCK: revision 1.3 sys/arch/evbarm/cubie/cubie_machdep.c: revision 1.21 sys/arch/evbarm/awin/awin_machdep.c: revision 1.1 sys/arch/evbarm/awin/awin_machdep.c: revision 1.3 sys/arch/evbarm/awin/awin_machdep.c: revision 1.4 sys/arch/evbarm/conf/std.cubie: file removal sys/arch/evbarm/conf/mk.awin: revision 1.1 sys/arch/evbarm/conf/mk.awin: revision 1.2 sys/arch/evbarm/cubie/cubie_machdep.c: file removal sys/arch/evbarm/cubie/cubie_start.S: file removal sys/arch/evbarm/cubie/platform.h: file removal sys/arch/evbarm/conf/files.cubie: file removal Move away from "cubie" to generic "awin" and introduce a BOARDTYPE variable. This allows other boards to use the cubie code. Add a Banana Pi kernel config and fixup mmc0detect assignment for BPI. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.12 2014/08/03 08:53:56 martin Exp $ d7 1 a7 1 include "arch/evbarm/conf/std.awin" a19 2 no makeoptions BOARDTYPE makeoptions BOARDTYPE="cubieboard" d167 1 a167 1 cpu* at mainbus? @ 1.12.2.2 log @Pull up following revision(s) (requested by skrll in ticket #222): etc/etc.evbarm/Makefile.inc 1.64 sys/arch/evbarm/conf/BPI 1.2,1.4,1.6-1.7,1.9 sys/arch/evbarm/conf/BPI_INSTALL 1.1 sys/arch/evbarm/conf/CUBIEBOARD 1.18-1.30 sys/arch/evbarm/conf/CUBIETRUCK 1.4,1.6 sys/arch/evbarm/conf/mk.awin 1.4 sys/arch/evbarm/conf/std.awin 1.4 (via patch) sys/conf/files 1.1104 sys/dev/usb/motg.c 1.9-1.12 sys/dev/usb/motgreg.h 1.2-1.4 Allow attachment glue to override the number of endpoints - options MOTG_ALLWINNER to select the awin specific reg layout options MOTG_ALLWINNER - Instead of polluting motgreg.h with AllWinner specific registers (things were getting out of hand), move the AllWinner reg definitions to arch/arm/allwinner/awin_otgreg.h and include that instead of dev/usb/motgreg.h when MOTG_ALLWINNER is defined. let the bus driver override fifo size - If the bus driver supplies a fifo size and dynfifo is true, use it - Various kernel config fixes. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.12.2.1 2014/09/10 09:37:51 martin Exp $ a131 5 # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN d168 1 a168 2 # CPU(s) options MULTIPROCESSOR a205 8 # DMA Controller awindma0 at awinio0 # 64-bit counter awincnt0 at awinio0 # GPIO Controller a216 1 #axp20x0 at iic0 addr 0x34 # AXP209 Power Management Unit d228 2 a229 6 # RTC awinrtc* at awinio? # onboard audio codec awinac0 at awinio0 audio0 at awinac0 a263 4 # USB OTG motg0 at awinio0 usb* at motg? a276 1 rgephy* at mii? phy ? @ 1.12.2.3 log @Pull up following revision(s) (requested by jmcneill in ticket #210): sys/arch/arm/allwinner/awin_board.c: revisions 1.26-1.27 sys/arch/arm/allwinner/awin_debe.c: revisions 1.1-1.6 sys/arch/arm/allwinner/awin_fb.c: revisions 1.1-1.4 sys/arch/arm/allwinner/awin_hdmi.c: revisions 1.3-1.6,1.9-1.12 sys/arch/arm/allwinner/awin_io.c: revision 1.27 sys/arch/arm/allwinner/awin_reg.h: revisions 1.46-1.47,1.49 sys/arch/arm/allwinner/awin_tcon.c: revisions 1.1-1.5 sys/arch/arm/allwinner/awin_var.h: revisions 1.20-1.22 sys/arch/arm/allwinner/files.awin: revisions 1.22-1.23,1.25 sys/arch/evbarm/awin/awin_machdep.c: revision 1.26 sys/arch/evbarm/conf/BPI: revision 1.10 sys/arch/evbarm/conf/CUBIEBOARD: revision 1.32 sys/arch/evbarm/conf/HUMMINGBIRD_A31: revisions 1.17-1.18 sys/dev/wscons/wsconsio.h: revision 1.109 HDMI framebuffer for Allwinner boards. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.12.2.2 2014/11/12 19:54:46 martin Exp $ d250 18 a267 2 # HDMI awinhdmi0 at awinio0 d269 2 a270 21 # TCON awintcon0 at awinio0 port 0 # DE-BE awindebe0 at awinio0 port 0 # Framebuffer genfb0 at awindebe0 wsdisplay* at genfb? options VCONS_DRAW_INTR options WSEMUL_VT100 options WS_KERNEL_FG=WSCOL_GREEN options WS_KERNEL_BG=WSCOL_BLACK options WSDISPLAY_COMPAT_PCVT options WSDISPLAY_COMPAT_SYSCONS options WSDISPLAY_COMPAT_USL options WSDISPLAY_COMPAT_RAWKBD options WSDISPLAY_DEFAULTSCREENS=4 pseudo-device wsmux # mouse & keyboard multiplexor pseudo-device wsfont @ 1.12.2.4 log @Pull up following revision(s) (requested by jmcneill in ticket #214): sys/arch/evbarm/conf/BPI: revision 1.11 sys/arch/arm/allwinner/awin_hdmi.c: revision 1.10 sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.1 sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.2 sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.3 sys/arch/evbarm/conf/CUBIEBOARD: revision 1.34 sys/arch/arm/allwinner/awin_io.c: revision 1.28 sys/arch/arm/allwinner/awin_reg.h: revision 1.48 sys/arch/arm/allwinner/awin_debe.c: revision 1.5 sys/arch/arm/allwinner/awin_dma_a10.c: revision 1.3 sys/arch/evbarm/conf/HUMMINGBIRD_A31: revision 1.19 sys/arch/arm/allwinner/files.awin: revision 1.24 sys/arch/arm/allwinner/awin_board.c: revision 1.28 sys/arch/arm/allwinner/awin_hdmi.c: revision 1.7 sys/arch/arm/allwinner/awin_hdmi.c: revision 1.8 HDMI audio driver for Allwinner boards. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.12.2.3 2014/11/14 13:26:46 martin Exp $ a251 2 awinhdmiaudio0 at awinio0 audio1 at awinhdmiaudio0 @ 1.12.2.5 log @Pull up following revision(s) (requested by jmcneill in ticket #241): sys/arch/evbarm/conf/BPI: revision 1.12 sys/arch/arm/allwinner/awin_ir.c: revision 1.2 sys/arch/arm/allwinner/awin_ir.c: revision 1.3 sys/arch/arm/allwinner/awin_ir.c: revision 1.4 sys/arch/evbarm/conf/CUBIEBOARD: revision 1.35 sys/arch/arm/allwinner/awin_reg.h: revision 1.50 sys/arch/arm/allwinner/awin_reg.h: revision 1.51 Fix CIR setup. Works on A31 now. hide a debug printf add A20 IR support enable awinir, cir @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.12.2.4 2014/11/14 13:37:39 martin Exp $ a236 4 # Consumer IR awinir0 at awinio? cir0 at awinir0 @ 1.12.2.6 log @Pull up following revision(s) (requested by skrll in ticket #1107): external/broadcom/rpi-firmware/dist/LICENCE.broadcom: revision 1.2 external/broadcom/rpi-firmware/dist/bootcode.bin: revision 1.8 external/broadcom/rpi-firmware/dist/fixup.dat: revision 1.8 external/broadcom/rpi-firmware/dist/fixup_cd.dat: revision 1.8 external/broadcom/rpi-firmware/dist/start.elf: revision 1.8 external/broadcom/rpi-firmware/dist/start_cd.elf: revision 1.8 sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.29 sys/arch/arm/broadcom/bcm2835_gpio.c: revision 1.3 sys/arch/arm/broadcom/bcm2835_gpio_subr.c: revision 1.4 sys/arch/arm/broadcom/bcm2835_space.c: revision 1.9, 1.10 sys/arch/arm/broadcom/bcm2835reg.h: patch sys/arch/arm/cortex/a9_mpsubr.S: revisions 1.45, 1.46 sys/arch/evbarm/conf/CUBIEBOARD: revision 1.45 sys/arch/evbarm/conf/std.awin: revision 1.9 sys/arch/evbarm/rpi/rpi2_start.S: revision 1.3 sys/arch/evbarm/rpi/rpi_machdep.c: revision 1.68 Check for hypervisor mode in cortex_init and exit if the cpu started there. Needed by latest RPI firmware. -- Fix up bus_space_map for latest RPI firmware which now passes the FB address in the mailbox properties as a bus address. -- Update RPI firmware to version after the following commit commit 224c75602b8bae1a9e942b4f1c7ed3aa8e0f0ec8 Author: popcornmix Date: Tue Dec 8 14:48:57 2015 +0000 -- Deal with kernel builds where virtualisation isn't available -- Tweak CPUFLAGS to cover all CPUs -- Fix up bcm283[56] bus_space(4) to really use bus addresses for peripherals, etc Simplifies the code in various places and uses the abstraction in more places. (bcm2835_gpio_subr.c still doesn't) @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.12.2.5 2014/11/16 10:33:57 martin Exp $ a21 2 no makeoptions CPUFLAGS makeoptions CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon" @ 1.11 log @"internally consistency checks" -> "internal consistency checks" @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.10 2014/02/26 00:32:21 matt Exp $ d86 1 @ 1.10 log @Add awge bump symtab space. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.9 2014/02/25 00:09:00 jmcneill Exp $ d132 1 a132 1 options DIAGNOSTIC # internally consistency checks @ 1.10.4.1 log @Rebase. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.12 2014/08/03 08:53:56 martin Exp $ a85 1 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries d132 1 a132 1 options DIAGNOSTIC # internal consistency checks @ 1.10.8.1 log @file CUBIEBOARD was added on branch yamt-pagecache on 2014-05-22 11:39:40 +0000 @ text @d1 297 @ 1.10.8.2 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @a0 297 # # $NetBSD$ # # CUBIEBOARD -- Allwinner A10/A20 Eval Board Kernel # include "arch/evbarm/conf/std.cubie" # estimated number of users maxusers 32 # Standard system options options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT #options NTP # NTP phase/frequency locked loop # CPU options #options UVMHIST,UVMHIST_PRINT options CPU_CORTEXA8 options CPU_CORTEXA7 options ALLWINNER_A10 options ALLWINNER_A20 options PMAPCOUNTERS options AWIN_CONSOLE_EARLY # Architecture options # File systems file-system FFS # UFS #file-system LFS # log-structured file system file-system MFS # memory file system file-system NFS # Network file system #file-system ADOSFS # AmigaDOS-compatible file system #file-system EXT2FS # second extended file system (linux) #file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system KERNFS # /kern #file-system NULLFS # loopback file system file-system PROCFS # /proc #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) #file-system UMAPFS # NULLFS + uid and gid remapping #file-system UNION # union file system file-system TMPFS # memory file system file-system PTYFS # /dev/pts/N support # File system options #options QUOTA # legacy UFS quotas #options QUOTA2 # new, in-filesystem UFS quotas #options FFS_EI # FFS Endian Independent support #options NFSSERVER options WAPBL # File system journaling support #options FFS_NO_SNAPSHOT # No FFS snapshot support # Networking options #options GATEWAY # packet forwarding options INET # IP + ICMP + TCP + UDP options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk networking #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 TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG options NFS_BOOT_BOOTP options NFS_BOOT_DHCP #options NFS_BOOT_BOOTSTATIC #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" options NFS_BOOT_RWSIZE=1024 # Compatibility options #options COMPAT_43 # 4.3BSD compatibility. options COMPAT_60 # NetBSD 6.0 compatibility. options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_40 # NetBSD 4.0 compatibility. options COMPAT_30 # NetBSD 3.0 compatibility. #options COMPAT_20 # NetBSD 2.0 compatibility. #options COMPAT_16 # NetBSD 1.6 compatibility. #options COMPAT_15 # NetBSD 1.5 compatibility. #options COMPAT_14 # NetBSD 1.4 compatibility. #options COMPAT_13 # NetBSD 1.3 compatibility. #options COMPAT_12 # NetBSD 1.2 compatibility. #options COMPAT_11 # NetBSD 1.1 compatibility. #options COMPAT_10 # NetBSD 1.0 compatibility. #options COMPAT_09 # NetBSD 0.9 compatibility. #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. # Shared memory options options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing # Device options #options MEMORY_DISK_HOOKS # boottime setup of ramdisk #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks #options MEMORY_DISK_DYNAMIC #options MINIROOTSIZE=1000 # Size in blocks #options MEMORY_DISK_IS_ROOT # use memory disk as root options DKWEDGE_AUTODISCOVER options DKWEDGE_METHOD_GPT # Miscellaneous kernel options options KTRACE # system call tracing, a la ktrace(1) #options KMEMSTATS # kernel memory statistics #options SCSIVERBOSE # Verbose SCSI errors #options MIIVERBOSE # Verbose MII autoconfuration messages #options DDB_KEYCODE=0x40 #options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) # Development and Debugging options #options PERFCTRS # performance counters options DIAGNOSTIC # internally consistency checks #options DEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging #options VERBOSE_INIT_ARM # verbose bootstraping messages options DDB # in-kernel debugger options DDB_ONPANIC=1 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB #options KGDB makeoptions DEBUG="-g" # compile full symbol table options SYMTAB_SPACE=820000 ## USB Debugging options options USB_DEBUG options EHCI_DEBUG options OHCI_DEBUG options UHUB_DEBUG # Valid options for BOOT_ARGS: # single Boot to single user only # kdb Give control to kernel debugger # ask Ask for file name to reboot from # memorydisk= Set memorydisk size to KB # quiet Show aprint_naive output # verbose Show aprint_normal and aprint_verbose output options BOOT_ARGS="\"\"" config netbsd root on ? type ? # The main bus device mainbus0 at root # The boot cpu cpu0 at mainbus? # Specify the memory size in megabytes (optional). #options MEMSIZE=256 #options MEMSIZE=128 # A7 core devices armperiph0 at mainbus? armgic0 at armperiph? # Interrupt Controller armgtmr0 at armperiph? # ARM Generic Timer # SoC I/O awinio0 at mainbus? # SD/MMC controllers awinmmc0 at awinio0 port 0 sdmmc* at awinmmc? ld* at sdmmc? # NAND controller awinnand0 at awinio0 # NAND layer nand0 at nandbus? # use the bad block table options NAND_BBT # Define flash partitions for board flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env flash3 at nand0 offset 0x280000 size 0x400000 # kernel flash4 at nand0 offset 0x680000 size 0 # filesystem # Interrupt Controller awinicu0 at awinio0 awingpio0 at awinio0 gpio* at awingpio? # System Control Module #awinscm0 at awinio? # I2C Controller awiniic0 at awinio? port 0 #awiniic* at awinio? port ? iic* at awiniic? # On-board 16550 UARTs com0 at awinio? port 0 # UART0 (console) options CONADDR=0x01c28000, CONSPEED=115200 # Operating System Timer (A10) awintmr0 at awinio? # Watchdog timers awinwdt* at awinio? # onboard DMA #awindma0 at obio0 addr 0x48056000 size 0x1000 # onboard video #awinfb* at obio0 addr 0x48050000 size 0x10000 #wsdisplay* at wsemuldisplaydev? console ? # various options for wscons - we try to look as much like a standard # sun console as possible #options WSEMUL_VT100 # sun terminal emulation #options WS_DEFAULT_FG=WSCOL_BLACK #options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE #options WS_KERNEL_FG=WSCOL_GREEN #options WS_KERNEL_BG=WSCOL_LIGHT_WHITE #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls #options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes #options WSDISPLAY_DEFAULTSCREENS=4 #options FONT_QVSS8x15 #options FONT_GALLANT12x22 # the console font #pseudo-device wsmux # mouse & keyboard multiplexor #pseudo-device wsfont # Power, Reset and Clock Management #prcm* at awinio? # On-board USB awinusb0 at awinio0 port 0 awinusb1 at awinio0 port 1 ohci* at awinusb? ehci* at awinusb? usb* at ohci? usb* at ehci? # SATA ahcisata* at awinio0 atabus* at ata? wd* at atabus? drive ? # 10/100 Ethernet (A10/A20) awe0 at awinio0 port ? # 10/100/1000 Ethernet (A10/A20) awge0 at awinio0 port ? include "dev/usb/usbdevices.config" rlphy* at mii? phy ? ukphy* at mii? phy ? # Pseudo-Devices # disk/mass storage pseudo-devices #pseudo-device md # memory disk device (ramdisk) #pseudo-device vnd # disk-like interface to files #pseudo-device fss # file system snapshot device #pseudo-device putter # for puffs and pud pseudo-device drvctl # driver control # network pseudo-devices pseudo-device bpfilter # Berkeley packet filter pseudo-device loop # network loopback #pseudo-device kttcp # network loopback # miscellaneous pseudo-devices pseudo-device pty # pseudo-terminals #options RND_COM #pseudo-device clockctl # user control of clock subsystem pseudo-device ksyms # /dev/ksyms pseudo-device lockstat # lock profiling cinclude "arch/evbarm/conf/CUBIEBOARD.local" @ 1.10.6.1 log @file CUBIEBOARD was added on branch rmind-smpnet on 2014-05-18 17:45:03 +0000 @ text @d1 297 @ 1.10.6.2 log @sync with head @ text @a0 297 # # $NetBSD$ # # CUBIEBOARD -- Allwinner A10/A20 Eval Board Kernel # include "arch/evbarm/conf/std.cubie" # estimated number of users maxusers 32 # Standard system options options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT #options NTP # NTP phase/frequency locked loop # CPU options #options UVMHIST,UVMHIST_PRINT options CPU_CORTEXA8 options CPU_CORTEXA7 options ALLWINNER_A10 options ALLWINNER_A20 options PMAPCOUNTERS options AWIN_CONSOLE_EARLY # Architecture options # File systems file-system FFS # UFS #file-system LFS # log-structured file system file-system MFS # memory file system file-system NFS # Network file system #file-system ADOSFS # AmigaDOS-compatible file system #file-system EXT2FS # second extended file system (linux) #file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system KERNFS # /kern #file-system NULLFS # loopback file system file-system PROCFS # /proc #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) #file-system UMAPFS # NULLFS + uid and gid remapping #file-system UNION # union file system file-system TMPFS # memory file system file-system PTYFS # /dev/pts/N support # File system options #options QUOTA # legacy UFS quotas #options QUOTA2 # new, in-filesystem UFS quotas #options FFS_EI # FFS Endian Independent support #options NFSSERVER options WAPBL # File system journaling support #options FFS_NO_SNAPSHOT # No FFS snapshot support # Networking options #options GATEWAY # packet forwarding options INET # IP + ICMP + TCP + UDP options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk networking #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 TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG options NFS_BOOT_BOOTP options NFS_BOOT_DHCP #options NFS_BOOT_BOOTSTATIC #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" options NFS_BOOT_RWSIZE=1024 # Compatibility options #options COMPAT_43 # 4.3BSD compatibility. options COMPAT_60 # NetBSD 6.0 compatibility. options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_40 # NetBSD 4.0 compatibility. options COMPAT_30 # NetBSD 3.0 compatibility. #options COMPAT_20 # NetBSD 2.0 compatibility. #options COMPAT_16 # NetBSD 1.6 compatibility. #options COMPAT_15 # NetBSD 1.5 compatibility. #options COMPAT_14 # NetBSD 1.4 compatibility. #options COMPAT_13 # NetBSD 1.3 compatibility. #options COMPAT_12 # NetBSD 1.2 compatibility. #options COMPAT_11 # NetBSD 1.1 compatibility. #options COMPAT_10 # NetBSD 1.0 compatibility. #options COMPAT_09 # NetBSD 0.9 compatibility. #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. # Shared memory options options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing # Device options #options MEMORY_DISK_HOOKS # boottime setup of ramdisk #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks #options MEMORY_DISK_DYNAMIC #options MINIROOTSIZE=1000 # Size in blocks #options MEMORY_DISK_IS_ROOT # use memory disk as root options DKWEDGE_AUTODISCOVER options DKWEDGE_METHOD_GPT # Miscellaneous kernel options options KTRACE # system call tracing, a la ktrace(1) #options KMEMSTATS # kernel memory statistics #options SCSIVERBOSE # Verbose SCSI errors #options MIIVERBOSE # Verbose MII autoconfuration messages #options DDB_KEYCODE=0x40 #options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) # Development and Debugging options #options PERFCTRS # performance counters options DIAGNOSTIC # internally consistency checks #options DEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging #options VERBOSE_INIT_ARM # verbose bootstraping messages options DDB # in-kernel debugger options DDB_ONPANIC=1 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB #options KGDB makeoptions DEBUG="-g" # compile full symbol table options SYMTAB_SPACE=820000 ## USB Debugging options options USB_DEBUG options EHCI_DEBUG options OHCI_DEBUG options UHUB_DEBUG # Valid options for BOOT_ARGS: # single Boot to single user only # kdb Give control to kernel debugger # ask Ask for file name to reboot from # memorydisk= Set memorydisk size to KB # quiet Show aprint_naive output # verbose Show aprint_normal and aprint_verbose output options BOOT_ARGS="\"\"" config netbsd root on ? type ? # The main bus device mainbus0 at root # The boot cpu cpu0 at mainbus? # Specify the memory size in megabytes (optional). #options MEMSIZE=256 #options MEMSIZE=128 # A7 core devices armperiph0 at mainbus? armgic0 at armperiph? # Interrupt Controller armgtmr0 at armperiph? # ARM Generic Timer # SoC I/O awinio0 at mainbus? # SD/MMC controllers awinmmc0 at awinio0 port 0 sdmmc* at awinmmc? ld* at sdmmc? # NAND controller awinnand0 at awinio0 # NAND layer nand0 at nandbus? # use the bad block table options NAND_BBT # Define flash partitions for board flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env flash3 at nand0 offset 0x280000 size 0x400000 # kernel flash4 at nand0 offset 0x680000 size 0 # filesystem # Interrupt Controller awinicu0 at awinio0 awingpio0 at awinio0 gpio* at awingpio? # System Control Module #awinscm0 at awinio? # I2C Controller awiniic0 at awinio? port 0 #awiniic* at awinio? port ? iic* at awiniic? # On-board 16550 UARTs com0 at awinio? port 0 # UART0 (console) options CONADDR=0x01c28000, CONSPEED=115200 # Operating System Timer (A10) awintmr0 at awinio? # Watchdog timers awinwdt* at awinio? # onboard DMA #awindma0 at obio0 addr 0x48056000 size 0x1000 # onboard video #awinfb* at obio0 addr 0x48050000 size 0x10000 #wsdisplay* at wsemuldisplaydev? console ? # various options for wscons - we try to look as much like a standard # sun console as possible #options WSEMUL_VT100 # sun terminal emulation #options WS_DEFAULT_FG=WSCOL_BLACK #options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE #options WS_KERNEL_FG=WSCOL_GREEN #options WS_KERNEL_BG=WSCOL_LIGHT_WHITE #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls #options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes #options WSDISPLAY_DEFAULTSCREENS=4 #options FONT_QVSS8x15 #options FONT_GALLANT12x22 # the console font #pseudo-device wsmux # mouse & keyboard multiplexor #pseudo-device wsfont # Power, Reset and Clock Management #prcm* at awinio? # On-board USB awinusb0 at awinio0 port 0 awinusb1 at awinio0 port 1 ohci* at awinusb? ehci* at awinusb? usb* at ohci? usb* at ehci? # SATA ahcisata* at awinio0 atabus* at ata? wd* at atabus? drive ? # 10/100 Ethernet (A10/A20) awe0 at awinio0 port ? # 10/100/1000 Ethernet (A10/A20) awge0 at awinio0 port ? include "dev/usb/usbdevices.config" rlphy* at mii? phy ? ukphy* at mii? phy ? # Pseudo-Devices # disk/mass storage pseudo-devices #pseudo-device md # memory disk device (ramdisk) #pseudo-device vnd # disk-like interface to files #pseudo-device fss # file system snapshot device #pseudo-device putter # for puffs and pud pseudo-device drvctl # driver control # network pseudo-devices pseudo-device bpfilter # Berkeley packet filter pseudo-device loop # network loopback #pseudo-device kttcp # network loopback # miscellaneous pseudo-devices pseudo-device pty # pseudo-terminals #options RND_COM #pseudo-device clockctl # user control of clock subsystem pseudo-device ksyms # /dev/ksyms pseudo-device lockstat # lock profiling cinclude "arch/evbarm/conf/CUBIEBOARD.local" @ 1.10.2.1 log @file CUBIEBOARD was added on branch matt-nb5-mips64 on 2014-03-24 18:46:38 +0000 @ text @d1 297 @ 1.10.2.2 log @Add cubie from HEAD @ text @a0 297 # # $NetBSD: CUBIEBOARD,v 1.10 2014/02/26 00:32:21 matt Exp $ # # CUBIEBOARD -- Allwinner A10/A20 Eval Board Kernel # include "arch/evbarm/conf/std.cubie" # estimated number of users maxusers 32 # Standard system options options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT #options NTP # NTP phase/frequency locked loop # CPU options #options UVMHIST,UVMHIST_PRINT options CPU_CORTEXA8 options CPU_CORTEXA7 options ALLWINNER_A10 options ALLWINNER_A20 options PMAPCOUNTERS options AWIN_CONSOLE_EARLY # Architecture options # File systems file-system FFS # UFS #file-system LFS # log-structured file system file-system MFS # memory file system file-system NFS # Network file system #file-system ADOSFS # AmigaDOS-compatible file system #file-system EXT2FS # second extended file system (linux) #file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system KERNFS # /kern #file-system NULLFS # loopback file system file-system PROCFS # /proc #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) #file-system UMAPFS # NULLFS + uid and gid remapping #file-system UNION # union file system file-system TMPFS # memory file system file-system PTYFS # /dev/pts/N support # File system options #options QUOTA # legacy UFS quotas #options QUOTA2 # new, in-filesystem UFS quotas #options FFS_EI # FFS Endian Independent support #options NFSSERVER options WAPBL # File system journaling support #options FFS_NO_SNAPSHOT # No FFS snapshot support # Networking options #options GATEWAY # packet forwarding options INET # IP + ICMP + TCP + UDP options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk networking #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 TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG options NFS_BOOT_BOOTP options NFS_BOOT_DHCP #options NFS_BOOT_BOOTSTATIC #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" options NFS_BOOT_RWSIZE=1024 # Compatibility options #options COMPAT_43 # 4.3BSD compatibility. options COMPAT_60 # NetBSD 6.0 compatibility. options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_40 # NetBSD 4.0 compatibility. options COMPAT_30 # NetBSD 3.0 compatibility. #options COMPAT_20 # NetBSD 2.0 compatibility. #options COMPAT_16 # NetBSD 1.6 compatibility. #options COMPAT_15 # NetBSD 1.5 compatibility. #options COMPAT_14 # NetBSD 1.4 compatibility. #options COMPAT_13 # NetBSD 1.3 compatibility. #options COMPAT_12 # NetBSD 1.2 compatibility. #options COMPAT_11 # NetBSD 1.1 compatibility. #options COMPAT_10 # NetBSD 1.0 compatibility. #options COMPAT_09 # NetBSD 0.9 compatibility. #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. # Shared memory options options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing # Device options #options MEMORY_DISK_HOOKS # boottime setup of ramdisk #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks #options MEMORY_DISK_DYNAMIC #options MINIROOTSIZE=1000 # Size in blocks #options MEMORY_DISK_IS_ROOT # use memory disk as root options DKWEDGE_AUTODISCOVER options DKWEDGE_METHOD_GPT # Miscellaneous kernel options options KTRACE # system call tracing, a la ktrace(1) #options KMEMSTATS # kernel memory statistics #options SCSIVERBOSE # Verbose SCSI errors #options MIIVERBOSE # Verbose MII autoconfuration messages #options DDB_KEYCODE=0x40 #options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) # Development and Debugging options #options PERFCTRS # performance counters options DIAGNOSTIC # internally consistency checks #options DEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging options VERBOSE_INIT_ARM # verbose bootstraping messages options DDB # in-kernel debugger options DDB_ONPANIC=1 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB #options KGDB makeoptions DEBUG="-g" # compile full symbol table options SYMTAB_SPACE=820000 ## USB Debugging options options USB_DEBUG options EHCI_DEBUG options OHCI_DEBUG options UHUB_DEBUG # Valid options for BOOT_ARGS: # single Boot to single user only # kdb Give control to kernel debugger # ask Ask for file name to reboot from # memorydisk= Set memorydisk size to KB # quiet Show aprint_naive output # verbose Show aprint_normal and aprint_verbose output options BOOT_ARGS="\"\"" config netbsd root on ? type ? # The main bus device mainbus0 at root # The boot cpu cpu0 at mainbus? # Specify the memory size in megabytes (optional). #options MEMSIZE=256 #options MEMSIZE=128 # A7 core devices armperiph0 at mainbus? armgic0 at armperiph? # Interrupt Controller armgtmr0 at armperiph? # ARM Generic Timer # SoC I/O awinio0 at mainbus? # SD/MMC controllers awinmmc0 at awinio0 port 0 sdmmc* at awinmmc? ld* at sdmmc? # NAND controller awinnand0 at awinio0 # NAND layer nand0 at nandbus? # use the bad block table options NAND_BBT # Define flash partitions for board flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env flash3 at nand0 offset 0x280000 size 0x400000 # kernel flash4 at nand0 offset 0x680000 size 0 # filesystem # Interrupt Controller awinicu0 at awinio0 awingpio0 at awinio0 gpio* at awingpio? # System Control Module #awinscm0 at awinio? # I2C Controller awiniic0 at awinio? port 0 #awiniic* at awinio? port ? iic* at awiniic? # On-board 16550 UARTs com0 at awinio? port 0 # UART0 (console) options CONADDR=0x01c28000, CONSPEED=115200 # Operating System Timer (A10) awintmr0 at awinio? # Watchdog timers awinwdt* at awinio? # onboard DMA #awindma0 at obio0 addr 0x48056000 size 0x1000 # onboard video #awinfb* at obio0 addr 0x48050000 size 0x10000 #wsdisplay* at wsemuldisplaydev? console ? # various options for wscons - we try to look as much like a standard # sun console as possible #options WSEMUL_VT100 # sun terminal emulation #options WS_DEFAULT_FG=WSCOL_BLACK #options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE #options WS_KERNEL_FG=WSCOL_GREEN #options WS_KERNEL_BG=WSCOL_LIGHT_WHITE #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls #options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes #options WSDISPLAY_DEFAULTSCREENS=4 #options FONT_QVSS8x15 #options FONT_GALLANT12x22 # the console font #pseudo-device wsmux # mouse & keyboard multiplexor #pseudo-device wsfont # Power, Reset and Clock Management #prcm* at awinio? # On-board USB awinusb0 at awinio0 port 0 awinusb1 at awinio0 port 1 ohci* at awinusb? ehci* at awinusb? usb* at ohci? usb* at ehci? # SATA ahcisata* at awinio0 atabus* at ata? wd* at atabus? drive ? # 10/100 Ethernet (A10/A20) awe0 at awinio0 port ? # 10/100/1000 Ethernet (A10/A20) awge0 at awinio0 port ? #include "dev/usb/usbdevices.config" rlphy* at mii? phy ? ukphy* at mii? phy ? # Pseudo-Devices # disk/mass storage pseudo-devices #pseudo-device md # memory disk device (ramdisk) #pseudo-device vnd # disk-like interface to files #pseudo-device fss # file system snapshot device #pseudo-device putter # for puffs and pud pseudo-device drvctl # driver control # network pseudo-devices pseudo-device bpfilter # Berkeley packet filter pseudo-device loop # network loopback #pseudo-device kttcp # network loopback # miscellaneous pseudo-devices pseudo-device pty # pseudo-terminals #options RND_COM #pseudo-device clockctl # user control of clock subsystem pseudo-device ksyms # /dev/ksyms pseudo-device lockstat # lock profiling cinclude "arch/evbarm/conf/CUBIEBOARD.local" @ 1.9 log @enable MMC driver @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.8 2013/09/08 04:06:44 matt Exp $ d142 1 a142 1 options SYMTAB_SPACE=800000 d266 2 d269 1 a269 1 awe0 at awinio0 port ? @ 1.8 log @Rename awinfe to awe and awinge to awge. Allow properties in awinio0 to disable devices. Use such a property to disable probing of gige. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.7 2013/09/08 00:03:40 matt Exp $ d180 4 a183 5 # SDHC controllers #sdhc0 at awinio0 port 0 #sdhc* at awinio0 port ? #sdmmc* at sdhc? # SD/MMC bus #ld* at sdmmc? d295 1 a295 1 cinclude "arch/evbarm/conf/BEAGLEBOARD.local" @ 1.7 log @Add rlphy @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.6 2013/09/07 22:52:12 matt Exp $ d117 3 d262 1 a262 1 # SATA (A20) a263 3 # PATA (A10) wdc* at awinio0 d267 2 a268 4 # 10/100 Ethernet (A10/A20) awinfe0 at awinio0 # Gigabit Ethernet (A20) awinge0 at awinio0 d282 1 @ 1.6 log @Reenable OHCI @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.5 2013/09/07 02:46:26 matt Exp $ d274 1 @ 1.5 log @Only configure awiniic0 for now @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.4 2013/09/07 02:34:01 matt Exp $ d254 1 a254 1 #ohci* at awinusb? d256 1 a256 1 #usb* at ohci? @ 1.4 log @Comment out ohci @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.3 2013/09/07 00:29:22 matt Exp $ d210 1 a210 1 awiniic* at awinio? port ? @ 1.3 log @Add AWIN_CONSOLE_EARLY and comment out sdhc @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.2 2013/09/04 02:39:01 matt Exp $ d201 1 a201 9 awingpio0 at awinio0 port 0 # 18 pins awingpio1 at awinio0 port 1 # 24 pins awingpio2 at awinio0 port 2 # 25 pins awingpio3 at awinio0 port 3 # 28 pins awingpio4 at awinio0 port 4 # 12 pins awingpio5 at awinio0 port 5 # 6 pins awingpio6 at awinio0 port 6 # 12 pins awingpio7 at awinio0 port 7 # 28 pins awingpio8 at awinio0 port 8 # 22 pins d253 2 a254 1 ohci* at awinusb? d256 1 a257 1 usb* at ohci? @ 1.2 log @Very very very prelimnary support for cubieboard 1 & 2 based on the Allwinner A10 & A20 SoCs. It links and that's about all it does. Many drivers are stubs with autoconf glue. com, ahcisata, sdhc, usb might have a chance of working. @ text @d2 1 a2 1 # $NetBSD: CUBIEBOARD,v 1.1 2013/09/03 06:12:00 matt Exp $ d26 1 d178 4 a181 4 sdhc0 at awinio0 port 0 sdhc* at awinio0 port ? sdmmc* at sdhc? # SD/MMC bus ld* at sdmmc? @ 1.1 log @Prelimary config goo for CubieBoard 1 & 2 (config is happy with it) @ text @d2 1 a2 1 # $NetBSD: BEAGLEBOARD,v 1.51 2013/06/30 21:38:56 rmind Exp $ d270 3 @