std.generic_v5 revision 1.1 1 # $NetBSD: std.generic_v5,v 1.1 2025/10/09 06:15:17 skrll Exp $
2 #
3 # generic_v5 NetBSD/evbarm with FDT support
4
5 machine evbarm arm
6 include "conf/std"
7 include "arch/arm/conf/std.arm" # arch standard options
8
9 options EXEC_ELF32
10 options EXEC_SCRIPT
11
12 # Architecture options
13 options ARM32
14
15 options ARM_GENERIC_TODR
16 options ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
17 options DRAM_BLOCKS=256
18 options EVBARM_BOARDTYPE="evbarm"
19 options FDT # Flattened Device Tree support
20 options FPU_VFP
21 options MODULAR
22 options MODULAR_DEFAULT_AUTOLOAD
23 options PCI_NETBSD_CONFIGURE
24 options __BUS_SPACE_HAS_STREAM_METHODS
25 options __HAVE_CPU_UAREA_ALLOC_IDLELWP
26 options __HAVE_FAST_SOFTINTS # should be in types.h
27 options __HAVE_GENERIC_START
28 options __HAVE_GENERIC_CPU_INITCLOCKS
29 options __HAVE_PCI_CONF_HOOK
30 options __HAVE_PCI_MSI_MSIX
31
32 makeoptions BOARDMKFRAG="${THISARM}/conf/mk.generic"
33
34 # initrd support
35 options MEMORY_DISK_HOOKS
36 options MEMORY_DISK_DYNAMIC
37 pseudo-device md
38
39 # Prevent the addition of a command line -DKERNEL_BASE_VOFFSET= as it
40 # is done at runtime.
41 makeoptions KERNEL_VOFFSET_RUNTIME=1
42
43 # The physical address is chosen by u-boot and determined by armv6_start.S.
44 # The 64 byte offset is due to u-boot header.
45 makeoptions KERNEL_BASE_PHYS="0x00000040"
46 makeoptions KERNEL_BASE_VIRT="0xc0000040"
47
48 # General options
49 options CHILD_MAX=1024 # 160 is too few
50 options OPEN_MAX=1024 # 128 is too few
51