head	1.21;
access;
symbols
	netbsd-11-0-RC4:1.19
	netbsd-11-0-RC3:1.19
	netbsd-11-0-RC2:1.19
	netbsd-11-0-RC1:1.19
	perseant-exfatfs-base-20250801:1.19
	netbsd-11:1.19.0.26
	netbsd-11-base:1.19
	netbsd-10-1-RELEASE:1.19
	perseant-exfatfs-base-20240630:1.19
	perseant-exfatfs:1.19.0.24
	perseant-exfatfs-base:1.19
	netbsd-8-3-RELEASE:1.16
	netbsd-9-4-RELEASE:1.18
	netbsd-10-0-RELEASE:1.19
	netbsd-10-0-RC6:1.19
	netbsd-10-0-RC5:1.19
	netbsd-10-0-RC4:1.19
	netbsd-10-0-RC3:1.19
	netbsd-10-0-RC2:1.19
	thorpej-ifq:1.19.0.22
	thorpej-ifq-base:1.19
	thorpej-altq-separation:1.19.0.20
	thorpej-altq-separation-base:1.19
	netbsd-10-0-RC1:1.19
	netbsd-10:1.19.0.18
	netbsd-10-base:1.19
	bouyer-sunxi-drm:1.19.0.16
	bouyer-sunxi-drm-base:1.19
	netbsd-9-3-RELEASE:1.18
	thorpej-i2c-spi-conf2:1.19.0.14
	thorpej-i2c-spi-conf2-base:1.19
	thorpej-futex2:1.19.0.12
	thorpej-futex2-base:1.19
	thorpej-cfargs2:1.19.0.10
	thorpej-cfargs2-base:1.19
	cjep_sun2x-base1:1.19
	cjep_sun2x:1.19.0.8
	cjep_sun2x-base:1.19
	cjep_staticlib_x-base1:1.19
	netbsd-9-2-RELEASE:1.18
	cjep_staticlib_x:1.19.0.6
	cjep_staticlib_x-base:1.19
	thorpej-i2c-spi-conf:1.19.0.4
	thorpej-i2c-spi-conf-base:1.19
	thorpej-cfargs:1.19.0.2
	thorpej-cfargs-base:1.19
	thorpej-futex:1.18.0.12
	thorpej-futex-base:1.19
	netbsd-9-1-RELEASE:1.18
	bouyer-xenpvh-base2:1.18
	phil-wifi-20200421:1.18
	bouyer-xenpvh-base1:1.18
	phil-wifi-20200411:1.18
	bouyer-xenpvh:1.18.0.10
	bouyer-xenpvh-base:1.18
	is-mlppp:1.18.0.8
	is-mlppp-base:1.18
	phil-wifi-20200406:1.18
	netbsd-8-2-RELEASE:1.16
	ad-namecache-base3:1.18
	netbsd-9-0-RELEASE:1.18
	netbsd-9-0-RC2:1.18
	ad-namecache-base2:1.18
	ad-namecache-base1:1.18
	ad-namecache:1.18.0.6
	ad-namecache-base:1.18
	netbsd-9-0-RC1:1.18
	phil-wifi-20191119:1.18
	netbsd-9:1.18.0.4
	netbsd-9-base:1.18
	phil-wifi-20190609:1.18
	netbsd-8-1-RELEASE:1.16
	netbsd-8-1-RC1:1.16
	isaki-audio2:1.18.0.2
	isaki-audio2-base:1.18
	pgoyette-compat-merge-20190127:1.17
	pgoyette-compat-20190127:1.17
	pgoyette-compat-20190118:1.17
	pgoyette-compat-1226:1.17
	pgoyette-compat-1126:1.17
	pgoyette-compat-1020:1.17
	pgoyette-compat-0930:1.17
	pgoyette-compat-0906:1.17
	netbsd-7-2-RELEASE:1.5.2.1
	pgoyette-compat-0728:1.17
	netbsd-8-0-RELEASE:1.16
	phil-wifi:1.17.0.4
	phil-wifi-base:1.17
	pgoyette-compat-0625:1.17
	netbsd-8-0-RC2:1.16
	pgoyette-compat-0521:1.17
	pgoyette-compat-0502:1.17
	pgoyette-compat-0422:1.17
	netbsd-8-0-RC1:1.16
	pgoyette-compat-0415:1.17
	pgoyette-compat-0407:1.17
	pgoyette-compat-0330:1.17
	pgoyette-compat-0322:1.17
	pgoyette-compat-0315:1.17
	netbsd-7-1-2-RELEASE:1.5.2.1
	pgoyette-compat:1.17.0.2
	pgoyette-compat-base:1.17
	netbsd-7-1-1-RELEASE:1.5.2.1
	tls-maxphys-base-20171202:1.17
	matt-nb8-mediatek:1.16.0.10
	matt-nb8-mediatek-base:1.16
	nick-nhusb-base-20170825:1.16
	perseant-stdc-iso10646:1.16.0.8
	perseant-stdc-iso10646-base:1.16
	netbsd-8:1.16.0.6
	netbsd-8-base:1.16
	prg-localcount2-base3:1.16
	prg-localcount2-base2:1.16
	prg-localcount2-base1:1.16
	prg-localcount2:1.16.0.4
	prg-localcount2-base:1.16
	pgoyette-localcount-20170426:1.16
	bouyer-socketcan-base1:1.16
	jdolecek-ncq:1.16.0.2
	jdolecek-ncq-base:1.16
	pgoyette-localcount-20170320:1.16
	netbsd-7-1:1.5.2.1.0.6
	netbsd-7-1-RELEASE:1.5.2.1
	netbsd-7-1-RC2:1.5.2.1
	nick-nhusb-base-20170204:1.15
	netbsd-7-nhusb-base-20170116:1.5.2.1
	bouyer-socketcan:1.15.0.2
	bouyer-socketcan-base:1.15
	pgoyette-localcount-20170107:1.15
	netbsd-7-1-RC1:1.5.2.1
	nick-nhusb-base-20161204:1.12
	pgoyette-localcount-20161104:1.12
	netbsd-7-0-2-RELEASE:1.5.2.1
	nick-nhusb-base-20161004:1.12
	localcount-20160914:1.12
	netbsd-7-nhusb:1.5.2.1.0.4
	netbsd-7-nhusb-base:1.5.2.1
	pgoyette-localcount-20160806:1.12
	pgoyette-localcount-20160726:1.12
	pgoyette-localcount:1.12.0.2
	pgoyette-localcount-base:1.12
	nick-nhusb-base-20160907:1.12
	nick-nhusb-base-20160529:1.12
	netbsd-7-0-1-RELEASE:1.5.2.1
	nick-nhusb-base-20160422:1.12
	nick-nhusb-base-20160319:1.12
	nick-nhusb-base-20151226:1.12
	netbsd-7-0:1.5.2.1.0.2
	netbsd-7-0-RELEASE:1.5.2.1
	nick-nhusb-base-20150921:1.12
	netbsd-7-0-RC3:1.5.2.1
	netbsd-7-0-RC2:1.5.2.1
	netbsd-7-0-RC1:1.5.2.1
	nick-nhusb-base-20150606:1.11
	nick-nhusb-base-20150406:1.11
	nick-nhusb:1.10.0.2
	nick-nhusb-base:1.10
	netbsd-7:1.5.0.2
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.2.2.3
	tls-earlyentropy:1.4.0.2
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	rmind-smpnet-nbase:1.4
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.8
	riastradh-drm2-base:1.3
	rmind-smpnet:1.3.0.6
	rmind-smpnet-base:1.4
	khorben-n900:1.3.0.4
	agc-symver:1.3.0.2
	agc-symver-base:1.3
	tls-maxphys-base:1.5
	tls-maxphys:1.2.0.6
	yamt-pagecache-base8:1.2
	yamt-pagecache:1.2.0.2
	yamt-pagecache-base7:1.1;
