diff options
Diffstat (limited to 'bin/kernel')
-rwxr-xr-x | bin/kernel/dump_image | bin | 0 -> 64012 bytes | |||
-rwxr-xr-x | bin/kernel/mkbootimg | bin | 0 -> 59832 bytes | |||
-rw-r--r-- | bin/kernel/mkbootimg.sh | 8 | ||||
-rwxr-xr-x | bin/kernel/unpackbootimg | bin | 0 -> 54696 bytes |
4 files changed, 8 insertions, 0 deletions
diff --git a/bin/kernel/dump_image b/bin/kernel/dump_image Binary files differnew file mode 100755 index 0000000..75e6da0 --- /dev/null +++ b/bin/kernel/dump_image diff --git a/bin/kernel/mkbootimg b/bin/kernel/mkbootimg Binary files differnew file mode 100755 index 0000000..9635257 --- /dev/null +++ b/bin/kernel/mkbootimg 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 Binary files differnew file mode 100755 index 0000000..9ca6a81 --- /dev/null +++ b/bin/kernel/unpackbootimg |