Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/conf Add INSTALL kernel. Fix .ub generation.
details: https://anonhg.NetBSD.org/src/rev/24aac36bc04d
branches: trunk
changeset: 332546:24aac36bc04d
user: matt <matt%NetBSD.org@localhost>
date: Sat Sep 27 04:03:24 2014 +0000
description:
Add INSTALL kernel. Fix .ub generation.
diffstat:
sys/arch/evbarm/conf/NITROGEN6X | 6 +-----
sys/arch/evbarm/conf/NITROGEN6X_INSTALL | 9 +++++++++
sys/arch/evbarm/conf/mk.nitrogen6 | 12 +++++++++++-
3 files changed, 21 insertions(+), 6 deletions(-)
diffs (58 lines):
diff -r a3a619c7d05a -r 24aac36bc04d sys/arch/evbarm/conf/NITROGEN6X
--- a/sys/arch/evbarm/conf/NITROGEN6X Sat Sep 27 01:18:49 2014 +0000
+++ b/sys/arch/evbarm/conf/NITROGEN6X Sat Sep 27 04:03:24 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NITROGEN6X,v 1.1 2014/09/25 05:05:28 ryo Exp $
+# $NetBSD: NITROGEN6X,v 1.2 2014/09/27 04:03:24 matt Exp $
#
# Nitrogen6X
# - http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/
@@ -339,10 +339,6 @@
pseudo-device fss # file system snapshot device
pseudo-device putter # for puffs and pud
-pseudo-device md # memory disk device (ramdisk)
-options MEMORY_DISK_HOOKS # enable root ramdisk
-options MEMORY_DISK_DYNAMIC # loaded via kernel module(7)
-
pseudo-device vnd # disk-like interface to files
options VND_COMPRESSION # compressed vnd(4)
diff -r a3a619c7d05a -r 24aac36bc04d sys/arch/evbarm/conf/NITROGEN6X_INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/evbarm/conf/NITROGEN6X_INSTALL Sat Sep 27 04:03:24 2014 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: NITROGEN6X_INSTALL,v 1.1 2014/09/27 04:03:24 matt Exp $
+#
+# NITROGEN6X_INSTALL -- NITROGEN6X kernel with installation-sized
+# ramdisk
+#
+
+include "arch/evbarm/conf/NITROGEN6X"
+include "arch/evbarm/conf/INSTALL"
+no makeoptions DEBUG
diff -r a3a619c7d05a -r 24aac36bc04d sys/arch/evbarm/conf/mk.nitrogen6
--- a/sys/arch/evbarm/conf/mk.nitrogen6 Sat Sep 27 01:18:49 2014 +0000
+++ b/sys/arch/evbarm/conf/mk.nitrogen6 Sat Sep 27 04:03:24 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mk.nitrogen6,v 1.1 2014/09/25 05:05:28 ryo Exp $
+# $NetBSD: mk.nitrogen6,v 1.2 2014/09/27 04:03:24 matt Exp $
SYSTEM_FIRST_OBJ= nitrogen6_start.o
SYSTEM_FIRST_SFILE= ${THISARM}/nitrogen6/nitrogen6_start.S
@@ -19,5 +19,15 @@
SYSTEM_LD_TAIL_EXTRA+=; \
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
${OBJCOPY} -S -O binary $@ $@.bin; \
+ echo ${TOOL_GZIP} -9c $@.bin > $@.bin.gz; \
+ ${TOOL_GZIP} -9c $@.bin > $@.bin.gz; \
+ echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
+ ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
+ echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \
+ ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \
+ echo
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
+EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ub@}
+EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
+EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.gz.ub@}
Home |
Main Index |
Thread Index |
Old Index