locks; strict;
comment	@# @;


1.21
date	2026.02.01.11.31.29;	author yurix;	state dead;
branches;
next	1.20;
commitid	ofvcvL7QbmAbmFsG;

1.20
date	2025.10.09.06.15.17;	author skrll;	state Exp;
branches;
next	1.19;
commitid	UBhRwKIcmMVPhRdG;

1.19
date	2020.11.28.14.38.50;	author skrll;	state Exp;
branches;
next	1.18;
commitid	zA4TWG4IhJ7obFxC;

1.18
date	2019.02.06.11.58.30;	author rin;	state Exp;
branches
	1.18.12.1;
next	1.17;
commitid	5Lq3lTxgmkkMwHaB;

1.17
date	2017.09.14.07.58.40;	author mrg;	state Exp;
branches
	1.17.4.1;
next	1.16;
commitid	ngZ6fHXwTqlZA87A;

1.16
date	2017.02.19.07.47.00;	author rin;	state Exp;
branches;
next	1.15;
commitid	ivCr5u3yfBMzbxGz;

1.15
date	2016.12.13.20.42.17;	author christos;	state Exp;
branches
	1.15.2.1;
next	1.14;
commitid	DChNb4lHFyTOFRxz;

1.14
date	2016.12.10.23.03.23;	author christos;	state Exp;
branches;
next	1.13;
commitid	w4dRXIf7WDldyuxz;

1.13
date	2016.12.08.11.31.10;	author nat;	state Exp;
branches;
next	1.12;
commitid	r0h4avej48pZLaxz;

1.12
date	2015.08.21.01.52.07;	author uebayasi;	state Exp;
branches
	1.12.2.1;
next	1.11;
commitid	7aROAXmFqT0UP4yy;

1.11
date	2015.01.10.12.18.09;	author jmcneill;	state Exp;
branches;
next	1.10;
commitid	jArBsJ1YVvkStt5y;

1.10
date	2014.10.11.11.55.07;	author uebayasi;	state Exp;
branches
	1.10.2.1;
