Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/conf keep beagleboard conf in sync wi...
details: https://anonhg.NetBSD.org/src/rev/70f165a4bb00
branches: trunk
changeset: 784774:70f165a4bb00
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Feb 09 11:19:55 2013 +0000
description:
keep beagleboard conf in sync with rpi
diffstat:
distrib/utils/embedded/conf/beagleboard.conf | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r 0a9f181cdb8c -r 70f165a4bb00 distrib/utils/embedded/conf/beagleboard.conf
--- a/distrib/utils/embedded/conf/beagleboard.conf Sat Feb 09 11:15:14 2013 +0000
+++ b/distrib/utils/embedded/conf/beagleboard.conf Sat Feb 09 11:19:55 2013 +0000
@@ -1,15 +1,18 @@
-# $NetBSD: beagleboard.conf,v 1.5 2013/02/03 09:16:25 christos Exp $
+# $NetBSD: beagleboard.conf,v 1.6 2013/02/09 11:19:55 jmcneill Exp $
# BeagleBoard customization script used by mkimage
#
board=beagleboard
-kernelconf=BEAGLEBOARD
-kerneldir=$src/sys/arch/evbarm/compile/obj/${kernelconf}
+kernel="$src/sys/arch/evbarm/compile/obj/BEAGLEBOARD/netbsd.ub"
. ${DIR}/conf/evbarm.conf
kernelimg=netbsd.ub
loadaddr=81000000
+make_filesystems() {
+ make_filesystems_evbarm
+}
+
make_label() {
make_label_evbarm
}
@@ -23,11 +26,17 @@
cat >> ${mnt}/etc/rc.conf << EOF
mdnsd=YES
EOF
+}
+
+populate() {
cat > ${mnt}/boot/uEnv.txt << EOF
loaduimage=fatload mmc 0 ${loadaddr} ${kernelimg}; bootm ${loadaddr} root=ld0a
EOF
-}
+ if [ ! -f "${kernel}" ]; then
+ echo ${PROG}: Missing ${kernel} 1>&1
+ exit 1
+ fi
-cleanup() {
- cleanup_evbarm
+ echo "${bar} installing kernel ${bar}"
+ cp "${kernel}" "${mnt}/boot"
}
Home |
Main Index |
Thread Index |
Old Index