summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1075-local-build-scripts.patch.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
committerMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
commit614683faf8029100802db06a825648d0b6490285 (patch)
tree7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.24/1075-local-build-scripts.patch.patch
parent4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff)
downloadmaster-31e0f0ae-614683faf8029100802db06a825648d0b6490285.tar.gz
master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.tar.bz2
master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.zip
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1075-local-build-scripts.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1075-local-build-scripts.patch.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1075-local-build-scripts.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1075-local-build-scripts.patch.patch
new file mode 100644
index 0000000000..02801d4887
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1075-local-build-scripts.patch.patch
@@ -0,0 +1,53 @@
+From 3801eb47f3ce58d2f8b64089ab01d85edf19f441 Mon Sep 17 00:00:00 2001
+From: warmcat <andy@warmcat.com>
+Date: Sun, 13 Apr 2008 07:25:44 +0100
+Subject: [PATCH] local-build-scripts.patch
+
+Add a couple of handy scripts to crossmake and send over dfu
+
+From: warmcat <andy@warmcat.com>
+---
+ build | 14 ++++++++++++++
+ dfu-kern | 9 +++++++++
+ 2 files changed, 23 insertions(+), 0 deletions(-)
+ create mode 100755 build
+ create mode 100755 dfu-kern
+
+diff --git a/build b/build
+new file mode 100755
+index 0000000..7e61ea2
+--- /dev/null
++++ b/build
+@@ -0,0 +1,14 @@
++#!/bin/sh
++
++set -x
++
++export CROSS_COMPILE=../../cross/bin/arm-angstrom-linux-gnueabi-
++make ARCH=arm silentoldconfig
++if make -j5 ARCH=arm; then
++ ${CROSS_COMPILE}objcopy -O binary -R .note -R .comment -S arch/arm/boot/compressed/vmlinux linux.bin
++ mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "OpenMoko Kernel Image Neo1973(GTA02)" -d linux.bin uImage.bin
++ exit 0
++else
++ exit 1
++fi
++
+diff --git a/dfu-kern b/dfu-kern
+new file mode 100755
+index 0000000..990abdd
+--- /dev/null
++++ b/dfu-kern
+@@ -0,0 +1,9 @@
++#!/bin/bash
++../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5119 -D uImage.bin
++if [ $? -eq 1 ] ; then
++../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5120 -D uImage.bin
++../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5119 -D uImage.bin
++
++fi
++
++
+--
+1.5.6.5
+