next	1.9;
commitid	ODew7CI1H60rhMTx;

1.9
date	2014.08.24.07.59.22;	author jnemeth;	state Exp;
branches;
next	1.8;
commitid	SkWajjUme0wZtANx;

1.8
date	2014.08.23.20.26.57;	author dholland;	state Exp;
branches;
next	1.7;
commitid	Ef5fhfmsGe1uFwNx;

1.7
date	2014.08.17.21.17.43;	author joerg;	state Exp;
branches;
next	1.6;
commitid	1Tn1qthIdwV09LMx;

1.6
date	2014.08.16.17.56.31;	author apb;	state Exp;
branches;
next	1.5;
commitid	gjT9TWtCibuK4CMx;

1.5
date	2014.08.03.09.18.16;	author martin;	state Exp;
branches
	1.5.2.1;
next	1.4;
commitid	IuRbf3yoxQF3DTKx;

1.4
date	2013.10.07.17.36.40;	author matt;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	sFQhI2UfuaNn1o8x;

1.3
date	2013.03.03.10.33.56;	author jkunz;	state Exp;
branches
	1.3.6.1;
next	1.2;

1.2
date	2012.12.16.19.45.52;	author jkunz;	state Exp;
branches
	1.2.2.1
	1.2.6.1;
next	1.1;

1.1
date	2012.11.20.19.08.45;	author jkunz;	state Exp;
branches;
next	;

1.18.12.1
date	2020.12.14.14.37.51;	author thorpej;	state Exp;
branches;
next	;
commitid	S4HwP6n7zzL3FIzC;

1.17.4.1
date	2019.06.10.22.06.04;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.15.2.1
date	2017.04.21.16.53.25;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.12.2.1
date	2017.01.07.08.56.13;	author pgoyette;	state Exp;
branches;
next	1.12.2.2;
commitid	uEL0C1YuiJrlV0Bz;

1.12.2.2
date	2017.03.20.06.57.13;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.10.2.1
date	2015.04.06.15.17.55;	author skrll;	state Exp;
branches;
next	1.10.2.2;
commitid	pz01Zhy7RP6iGxgy;

1.10.2.2
date	2015.09.22.12.05.40;	author skrll;	state Exp;
branches;
next	1.10.2.3;
commitid	CpNWKp3ozVNTafCy;

1.10.2.3
date	2017.02.05.13.40.07;	author skrll;	state Exp;
branches;
next	1.10.2.4;
commitid	8hwpk1aHl2UuyLEz;

1.10.2.4
date	2017.08.28.17.51.34;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.5.2.1
date	2015.05.15.03.44.18;	author snj;	state Exp;
branches;
next	;
commitid	ro7V5s9WBO35Culy;

1.4.2.1
date	2014.08.10.06.53.54;	author tls;	state Exp;
branches;
next	;
commitid	7fY3uHKSIbCABMLx;

1.3.6.1
date	2014.05.18.17.45.03;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.2.2.1
date	2012.12.16.19.45.52;	author yamt;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2013.01.16.05.32.52;	author yamt;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2013.01.23.00.05.44;	author yamt;	state Exp;
branches;
next	1.2.2.4;

1.2.2.4
date	2014.05.22.11.39.40;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.2.6.1
date	2012.12.16.19.45.52;	author tls;	state dead;
branches;
next	1.2.6.2;

1.2.6.2
date	2013.02.25.00.28.34;	author tls;	state Exp;
branches;
next	1.2.6.3;

1.2.6.3
date	2013.06.23.06.20.04;	author tls;	state Exp;
branches;
next	1.2.6.4;
commitid	eVjr9caYRQbRGHUw;

1.2.6.4
date	2014.08.20.00.02.53;	author tls;	state Exp;
branches;
next	1.2.6.5;
commitid	jTnpym9Qu0o4R1Nx;

1.2.6.5
date	2017.12.03.11.36.03;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;


desc
@@


1.21
log
@arm: fdtize the imx23_olinuxino

Switch the imx23-olinuxino over to device trees; remove the old non-devicetree implementation.
@
text
@# $Id: IMX23_OLINUXINO,v 1.20 2025/10/09 06:15:17 skrll Exp $
#
# IMX23_OLINUXINO -- Olimex i.MX23 OLinuXino kernel configuration file.
#

include "arch/evbarm/conf/std.imx23_olinuxino"

maxusers	8

config netbsd root on ? type ?

# The main bus device
mainbus0	at root

# The boot CPU
cpu0		at mainbus?

# AHB bus
ahb0		at mainbus? base 0x80080000 size 0x80000

# USB host controller
imxusbc0	at ahb? addr 0x80080000 size 0x40000 irq -1

# APBH bus
apbh0		at mainbus? base 0x80000000 size 0x40000

# APBH DMA
apbdma0		at apbh? addr 0x80004000 size 0x2000 irq -1

# Interrupt controller
imx23icoll0		at apbh? addr 0x80000000 size 0x2000 irq -1

