summaryrefslogtreecommitdiffstats
path: root/target/linux/rb1xx-2.6/image/gen_image.sh
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-17 22:16:28 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-17 22:16:28 +0000
commit11aecf7bfdb789eab2a5e5a36a3172a250158501 (patch)
tree981a17cf8a33a4f9088c64dfa14f42a6e9c7f748 /target/linux/rb1xx-2.6/image/gen_image.sh
parent54a10cd62697ff67ad261902837907da6aa49b37 (diff)
Remove this target since rb-2.6 will build both rb532 and adm5120 later on
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6992 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb1xx-2.6/image/gen_image.sh')
-rwxr-xr-xtarget/linux/rb1xx-2.6/image/gen_image.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/rb1xx-2.6/image/gen_image.sh b/target/linux/rb1xx-2.6/image/gen_image.sh
deleted file mode 100755
index e81285979..000000000
--- a/target/linux/rb1xx-2.6/image/gen_image.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-OUTPUT="$1"
-KERNELSIZE="$2"
-KERNELIMAGE="$3"
-ROOTFSSIZE="$4"
-ROOTFSIMAGE="$5"
-
-rm -f "$OUTPUT"
-
-# create partition table
-set `ptgen -o "$OUTPUT" -h 16 -s 32 -t 0x27 -p ${KERNELSIZE}m -t 0x83 -p ${ROOTFSSIZE}m`
-
-KERNELOFFSET="$(($1 / 512))"
-ROOTFSOFFSET="$(($2 / 512))"
-
-dd if="$KERNELIMAGE" of="$OUTPUT" bs=512 conv=notrunc seek="$KERNELOFFSET"
-dd if="$ROOTFSIMAGE" of="$OUTPUT" bs=512 conv=notrunc seek="$ROOTFSOFFSET"