head 1.7; access; symbols netbsd-11-0-RC4:1.6 netbsd-11-0-RC3:1.6 netbsd-11-0-RC2:1.6 netbsd-11-0-RC1:1.6 perseant-exfatfs-base-20250801:1.6 netbsd-11:1.6.0.40 netbsd-11-base:1.6 netbsd-10-1-RELEASE:1.6 perseant-exfatfs-base-20240630:1.6 perseant-exfatfs:1.6.0.38 perseant-exfatfs-base:1.6 netbsd-9-4-RELEASE:1.6 netbsd-10-0-RELEASE:1.6 netbsd-10-0-RC6:1.6 netbsd-10-0-RC5:1.6 netbsd-10-0-RC4:1.6 netbsd-10-0-RC3:1.6 netbsd-10-0-RC2:1.6 thorpej-ifq:1.6.0.36 thorpej-ifq-base:1.6 thorpej-altq-separation:1.6.0.34 thorpej-altq-separation-base:1.6 netbsd-10-0-RC1:1.6 netbsd-10:1.6.0.32 netbsd-10-base:1.6 bouyer-sunxi-drm:1.6.0.30 bouyer-sunxi-drm-base:1.6 netbsd-9-3-RELEASE:1.6 thorpej-i2c-spi-conf2:1.6.0.28 thorpej-i2c-spi-conf2-base:1.6 thorpej-futex2:1.6.0.26 thorpej-futex2-base:1.6 thorpej-cfargs2:1.6.0.24 thorpej-cfargs2-base:1.6 cjep_sun2x-base1:1.6 cjep_sun2x:1.6.0.22 cjep_sun2x-base:1.6 cjep_staticlib_x-base1:1.6 netbsd-9-2-RELEASE:1.6 cjep_staticlib_x:1.6.0.20 cjep_staticlib_x-base:1.6 thorpej-i2c-spi-conf:1.6.0.18 thorpej-i2c-spi-conf-base:1.6 thorpej-cfargs:1.6.0.16 thorpej-cfargs-base:1.6 thorpej-futex:1.6.0.14 thorpej-futex-base:1.6 netbsd-9-1-RELEASE:1.6 bouyer-xenpvh-base2:1.6 phil-wifi-20200421:1.6 bouyer-xenpvh-base1:1.6 phil-wifi-20200411:1.6 bouyer-xenpvh:1.6.0.12 bouyer-xenpvh-base:1.6 is-mlppp:1.6.0.10 is-mlppp-base:1.6 phil-wifi-20200406:1.6 ad-namecache-base3:1.6 netbsd-9-0-RELEASE:1.6 netbsd-9-0-RC2:1.6 ad-namecache-base2:1.6 ad-namecache-base1:1.6 ad-namecache:1.6.0.8 ad-namecache-base:1.6 netbsd-9-0-RC1:1.6 phil-wifi-20191119:1.6 netbsd-9:1.6.0.6 netbsd-9-base:1.6 phil-wifi:1.6.0.4 phil-wifi-20190609:1.6 isaki-audio2:1.6.0.2 isaki-audio2-base:1.6 pgoyette-compat-merge-20190127:1.1.2.4 pgoyette-compat-20190127:1.6 pgoyette-compat-20190118:1.6 pgoyette-compat-1226:1.6 pgoyette-compat-1126:1.6 pgoyette-compat-1020:1.5 pgoyette-compat:1.1.0.2 pgoyette-compat-0930:1.1; locks; strict; comment @# @; 1.7 date 2026.04.23.07.29.52; author yurix; state dead; branches; next 1.6; commitid oJdV8FpoXRB7q3DG; 1.6 date 2018.10.28.15.00.19; author aymeric; state Exp; branches 1.6.4.1; next 1.5; commitid y9WkGIIEPSk8NJXA; 1.5 date 2018.10.18.09.01.54; author skrll; state Exp; branches; next 1.4; commitid 0r6pPkie0NRL4qWA; 1.4 date 2018.10.15.16.54.54; author skrll; state Exp; branches; next 1.3; commitid tDVWDPdibKTWP4WA; 1.3 date 2018.10.08.10.22.17; author skrll; state Exp; branches; next 1.2; commitid lHfn2wpGiUvST8VA; 1.2 date 2018.10.07.07.48.43; author skrll; state Exp; branches; next 1.1; commitid 2NsfcA28MWxH10VA; 1.1 date 2018.09.19.17.31.39; author aymeric; state Exp; branches 1.1.2.1; next ; commitid 7kKlYZ0Pngu1SJSA; 1.6.4.1 date 2018.10.28.15.00.19; author christos; state dead; branches; next 1.6.4.2; commitid jtc8rnCzWiEEHGqB; 1.6.4.2 date 2019.06.10.22.06.05; author christos; state Exp; branches; next ; commitid jtc8rnCzWiEEHGqB; 1.1.2.1 date 2018.09.19.17.31.39; author pgoyette; state dead; branches; next 1.1.2.2; commitid SQ44grEPCeKPh4UA; 1.1.2.2 date 2018.09.30.01.45.40; author pgoyette; state Exp; branches; next 1.1.2.3; commitid SQ44grEPCeKPh4UA; 1.1.2.3 date 2018.10.20.06.58.27; author pgoyette; state Exp; branches; next 1.1.2.4; commitid mTSoqZEZ4arHnFWA; 1.1.2.4 date 2018.11.26.01.52.21; author pgoyette; state Exp; branches; next ; commitid Zj4q5SspGdKXto1B; desc @@ 1.7 log @ evbarm: drop unused altera configuration files @ text @# $NetBSD: std.altera,v 1.6 2018/10/28 15:00:19 aymeric Exp $ machine evbarm arm include "arch/evbarm/conf/std.evbarm" include "arch/evbarm/conf/files.altera" options FDT options DRAM_BLOCKS=256 options FPU_VFP options TPIDRPRW_IS_CURCPU options ARM_HAS_VBAR options ARM_GENERIC_TODR options ARM_INTR_IMPL="" options __HAVE_FAST_SOFTINTS options __HAVE_CPU_COUNTER options __HAVE_CPU_UAREA_ALLOC_IDLELWP options __HAVE_GENERIC_START options __HAVE_MM_MD_DIRECT_MAPPED_PHYS options __BUS_SPACE_HAS_STREAM_METHODS makeoptions BOARDTYPE="nanosoc" makeoptions BOARDMKFRAG="${THISARM}/conf/mk.altera" makeoptions KERNEL_BASE_PHYS="0x10000" makeoptions KERNEL_BASE_VIRT="0x80010000" @ 1.6 log @Define __HAVE_GENERIC_START now that it works; former startup files were removed anyway... @ text @d1 1 a1 1 # $NetBSD: std.altera,v 1.5 2018/10/18 09:01:54 skrll Exp $ @ 1.6.4.1 log @file std.altera was added on branch phil-wifi on 2019-06-10 22:06:05 +0000 @ text @d1 26 @ 1.6.4.2 log @Sync with HEAD @ text @a0 26 # $NetBSD: std.altera,v 1.6 2018/10/28 15:00:19 aymeric Exp $ machine evbarm arm include "arch/evbarm/conf/std.evbarm" include "arch/evbarm/conf/files.altera" options FDT options DRAM_BLOCKS=256 options FPU_VFP options TPIDRPRW_IS_CURCPU options ARM_HAS_VBAR options ARM_GENERIC_TODR options ARM_INTR_IMPL="" options __HAVE_FAST_SOFTINTS options __HAVE_CPU_COUNTER options __HAVE_CPU_UAREA_ALLOC_IDLELWP options __HAVE_GENERIC_START options __HAVE_MM_MD_DIRECT_MAPPED_PHYS options __BUS_SPACE_HAS_STREAM_METHODS makeoptions BOARDTYPE="nanosoc" makeoptions BOARDMKFRAG="${THISARM}/conf/mk.altera" makeoptions KERNEL_BASE_PHYS="0x10000" makeoptions KERNEL_BASE_VIRT="0x80010000" @ 1.5 log @Provide generic start code that assumes the MMU is off and caches are disabled as per the linux booting protocol for ARMv6 and ARMv7 boards. u-boot image type should be changed to 'linux' for correct behaviour. The new start code builds a minimal "bootstrap" L1PT with cached access disabled and uses the same table for all processors. AP startup is performed in less steps and more code is written in C. The bootstrap tables and stack are placed into an (orphaned) section "_init_memory" which is given to uvm when it is no longer used. Various kernels have been converted to use this code and tested. Some boards were provided by TNF. Thanks! The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS kernels. The GENERIC kernel will also work on RPI2 using u-boot. Thanks to martin@@ and aymeric@@ for testing on parallella and nanosoc respectively @ text @d1 1 a1 1 # $NetBSD: std.altera,v 1.4 2018/10/15 16:54:54 skrll Exp $ d18 1 @ 1.4 log @Only ent KERNEL_BASE_EXT when we want to change KERNEL_BASE from its default of 0x8000_0000 Don't use KERNEL_BASE_EXT where KERNEL_BASE should be instead. Workaround a as(1) weirdness in armadaxp_start.S @ text @d1 1 a1 1 # $NetBSD: std.altera,v 1.3 2018/10/08 10:22:17 skrll Exp $ d3 1 a3 1 machine evbarm arm d5 2 a6 2 include "arch/evbarm/conf/std.evbarm" include "arch/evbarm/conf/files.altera" d8 4 d15 1 a15 5 options DRAM_BLOCKS=256 options FDT options FPU_VFP options TPIDRPRW_IS_CURCPU options __BUS_SPACE_HAS_STREAM_METHODS a17 1 options __HAVE_FAST_SOFTINTS d19 1 d21 2 a24 2 makeoptions BOARDTYPE="nanosoc" makeoptions BOARDMKFRAG="${THISARM}/conf/mk.altera" @ 1.3 log @Sort options. No functional change. @ text @d1 1 a1 1 # $NetBSD: std.altera,v 1.2 2018/10/07 07:48:43 skrll Exp $ a20 1 options KERNEL_BASE_EXT=0x80000000 @ 1.2 log @Whitespace consistency. {make,}options everything else just