# Synchronous serial port for SD/MMC
ssp0		at apbh? addr 0x80010000 size 0x2000 irq 15
sdmmc*		at ssp?
ld*		at sdmmc?

# Digital control
digctl0		at apbh? addr 0x8001C000 size 0x2000 irq -1

# PIN control
imxpctl0	at apbh? addr 0x80018000 size 0x2000 irq -1
gpio*           at imxpctl?

# APBX bus
apbx0		at mainbus? base 0x80040000 size 0x40000

# Power control
#power0		at apbx? addr 0x80044000 size 0x2000 irq -1

# APBX DMA
apbdma1		at apbx? addr 0x80024000 size 0x2000 irq -1

# Timers and rotary decoder
imx23timrot0		at apbx? addr 0x80068020 size 0x20 irq 28
imx23timrot1		at apbx? addr 0x80068040 size 0x20 irq 29
#imx23timrot2	at apbx? addr 0x80068060 size 0x20 irq 30
#imx23timrot3	at apbx? addr 0x80068080 size 0x20 irq 31

# Debug UART
plcom0		at apbx? addr 0x80070000 size 0x1000 irq 0

# USB PHY
usbphy0		at apbx? addr 0x8007C000 size 0x2000 irq -1

# Clock control
clkctrl0	at apbx? addr 0x80040000 size 0x2000 irq -1

# RTC
rtc0		at apbx? addr 0x8005C000 size 0x2000 irq -1

# Digital filter: Audio I/O
digfilt0	at apbx? addr 0x80048000 size 0x8000 irq -1
audio0		at digfilt0

spkr*		at audio?		# PC speaker (synthesized)

# USB host
ehci0		at imxusbc0 unit 0 irq 11
# USB OTG
# ehci0		at imxusbc0   unit 0 irq 18

usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
ugen*		at uhub? port ?

include "dev/usb/usbdevices.config"

midi*		at midibus?

rgephy*		at mii? phy ?
rlphy*		at mii? phy ?
ukphy*		at mii? phy ?

options 	MEMSIZE=64
options 	DDB
options 	HZ=100
pseudo-device	ksyms
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPv6

include 	"conf/compat_netbsd60.config"
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries

makeoptions     DEBUG="-g"      # compile full symbol table
makeoptions	COPY_SYMTAB=1

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

#options		MODULAR
#options		MODULAR_DEFAULT_AUTOLOAD
options 	KTRACE
#options		DEBUG
#options		DIAGNOSTIC

file-system	FFS
file-system	MFS
file-system	EXT2FS
file-system	MSDOSFS
file-system	KERNFS
file-system	PROCFS
file-system	PTYFS
file-system	NFS

#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL

pseudo-device	pty		# pseudo-terminals
pseudo-device	loop		# network loopback
pseudo-device	bpfilter	# Berkeley packet filter
@


1.20
log
@Add the beginnings of a GENERIC_V5 kernel that targets armv5 boards and
uses FDT.

In this first iteration some support is added for OLinuXino boards.

Thanks to Yuri Honegger for doing the vast majority of the work.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.19 2020/11/28 14:38:50 skrll Exp $
@


1.19
log
@Fix build by renaming the pinctrl driver
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.18 2019/02/06 11:58:30 rin Exp $
d31 1
a31 1
icoll0		at apbh? addr 0x80000000 size 0x2000 irq -1
d55 4
a58 4
timrot0		at apbx? addr 0x80068020 size 0x20 irq 28
timrot1		at apbx? addr 0x80068040 size 0x20 irq 29
#timrot2	at apbx? addr 0x80068060 size 0x20 irq 30
#timrot3	at apbx? addr 0x80068080 size 0x20 irq 31
@


1.18
log
@Add ure(4) to kernel config files. Also add PHY drivers where necessary.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.17 2017/09/14 07:58:40 mrg Exp $
d42 2
a43 2
pinctrl0	at apbh? addr 0x80018000 size 0x2000 irq -1
gpio*           at pinctrl?
@


1.18.12.1
log
@Sync w/ HEAD.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.19 2020/11/28 14:38:50 skrll Exp $
d42 2
a43 2
imxpctl0	at apbh? addr 0x80018000 size 0x2000 irq -1
gpio*           at imxpctl?
@


1.17
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
# $Id: IMX23_OLINUXINO,v 1.16 2017/02/19 07:47:00 rin Exp $
d92 2
@


1.17.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.18 2019/02/06 11:58:30 rin Exp $
a91 2
rgephy*		at mii? phy ?
rlphy*		at mii? phy ?
@


1.16
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
# $Id: IMX23_OLINUXINO,v 1.15 2016/12/13 20:42:17 christos Exp $
d94 3
a96 3
options		MEMSIZE=64
options		DDB
options		HZ=100
d98 5
a102 5
options		INET		# IP + ICMP + TCP + UDP
options		INET6		# IPv6
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
options		COMPAT_60	# NetBSD 6.0, and
options		COMPAT_70	# NetBSD 7.0 binary compatibility.
d107 3
a109 3
options		SYSVMSG		# System V-like message queues
options		SYSVSEM		# System V-like semaphores
options		SYSVSHM		# System V-like memory sharing
d113 1
a113 1
options		KTRACE
d128 1
a128 1
options		WAPBL
@


