Beyond Debug Key Enables JTAG & UART Debugging, Supports OpenOCD

Beyond Semiconductor, a fabless semiconductor company based in Slovenia which develops their own 32-bit BA2x IP cores, has sent me one of their development tool, namely Beyond Debug Key supporting JTAG and UART interfaces either with BeyondStudio for the company’s BA2x processor, or the open source suite OpenOCD for other processors. Since I don’t have any Beyond Semi boards, I instead configured it, and quickly tried it with Atmel SAMA5D3 Xplained ARM Cortex A5 development board, and OpenOCD (Open On-Chip Debugger). The debug tool comes in the package above describing the key features of the kit: Performance Transfer rate in excess of 600 kB/s 30 MHz maximum JTAG clock Less than 20 μW power draw from target board Compatibility Fully compatible with Beyond BA2x processor family Access any 8-bit, 16-bit, 32-bit or 64-bit processors via JTAG Works with all JTAG compliant devices Software Support OpenOCD for access to a range […]

Getting Started with WRTnode OpenWRT Development Board

Seeed Studio sent me two nice little boards that can be used for IoT development: WRTNode and LinkIt ONE. Today, I’ll show pictures of WRTNode and accessories, and go through the “starting guide“, and will test LinkIt ONE board a few days later. WRTnode Unboxing I’ve received WRTnode by Fedex, and the board is stored in a plastic box. Inside the box, you’ll find the board, a “special” USB used to power the board and as an OTG adapter, a piece of paper with useful links (Wiki), and some WRTnode stickers. Any micro USB to USB cable can be used to power the board, but this cable is useless to connect USB devices such as flash drives, webcams (OpenCV is supported), Bluetooth dongles, and so on. You could even connect a USB hub to connect multiple USB devices as shown below. I’ve also taken a picture of both sides of […]

Creating and Flashing an Android Image from Rockchip RK3288 SDK

Following up on my post explaining how to build Android for RK3288 TV box, I’ve generated a firmware image, and flashed it to Tronsmart Orion R28 Meta TV box to see if it could boot properly. There’s basically no information in the Andoird SDK explaining how to do basic things like building from source, and generating and flashing the resulting image, so I’d like to thanks Linuxium, Droidmote and Naobsd for their various tips. Since I’ve built everything from source, I’m using a Linux machine, but you should be able to create and flash the Android image in Windows using tools in RKTools/windows folder. First let’s copy the required, and freshly built, files to create the firmware:

We’ll also need to edit package-file follows (I only had to change the bootloader field):

And now create the firmware file:

The firmware file update.img can be flashed with upgrade_tool […]

How to Build Android 4.4 for Rockchip RK3288 Devices (Tronsmart Orion R28)

After blowing up my ATX power supply, and learning such things as “FULL” power supplies do exists, I finally managed to build Android for Tronsmart Orion R28 using the provided SDK. I haven’t tried to load it on the device yet, but the build could complete successfully after following the steps below in Ubuntu 14.04. The SDK is probably not specific to one device, so it might just also work on other RK3288 TV boxes and tablets. First download Android 4.4 SDK for RK3288, or use the one in the micro SD card provided with the Beta version of R28 Pro and Meta. Install some dependencies:

Extract the SDK:

And build the kernel first: Enter the kernel directory:

Change arch/arm/boot/dts/Makefile to use RK3288 device tree file instead of an RK3188 (may not be needed, but the build failed for me without that change…):

It’s also quite […]

Rockchip RK3288 Android 4.4.2 SDK and Schematics Released for Firefly Board

Firefly-RK3288 development board was first announced in July. I still don’t have news about availability nor pricing, but the T-Firefly website launched yesterday. They seem do have a nice Wiki, but unfortunately everything is currently in Chinese, except when you go to the download page. You’ll find firmware upgrade_tool for Linux and Windows, the USB drivers for rooting and firmware update, firmware images (Android 4.4.2, Ubuntu 14.04, and dual boot), the board schematics (PDF), and Android KitKat 4.4.2 SDK with U-Boot, Linux, and Android source code, some documentation, XBMC apk (no source) with H.265 hardware decode support for MP4, MOV and MKV container formats. The SDK is available on Bitbucket. I planned to test it, but unfortunately my network connection is very slow (and unstable) to this server, and I failed to retrieve it with git clone. The company also posted the build instructions in Chinese in their website, but […]

How to Build and Run Android L 64-bit ARM in QEMU

[Nov, 2014 Update: The method below does not seem to work anymore, but a 64-bit ARM emulator “emulator64-arm64” has now landed in AOSP, and updated instructions are available here]. Most people can’t afford Juno Cortex A57/A53 development board, and mobile processors based on the latest 64-bit ARM cores are only expected by early 2015. But thanks to a small team at Linaro, you can now build and run Android L 64-bit ARM in the latest version of QEMU that supports Aarch64. Alex Bennée, an engineer working for Linaro, wrote a blog post in Linaro’s Core Dump blog explaining the Android emulator is actually based on QEMU,  the differences compared to mainline QEMU, the work they’ve done on Android L at Linaro, and most importantly, provided the basic steps showing how to build and try Android L 64-bit ARM (ARMv8) in QEMU. I’ve just done that, but unfortunately, albeit the builds […]

How to Upgrade Firmware in Rockchip RK3288, RK3328, RK3399 Android TV Boxes

For some reasons, Rockchip is extremely fond of Windows based firmware tools, and instead of providing a simple SD card method, they’ve continued to use these awful tools to upgrade firmware for Rockchip RK3288, RK3328, RK3399 devices, and other Rockchip based TV boxes. I don’t mean to say these are useless, but they should not be used by end users, unless their device is bricked. Nevertheless, Rockchip has now release version 2.3 of their Android tools for Windows, and GeekBuying has published a guide showing how to do, which I’ll summarize below. Rockchip has also released an updated version for the Linux Upgrade Tool (upgrade_tool) v1.24 that allows you to do the update in Linux. [Update: The latest versions of DriverAssistant (Step 1) and AndroidTool (Step 2) can be found in Rockchip-Linux account in Github] The first thing to do is to make sure you’ve got the latest Rockchip USB […]

DIY Power Measurement Board

When I review media player or development boards, I’m often asked about power consumption figures. One way to measure power consumption is to use a Kill-a-Watt, but for low power devices it’s not always accurate enough, and it also includes the heat dissipation from the power adapter, which may or may not be useful depending on what you want to measure. For USB powered devices or boards, an easy way to measure power consumption is to use CHARGER Doctor, a small $5 USB dongle that displays both voltage and current alternatively. Unfortunately, most products I’ve received lately use barrel type connectors, so this little tool has not been as useful as I hoped. The only solution is then to measure voltage and current with a multimeter. Voltage is measured in parallel, so you just need to point the multimeter’s leads where you want to perform the measurements. However, the current […]