1 # $NetBSD: std.generic,v 1.11 2023/07/03 17:05:10 jakllsch Exp $ 2 # 3 # generic 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_HAS_VBAR 17 options ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>" 18 options DRAM_BLOCKS=256 19 options EVBARM_BOARDTYPE="evbarm" 20 options FDT # Flattened Device Tree support 21 options FPU_VFP 22 options MODULAR 23 options MODULAR_DEFAULT_AUTOLOAD 24 options PCI_NETBSD_CONFIGURE 25 options TPIDRPRW_IS_CURLWP 26 options __BUS_SPACE_HAS_STREAM_METHODS 27 options __HAVE_CPU_COUNTER 28 options __HAVE_CPU_UAREA_ALLOC_IDLELWP 29 options __HAVE_FAST_SOFTINTS # should be in types.h 30 options __HAVE_GENERIC_START 31 options __HAVE_GENERIC_CPU_INITCLOCKS 32 options __HAVE_PCI_CONF_HOOK 33 options __HAVE_PCI_MSI_MSIX 34 35 makeoptions BOARDMKFRAG="${THISARM}/conf/mk.generic" 36 37 # initrd support 38 options MEMORY_DISK_HOOKS 39 options MEMORY_DISK_DYNAMIC 40 pseudo-device md 41 42 # Prevent the addition of a command line -DKERNEL_BASE_VOFFSET= as it 43 # is done at runtime. 44 makeoptions KERNEL_VOFFSET_RUNTIME=1 45 46 # The physical address is chosen by u-boot and determined by armv6_start.S. 47 # The 64 byte offset is due to u-boot header. 48 makeoptions KERNEL_BASE_PHYS="0x00000040" 49 makeoptions KERNEL_BASE_VIRT="0x80000040" 50 51 # General options 52 options CHILD_MAX=1024 # 160 is too few 53 options OPEN_MAX=1024 # 128 is too few 54