With Linaro 13.01 release, Linaro announced linaro-android-tools (aka Kernel Update Tools), a set of tools to improve development time for kernel developers. Today, they published a blog post explaining those scripts allow developers to update the kernel without having to take out the SD card from their development board, and instead update the firmware via ADB with a PC connected via the network or USB.
Currently there are 2 shell scripts:
- update-android.sh – To update kernel files in boot partition such as boot.tar.bz2, single files (e.g. uImage) or kernel modules.
123456update-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 specifiedandroid device with the specified boot.tar.bz2 fileupdate-android.sh [--serial|-s serial] kernel-source-directoryPush all the module files in the specified kernel directoryinto the /system/modules directory of the specified android device
- update-uInitrd.sh – To update files in the initrd
12345update-uInitrd.sh [--serial|-s <serial>] [--partition|-p <boot-partition>] [--target|-t <target-file>] <source-file>Update the target file in uInitrd of the specified devicewith the specified source fileWhen the target file is not specified, will update the file inthe root directory that has the same file name of the source file
Those 2 scripts are available in Linaro git repository:
git clone http://android.git.linaro.org/git-ro/platform/external/linaro-android-tools.git
Currently the scripts only support Pandaboard, Origen, Versatile Express, and Versatile Express A9 boards,but they could be easily modified to support other boards supporting linaro packages.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
|Support CNX Software - Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples|