std.generic_v5 revision 1.2 1 # $NetBSD: std.generic_v5,v 1.2 2026/05/11 19:37:14 yurix 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_GENERIC_SETSTATCLOCKRATE
30 options __HAVE_PCI_CONF_HOOK
31 options __HAVE_PCI_MSI_MSIX
32
33 makeoptions BOARDMKFRAG="${THISARM}/conf/mk.generic"
34
35 # initrd support
36 options MEMORY_DISK_HOOKS
37 options MEMORY_DISK_DYNAMIC
38 pseudo-device md
39
40 # Prevent the addition of a command line -DKERNEL_BASE_VOFFSET= as it
41 # is done at runtime.
42 makeoptions KERNEL_VOFFSET_RUNTIME=1
43
44 # The physical address is chosen by u-boot and determined by armv6_start.S.
45 # The 64 byte offset is due to u-boot header.
46 makeoptions KERNEL_BASE_PHYS="0x00000040"
47 makeoptions KERNEL_BASE_VIRT="0xc0000040"
48
49 # General options
50 options CHILD_MAX=1024 # 160 is too few
51 options OPEN_MAX=1024 # 128 is too few
52