1.15
log
@wildcard speaker attachments, now that we can handle many of them.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.14 2016/12/10 23:03:23 christos Exp $
d126 2
@


1.15.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.16 2017/02/19 07:47:00 rin Exp $
a125 2
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	FFS_EI		# FFS Endian Independent support
@


1.14
log
@remove VAUDIOSPEAKER for now, will be done differently.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.13 2016/12/08 11:31:10 nat Exp $
d76 1
a76 1
spkr0	at audio0		# PC speaker (synthesized)
@


1.13
log
@Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.12 2015/08/21 01:52:07 uebayasi Exp $
a75 1
options VAUDIOSPEAKER
@


1.12
log
@Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
@
text
@d1 1
a1 1
# $Id$
d76 3
@


1.12.2.1
log
@Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.15 2016/12/13 20:42:17 christos Exp $
a75 2
spkr*		at audio?		# PC speaker (synthesized)

@


1.12.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.16 2017/02/19 07:47:00 rin Exp $
a125 2
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	FFS_EI		# FFS Endian Independent support
@


1.11
log
@Petri Laakso <petri.laakso@@asd.fi>
-       New audio driver
-       Add new devices rtc and digfilt
-       Use BOOT_ARGS if defined in kernel configuration
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.10 2014/10/11 11:55:07 uebayasi Exp $
d95 1
@


1.10
log
@Device midi attachment where the evil usbdevices.config is included.
@
text
@d1 1
a1 1
# $Id$
d69 7
@


1.10.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.11 2015/01/10 12:18:09 jmcneill Exp $
a68 7
# RTC
rtc0		at apbx? addr 0x8005C000 size 0x2000 irq -1

# Digital filter: Audio I/O
digfilt0	at apbx? addr 0x80048000 size 0x8000 irq -1
audio0		at digfilt0

@


1.10.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.10.2.1 2015/04/06 15:17:55 skrll Exp $
a94 1
pseudo-device	ksyms
@


1.10.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.10.2.2 2015/09/22 12:05:40 skrll Exp $
a75 2
spkr*		at audio?		# PC speaker (synthesized)

@


1.10.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.10.2.3 2017/02/05 13:40:07 skrll Exp $
a125 2
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	FFS_EI		# FFS Endian Independent support
@


1.9
log
@Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.8 2014/08/23 20:26:57 dholland Exp $
d81 2
@


1.8
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
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.7 2014/08/17 21:17:43 joerg Exp $
d100 1
@


1.7
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
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.6 2014/08/16 17:56:31 apb Exp $
d89 2
a90 2
options		COMPAT_60	# NetBSD 6.0 compatibility
options		COMPAT_70	# NetBSD 7.0 compatibility
@


1.6
log
@Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.5 2014/08/03 09:18:16 martin Exp $
d93 1
a93 1
options         SYMTAB_SPACE=800000
@


1.5
log
@Add COMPAT_NETBSD32 to more kernels (we have too many)
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.4 2013/10/07 17:36:40 matt Exp $
d90 1
@


1.5.2.1
log
@Pull up following revision(s) (requested by jnemeth in ticket #762):
	share/man/man4/options.4: revision 1.442
	sys/arch/amd64/conf/ALL: revision 1.18
	sys/arch/amd64/conf/GENERIC: revision 1.396
	sys/arch/dreamcast/conf/GENERIC: revision 1.119
	sys/arch/epoc32/conf/GENERIC: revision 1.6
	sys/arch/evbarm/conf/BCM5301X: revision 1.24
	sys/arch/evbarm/conf/BCM56340: revision 1.9
	sys/arch/evbarm/conf/IMX23_OLINUXINO: revision 1.9
	sys/arch/evbarm/conf/std.beagle: revision 1.13
	sys/arch/evbarm/conf/std.kobo: revision 1.2
	sys/arch/evbarm/conf/std.netwalker: revision 1.10
	sys/arch/evbppc/conf/P2020DS: revision 1.25
	sys/arch/evbppc/conf/RB800: revision 1.30
	sys/arch/evbppc/conf/TWRP1025: revision 1.18
	sys/arch/hp300/conf/GENERIC: revision 1.187
	sys/arch/hpcsh/conf/GENERIC: revision 1.104
	sys/arch/i386/conf/GENERIC: revision 1.1111
	sys/arch/i386/conf/MONOLITHIC: revision 1.17
	sys/arch/landisk/conf/GENERIC: revision 1.43
	sys/arch/luna68k/conf/GENERIC: revision 1.117
	sys/arch/macppc/conf/GENERIC: revision 1.316
	sys/arch/macppc/conf/GENERIC_601: revision 1.5
	sys/arch/mmeye/conf/MMEYE_WLF: revision 1.16
	sys/arch/news68k/conf/GENERIC: revision 1.123
	sys/arch/sandpoint/conf/GENERIC: revision 1.85
	sys/arch/shark/conf/GENERIC: revision 1.119
	sys/arch/sparc/conf/GENERIC: revision 1.246
	sys/arch/sparc64/conf/GENERIC: revision 1.174
	sys/arch/sun3/conf/GENERIC3X: revision 1.125
	sys/arch/sun3/conf/GENERIC: revision 1.169
	sys/arch/x68k/conf/GENERIC: revision 1.177
	sys/arch/zaurus/conf/GENERIC: revision 1.62
	sys/conf/files: revision 1.1099
	sys/kern/kern_module.c: revisions 1.98, 1.99
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
--
fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/)
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.5 2014/08/03 09:18:16 martin Exp $
a98 1
#options		MODULAR_DEFAULT_AUTOLOAD
@


