head	1.12;
access;
symbols
	perseant-exfatfs-base-20250801:1.12
	perseant-exfatfs-base-20240630:1.12
	perseant-exfatfs:1.12.0.14
	perseant-exfatfs-base:1.12
	netbsd-8-3-RELEASE:1.4.2.1
	bouyer-sunxi-drm:1.12.0.12
	bouyer-sunxi-drm-base:1.12
	cjep_sun2x:1.12.0.10
	cjep_sun2x-base:1.12
	cjep_staticlib_x-base1:1.12
	cjep_staticlib_x:1.12.0.8
	cjep_staticlib_x-base:1.12
	thorpej-futex-base:1.12
	bouyer-xenpvh-base2:1.12
	phil-wifi-20200421:1.12
	bouyer-xenpvh-base1:1.12
	phil-wifi-20200411:1.12
	bouyer-xenpvh:1.12.0.6
	bouyer-xenpvh-base:1.12
	phil-wifi-20200406:1.12
	netbsd-8-2-RELEASE:1.4.2.1
	ad-namecache-base3:1.12
	ad-namecache-base2:1.12
	ad-namecache-base1:1.12
	ad-namecache:1.12.0.4
	ad-namecache-base:1.12
	netbsd-8-1-RELEASE:1.4.2.1
	netbsd-8-1-RC1:1.4.2.1
	isaki-audio2:1.12.0.2
	isaki-audio2-base:1.12
	pgoyette-compat-merge-20190127:1.7.6.2
	pgoyette-compat-20190127:1.12
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.7
	pgoyette-compat-0906:1.7
	pgoyette-compat-0728:1.7
	netbsd-8-0-RELEASE:1.4.2.1
	phil-wifi:1.7.0.8
	phil-wifi-base:1.7
	pgoyette-compat-0625:1.7
	netbsd-8-0-RC2:1.4.2.1
	pgoyette-compat-0521:1.7
	pgoyette-compat-0502:1.7
	pgoyette-compat-0422:1.7
	netbsd-8-0-RC1:1.4.2.1
	pgoyette-compat-0415:1.7
	pgoyette-compat-0407:1.7
	pgoyette-compat-0330:1.7
	pgoyette-compat-0322:1.7
	pgoyette-compat-0315:1.7
	pgoyette-compat:1.7.0.6
	pgoyette-compat-base:1.7
	tls-maxphys:1.7.0.4
	tls-maxphys-base-20171202:1.7
	matt-nb8-mediatek:1.4.2.1.0.2
	matt-nb8-mediatek-base:1.4.2.1
	nick-nhusb-base-20170825:1.7
	perseant-stdc-iso10646:1.7.0.2
	perseant-stdc-iso10646-base:1.7
	netbsd-8:1.4.0.2
	netbsd-8-base:1.4
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.8
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	jdolecek-ncq:1.3.0.6
	jdolecek-ncq-base:1.3
	pgoyette-localcount-20170320:1.3
	nick-nhusb-base-20170204:1.3
	bouyer-socketcan:1.3.0.4
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	nick-nhusb-base-20161204:1.3
	pgoyette-localcount-20161104:1.3
	nick-nhusb-base-20161004:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.2
	pgoyette-localcount-base:1.3
	nick-nhusb-base-20160907:1.3
	nick-nhusb-base-20160529:1.3
	nick-nhusb-base-20160422:1.3
	nick-nhusb-base-20160319:1.2
	nick-nhusb-base-20151226:1.2
	nick-nhusb-base-20150921:1.2
	nick-nhusb-base-20150606:1.2
	nick-nhusb:1.2.0.2
	nick-nhusb-base-20150406:1.2;
locks; strict;
comment	@# @;


1.12
date	2019.01.20.11.09.11;	author skrll;	state dead;
branches;
next	1.11;
commitid	i5xmMwO5KF6LOv8B;

1.11
date	2018.10.18.09.01.54;	author skrll;	state Exp;
branches;
next	1.10;
commitid	0r6pPkie0NRL4qWA;

1.10
date	2018.10.15.16.54.54;	author skrll;	state Exp;
branches;
next	1.9;
commitid	tDVWDPdibKTWP4WA;

