Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
details: https://anonhg.NetBSD.org/src/rev/d3eb9adf1567
branches: trunk
changeset: 321698:d3eb9adf1567
user: ryo <ryo%NetBSD.org@localhost>
date: Sun Apr 01 04:35:01 2018 +0000
description:
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
diffstat:
build.sh | 8 +-
distrib/evbarm/Makefile | 4 +-
distrib/evbarm/instkernel/ramdisk/Makefile | 12 +-
distrib/evbarm64/ramdisk/Makefile | 40 -
distrib/evbarm64/ramdisk/dot.profile | 64 -
distrib/evbarm64/ramdisk/list | 86 -
distrib/sets/lists/base/ad.aarch64 | 4 +-
distrib/sets/lists/comp/ad.aarch64 | 20 +-
distrib/sets/lists/debug/ad.aarch64 | 4 +-
distrib/utils/embedded/conf/arm64.conf | 116 +
distrib/utils/embedded/files/arm64_extlinux.conf | 12 +
etc/Makefile | 5 +-
etc/etc.evbarm/Makefile.inc | 12 +-
lib/libkvm/kvm_aarch64.c | 10 +-
sbin/disklabel/main.c | 5 +-
share/man/man4/options.4 | 3 +-
share/mk/bsd.README | 4 +-
share/mk/bsd.own.mk | 8 +-
sys/arch/Makefile | 6 +-
sys/arch/aarch64/aarch64/TODO | 16 +
sys/arch/aarch64/aarch64/aarch64_machdep.c | 256 +-
sys/arch/aarch64/aarch64/aarch64_reboot.c | 260 +
sys/arch/aarch64/aarch64/bus_dma.c | 36 -
sys/arch/aarch64/aarch64/bus_space.c | 749 ++++-
sys/arch/aarch64/aarch64/bus_space_asm_generic.S | 1284 +++++++
sys/arch/aarch64/aarch64/bus_space_notimpl.S | 155 +
sys/arch/aarch64/aarch64/copyinout.S | 314 +
sys/arch/aarch64/aarch64/core_machdep.c | 16 +-
sys/arch/aarch64/aarch64/cpu.c | 450 ++
sys/arch/aarch64/aarch64/cpu_machdep.c | 141 +-
sys/arch/aarch64/aarch64/cpufunc.c | 279 +
sys/arch/aarch64/aarch64/cpufunc_asm_armv8.S | 258 +
sys/arch/aarch64/aarch64/cpuswitch.S | 463 ++
sys/arch/aarch64/aarch64/db_disasm.c | 63 +-
sys/arch/aarch64/aarch64/db_interface.c | 162 +-
sys/arch/aarch64/aarch64/db_machdep.c | 852 ++++-
sys/arch/aarch64/aarch64/db_trace.c | 286 +-
sys/arch/aarch64/aarch64/disasm.c | 3655 +++++++++++++++++++++
sys/arch/aarch64/aarch64/disasm.h | 41 +
sys/arch/aarch64/aarch64/exception.S | 36 -
sys/arch/aarch64/aarch64/exec_machdep.c | 12 +-
sys/arch/aarch64/aarch64/fault.c | 323 +
sys/arch/aarch64/aarch64/fpu.c | 87 +-
sys/arch/aarch64/aarch64/fusu.S | 168 +
sys/arch/aarch64/aarch64/genassym.cf | 153 +-
sys/arch/aarch64/aarch64/idle_machdep.S | 91 +-
sys/arch/aarch64/aarch64/locore.S | 983 ++++-
sys/arch/aarch64/aarch64/locore_el2.S | 157 +
sys/arch/aarch64/aarch64/netbsd32_machdep.c | 123 +
sys/arch/aarch64/aarch64/pmap.c | 2160 +++++++++++-
sys/arch/aarch64/aarch64/process_machdep.c | 27 +-
sys/arch/aarch64/aarch64/sig_machdep.c | 6 +-
sys/arch/aarch64/aarch64/sys_machdep.c | 15 +-
sys/arch/aarch64/aarch64/syscall.c | 17 +-
sys/arch/aarch64/aarch64/trap.c | 649 +-
sys/arch/aarch64/aarch64/vectors.S | 190 +-
sys/arch/aarch64/aarch64/vm_machdep.c | 57 +-
sys/arch/aarch64/conf/Makefile.aarch64 | 15 +-
sys/arch/aarch64/conf/files.aarch64 | 124 +-
sys/arch/aarch64/conf/kern.ldscript | 19 +-
sys/arch/aarch64/conf/std.aarch64 | 11 +-
sys/arch/aarch64/dev/a64gic_mainbus.c | 92 -
sys/arch/aarch64/dev/a64gtmr.c | 315 -
sys/arch/aarch64/dev/a64gtmr_intr.h | 44 -
sys/arch/aarch64/dev/a64gtmr_var.h | 51 -
sys/arch/aarch64/dev/cpu.c | 36 -
sys/arch/aarch64/dev/cpucore.c | 36 -
sys/arch/aarch64/dev/cpunode.c | 36 -
sys/arch/aarch64/dev/mainbus.c | 36 -
sys/arch/aarch64/include/Makefile | 9 +-
sys/arch/aarch64/include/aout_machdep.h | 13 +-
sys/arch/aarch64/include/armreg.h | 747 +++-
sys/arch/aarch64/include/asm.h | 102 +-
sys/arch/aarch64/include/bus_defs.h | 378 --
sys/arch/aarch64/include/bus_funcs.h | 568 +---
sys/arch/aarch64/include/cpu.h | 87 +-
sys/arch/aarch64/include/cpufunc.h | 156 +
sys/arch/aarch64/include/db_machdep.h | 180 +-
sys/arch/aarch64/include/disklabel.h | 75 +-
sys/arch/aarch64/include/frame.h | 29 +-
sys/arch/aarch64/include/hypervisor.h | 86 +
sys/arch/aarch64/include/intr.h | 153 -
sys/arch/aarch64/include/locore.h | 127 +-
sys/arch/aarch64/include/machdep.h | 174 +
sys/arch/aarch64/include/mcontext.h | 138 +-
sys/arch/aarch64/include/netbsd32_machdep.h | 72 +
sys/arch/aarch64/include/param.h | 68 +-
sys/arch/aarch64/include/pmap.h | 191 +-
sys/arch/aarch64/include/pmc.h | 11 -
sys/arch/aarch64/include/proc.h | 4 +-
sys/arch/aarch64/include/psl.h | 8 -
sys/arch/aarch64/include/pte.h | 218 +-
sys/arch/aarch64/include/reg.h | 4 +-
sys/arch/aarch64/include/signal.h | 46 +-
sys/arch/aarch64/include/sysarch.h | 6 +-
sys/arch/aarch64/include/trap.h | 8 -
sys/arch/aarch64/include/types.h | 26 +-
sys/arch/aarch64/include/userret.h | 5 +
sys/arch/aarch64/include/vmparam.h | 66 +-
sys/arch/arm/arm/cpufunc.c | 23 +-
sys/arch/arm/arm/psci_arm.S | 6 +-
sys/arch/arm/arm32/armv7_generic_space.c | 7 +-
sys/arch/arm/arm32/bus_dma.c | 83 +-
sys/arch/arm/arm32/pmap.c | 18 +-
sys/arch/arm/broadcom/bcm2835_genfb.c | 9 +-
sys/arch/arm/broadcom/bcm2835_space.c | 716 ----
sys/arch/arm/broadcom/bcm2835reg.h | 12 +-
sys/arch/arm/broadcom/bcm2835var.h | 6 +-
sys/arch/arm/broadcom/bcm283x_platform.c | 164 +-
sys/arch/arm/broadcom/bcm283x_platform.h | 49 +
sys/arch/arm/broadcom/files.bcm2835 | 45 +-
sys/arch/arm/conf/files.arm | 3 +-
sys/arch/arm/cortex/gic.c | 7 +-
sys/arch/arm/cortex/gtmr.c | 81 +-
sys/arch/arm/fdt/cpu_fdt.c | 16 +-
sys/arch/arm/include/arm32/pmap.h | 11 +-
sys/arch/arm/include/armreg.h | 127 +-
sys/arch/arm/include/asm.h | 72 +-
sys/arch/arm/include/bus_defs.h | 42 +-
sys/arch/arm/include/bus_funcs.h | 67 +-
sys/arch/arm/include/cpu.h | 10 +-
sys/arch/arm/include/cpuconf.h | 23 +-
sys/arch/arm/include/cpufunc.h | 19 +-
sys/arch/arm/include/db_machdep.h | 11 +-
sys/arch/arm/include/disklabel.h | 5 +-
sys/arch/arm/include/locore.h | 10 +-
sys/arch/arm/include/mcontext.h | 164 +-
sys/arch/arm/include/signal.h | 5 +-
sys/arch/arm/nvidia/files.tegra | 13 +-
sys/arch/arm/nvidia/tegra_pcie.c | 6 +-
sys/arch/arm/nvidia/tegra_platform.c | 26 +-
sys/arch/arm/nvidia/tegra_platform.h | 39 +
sys/arch/arm/nvidia/tegra_pmc.c | 9 +-
sys/arch/arm/nvidia/tegra_reg.h | 7 +-
sys/arch/arm/nvidia/tegra_soc.c | 19 +-
sys/arch/arm/nvidia/tegra_timer.c | 7 +-
sys/arch/arm/pic/pic.c | 11 +-
sys/arch/arm/pic/pic_splfuncs.c | 11 +-
sys/arch/arm/sunxi/files.sunxi | 17 +-
sys/arch/arm/sunxi/sunxi_platform.c | 49 +-
sys/arch/arm/sunxi/sunxi_platform.h | 4 +-
sys/arch/evbarm/conf/GENERIC | 266 +
sys/arch/evbarm/conf/GENERIC.common | 5 +-
sys/arch/evbarm/conf/GENERIC64 | 291 +
sys/arch/evbarm/conf/RPI64 | 262 +
sys/arch/evbarm/conf/files.evbarm | 9 +-
sys/arch/evbarm/conf/files.fdt | 4 +-
sys/arch/evbarm/conf/files.generic | 15 +
sys/arch/evbarm/conf/files.generic64 | 15 +
sys/arch/evbarm/conf/files.rpi | 15 +-
sys/arch/evbarm/conf/files.sunxi | 13 +-
sys/arch/evbarm/conf/files.tegra | 13 +-
sys/arch/evbarm/conf/mk.generic | 32 +
sys/arch/evbarm/conf/mk.generic64 | 23 +
sys/arch/evbarm/conf/std.generic | 33 +
sys/arch/evbarm/conf/std.generic64 | 33 +
sys/arch/evbarm/fdt/fdt_machdep.c | 98 +-
sys/arch/evbarm/fdt/fdt_start.S | 85 +
sys/arch/evbarm/fdt/platform.h | 16 +-
sys/arch/evbarm/include/bootconfig.h | 9 +-
sys/arch/evbarm/include/cpu.h | 6 +-
sys/arch/evbarm/include/cpu_counter.h | 6 +-
sys/arch/evbarm/include/db_machdep.h | 6 +-
sys/arch/evbarm/include/elf_machdep.h | 6 +-
sys/arch/evbarm/include/frame.h | 6 +-
sys/arch/evbarm/include/isa_machdep.h | 6 +-
sys/arch/evbarm/include/lock.h | 6 +-
sys/arch/evbarm/include/netbsd32_machdep.h | 6 +-
sys/arch/evbarm/include/param.h | 6 +-
sys/arch/evbarm/include/pcb.h | 6 +-
sys/arch/evbarm/include/pmap.h | 6 +-
sys/arch/evbarm/include/pmc.h | 4 +-
sys/arch/evbarm/include/proc.h | 6 +-
sys/arch/evbarm/include/profile.h | 6 +-
sys/arch/evbarm/include/ptrace.h | 6 +-
sys/arch/evbarm/include/reg.h | 6 +-
sys/arch/evbarm/include/setjmp.h | 6 +-
sys/arch/evbarm/include/types.h | 8 +-
sys/arch/evbarm/include/vmparam.h | 10 +-
sys/arch/evbarm/rpi/genassym.cf | 3 +-
sys/arch/evbarm/stand/Makefile | 6 +-
sys/arch/evbarm/tegra/tegra_start.S | 5 +-
sys/arch/evbarm64/Makefile | 5 -
sys/arch/evbarm64/a64emul/a64emul_machdep.c | 36 -
sys/arch/evbarm64/a64emul/obio_mainbus.c | 36 -
sys/arch/evbarm64/a64emul/obio_var.h | 48 -
sys/arch/evbarm64/a64emul/plcom_obio.c | 101 -
sys/arch/evbarm64/a64emul/sm_mainbus.c | 36 -
sys/arch/evbarm64/conf/A64EMUL | 250 -
sys/arch/evbarm64/conf/Makefile.evbarm64.inc | 23 -
sys/arch/evbarm64/conf/files.a64emul | 14 -
sys/arch/evbarm64/conf/files.evbarm64 | 8 -
sys/arch/evbarm64/conf/std.a64emul | 14 -
sys/arch/evbarm64/conf/std.evbarm64 | 5 -
sys/arch/evbarm64/include/Makefile | 8 -
sys/arch/evbarm64/include/ansi.h | 3 -
sys/arch/evbarm64/include/asm.h | 3 -
sys/arch/evbarm64/include/bswap.h | 3 -
sys/arch/evbarm64/include/bus_defs.h | 3 -
sys/arch/evbarm64/include/bus_funcs.h | 3 -
sys/arch/evbarm64/include/cdefs.h | 3 -
sys/arch/evbarm64/include/cpu.h | 3 -
sys/arch/evbarm64/include/cpu_counter.h | 3 -
sys/arch/evbarm64/include/db_machdep.h | 3 -
sys/arch/evbarm64/include/disklabel.h | 3 -
sys/arch/evbarm64/include/elf_machdep.h | 3 -
sys/arch/evbarm64/include/endian.h | 3 -
sys/arch/evbarm64/include/endian_machdep.h | 3 -
sys/arch/evbarm64/include/frame.h | 3 -
sys/arch/evbarm64/include/int_const.h | 3 -
sys/arch/evbarm64/include/int_fmtio.h | 3 -
sys/arch/evbarm64/include/int_limits.h | 3 -
sys/arch/evbarm64/include/int_mwgwtypes.h | 3 -
sys/arch/evbarm64/include/int_types.h | 3 -
sys/arch/evbarm64/include/intr.h | 3 -
sys/arch/evbarm64/include/kcore.h | 3 -
sys/arch/evbarm64/include/limits.h | 3 -
sys/arch/evbarm64/include/lock.h | 3 -
sys/arch/evbarm64/include/mcontext.h | 3 -
sys/arch/evbarm64/include/mutex.h | 3 -
sys/arch/evbarm64/include/param.h | 45 -
sys/arch/evbarm64/include/pcb.h | 3 -
sys/arch/evbarm64/include/pmap.h | 7 -
sys/arch/evbarm64/include/pmc.h | 3 -
sys/arch/evbarm64/include/proc.h | 3 -
sys/arch/evbarm64/include/profile.h | 3 -
sys/arch/evbarm64/include/psl.h | 3 -
sys/arch/evbarm64/include/pte.h | 5 -
sys/arch/evbarm64/include/ptrace.h | 3 -
sys/arch/evbarm64/include/reg.h | 3 -
sys/arch/evbarm64/include/rwlock.h | 3 -
sys/arch/evbarm64/include/setjmp.h | 3 -
sys/arch/evbarm64/include/signal.h | 3 -
sys/arch/evbarm64/include/trap.h | 3 -
sys/arch/evbarm64/include/types.h | 10 -
sys/arch/evbarm64/include/vmparam.h | 3 -
sys/arch/evbarm64/include/wchar_limits.h | 3 -
sys/dev/fdt/simplefb.c | 9 +-
sys/dev/usb/udl.c | 8 +-
sys/external/bsd/drm2/include/drm/bus_dma_hacks.h | 4 +-
sys/rump/listsrcdirs | 4 +-
tools/headerlist | 4 +-
usr.sbin/ofctl/Makefile | 3 +-
usr.sbin/sysinst/arch/evbarm64/Makefile | 11 -
usr.sbin/sysinst/arch/evbarm64/md.c | 228 -
usr.sbin/sysinst/arch/evbarm64/md.h | 72 -
usr.sbin/sysinst/arch/evbarm64/msg.md.en | 48 -
usr.sbin/tpctl/Makefile | 7 +-
248 files changed, 18190 insertions(+), 6354 deletions(-)
diffs (truncated from 28952 to 300 lines):
diff -r 5a479108250b -r d3eb9adf1567 build.sh
--- a/build.sh Sat Mar 31 23:12:01 2018 +0000
+++ b/build.sh Sun Apr 01 04:35:01 2018 +0000
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.324 2018/01/24 09:04:40 skrll Exp $
+# $NetBSD: build.sh,v 1.325 2018/04/01 04:35:01 ryo Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -651,8 +651,8 @@
MACHINE=evbarm MACHINE_ARCH=earmv7eb ALIAS=evbearmv7-eb
MACHINE=evbarm MACHINE_ARCH=earmv7hf ALIAS=evbearmv7hf-el
MACHINE=evbarm MACHINE_ARCH=earmv7hfeb ALIAS=evbearmv7hf-eb
-MACHINE=evbarm64 MACHINE_ARCH=aarch64 ALIAS=evbarm64-el DEFAULT
-MACHINE=evbarm64 MACHINE_ARCH=aarch64eb ALIAS=evbarm64-eb
+MACHINE=evbarm MACHINE_ARCH=aarch64 ALIAS=evbarm64-el DEFAULT
+MACHINE=evbarm MACHINE_ARCH=aarch64eb ALIAS=evbarm64-eb
MACHINE=evbcf MACHINE_ARCH=coldfire
MACHINE=evbmips MACHINE_ARCH= NO_DEFAULT
MACHINE=evbmips MACHINE_ARCH=mips64eb ALIAS=evbmips64-eb
@@ -1932,7 +1932,7 @@
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.324 2018/01/24 09:04:40 skrll Exp $
+# Generated from: \$NetBSD: build.sh,v 1.325 2018/04/01 04:35:01 ryo Exp $
# with these arguments: ${_args}
#
diff -r 5a479108250b -r d3eb9adf1567 distrib/evbarm/Makefile
--- a/distrib/evbarm/Makefile Sat Mar 31 23:12:01 2018 +0000
+++ b/distrib/evbarm/Makefile Sun Apr 01 04:35:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2012/01/30 03:28:35 nisimura Exp $
+# $NetBSD: Makefile,v 1.10 2018/04/01 04:35:01 ryo Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -8,11 +8,13 @@
SUBDIR= gzboot instkernel cdroms
TARGETS+= release
+.if ${MACHINE_CPU} == "arm"
BOOTOBJ!= cd ${KERNSRCDIR}/arch/evbarm/stand/boot2440 && ${PRINTOBJDIR}
MDECBOOT= ${BOOTOBJ}/bootmini2440
release: check_RELEASEDIR .WAIT ${MDECBOOT}
${RELEASE_INSTALL} ${MDECBOOT} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
+.endif
iso_image:
${MAKEDIRTARGET} cdroms iso_image
diff -r 5a479108250b -r d3eb9adf1567 distrib/evbarm/instkernel/ramdisk/Makefile
--- a/distrib/evbarm/instkernel/ramdisk/Makefile Sat Mar 31 23:12:01 2018 +0000
+++ b/distrib/evbarm/instkernel/ramdisk/Makefile Sun Apr 01 04:35:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/08/20 15:38:22 christos Exp $
+# $NetBSD: Makefile,v 1.19 2018/04/01 04:35:01 ryo Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -28,6 +28,12 @@
${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
${DISTRIBDIR}/common/services
+.if !empty(MACHINE_ARCH:Maarch64)
+UBOOT_IMAGE_ARCH= arm64
+.else
+UBOOT_IMAGE_ARCH= arm
+.endif
+
# Use stubs to eliminate some large stuff from libc
HACKSRC= ${DISTRIBDIR}/utils/libhack
.include "${HACKSRC}/Makefile.inc"
@@ -43,8 +49,8 @@
release: ${IMAGE}
${INSTALL} -d -m 755 ${RAMDISKDIR}
${RELEASE_INSTALL} ${IMAGE} ${RAMDISKDIR}
- ${TOOL_MKUBOOTIMAGE} -A arm -C none -O linux -T ramdisk \
- -a 0 -n "NetBSD/${MACHINE_ARCH} ramdisk" ${IMAGE} \
+ ${TOOL_MKUBOOTIMAGE} -A ${UBOOT_IMAGE_ARCH} -C none -O linux \
+ -T ramdisk -a 0 -n "NetBSD/${MACHINE_ARCH} ramdisk" ${IMAGE} \
${RAMDISKDIR}/${IMAGE:S/.fs/.ub/}
.include <bsd.prog.mk>
diff -r 5a479108250b -r d3eb9adf1567 distrib/evbarm64/ramdisk/Makefile
--- a/distrib/evbarm64/ramdisk/Makefile Sat Mar 31 23:12:01 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2017/01/24 18:04:02 christos Exp $
-
-.include <bsd.own.mk>
-.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
-
-IMAGE= ramdisk.fs
-IMAGESIZE= r4098k
-MAKEFS_FLAGS+= -f 15
-
-WARNS= 1
-DBG= -Os -fomit-frame-pointer
-
-CRUNCHBIN= ramdiskbin
-LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
-MTREECONF= ${DISTRIBDIR}/common/mtree.common
-.if empty(MACHINE_ARCH:M*eb)
-IMAGEENDIAN= le
-.else
-IMAGEENDIAN= be
-.endif
-MAKEDEVTARGETS= ramdisk
-IMAGEDEPENDS= ${CRUNCHBIN} \
- dot.profile \
- ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
- ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
- ${DISTRIBDIR}/common/services
-
-# Use stubs to eliminate some large stuff from libc
-HACKSRC= ${DISTRIBDIR}/utils/libhack
-.include "${HACKSRC}/Makefile.inc"
-${CRUNCHBIN}: libhack.o
-
-.include "${DISTRIBDIR}/common/Makefile.crunch"
-.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
-.include "${DISTRIBDIR}/common/Makefile.makedev"
-.include "${DISTRIBDIR}/common/Makefile.image"
-
-release:
-
-.include <bsd.prog.mk>
diff -r 5a479108250b -r d3eb9adf1567 distrib/evbarm64/ramdisk/dot.profile
--- a/distrib/evbarm64/ramdisk/dot.profile Sat Mar 31 23:12:01 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-# $NetBSD: dot.profile,v 1.1 2014/08/10 05:47:35 matt Exp $
-#
-# Copyright (c) 1997 Perry E. Metzger
-# Copyright (c) 1994 Christopher G. Demetriou
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement:
-# This product includes software developed for the
-# NetBSD Project. See http://www.NetBSD.org/ for
-# information about NetBSD.
-# 4. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
-
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt100
-export TERM
-HOME=/
-export HOME
-
-umask 022
-
-ROOTDEV=/dev/md0a
-
-if [ "X${DONEPROFILE}" = "X" ]; then
- DONEPROFILE=YES
- export DONEPROFILE
-
- # set up some sane defaults
- echo 'erase ^?, werase ^W, kill ^U, intr ^C'
- stty newcrt werase ^W intr ^C kill ^U erase ^?
- echo ''
-
- # mount the ramdisk read write
- mount -u $ROOTDEV /
-
- # mount the kern_fs so that we can examine the dmesg state
- mount -t kernfs /kern /kern
-
- # run the installation or upgrade script.
- sysinst
-fi
diff -r 5a479108250b -r d3eb9adf1567 distrib/evbarm64/ramdisk/list
--- a/distrib/evbarm64/ramdisk/list Sat Mar 31 23:12:01 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-# $NetBSD: list,v 1.1 2014/08/10 05:47:35 matt Exp $
-
-SRCDIRS bin sbin external/bsd/less/bin usr.bin usr.sbin
-
-PROG bin/cat
-PROG bin/chmod
-PROG bin/cp
-PROG bin/dd
-PROG bin/df
-PROG bin/ed
-PROG bin/ln
-PROG bin/ls
-PROG bin/mkdir
-PROG bin/mv
-PROG bin/pax usr/bin/tar
-PROG bin/pwd
-PROG bin/rm
-PROG bin/rmdir
-PROG bin/sh
-PROG bin/stty
-PROG bin/sync
-
-PROG sbin/chown bin/chgrp
-PROG sbin/disklabel
-PROG sbin/drvctl
-PROG sbin/fdisk
-PROG sbin/fsck
-PROG sbin/fsck_msdos
-PROG sbin/fsck_ffs
-PROG sbin/gpt
-PROG sbin/ifconfig
-PROG sbin/init
-PROG sbin/mknod
-PROG sbin/mount
-PROG sbin/mount_cd9660
-PROG sbin/mount_ext2fs
-PROG sbin/mount_ffs
-PROG sbin/mount_kernfs
-PROG sbin/mount_msdos
-PROG sbin/mount_nfs
-PROG sbin/mount_tmpfs
-PROG sbin/newfs sbin/mount_mfs
-PROG sbin/newfs_ext2fs
-PROG sbin/ping
-PROG sbin/reboot sbin/halt
-PROG sbin/restore sbin/rrestore
-PROG sbin/route
-PROG sbin/shutdown
-PROG sbin/slattach
-PROG sbin/sysctl
-PROG sbin/swapctl
-PROG sbin/umount
-
-PROG usr/bin/ftp
-PROG usr/bin/tip usr/bin/cu
-PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
-PROG usr/bin/less usr/bin/more
-PROG usr/bin/sed
-PROG usr/bin/tset
-
-PROG usr/sbin/chroot
-
-SPECIAL ed srcdir distrib/utils/x_ed
-SPECIAL gzip srcdir distrib/utils/x_gzip
-SPECIAL ping srcdir distrib/utils/x_ping
-SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
-SPECIAL route srcdir distrib/utils/x_route
-SPECIAL umount srcdir distrib/utils/x_umount
-
-LIBS libhack.o -ledit -lutil -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -lprop
-
-# init invokes the shell as -sh
-ARGVLN sh -sh
-
-# we need the boot blocks /usr/mdec
-#COPY ${DESTDIR}/usr/mdec/ofwboot usr/mdec/ofwboot
-
-# various files that we need in /etc for the install
-COPY ${NETBSDSRCDIR}/etc/group etc/group
-COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd
-COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig
-COPY ${DISTRIBDIR}/common/protocols etc/protocols
-COPY ${DISTRIBDIR}/common/services etc/services
-
-# and the installation tools
-COPY ${CURDIR}/dot.profile .profile
diff -r 5a479108250b -r d3eb9adf1567 distrib/sets/lists/base/ad.aarch64
--- a/distrib/sets/lists/base/ad.aarch64 Sat Mar 31 23:12:01 2018 +0000
+++ b/distrib/sets/lists/base/ad.aarch64 Sun Apr 01 04:35:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ad.aarch64,v 1.25 2015/07/08 01:06:40 matt Exp $
+# $NetBSD: ad.aarch64,v 1.26 2018/04/01 04:35:02 ryo Exp $
./libexec/ld.elf_so-eabi base-compat-shlib compat,pic
./libexec/ld.elf_so-eabihf base-compat-shlib compat,pic
./libexec/ld.elf_so-oabi base-sysutil-bin compat,pic
@@ -15,3 +15,5 @@
./usr/libexec/ld.elf_so-eabi base-compat-shlib compat,pic
./usr/libexec/ld.elf_so-eabihf base-compat-shlib compat,pic
Home |
Main Index |
Thread Index |
Old Index