1.4
log
@iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.3 2013/03/03 10:33:56 jkunz Exp $
d88 1
@


1.4.2.1
log
@Rebase.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.5 2014/08/03 09:18:16 martin Exp $
a87 1
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
@


1.3
log
@Contribution from Petri Laakso:
- DMA driver stub code replaced with working code.
- Add support to multi block DMA in ssp driver.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.2 2012/12/16 19:45:52 jkunz Exp $
d18 6
d38 7
d48 3
d60 1
d63 20
d86 15
d103 1
d109 3
d113 3
a115 1
pseudo-device	pty	# pseudo-terminals
@


1.3.6.1
log
@sync with head
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.3 2013/03/03 10:33:56 jkunz Exp $
a17 6
# AHB bus
ahb0		at mainbus? base 0x80080000 size 0x80000

# USB host controller
imxusbc0	at ahb? addr 0x80080000 size 0x40000 irq -1

a31 7
# Digital control
digctl0		at apbh? addr 0x8001C000 size 0x2000 irq -1

# PIN control
pinctrl0	at apbh? addr 0x80018000 size 0x2000 irq -1
gpio*           at pinctrl?

a34 3
# Power control
#power0		at apbx? addr 0x80044000 size 0x2000 irq -1

a43 1
# Debug UART
a45 20
# USB PHY
usbphy0		at apbx? addr 0x8007C000 size 0x2000 irq -1

# Clock control
clkctrl0	at apbx? addr 0x80040000 size 0x2000 irq -1

# USB host
ehci0		at imxusbc0 unit 0 irq 11
# USB OTG
# ehci0		at imxusbc0   unit 0 irq 18

usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
ugen*		at uhub? port ?

include "dev/usb/usbdevices.config"

ukphy*		at mii? phy ?

a48 15
options		INET		# IP + ICMP + TCP + UDP
options		INET6		# IPv6
options		COMPAT_60	# NetBSD 6.0 compatibility

makeoptions     DEBUG="-g"      # compile full symbol table
options         SYMTAB_SPACE=800000

options		SYSVMSG		# System V-like message queues
options		SYSVSEM		# System V-like semaphores
options		SYSVSHM		# System V-like memory sharing

#options		MODULAR
options		KTRACE
#options		DEBUG
#options		DIAGNOSTIC
a50 1
file-system	MFS
a55 3
file-system	NFS

options		WAPBL
d57 1
a57 3
pseudo-device	pty		# pseudo-terminals
pseudo-device	loop		# network loopback
pseudo-device	bpfilter	# Berkeley packet filter
@


1.2
log
@Contribution from Petri Laakso: Initial support for SD card controller.
iMX233-OLinuXino can now boot and run from its own SD card.
@
text
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.1 2012/11/20 19:08:45 jkunz Exp $
d10 1
a10 1
config netbsd root on ld0a type ?
d19 1
a19 1
apbh0		at mainbus? base 0x80000000 size 0x00040000
d22 1
a22 1
#apbdma0	at apbh? addr 0x80004000 size 0x2000 irq -1
d30 1
a30 1
ld*			at sdmmc?
d33 1
a33 1
apbx0		at mainbus? base 0x80040000 size 0x00040000
d36 1
a36 1
#apbdma1	at apbx? addr 0x80024000 size 0x2000 irq -1
d53 3
d57 1
@


1.2.6.1
log
@file IMX23_OLINUXINO was added on branch tls-maxphys on 2013-02-25 00:28:34 +0000
@
text
@d1 53
@


1.2.6.2
log
@resync with head
@
text
@a0 53
# $Id$
#
# IMX23_OLINUXINO -- Olimex i.MX23 OLinuXino kernel configuration file.
#

include "arch/evbarm/conf/std.imx23_olinuxino"

maxusers	8

config netbsd root on ld0a type ?

# The main bus device
mainbus0	at root

# The boot CPU
cpu0		at mainbus?

# APBH bus
apbh0		at mainbus? base 0x80000000 size 0x00040000

# APBH DMA
#apbdma0	at apbh? addr 0x80004000 size 0x2000 irq -1

# Interrupt controller
icoll0		at apbh? addr 0x80000000 size 0x2000 irq -1