1.9
date	2018.10.08.10.22.17;	author skrll;	state Exp;
branches;
next	1.8;
commitid	lHfn2wpGiUvST8VA;

1.8
date	2018.10.07.07.48.44;	author skrll;	state Exp;
branches;
next	1.7;
commitid	2NsfcA28MWxH10VA;

1.7
date	2017.07.16.21.40.28;	author jmcneill;	state Exp;
branches
	1.7.2.1
	1.7.4.1
	1.7.6.1
	1.7.8.1;
next	1.6;
commitid	K5FSHbXtfiRp5vZz;

1.6
date	2017.07.05.01.08.44;	author jmcneill;	state Exp;
branches;
next	1.5;
commitid	8zNc5Gg8HRxCCYXz;

1.5
date	2017.07.02.10.52.35;	author skrll;	state Exp;
branches;
next	1.4;
commitid	JcCzKxNG4uW1XDXz;

1.4
date	2017.06.02.15.22.47;	author jmcneill;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	jUlbrQzuIOB1pOTz;

1.3
date	2016.04.02.08.48.35;	author skrll;	state Exp;
branches;
next	1.2;
commitid	sIrJQQ9s4ry9V11z;

1.2
date	2015.02.11.07.51.10;	author ozaki-r;	state Exp;
branches
	1.2.2.1;
next	1.1;
commitid	wvFTAfbE0uY7Xy9y;

1.1
date	2015.02.09.07.47.15;	author slp;	state Exp;
branches;
next	;
commitid	VE0e0e3WIs8I0j9y;

1.7.2.1
date	2017.07.16.21.40.28;	author jmcneill;	state dead;
branches;
next	1.7.2.2;

1.7.2.2
date	2017.07.16.21.40.29;	author jmcneill;	state Exp;
branches;
next	;

1.7.4.1
date	2017.07.16.21.40.28;	author jdolecek;	state dead;
branches;
next	1.7.4.2;
commitid	XcIYRZTAh1LmerhA;

1.7.4.2
date	2017.12.03.11.36.04;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.7.6.1
date	2018.10.20.06.58.27;	author pgoyette;	state Exp;
branches;
next	1.7.6.2;
commitid	mTSoqZEZ4arHnFWA;

1.7.6.2
date	2019.01.26.22.00.02;	author pgoyette;	state dead;
branches;
next	;
commitid	JKpcmvSjdT25dl9B;

1.7.8.1
date	2019.06.10.22.06.05;	author christos;	state dead;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.4.2.1
date	2017.07.18.19.13.09;	author snj;	state Exp;
branches;
next	;
commitid	xwp7839uh5fpcKZz;

1.2.2.1
date	2015.02.11.07.51.10;	author skrll;	state dead;
branches;
next	1.2.2.2;
commitid	pz01Zhy7RP6iGxgy;

1.2.2.2
date	2015.04.06.15.17.55;	author skrll;	state Exp;
branches;
next	1.2.2.3;
commitid	pz01Zhy7RP6iGxgy;

1.2.2.3
date	2016.04.22.15.44.09;	author skrll;	state Exp;
branches;
next	1.2.2.4;
commitid	bbo6x38wuxyZyD3z;

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


desc
@@


1.12
log
@G/C
@
text
@#       $NetBSD: std.vexpress,v 1.11 2018/10/18 09:01:54 skrll Exp $
#
# standard NetBSD/evbarm for VEXPRESS options

machine		 evbarm arm
include		"arch/evbarm/conf/std.evbarm"

# Pull in VEXPRESS config definitions
include		"arch/evbarm/conf/files.vexpress"

# Architecture opions
options 	ARM_HAS_VBAR
options 	ARM_GENERIC_TODR
options 	ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
options 	DRAM_BLOCKS=256
options 	FDT				# Flattened Device Tree support
options 	FPU_VFP
options 	MODULAR
options 	MODULAR_DEFAULT_AUTOLOAD
options 	TPIDRPRW_IS_CURCPU
options 	__HAVE_CPU_COUNTER
options 	__HAVE_CPU_UAREA_ALLOC_IDLELWP
options 	__HAVE_FAST_SOFTINTS            # should be in types.h
options 	__HAVE_GENERIC_START
#options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS

