changed Makefile and profiles, added patches for kernel 2.6.24
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1075-local-build-scripts.patch.patch
1 From 3801eb47f3ce58d2f8b64089ab01d85edf19f441 Mon Sep 17 00:00:00 2001
2 From: warmcat <andy@warmcat.com>
3 Date: Sun, 13 Apr 2008 07:25:44 +0100
4 Subject: [PATCH] local-build-scripts.patch
5
6 Add a couple of handy scripts to crossmake and send over dfu
7
8 From: warmcat <andy@warmcat.com>
9 ---
10 build | 14 ++++++++++++++
11 dfu-kern | 9 +++++++++
12 2 files changed, 23 insertions(+), 0 deletions(-)
13 create mode 100755 build
14 create mode 100755 dfu-kern
15
16 diff --git a/build b/build
17 new file mode 100755
18 index 0000000..7e61ea2
19 --- /dev/null
20 +++ b/build
21 @@ -0,0 +1,14 @@
22 +#!/bin/sh
23 +
24 +set -x
25 +
26 +export CROSS_COMPILE=../../cross/bin/arm-angstrom-linux-gnueabi-
27 +make ARCH=arm silentoldconfig
28 +if make -j5 ARCH=arm; then
29 + ${CROSS_COMPILE}objcopy -O binary -R .note -R .comment -S arch/arm/boot/compressed/vmlinux linux.bin
30 + mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "OpenMoko Kernel Image Neo1973(GTA02)" -d linux.bin uImage.bin
31 + exit 0
32 +else
33 + exit 1
34 +fi
35 +
36 diff --git a/dfu-kern b/dfu-kern
37 new file mode 100755
38 index 0000000..990abdd
39 --- /dev/null
40 +++ b/dfu-kern
41 @@ -0,0 +1,9 @@
42 +#!/bin/bash
43 +../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5119 -D uImage.bin
44 +if [ $? -eq 1 ] ; then
45 +../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5120 -D uImage.bin
46 +../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5119 -D uImage.bin
47 +
48 +fi
49 +
50 +
51 --
52 1.5.6.5
53
This page took 0.050848 seconds and 5 git commands to generate.