Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/etc.evbarm hook image building for rpi.
details: https://anonhg.NetBSD.org/src/rev/4a0aeb899010
branches: trunk
changeset: 784786:4a0aeb899010
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 09 18:49:55 2013 +0000
description:
hook image building for rpi.
diffstat:
etc/etc.evbarm/Makefile.inc | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diffs (60 lines):
diff -r aa97a3d64ddf -r 4a0aeb899010 etc/etc.evbarm/Makefile.inc
--- a/etc/etc.evbarm/Makefile.inc Sat Feb 09 17:42:34 2013 +0000
+++ b/etc/etc.evbarm/Makefile.inc Sat Feb 09 18:49:55 2013 +0000
@@ -1,27 +1,24 @@
-# $NetBSD: Makefile.inc,v 1.34 2013/02/06 01:31:55 matt Exp $
+# $NetBSD: Makefile.inc,v 1.35 2013/02/09 18:49:55 christos Exp $
#
# etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
#
+MKIMAGE= ${NETBSDSRCDIR}/distrib/utils/embedded/mkimage
+
# If you change the list of distributed kernels, don't forget
# to update the release documentation in distrib/notes/common/contents
EVBARM_BOARDS=
.if ${MACHINE_ARCH} == "arm"
# Little endian platforms (armv4 or pre-armv5t)
-EVBARM_BOARDS+= ADI_BRH CP3100 GEMINI GUMSTIX INTEGRATOR \
+EVBARM_BOARDS+= ADI_BRH BCM5301X CP3100 GEMINI GUMSTIX INTEGRATOR \
IQ80310 IQ80321 MINI2440 MV2120 SMDK2410 \
SMDK2800 TEAMASA_NPWR TS7200 TWINTAIL
.endif
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm" \
- || ${MACHINE_ARCH} == "earmhf"
-# Little endian platforms with VFP
-EVBARM_BOARDS+= BCM5301X BEAGLEBOARD BEAGLEBOARDXM BEAGLEBONE TISDP2420
-.endif
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
# Little endian platforms (armv5t+)
-EVBARM_BOARDS+= OPENRD SHEEVAPLUG
+EVBARM_BOARDS+= BEAGLEBOARD OPENRD SHEEVAPLUG TISDP2420
.endif
.if ${MACHINE_ARCH} == "armeb"
@@ -39,9 +36,16 @@
KERNEL_SETS+= IXM1200 HDL_G
.endif
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm" \
- || ${MACHINE_ARCH} == "earmhf"
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
KERNEL_SETS+= RPI
+RPI.kernel= ${KERNSRCDIR}/arch/evbarm/compile/RPI/kernel.img
+RPI.img= ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg/rpi.img
+snap_md_post:
+ TOOL_MAKEFS=${TOOL_MAKEFS} \
+ TOOL_DISKLABEL=${TOOL_DISKLABEL} \
+ TOOL_FDISK=${TOOL_FDISK} \
+ ${MKIMAGE} -x -h rpi -D ${DESTDIR} -K ${RPI.kernel} \
+ -S ${NETBSDSRCDIR} ${RPI.img}
.endif
.if ${MACHINE_ARCH} == "armeb"
@@ -53,3 +57,4 @@
INSTALLATION_DIRS+= binary/gzimg \
installation/instkernel
+
Home |
Main Index |
Thread Index |
Old Index