aboutsummaryrefslogtreecommitdiffstats
path: root/bin/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'bin/kernel')
-rwxr-xr-xbin/kernel/dump_imagebin0 -> 64012 bytes
-rwxr-xr-xbin/kernel/mkbootimgbin0 -> 59832 bytes
-rw-r--r--bin/kernel/mkbootimg.sh8
-rwxr-xr-xbin/kernel/unpackbootimgbin0 -> 54696 bytes
4 files changed, 8 insertions, 0 deletions
diff --git a/bin/kernel/dump_image b/bin/kernel/dump_image
new file mode 100755
index 0000000..75e6da0
--- /dev/null
+++ b/bin/kernel/dump_image
Binary files differ
diff --git a/bin/kernel/mkbootimg b/bin/kernel/mkbootimg
new file mode 100755
index 0000000..9635257
--- /dev/null
+++ b/bin/kernel/mkbootimg
Binary files differ
diff --git a/bin/kernel/mkbootimg.sh b/bin/kernel/mkbootimg.sh
new file mode 100644
index 0000000..0649b08
--- /dev/null
+++ b/bin/kernel/mkbootimg.sh
@@ -0,0 +1,8 @@
+#!/sbin/sh
+echo \#!/sbin/sh > /tmp/createnewboot.sh
+PAGESIZE_HEX=`cat /tmp/boot.img-pagesize`
+PAGESIZE_DEC=`printf "%d" 0x$PAGESIZE_HEX`
+echo /tmp/mkbootimg --kernel /tmp/zImage --ramdisk /tmp/boot.img-ramdisk.gz --cmdline \"$(cat /tmp/boot.img-cmdline)\" --base $(cat /tmp/boot.img-base) --pagesize $PAGESIZE_DEC --output /tmp/newboot.img >> /tmp/createnewboot.sh
+chmod 777 /tmp/createnewboot.sh
+/tmp/createnewboot.sh
+return $?
diff --git a/bin/kernel/unpackbootimg b/bin/kernel/unpackbootimg
new file mode 100755
index 0000000..9ca6a81
--- /dev/null
+++ b/bin/kernel/unpackbootimg
Binary files differ