As I previously wrote, FOSDEM organizers are slowly uploading FOSDEM 2013 videos. One of the most interesting talk “Open ARM GPU Drivers” is now available. I’ve also uploaded it to YouTube (embedded below) to give it more exposure. Luc Verhaegen has also written a recent blog post entitled “Hey ARM!” where he announces the release of the modified source for Quake 3 Arena demo, and asks ARM to join them in making an open source driver. Open ARM GPU Drivers @ FOSDEM2013 This session covers the following key points: Problem – Binary drivers are mainly designed to run in Android, and it’s very difficult to have proper GPU drivers for Linux, and companies are not interested to release open source drivers or even just documentation, as they are not convinced it will benefit them in any way. Legal – This is actually the main issue, as open sourcing existing driver […]
How to Display dd Progress and dd.sh Script
Upgrading software on Linux / Android boards or devices often involves copying images to an SD card or microSD. In Linux, you’d usually do that with dd, a utility that provides binary copy of data to files or block devices. A typical command would be:
1 |
sudo dd if=new_firmware.bin of=/dev/sdc |
However, during the copy, dd does not show a progress bar by default. But dd actually supports progress report, as indicated in the manpage: you can run dd, and send USR1 signal to display the current progress once, and resume copying. Linux commando explains how to continuously return the progress. First run the dd command:
1 |
sudo dd if=/dev/random of=/dev/null bs=1K count=100 |
Open another terminal window to find out the process id:
1 2 |
pgrep -l '^dd$' 10152 dd |
And use the watch command to send USR1 at regular interval.
1 |
watch -n 10 sudo kill -USR1 10152 |
You should see dd progress in the first window every 10 seconds. It works, but the output is not very nice because dd will just […]
Tronsmart Prometheus Review
Now is the time to review another device sent to me by Geekbuying. Tronsmart Promotheus is an Android 4.1 Android set-top box powered by AMLogic AML8726-MX (aka AML8726-M6) with 1GB RAM and 4GB Flash, 3 USB ports, as well as Wi-Fi and Ethernet for connectivity. This device, which looks like a spaceship (my wife said it looks like a buffalo), has the potential to run XBMC with full hardware acceleration in Android and/or Linux. Tronsmart Prometheus Unboxing I’ve received the box in the package below. Apart from Promotheus media player, the package contains a 12V/1A power supply, an HDMI cable, an AV cable and a user manual in English that appears to be useful for once. It explains how to connect to device to the TV, to the networks, and to the power, how to do firmware upgrade, and how to troubleshoot it. It is presented in a way that […]
Headless Connected Oscilloscope based on Cubieboard or Beaglebone
Warsaw ELHEP (Electronics for High Eenergy Physics Experiments) Group is currently working on MMS (Mobile Measurement System) Project. This project features what I would call a “headless connected oscilloscope”, which can be detected on the network via SSDP, send the data via Websocket, and display it on iOS, Android, or Windows Phone devices. This oscilloscope does not feature any screen, and receives/transmits data via Ethernet, Wi-Fi, or Bluetooth. The original hardware is based on three main boards: CTI-VMAX – ARM9 with Wi-Fi, Bluetooth, and Ethernet connectivity. ARM SCOPE v1.0.1 with 8 channel ADC. ARM SCOPE v1.0.2 with 4 high speed ADC (100MSPS). The ELHEP researchers have been looking at replacing CTI-VMAX with low cost boards, and after considering several options, they chose to design two versions of their oscilloscope: one based on Cubieboard, and the other on the Beaglebone. So they designed expansions boards for the Cubieboard and Beaglebone in […]
Review of Measy U2C Rockchip RK3066 Mini PC With Built-in Camera
I’ve received 2 new devices to play with this week, as Geekbuying sent me Tronsmart Promotheus set-top box and Measy U2C, a mini PC with a webcam, so that I can test and review them. Today, I’ll leave the “Spaceship” set-top box parked in another galaxy, and I will review Measy U2C mini PC. This HDMI dongle is powered by Rockchip RK3066, runs Android 4.1.1, and comes with 1 GB RAM, 8GB Flash, Wi-Fi & Bluetooth connectivity, and a built-in 2MP Webcam. For complete specs, you can check my post about B12 mini PC since this device uses the same board internally. Geekbuying sells this all-in-one mini PC for $74.99 including shipping. As usual, I’ll post some unboxing pictures, and then review the device, this time, with a section dedicated to the webcam, since this is the key selling point of this mini PC. Measy U2C Unboxing Measy U2C comes […]
U-boot, Linux Kernel, and Android Patches for Freescale i.MX6 HDMI TV Dongles
We can now get some quad core Android mini PCs (e.g. Hi802, GK802) featuring Freescale i.MX6Q processor, Freescale has released full documentation and source code its development platforms, Hi802 / GK802 HDMI TV dongles are easily hackable, and there’s even an Ubuntu image for the devices. So it looks pretty good ,right? Well almost.. there are some patches and config for GK802 that have not been released by Richtechie, so we can’t modify the bootloader and Linux kernel. But this may change, as ARMTvTech forum user hste noticed some Freescale i.MX6 HDMI dongle patches om IMX Community website. Even though I’m not sure those are fully compatible with Hi802 / GK802, this could be a starting point. Today, I’ll provide the instructions to build u-boot, the linux kernel and Android ICS with those patches in a machine running Linux 12.04 64-bit. Patch Sets Descriptions There are two set of patches that […]
Linaro 13.01 Release with Linux Kernel 3.8 and Android 4.2.1
Linaro has just announced release 13.01 which includes Linux Kernel 3.8-rc4 and Android 4.2.1. A lot of work seems to have gone in Arndale board and OpenEmbedded ARMv8. It’s the first time an Ubuntu image is released for Arndale Cortex A15 development board. One the kernel side some Android upstreaming work has been done, as well as some fixes for eMMC, and code for ST Ericsson Novathor 8500 SoC has been reorganized. Version 14 of the big.LITTLE MP (Multi Processing) has been released. The LEG has done further work on Linaro UEFI and GRUB. Here are the highlights of this release: Android Platform Work The first step of the android-build front-end update for new build program has been landed. Origen and Versatile Express manifests have been consolidated into a single manifest. linaro-android-tools were developed to improve development time for kernel developers. See Kernel Update Tools for details. The android-build scripts […]
How to Access the Serial Console in MK808 mini PC
Omegamoon has done a pretty neat hack on MK808 Rockchip RK3066 mini PC to connect a Sparkfun USB to TLL board and access the serial console for bootloader and kernel debugging. The first thing he had to do was to open the device, remove the heatsink, and locate the Rx/Tx pads on the board. The Rx and Tx pins are accessible through pads, not via through holes, so it’s just a little more difficult to solder, but nothing too challenging. He and his brother also soldered another cable to the ground. Then they inserted a 6-pin header via the ventilation holes of the device, soldered the 3 wires to the header, and fix the latter to the casing. Finally, they just inserted the debug board in the pin header, connected the USB cable to their PC, and started minicom (or equivalent) to start accessing the serial console. I think that […]