# Synchronous serial port for SD/MMC
ssp0		at apbh? addr 0x80010000 size 0x2000 irq 15
sdmmc*		at ssp?
ld*			at sdmmc?

# APBX bus
apbx0		at mainbus? base 0x80040000 size 0x00040000

# APBX DMA
#apbdma1	at apbx? addr 0x80024000 size 0x2000 irq -1

# Timers and rotary decoder
timrot0		at apbx? addr 0x80068020 size 0x20 irq 28
timrot1		at apbx? addr 0x80068040 size 0x20 irq 29
#timrot2	at apbx? addr 0x80068060 size 0x20 irq 30
#timrot3	at apbx? addr 0x80068080 size 0x20 irq 31

plcom0		at apbx? addr 0x80070000 size 0x1000 irq 0

options		MEMSIZE=64
options		DDB
options		HZ=100

file-system	FFS
file-system	EXT2FS
file-system	MSDOSFS

@


1.2.6.3
log
@resync from head
@
text
@d10 1
a10 1
config netbsd root on ? type ?
d19 1
a19 1
apbh0		at mainbus? base 0x80000000 size 0x40000
d22 1
a22 1
apbdma0		at apbh? addr 0x80004000 size 0x2000 irq -1
d30 1
a30 1
ld*		at sdmmc?
d33 1
a33 1
apbx0		at mainbus? base 0x80040000 size 0x40000
d36 1
a36 1
apbdma1		at apbx? addr 0x80024000 size 0x2000 irq -1
a52 3
file-system	KERNFS
file-system	PROCFS
file-system	PTYFS
a53 1
pseudo-device	pty	# pseudo-terminals
@


1.2.6.4
log
@Rebase to HEAD as of a few days ago.
@
text
@a17 6
# AHB bus
ahb0		at mainbus? base 0x80080000 size 0x80000

# USB host controller
imxusbc0	at ahb? addr 0x80080000 size 0x40000 irq -1

a31 7
# Digital control
digctl0		at apbh? addr 0x8001C000 size 0x2000 irq -1

# PIN control
pinctrl0	at apbh? addr 0x80018000 size 0x2000 irq -1
gpio*           at pinctrl?

a34 3
# Power control
#power0		at apbx? addr 0x80044000 size 0x2000 irq -1

a43 1
# Debug UART
a45 20
# USB PHY
usbphy0		at apbx? addr 0x8007C000 size 0x2000 irq -1

# Clock control
clkctrl0	at apbx? addr 0x80040000 size 0x2000 irq -1

# USB host
ehci0		at imxusbc0 unit 0 irq 11
# USB OTG
# ehci0		at imxusbc0   unit 0 irq 18

usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
ugen*		at uhub? port ?

include "dev/usb/usbdevices.config"

ukphy*		at mii? phy ?

a48 16
options		INET		# IP + ICMP + TCP + UDP
options		INET6		# IPv6
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
options		COMPAT_60	# NetBSD 6.0 compatibility

makeoptions     DEBUG="-g"      # compile full symbol table
options         SYMTAB_SPACE=800000

options		SYSVMSG		# System V-like message queues
options		SYSVSEM		# System V-like semaphores
options		SYSVSHM		# System V-like memory sharing

#options		MODULAR
options		KTRACE
#options		DEBUG
#options		DIAGNOSTIC
a50 1
file-system	MFS
a55 3
file-system	NFS

options		WAPBL
d57 1
a57 3
pseudo-device	pty		# pseudo-terminals
pseudo-device	loop		# network loopback
pseudo-device	bpfilter	# Berkeley packet filter
@


1.2.6.5
log
@update from HEAD
@
text
@a68 9
# RTC
rtc0		at apbx? addr 0x8005C000 size 0x2000 irq -1

# Digital filter: Audio I/O
digfilt0	at apbx? addr 0x80048000 size 0x8000 irq -1
audio0		at digfilt0

spkr*		at audio?		# PC speaker (synthesized)

a80 2
midi*		at midibus?

d83 7
a89 9
options 	MEMSIZE=64
options 	DDB
options 	HZ=100
pseudo-device	ksyms
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPv6

include 	"conf/compat_netbsd60.config"
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d92 1
a92 1
makeoptions	COPY_SYMTAB=1
d94 3
a96 3
options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing
d99 1
a99 2
#options		MODULAR_DEFAULT_AUTOLOAD
options 	KTRACE
d112 1
a112 3
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL
@


1.2.2.1
log
@file IMX23_OLINUXINO was added on branch yamt-pagecache on 2013-01-16 05:32:52 +0000
@
text
@d1 53
@


1.2.2.2
log
@sync with (a bit old) head
@
text
@a0 57
# $Id$
#
# IMX23_OLINUXINO -- Olimex i.MX23 OLinuXino kernel configuration file.
#

include "arch/evbarm/conf/std.imx23_olinuxino"

maxusers	8

config	netbsd	root on ? type ?

# The main bus device
mainbus0	at root

# The boot CPU
cpu0		at mainbus?

