head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2026.08.14.14.25.10; author thorpej; state Exp; branches; next 1.2; commitid zEbBp4s426Yu4CRG; 1.2 date 2026.08.08.15.10.04; author thorpej; state Exp; branches; next 1.1; commitid sgGzArznzygJwQQG; 1.1 date 2026.08.06.14.41.09; author thorpej; state Exp; branches; next ; commitid buDJHaLy2w0sqAQG; desc @@ 1.3 log @HZ=1000 is a lot of HZ. @@techav reports that changing it to 400 shaves several minutes off boot time and is about the best we can do with a 16-bit timer counting at 25MHz. This is a stop-gap until a pre-scaler is added to the system timer (located in the DRAM controller). @ text @# $NetBSD: WRAP030,v 1.2 2026/08/08 15:10:04 thorpej Exp $ # # WRAP030 machine description file # # https://github.com/techav-homebrew/Wrap030 # include "arch/hb68k/conf/std.hb68k" options M68030 options CONFIG_MACH_WRAP030 options CONFIG_FDT_BOOTSTRAP options CONFIG_STATIC_DEVICE_TREE makeoptions STATIC_DEVICE_TREE="${HB68K}/wrap030/wrap030.dts" makeoptions TEXTADDR=0 # ROM uses fixed load address options HZ=400 # wrap030 timer doesn't divide clk :( # reserve symbol space and copy the symbol table into it. Needed # because Wrap030 doesn't have a loader to load the symbols (yet). makeoptions COPY_SYMTAB=1 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary #ident "WRAP030-$Revision: 1.2 $" maxusers 8 options DDB # in-kernel debugger options DIAGNOSTIC # extra sanity checks #options LOCKDEBUG #options DEBUG #options KTRACE options PIPE_SOCKETPAIR # smaller, but slower pipe(2) # Firmware loads programs from FAT. file-system FFS # Berkeley Fast File System file-system MSDOSFS # MS-DOS File System # File system options options FFS_NO_SNAPSHOT # No FFS snapshot support # Networking options options INET # IPv4 #options INET6 # IPv6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options GATEWAY # IP packet forwarding #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG # Shared memory options #options SYSVMSG # System V-like message queues #options SYSVSEM # System V-like semaphores #options SYSVSHM # System V-like memory sharing ## "generic" boot (put root on boot device) config netbsd root on ? type ? pseudo-device loop pseudo-device pty # pseudo-terminals pseudo-device ksyms # /dev/ksyms # Generic m68k interrupts. genintc* at fdt? pass 2 # System timer wraptmr* at fdt? pass 3 # On-board serial ports com* at fdt? pass 5 # ATA disk interface wdc* at fdt? atabus* at ata? wd* at atabus? drive? @ 1.2 log @Wrap030 doesn't have a loader that's capable of loading the kernel symbols (yet), so use COPY_SYMTAB to get them instead. @ text @d1 1 a1 1 # $NetBSD: WRAP030,v 1.1 2026/08/06 14:41:09 thorpej Exp $ d5 1 a5 1 # https://techav.net/post/714948735442010112/introducing-wrap030-atx d15 1 a15 1 options HZ=1000 # wrap030 timer doesn't divide clk :( d23 1 a23 1 #ident "WRAP030-$Revision: 1.1 $" @ 1.1 log @Add support for @@techav's "Wrap030" homebrew. @ text @d1 1 a1 1 # $NetBSD$ d17 4 d23 1 a23 1 #ident "WRAP030-$Revision$" @