Usage of the scripts for updating kernel file of android online

Precondition

Git URL

http://android.git.linaro.org/gitweb?p=platform/external/linaro-android-tools.git;a=summary

git clone http://android.git.linaro.org/git-ro/platform/external/linaro-android-tools.git

Usage of update-android.sh

Usage of update-uInitrd.sh

Used for updating the file in uInitrd of the kernel. Like update the init.rc file

Get Usage from Command Line

$ ./update-android.sh -h
Usage:
update-android.sh [--serial|-s serial] [--partition|-p boot-partition] <boot.tar.bz2|uImage|board.dtb|...>
        Update the kernel files in the boot partition of the specified
        android device with the specified boot.tar.bz2 file

update-android.sh [--serial|-s serial] kernel-source-directory
        Push all the module files in the specified kernel dirctory
        into the /system/modules dirctory of the specified android device

update-android.sh --help|-h
        Print out this help information
$

$ ./update-uInitrd.sh -h
Usage:
update-uInitrd.sh [--serial|-s <serial>] [--partition|-p <boot-partition>] [--target|-t <target-file>] <source-file>
        Update the target file in uInitrd of the specified device
        with the specified source file
        When the target file is not specified, will update the file in
        the root directory that has the same file name of the source file

update-uInitrd.sh --help|-h
        Print out this help information
$

Description of Command Line Options

Platform/Android/KernelUpdateTools (last modified 2013-08-29 08:01:40)