# APBH bus
apbh0		at mainbus? base 0x80000000 size 0x00040000

# APBH DMA
#apbdma0	at apbh? addr 0x80004000 size 0x2000 irq -1

# Interrupt controller
icoll0		at apbh? addr 0x80000000 size 0x2000 irq -1

# Synchronous serial port for SD/MMC
#ssp0		at apbh? addr 0x80010000 size 0x2000 irq 15
#sdmmc*		at ssp?
#ld*		at sdmmc?

# APBX bus
apbx0		at mainbus? base 0x80040000 size 0x00040000

# APBX DMA
#apbdma1	at apbx? addr 0x80024000 size 0x2000 irq -1

# Timers and rotary decoder
timrot0		at apbx? addr 0x80068020 size 0x20 irq 28
timrot1		at apbx? addr 0x80068040 size 0x20 irq 29
#timrot2	at apbx? addr 0x80068060 size 0x20 irq 30
#timrot3	at apbx? addr 0x80068080 size 0x20 irq 31

plcom0		at apbx? addr 0x80070000 size 0x1000 irq 0

options		MEMSIZE=64
options		DDB
options		HZ=100

options		MEMORY_DISK_HOOKS
options		MEMORY_DISK_IS_ROOT
options		MEMORY_DISK_ROOT_SIZE=12288 # 6 megs
options		MEMORY_DISK_RBFLAGS=RB_SINGLE

pseudo-device	md

file-system	FFS
@


1.2.2.3
log
@sync with head
@
text
@d10 1
a10 1
config netbsd root on ld0a type ?
d28 3
a30 3
ssp0		at apbh? addr 0x80010000 size 0x2000 irq 15
sdmmc*		at ssp?
ld*			at sdmmc?
d50 7
a57 3
file-system	EXT2FS
file-system	MSDOSFS

@


1.2.2.4
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
@d1 1
a1 1
# $Id: IMX23_OLINUXINO,v 1.2.2.3 2013/01/23 00:05:44 yamt Exp $
d10 1
a10 1
config netbsd root on ? type ?
a17 6
# AHB bus
ahb0		at mainbus? base 0x80080000 size 0x80000

# USB host controller
imxusbc0	at ahb? addr 0x80080000 size 0x40000 irq -1

d19 1
a19 1
apbh0		at mainbus? base 0x80000000 size 0x40000
d22 1
a22 1
apbdma0		at apbh? addr 0x80004000 size 0x2000 irq -1
d30 1
a30 8
ld*		at sdmmc?

# Digital control
digctl0		at apbh? addr 0x8001C000 size 0x2000 irq -1

# PIN control
pinctrl0	at apbh? addr 0x80018000 size 0x2000 irq -1
gpio*           at pinctrl?
d33 1
a33 4
apbx0		at mainbus? base 0x80040000 size 0x40000

# Power control
#power0		at apbx? addr 0x80044000 size 0x2000 irq -1
d36 1
a36 1
apbdma1		at apbx? addr 0x80024000 size 0x2000 irq -1
a43 1
# Debug UART
a45 20
# USB PHY
usbphy0		at apbx? addr 0x8007C000 size 0x2000 irq -1

# Clock control
clkctrl0	at apbx? addr 0x80040000 size 0x2000 irq -1

# USB host
ehci0		at imxusbc0 unit 0 irq 11
# USB OTG
# ehci0		at imxusbc0   unit 0 irq 18

usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
ugen*		at uhub? port ?

include "dev/usb/usbdevices.config"

ukphy*		at mii? phy ?

a48 15
options		INET		# IP + ICMP + TCP + UDP
options		INET6		# IPv6
options		COMPAT_60	# NetBSD 6.0 compatibility

makeoptions     DEBUG="-g"      # compile full symbol table
options         SYMTAB_SPACE=800000

options		SYSVMSG		# System V-like message queues
options		SYSVSEM		# System V-like semaphores
options		SYSVSHM		# System V-like memory sharing

#options		MODULAR
options		KTRACE
#options		DEBUG
#options		DIAGNOSTIC
a50 1
file-system	MFS
d53 1
a53 10
file-system	KERNFS
file-system	PROCFS
file-system	PTYFS
file-system	NFS

options		WAPBL

pseudo-device	pty		# pseudo-terminals
pseudo-device	loop		# network loopback
pseudo-device	bpfilter	# Berkeley packet filter
@


1.1
log
@Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
@
text
@d1 1
a1 1
# $Id$
d10 1
a10 1
config	netbsd	root on ? type ?
d28 3
a30 3
#ssp0		at apbh? addr 0x80010000 size 0x2000 irq 15
#sdmmc*		at ssp?
#ld*		at sdmmc?
d50 3
a52 6
options		MEMORY_DISK_HOOKS
options		MEMORY_DISK_IS_ROOT
options		MEMORY_DISK_ROOT_SIZE=12288 # 6 megs
options		MEMORY_DISK_RBFLAGS=RB_SINGLE

pseudo-device	md
a53 1
file-system	FFS
@

