aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm8668/image/my-mkimage
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-03-25 15:17:43 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-05-03 21:27:12 +0200
commitc35425f4182e90601fa2c2f38b21a54eb49793ad (patch)
tree0b27ba38f5a04ff07e6dedf1b848c953f148e0fd /target/linux/adm8668/image/my-mkimage
parent2d0a2ff1e0c386bcb3b1ae0a0924624e8cb20b37 (diff)
downloadupstream-c35425f4182e90601fa2c2f38b21a54eb49793ad.tar.gz
upstream-c35425f4182e90601fa2c2f38b21a54eb49793ad.tar.bz2
upstream-c35425f4182e90601fa2c2f38b21a54eb49793ad.zip
adm8668: Remove unmaintained target
This target only supports kernel 3.18, which is not supported in OpenWrt any more for multiple releases. It also looks like there is no active maintainer for this target. Remove the code and all the packages which are only used by this target. To add this target to OpenWrt again port it to a recent and supported kernel version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/adm8668/image/my-mkimage')
-rwxr-xr-xtarget/linux/adm8668/image/my-mkimage32
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/adm8668/image/my-mkimage b/target/linux/adm8668/image/my-mkimage
deleted file mode 100755
index 7ed6666e79..0000000000
--- a/target/linux/adm8668/image/my-mkimage
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-# my-mkimage
-# This will pad given files to 64k boundaries to make a single u-boot image.
-# we have to be fancy because u-boot mkimage is going to add 64 byte header, ...
-# and i only know basic arithmetic.. ;)
-#
-# Copyright (C) 2010 Scott Nicholas <neutronscott@scottn.us>
-[ $# -lt 2 ] && {
- echo usage: $0 loader.bin [rootfs.squashfs [fs_mark [...]]] output.bin
-}
-
-OLDSIZE=$(stat -c%s $1)
-NEWSIZE=$(((OLDSIZE / 65536 + 1) * 65536 - 64))
-
-dd if=$1 of=vmlinuz.tmp bs=$NEWSIZE conv=sync >/dev/null 2>&1
-shift
-appends=$(($# - 1))
-echo
-while [ $appends -gt 0 ]; do
- dd if=$1 of=temp bs=64k conv=sync >/dev/null 2>&1
- printf "### '%s' starts at 0x%x\n" "`basename $1`" "$((NEWSIZE+64))"
- cat temp >>vmlinuz.tmp
- shift
- appends=$((appends-1))
- NEWSIZE=$(stat -c%s vmlinuz.tmp)
-done
-echo
-../../../../staging_dir/host/bin/mkimage -A mips -O linux -T kernel \
--C none -a 0x80400000 -e 0x80400000 -n "ADM8668 Linux Kernel(2.4.31)" \
--d vmlinuz.tmp $1
-
-rm temp vmlinuz.tmp