makeoptions 	BOARDMKFRAG="${THISARM}/conf/mk.vexpress"
makeoptions 	BOARDTYPE="vexpress"
makeoptions 	CPUFLAGS="-mcpu=cortex-a15 -mfpu=neon"
makeoptions 	KERNEL_BASE_PHYS="0x81000000"
makeoptions 	KERNEL_BASE_VIRT="0x81000000"

# initrd support
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_DYNAMIC
pseudo-device 	md
@


1.11
log
@Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors.  AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested.  Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@@ and aymeric@@ for testing on parallella and nanosoc
respectively
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.10 2018/10/15 16:54:54 skrll Exp $
@


1.10
log
@Only ent KERNEL_BASE_EXT when we want to change KERNEL_BASE from its
default of 0x8000_0000

Don't use KERNEL_BASE_EXT where KERNEL_BASE should be instead.

Workaround a as(1) weirdness in armadaxp_start.S
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.9 2018/10/08 10:22:17 skrll Exp $
d24 1
@


1.9
log
@Sort options.

No functional change.
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.8 2018/10/07 07:48:44 skrll Exp $
a28 1
options 	KERNEL_BASE_EXT=0x80000000
@


1.8
log
@Whitespace consistency.

{make,}options<space><tab>
everything else just <tab?
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.7 2017/07/16 21:40:28 jmcneill Exp $
d11 5
d17 1
a17 1
options 	DRAM_BLOCKS=256
d20 1
a20 1
options 	ARM_HAS_VBAR
d25 4
a28 1
options 	TPIDRPRW_IS_CURCPU
a29 2
options 	FPU_VFP

a31 6
makeoptions 	BOARDTYPE="vexpress"
makeoptions 	BOARDMKFRAG="${THISARM}/conf/mk.vexpress"
makeoptions 	CPUFLAGS="-mcpu=cortex-a15 -mfpu=neon"

options 	ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
options 	ARM_GENERIC_TODR
@


1.7
log
@enable initrd support
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.6 2017/07/05 01:08:44 jmcneill Exp $
d5 2
a6 2
machine evbarm arm
include 	"arch/evbarm/conf/std.evbarm"
d9 1
a9 1
include 	"arch/evbarm/conf/files.vexpress"
d24 5
a28 5
makeoptions     KERNEL_BASE_PHYS="0x81000000"
makeoptions     KERNEL_BASE_VIRT="0x81000000"
makeoptions     BOARDTYPE="vexpress"
makeoptions     BOARDMKFRAG="${THISARM}/conf/mk.vexpress"
makeoptions     CPUFLAGS="-mcpu=cortex-a15 -mfpu=neon"
d30 2
a31 2
options         ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
options         ARM_GENERIC_TODR
d34 3
a36 3
options         MEMORY_DISK_HOOKS
options         MEMORY_DISK_DYNAMIC
pseudo-device   md
@


1.7.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.7 2017/07/16 21:40:28 jmcneill Exp $
@


1.7.6.1
log
@Sync with head
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.11 2018/10/18 09:01:54 skrll Exp $
d5 2
a6 2
machine		 evbarm arm
include		"arch/evbarm/conf/std.evbarm"
d9 1
a9 1
include		"arch/evbarm/conf/files.vexpress"
d11 1
a11 4
# Architecture opions
options 	ARM_HAS_VBAR
options 	ARM_GENERIC_TODR
options 	ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
a12 2
options 	FDT				# Flattened Device Tree support
options 	FPU_VFP
d15 1
a15 1
options 	TPIDRPRW_IS_CURCPU
a18 1
options 	__HAVE_GENERIC_START
d20 9
d30 2
a31 5
makeoptions 	BOARDMKFRAG="${THISARM}/conf/mk.vexpress"
makeoptions 	BOARDTYPE="vexpress"
makeoptions 	CPUFLAGS="-mcpu=cortex-a15 -mfpu=neon"
makeoptions 	KERNEL_BASE_PHYS="0x81000000"
makeoptions 	KERNEL_BASE_VIRT="0x81000000"
d34 3
a36 3
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_DYNAMIC
pseudo-device 	md
@


1.7.6.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.7.6.1 2018/10/20 06:58:27 pgoyette Exp $
@


