r3802 - in trunk/src/target: kernel/scripts u-boot/scripts
werner at sita.openmoko.org
werner at sita.openmoko.org
Thu Jan 10 00:01:32 CET 2008
Author: werner
Date: 2008-01-10 00:01:25 +0100 (Thu, 10 Jan 2008)
New Revision: 3802
Modified:
trunk/src/target/kernel/scripts/build
trunk/src/target/kernel/scripts/update
trunk/src/target/u-boot/scripts/build
trunk/src/target/u-boot/scripts/update
Log:
Updated to latest u-boot upstream and OpenMoko SVN versions, and cleaned
up the "update" scripts a bit.
- u-boot/scripts/update, kernel/scripts/update: removed "don't use" header
- u-boot/scripts/build: updated GIT_HEAD and SVN_REV to latest version
(80adb2761627ec10eb8997bea6c1e52e34816c6b, 3801)
- u-boot/scripts/update, kernel/scripts/update: clarified which environment
variables "update" uses
- u-boot/scripts/update: oops, forgot to "git pull"
- kernel/scripts/build: updated SVN_REV to latest version (3801)
- kernel/scripts/update: also update defconfig
- kernel/scripts/update: clarified which environment variables "update" uses
Modified: trunk/src/target/kernel/scripts/build
===================================================================
--- trunk/src/target/kernel/scripts/build 2008-01-09 20:55:25 UTC (rev 3801)
+++ trunk/src/target/kernel/scripts/build 2008-01-09 23:01:25 UTC (rev 3802)
@@ -26,7 +26,7 @@
# UBOOT_DIR=/wherever/u-boot
#
# SVN_REV, if defined, specifies which SVN revision we use, e.g.,
-# SVN_REV=3770
+# SVN_REV=3801
#
# wget http://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KERNEL}.tar.bz2
Modified: trunk/src/target/kernel/scripts/update
===================================================================
--- trunk/src/target/kernel/scripts/update 2008-01-09 20:55:25 UTC (rev 3801)
+++ trunk/src/target/kernel/scripts/update 2008-01-09 23:01:25 UTC (rev 3802)
@@ -1,5 +1,3 @@
-UNDER DEVELOPMENT - DON'T USE YET
-
#!/bin/sh -e
#
# This script illustrates how to update the Linux kernel to either a specific
@@ -8,6 +6,7 @@
#
# See ../../u-boot/scripts/README for the toolchain and "build" for environment
# variables.
+# We use SVN, KERNEL, and SVN_REV.
#
cd linux-$KERNEL
@@ -19,7 +18,8 @@
#
quilt pop -a
-( cd patches && svn update -r${SVN_REV:-HEAD}; )
+defconfig=$SVN/trunk/src/target/kernel/config/defconfig-$KERNEL
+( cd patches && svn update -r${SVN_REV:-HEAD} . $defconfig; )
quilt push -a
make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- oldconfig
Modified: trunk/src/target/u-boot/scripts/build
===================================================================
--- trunk/src/target/u-boot/scripts/build 2008-01-09 20:55:25 UTC (rev 3801)
+++ trunk/src/target/u-boot/scripts/build 2008-01-09 23:01:25 UTC (rev 3802)
@@ -20,10 +20,10 @@
# DEVICE=gta02v4
#
# GIT_HEAD, if defined, specifies which git head we use, e.g.,
-# GIT_HEAD=5c740711f0ea5b51414b341b71597c4a0751be74
+# GIT_HEAD=80adb2761627ec10eb8997bea6c1e52e34816c6b
#
# SVN_REV, if defined, specifies which SVN revision we use, e.g.,
-# SVN_REV=3768
+# SVN_REV=3801
#
git clone git://www.denx.de/git/u-boot.git
Modified: trunk/src/target/u-boot/scripts/update
===================================================================
--- trunk/src/target/u-boot/scripts/update 2008-01-09 20:55:25 UTC (rev 3801)
+++ trunk/src/target/u-boot/scripts/update 2008-01-09 23:01:25 UTC (rev 3802)
@@ -1,5 +1,3 @@
-UNDER DEVELOPMENT - DON'T USE YET
-
#!/bin/sh -e
#
# This script illustrates how to update u-boot to either the latest or some
@@ -7,6 +5,7 @@
# for copy & paste, and as an example for individual scripts.
#
# See README for the toolchain and "build" for environment variables.
+# We use GIT_HEAD and SVN_REV (both are optional).
#
cd u-boot
@@ -18,6 +17,7 @@
#
quilt pop -a
+git pull
git reset --hard ${GIT_HEAD:-HEAD}
( cd patches && svn update -r${SVN_REV:-HEAD}; )
More information about the commitlog
mailing list