std.generic_v5 revision 1.1
11.1Sskrll# $NetBSD: std.generic_v5,v 1.1 2025/10/09 06:15:17 skrll Exp $
21.1Sskrll#
31.1Sskrll# generic_v5 NetBSD/evbarm with FDT support
41.1Sskrll
51.1Sskrllmachine		evbarm arm
61.1Sskrllinclude		"conf/std"
71.1Sskrllinclude		"arch/arm/conf/std.arm"		# arch standard options
81.1Sskrll
91.1Sskrlloptions 	EXEC_ELF32
101.1Sskrlloptions 	EXEC_SCRIPT
111.1Sskrll
121.1Sskrll# Architecture options
131.1Sskrlloptions 	ARM32
141.1Sskrll
151.1Sskrlloptions 	ARM_GENERIC_TODR
161.1Sskrlloptions 	ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
171.1Sskrlloptions 	DRAM_BLOCKS=256
181.1Sskrlloptions 	EVBARM_BOARDTYPE="evbarm"
191.1Sskrlloptions 	FDT				# Flattened Device Tree support
201.1Sskrlloptions 	FPU_VFP
211.1Sskrlloptions 	MODULAR
221.1Sskrlloptions 	MODULAR_DEFAULT_AUTOLOAD
231.1Sskrlloptions 	PCI_NETBSD_CONFIGURE
241.1Sskrlloptions 	__BUS_SPACE_HAS_STREAM_METHODS
251.1Sskrlloptions 	__HAVE_CPU_UAREA_ALLOC_IDLELWP
261.1Sskrlloptions 	__HAVE_FAST_SOFTINTS		# should be in types.h
271.1Sskrlloptions 	__HAVE_GENERIC_START
281.1Sskrlloptions 	__HAVE_GENERIC_CPU_INITCLOCKS
291.1Sskrlloptions 	__HAVE_PCI_CONF_HOOK
301.1Sskrlloptions 	__HAVE_PCI_MSI_MSIX
311.1Sskrll
321.1Sskrllmakeoptions	BOARDMKFRAG="${THISARM}/conf/mk.generic"
331.1Sskrll
341.1Sskrll# initrd support
351.1Sskrlloptions 	MEMORY_DISK_HOOKS
361.1Sskrlloptions 	MEMORY_DISK_DYNAMIC
371.1Sskrllpseudo-device 	md
381.1Sskrll
391.1Sskrll# Prevent the addition of a command line -DKERNEL_BASE_VOFFSET= as it
401.1Sskrll# is done at runtime.
411.1Sskrllmakeoptions	KERNEL_VOFFSET_RUNTIME=1
421.1Sskrll
431.1Sskrll# The physical address is chosen by u-boot and determined by armv6_start.S.
441.1Sskrll# The 64 byte offset is due to u-boot header.
451.1Sskrllmakeoptions	KERNEL_BASE_PHYS="0x00000040"
461.1Sskrllmakeoptions	KERNEL_BASE_VIRT="0xc0000040"
471.1Sskrll
481.1Sskrll# General options
491.1Sskrlloptions 	CHILD_MAX=1024	# 160 is too few
501.1Sskrlloptions 	OPEN_MAX=1024	# 128 is too few
51