1.7.4.1
log
@file std.vexpress was added on branch tls-maxphys on 2017-12-03 11:36:04 +0000
@
text
@d1 36
@


1.7.4.2
log
@update from HEAD
@
text
@a0 36
#       $NetBSD$
#
# standard NetBSD/evbarm for VEXPRESS options

machine evbarm arm
include 	"arch/evbarm/conf/std.evbarm"

# Pull in VEXPRESS config definitions
include 	"arch/evbarm/conf/files.vexpress"

options 	FDT				# Flattened Device Tree support
options 	DRAM_BLOCKS=256
options 	MODULAR
options 	MODULAR_DEFAULT_AUTOLOAD
options 	ARM_HAS_VBAR
options 	__HAVE_CPU_COUNTER
options 	__HAVE_CPU_UAREA_ALLOC_IDLELWP
options 	__HAVE_FAST_SOFTINTS            # should be in types.h
#options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	TPIDRPRW_IS_CURCPU
options 	KERNEL_BASE_EXT=0x80000000
options 	FPU_VFP

makeoptions     KERNEL_BASE_PHYS="0x81000000"
makeoptions     KERNEL_BASE_VIRT="0x81000000"
makeoptions     BOARDTYPE="vexpress"
makeoptions     BOARDMKFRAG="${THISARM}/conf/mk.vexpress"
makeoptions     CPUFLAGS="-mcpu=cortex-a15 -mfpu=neon"

options         ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
options         ARM_GENERIC_TODR

# initrd support
options         MEMORY_DISK_HOOKS
options         MEMORY_DISK_DYNAMIC
pseudo-device   md
@


1.7.2.1
log
@file std.vexpress was added on branch perseant-stdc-iso10646 on 2017-07-16 21:40:29 +0000
@
text
@d1 36
@


1.7.2.2
log
@2412034
@
text
@a0 36
#       $NetBSD: std.vexpress,v 1.7 2017/07/16 21:40:28 jmcneill Exp $
#
# standard NetBSD/evbarm for VEXPRESS options

machine evbarm arm
include 	"arch/evbarm/conf/std.evbarm"

# Pull in VEXPRESS config definitions
include 	"arch/evbarm/conf/files.vexpress"

options 	FDT				# Flattened Device Tree support
options 	DRAM_BLOCKS=256
options 	MODULAR
options 	MODULAR_DEFAULT_AUTOLOAD
options 	ARM_HAS_VBAR
options 	__HAVE_CPU_COUNTER
options 	__HAVE_CPU_UAREA_ALLOC_IDLELWP
options 	__HAVE_FAST_SOFTINTS            # should be in types.h
#options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	TPIDRPRW_IS_CURCPU
options 	KERNEL_BASE_EXT=0x80000000
options 	FPU_VFP

makeoptions     KERNEL_BASE_PHYS="0x81000000"
makeoptions     KERNEL_BASE_VIRT="0x81000000"
makeoptions     BOARDTYPE="vexpress"
makeoptions     BOARDMKFRAG="${THISARM}/conf/mk.vexpress"
makeoptions     CPUFLAGS="-mcpu=cortex-a15 -mfpu=neon"

options         ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
options         ARM_GENERIC_TODR

# initrd support
options         MEMORY_DISK_HOOKS
options         MEMORY_DISK_DYNAMIC
pseudo-device   md
@


1.6
log
@Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.5 2017/07/02 10:52:35 skrll Exp $
d33 4
@


1.5
log
@Define __HAVE_CPU_UAREA_ALLOC_IDLELWP
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.4 2017/06/02 15:22:47 jmcneill Exp $
d12 1
@


1.4
log
@Switch VEXPRESS_A15 kernel to use FDT and GENERIC.common. The dtb for this
kernel can be found in the sysutils/dtb-arm-vexpress package as
vexpress-v2p-ca15-tc1.dtb
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.3 2016/04/02 08:48:35 skrll Exp $
d16 1
@


1.4.2.1
log
@Pull up following revision(s) (requested by jmcneill in ticket #114):
	sys/arch/arm/samsung/exynos_intr.h: revision 1.3
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.66
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7
	sys/dev/gpio/gpio.c: revision 1.59
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1
	sys/conf/Makefile.kern.inc: revision 1.257
	sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2
	sys/conf/Makefile.kern.inc: revision 1.258
	sys/arch/arm/fdt/psci_fdt.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1
	sys/arch/evbarm/conf/files.sunxi: revision 1.1
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9
	sys/arch/arm/samsung/files.exynos: revision 1.22
	distrib/utils/embedded/conf/armv7.conf: revision 1.13
	sys/arch/arm/samsung/files.exynos: revision 1.23
	sys/arch/evbarm/conf/std.tegra: revision 1.15
	distrib/utils/embedded/conf/armv7.conf: revision 1.14
	sys/arch/arm/samsung/files.exynos: revision 1.24
	distrib/utils/embedded/conf/armv7.conf: revision 1.15
	sys/arch/evbarm/sunxi/genassym.cf: revision 1.1
	sys/arch/arm/samsung/exynos_fdt.c: file removal
	sys/dev/fdt/fdt_pinctrl.c: revision 1.4
	sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1
	sys/dev/usb/ehci.c: revision 1.255
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.11
	sys/arch/arm/cortex/gic.c: revision 1.24
	distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17
	etc/etc.evbarm/Makefile.inc: revision 1.87
	etc/etc.evbarm/Makefile.inc: revision 1.88
	sys/arch/arm/fdt/gic_fdt.c: revision 1.5
	etc/Makefile: revision 1.429
	sys/arch/arm/fdt/gic_fdt.c: revision 1.6
	sys/arch/arm/fdt/gic_fdt.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2
	sys/arch/evbarm/conf/std.sunxi: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3
	sys/arch/evbarm/conf/std.sunxi: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4
	sys/arch/evbarm/conf/std.sunxi: revision 1.3
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1
	sys/dev/gpio/gpiovar.h: revision 1.17
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.12
	sys/dev/fdt/fdtvar.h: revision 1.21
	sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.13
	sys/dev/fdt/fdtvar.h: revision 1.22
	sys/arch/evbarm/conf/SUNXI: revision 1.10
	sys/dev/fdt/fdtvar.h: revision 1.23
	sys/arch/evbarm/conf/SUNXI: revision 1.11
	sys/dev/fdt/gpioleds.c: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.24
	sys/arch/evbarm/conf/SUNXI: revision 1.12
	sys/arch/evbarm/conf/SUNXI: revision 1.13
	sys/arch/arm/cortex/gic.c: revision 1.30
	sys/arch/evbarm/conf/SUNXI: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.16
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1
	etc/Makefile: revision 1.430
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2
	etc/Makefile: revision 1.431
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_platform.c: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.29
	sys/arch/arm/samsung/exynos_platform.c: revision 1.2
	sys/arch/evbarm/conf/mk.vexpress: revision 1.3
	sys/arch/arm/samsung/exynos_platform.c: revision 1.3
	sys/arch/evbarm/conf/mk.vexpress: revision 1.4
	sys/arch/arm/samsung/exynos_platform.c: revision 1.4
	sys/arch/arm/arm/psci.h: revision 1.1
	sys/arch/arm/samsung/exynos_platform.c: revision 1.5
	sys/arch/arm/samsung/exynos_platform.c: revision 1.6
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10
	external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12
	sys/dev/fdt/files.fdt: revision 1.17
	sys/dev/fdt/files.fdt: revision 1.18
	sys/dev/fdt/files.fdt: revision 1.19
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.9
	sys/arch/arm/conf/files.arm: revision 1.133
	sys/arch/arm/samsung/mct_var.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2
	sys/arch/evbarm/conf/std.vexpress: revision 1.6
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.30
	sys/arch/arm/sunxi/files.sunxi: revision 1.2
	sys/dev/ofw/openfirm.h: revision 1.35
	sys/arch/arm/sunxi/files.sunxi: revision 1.3
	sys/dev/ofw/openfirm.h: revision 1.36
	sys/arch/arm/sunxi/files.sunxi: revision 1.4
	sys/arch/arm/sunxi/files.sunxi: revision 1.5
	sys/arch/evbarm/exynos/exynos_machdep.c: file removal
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1
	sys/arch/arm/samsung/sscom.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.6
	sys/dev/fdt/ohci_fdt.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.7
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.8
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.9
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.10
	sys/arch/evbarm/conf/mk.tegra: revision 1.5
	sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4
	sys/arch/evbarm/conf/mk.tegra: revision 1.6
	sys/arch/evbarm/conf/EXYNOS: revision 1.15
	sys/arch/evbarm/conf/EXYNOS: revision 1.16
	sys/arch/evbarm/conf/EXYNOS: revision 1.17
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.19
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1
	sys/arch/evbarm/conf/mk.sunxi: revision 1.1
	sys/arch/evbarm/include/bootconfig.h: revision 1.7
	sys/arch/evbarm/conf/TEGRA: revision 1.24
	sys/arch/arm/arm/psci.c: revision 1.1
	sys/dev/led.c: revision 1.1
	sys/dev/led.c: revision 1.2
	sys/arch/arm/arm/psci_arm.S: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2
	sys/dev/fdt/ehci_fdt.c: revision 1.1
	sys/dev/fdt/ehci_fdt.c: revision 1.2
	sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.21
	sys/arch/arm/sunxi/files.sunxi: revision 1.10
	sys/arch/arm/sunxi/files.sunxi: revision 1.11
	sys/dev/fdt/fdtbus.c: revision 1.14
	sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1
	sys/arch/arm/samsung/exynos5422_dma.c: file removal
	usr.bin/config/mkmakefile.c: revision 1.69
	sys/conf/files: revision 1.1178
	sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1
	sys/arch/evbarm/exynos/exynos_start.S: revision 1.4
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2
	sys/arch/evbarm/conf/SUNXI: revision 1.1
	external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.2
	sys/arch/arm/fdt/psci_fdt.c: revision 1.1
	sys/arch/evbarm/conf/SUNXI: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.4
	sys/arch/evbarm/conf/files.exynos: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.6
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1
	sys/dev/fdt/fixedfactorclock.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3
	sys/dev/ic/dwc_mmc_reg.h: revision 1.6
	sys/dev/fdt/fdt_subr.c: revision 1.16
	sys/arch/evbarm/conf/SUNXI: revision 1.9
	usr.bin/config/mkmakefile.c: revision 1.70
	sys/dev/fdt/fdt_phy.c: revision 1.1
	sys/arch/evbarm/conf/ODROID-XU: file removal
	sys/arch/arm/fdt/arm_fdt.c: revision 1.4
	sys/arch/arm/samsung/exynos_reg.h: revision 1.14
	sys/conf/files: revision 1.1180
	sys/arch/arm/samsung/exynos_reg.h: revision 1.15
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6
	sys/dev/ic/dwc_mmc_var.h: revision 1.6
	sys/arch/arm/samsung/exynos_combiner.c: revision 1.7
	sys/arch/evbarm/exynos/platform.h: revision 1.2
	sys/arch/arm/fdt/files.fdt: revision 1.12
	sys/arch/evbarm/conf/std.exynos: revision 1.2
	sys/arch/evbarm/conf/std.exynos: revision 1.3
	sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.1
	sys/dev/led.h: revision 1.1
	sys/arch/evbarm/conf/std.exynos: revision 1.5
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.2
	sys/arch/evbarm/conf/files.evbarm: revision 1.26
	usr.bin/config/defs.h: revision 1.99
	sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6
	sys/arch/arm/samsung/exynos_soc.c: revision 1.32
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2
	sys/arch/arm/samsung/mct.c: revision 1.11
	sys/arch/evbarm/conf/ODROID-U: file removal
	sys/arch/arm/samsung/mct.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4
Get the EXYNOS kernel building again with recent FDT changes. Untested.
Use arm_fdt_cpu_hatch and add mmu entry for DTB
Fix exynos5 devmap, bootstrap, and implement early_putchar.
Calculate UART frequency based on bootloader config.
Fix KERNEL_BASE_PHYS (how did this ever work?)
Avoid divide-by-zero for unconfigured PLLs
Correctly initialize i2cbus attach args.
Add delay and enable mct timecounter.
Fix build w/o VERBOSE_INIT_ARM
Remove ODROID-U and ODROID-XU kernel configs as they no longer work.
- Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
Use fdtbus_intr_establish to hook in block interrupts instead of
intr_establish.
Simplify MCT; just enable it and then attach an ARMv7 generic timer.
Add support for building DTB files during kernel build, from christos.
build vexpress-v2p-ca15-tc1.dtb with the kernel
build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel
Allow multiline makeoptions to work by quoting the newline..
Bump for quoting makeoptions with multiple lines.
un-c99
bump required config version for multiline makeoptions feature
Set DTS makeoption in kernel config
Assign DTB files to a variable so we can make -V DTB
put the dtb files with their kernels.
no need for debug printing.
Don't assume that CPU index = GIC CPU interface number. We can determine
the current CPU interface number by reading from the read-only
GICD_ITARGETSR0 through GICD_ITARGETSR7 registers.
This gets interrupts working on Exynos 5422, where the boot processor has
GIC CPU interface #4.
use -v to get the expanded variable.
Use -v to get the expanded variables.
Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach.
Fix PLL con0 register locations and add uart clocks
Disable exyortc for now, it doesn't work.
More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support.
Update for new dwc_mmc driver
Fix dmesg
Add Exynos 5410 clock controller driver.
Fix a few typos in clock parent names for mmc clocks.
From jmcneill@@
Update for new dwc_mmc driver
Implement platform reset for exynos5
Attach fdtbus to a /clocks node with no compatible string.
Add support for ARM Power State Coordination Interface (PSCI).
Support interrupt sharing.
Add initial support for Allwinner H3 SoC.
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.
Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
Add H3 MMC support
SD/MMC clock fixes
Add FDT PHY interface.
Add glue for generic ehci/ohci bindings.
Rename a variable, NFC.
Support parents in different clock domains.
Add USB stuff. Doesn't quite work yet.
Synopsys DesignWare APB UART needs "options COM_AWIN" for now.
Add i2c glue.
Add RTC driver.
PHY registers start at index 1. Now USB works.
Don't allow sharing edge and level triggered interrupts.
Add arm_fdt_memory_dump helper for dumping physical addresses from ddb
Print clocks with aprint_debug
Remove unused defines
Add fdtbus_get_string helper
Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
Fix dmesg
Add basic support for Allwinner A31.
Add basic FDT GPIO support.
Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.
Enable sunxi pinctrl support
Adjust to new pinctrl API
Add P2WI/RSB driver, based on awin_p2wi.c.
Fix typo in a compat string.
Configure pin defaults at attach
No need to explicitly set pinctrl config 0 now
Fix some register definitions.
Disallow sharing between MPSAFE and non-MPSAFE handlers.
Add of_match_compat_data.
This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.
Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@@
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Attach gpio(4) to sunxigpio
Test for kernel build directory before reading DTB list
Add support for Allwinner A83T SoC.
Add A83T files
Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.
Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac
Restore TX_INTERVAL_DEFAULT to 64
Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.
Write back the data value instead of mask in sunxi_gpio_write
Add a helper for exposing LED controls via sysctl.
Add GPIO LED driver.
add gpioleds
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.
Add fdtbus_get_string_index helper.
Add driver for fixed-factor clocks.
Add ffclock
Remove the requirement for ehci to attach after companion devices.
"go for it" - skrll@@
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.
Remove pass numbers for ehci/ohci now that the attach order no longer matters
Use unsigned char for ctype functions, suggested by christos
Add : to body of populate_sunxi to appease bash.
port-evbarm/52388: Fix number of args to a debug printf.
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.4 2017/06/02 15:22:47 jmcneill Exp $
a11 1
options 	DRAM_BLOCKS=256
@


1.3
log
@PR/51017: VEXPRESS_A15 doesn't compile

Don't pretend to be anything other than A15
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.2 2015/02/11 07:51:10 ozaki-r Exp $
d11 1
a11 1
# To support easy transit to ../arch/arm/arm32
a14 1
options 	CORTEX_PMC
d22 2
a23 2
makeoptions     KERNEL_BASE_PHYS="0x80000000"
makeoptions     KERNEL_BASE_VIRT="0x80000000"
d28 1
a28 1
options         ARM_INTR_IMPL="<arch/evbarm/vexpress/vexpress_intr.h>"
@


1.2
log
@Remove unexpected code duplications

I don't know why this happened...
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.1 2015/02/09 07:47:15 slp Exp $
a10 2
makeoptions	CPUFLAGS="-march=armv7-a -mfpu=neon"

d27 1
@


1.2.2.1
log
@file std.vexpress was added on branch nick-nhusb on 2015-04-06 15:17:55 +0000
@
text
@d1 32
@


1.2.2.2
log
@Sync with HEAD
@
text
@a0 32
#       $NetBSD: std.vexpress,v 1.2 2015/02/11 07:51:10 ozaki-r Exp $
#
# standard NetBSD/evbarm for VEXPRESS options

machine evbarm arm
include 	"arch/evbarm/conf/std.evbarm"

# Pull in VEXPRESS config definitions
include 	"arch/evbarm/conf/files.vexpress"

makeoptions	CPUFLAGS="-march=armv7-a -mfpu=neon"

# To support easy transit to ../arch/arm/arm32
options 	MODULAR
options 	MODULAR_DEFAULT_AUTOLOAD
options 	ARM_HAS_VBAR
options 	CORTEX_PMC
options 	__HAVE_CPU_COUNTER
options 	__HAVE_FAST_SOFTINTS            # should be in types.h
#options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	TPIDRPRW_IS_CURCPU
options 	KERNEL_BASE_EXT=0x80000000
options 	FPU_VFP

makeoptions     KERNEL_BASE_PHYS="0x80000000"
makeoptions     KERNEL_BASE_VIRT="0x80000000"
makeoptions     BOARDTYPE="vexpress"
makeoptions     BOARDMKFRAG="${THISARM}/conf/mk.vexpress"

options         ARM_INTR_IMPL="<arch/evbarm/vexpress/vexpress_intr.h>"
options         ARM_GENERIC_TODR

@


1.2.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.2.2.2 2015/04/06 15:17:55 skrll Exp $
d11 2
a28 1
makeoptions     CPUFLAGS="-mcpu=cortex-a15 -mfpu=neon"
@


1.2.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#       $NetBSD: std.vexpress,v 1.2.2.3 2016/04/22 15:44:09 skrll Exp $
d11 1
a11 2
options 	FDT				# Flattened Device Tree support
options 	DRAM_BLOCKS=256
d15 1
a16 1
options 	__HAVE_CPU_UAREA_ALLOC_IDLELWP
d23 2
a24 2
makeoptions     KERNEL_BASE_PHYS="0x81000000"
makeoptions     KERNEL_BASE_VIRT="0x81000000"
d29 1
a29 1
options         ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
a31 4
# initrd support
options         MEMORY_DISK_HOOKS
options         MEMORY_DISK_DYNAMIC
pseudo-device   md
@


1.1
log
@Add support for Versatile Express A15 board.

This has not been tested with real hardware, just with the software
model emulated by QEMU.
@
text
@d1 1
a1 33
#       $NetBSD$
#
# standard NetBSD/evbarm for VEXPRESS options

machine evbarm arm
include 	"arch/evbarm/conf/std.evbarm"

# Pull in VEXPRESS config definitions
include 	"arch/evbarm/conf/files.vexpress"

makeoptions	CPUFLAGS="-march=armv7-a -mfpu=neon"

# To support easy transit to ../arch/arm/arm32
options 	MODULAR
options 	MODULAR_DEFAULT_AUTOLOAD
options 	ARM_HAS_VBAR
options 	CORTEX_PMC
options 	__HAVE_CPU_COUNTER
options 	__HAVE_FAST_SOFTINTS            # should be in types.h
#options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	TPIDRPRW_IS_CURCPU
options 	KERNEL_BASE_EXT=0x80000000
options 	FPU_VFP

makeoptions     KERNEL_BASE_PHYS="0x80000000"
makeoptions     KERNEL_BASE_VIRT="0x80000000"
makeoptions     BOARDTYPE="vexpress"
makeoptions     BOARDMKFRAG="${THISARM}/conf/mk.vexpress"

options         ARM_INTR_IMPL="<arch/evbarm/vexpress/vexpress_intr.h>"
options         ARM_GENERIC_TODR

#       $NetBSD$
@

