Since I was in urgent need for a 5V/3A power adapter, I decided to go shopping locally (in Chiang Mai, Thailand) at some computer shopping malls, where they also have some spare parts. We spent about 1h30 visiting around 10 shops with no success: most of them did not have 5V power supply for sale, and those who did, could only provide 5V/2A power adapters. Finally, one guy at a shop was very helpful, and tried to help us without success, but finally he said you should go to “Amorn“, and after driving a few kilometers we got there. When I entered the shop I started to see some pretty interesting equipments: multi-meters, full sized oscilloscopes from 11,000 Bath (~370 USD), electronics cards for appliances (ventilators washing machine, car audio, amplifiers…), soldering irons, ribbon cables, components (capacitors, but no resistors), and much more. It turns out “Amorn Electronics Center” has […]
linaro-android-tools Scripts Upgrade Android Kernel & Initrd via ADB
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. Usage:
1 2 3 4 5 6 |
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 directory into the /system/modules directory of the specified android device |
For example:
1 |
./update-android.sh out/target/product/pandaboard/boot.tar.bz2 |
update-uInitrd.sh – To update files in the initrd Usage:
1 2 3 4 5 |
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 |
For example:
1 |
./update-uInitrd.sh /tmp/init.rc |
Those 2 scripts are available in Linaro git repository:
1 |
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 Aufranc (CNXSoft)Jean-Luc started CNX Software […]
BoFs: Developer Tools and Methods: Tips & Tricks – ELCE 2012
Tim Bird, senior staff software engineer at Sony Network Entertainment, hosts a BoF session about tools & methods for embedded Linux developers at ELCE 2012. Abstract: In this Birds-of-a-Feather-session, Tim will share some of his favorite tips for developing embedded Linux software. This will include tips for using ‘git’, how he does multi-platform development, and tips for other tools that other developers might find useful. Prior to the event, Tim will do a survey and solicit ideas from other developers as well. Please come to this BoF prepared to share your own productivity tips for embedded Linux development. Tim talks is divided into the following key points: Git tips – How to finds info about commits (git log, git show), use aliases (e.g. for colored output), find a commit that caused problem (git bisect), and more Patch management – quilt patch managing tool, diffinfo, and splitpatch (to break patches apart) […]