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:

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:

Open another terminal window to find out the process id:

And use the watch command to send USR1 at regular interval.

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 […]

Infineon Hexagon Application Kit (XMC4500 Enterprise Edition) Overview and Quick Start Guide

A few months ago, Infineon sent me XMC4500 Relax Lite Kit for review, and I wrote a short Getting Started Guide about this 10 Euros Cortex M4 devkit. This month, I’ve received another XMC4500 kit with more features and expansion abilities: XMC4500 Enterprise Edition which is one of their Hexagon Application Kit. I received two packages: CPU Board XMC4500 General Purpose (CPU_45A-V2) with accessories (55 Euros) – This is what you get when you order to Basic Kit. J-Link Lite Cortex-M Debugger (40 Euros) Let’s open the packages and see what’s inside. In the first package, we’ve got XMC4500 CPU board, a pin extension board that can be used on any of the 3 extension connectors of the CPU board to access the signals easily, and a microUSB to USB cable for power. The JLink debugger comes with a 10-pin ribbon cable, and a microUSB to USB cable to connect to the […]

ArmSoM CM5 Raspberry Pi CM4 alternative with Rockchip RK3576 SoC

$299 Microsemi SmartFusion2 Starter Kit (Cortex M3 + FPGA)

Microsemi SmartFusion2 SoC family combines an ARM Cortex-M3 Core @ 166 Mhz and FPGA Fabric with up to 12M Gates, and comes with up to 512 KB eNVM and 64 KB eSRAM, 1 CAN A & B interface, 1 GbE port, 1 USB 2.0 OTG, and diverse serial interface. Last year I received Emcraft SmartFusion Starter Kit using the first generation of the starter kit, and Microsemi (previously known as Actel) and Emcraft Systems have recently announced the second generation with the SmartFusion2 Starter Kit. The main hardware features include: SmartFusion2 SoC FPGA in FG896 package (M2S050T-FG896ES) with 256KB eNVM, 64KB SRAM,  and 48,672 logic modules. JTAG interface for programming of the SmartFusion2 device 10/100 Ethernet interface and RJ-45 connector USB OTG interface and mini-USB connector USB based Wi-Fi Module 64MB LPDDR, 16MB SPI flash User push-button connected to GPIO on the SOM Two user-controlled LEDs connected to GPIO on […]

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 […]

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 […]

Quake 3 Arena Demo Using Lima Driver is (Slightly) Faster than Mali-400 Binary Driver

As mentioned previously, Luc Verhaegen was to give a talk about the status of Lima driver (reverse-engineered Mali-200/400 GPU driver), as well as other GPU open source implementation, at FOSDEM 2013. This is now done, and part of the talk included a demo of Quake 3 Arena (q3a timedemo) running on tablet featuring AllWinner A10 SoC (Cortex A8 @ 1Ghz, Mali-400MP1 GPU @ 320 Mhz, and DDR3 memory @ 360MHz), and a 1024×600 LCD. The fact it works is already a great achievement in itself, but this demo runs at 47.2fps with Lima driver (limare), whereas it can be rendered at 46.2fps using the binary driver. In his blog, Luc also explains that apart from being 2% faster, it also uses 3% less cpu than the binary driver! Take that binary blobs! There’s still more work to do however, as this Quake 3 Arena port is not playable yet for 2 […]

Rockchip RK3568, RK3588 and Intel x86 SBCs and SoMs in 2025

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 […]

Atmel Introduces SAMA5D3 Cortex A5 Embedded MPUs and Evaluation Kits

Atmel has recently announced the Atmel SAMA5D3 series, a family of high performance, low-power microprocessor units (MPUs) based on ARM Cortex-A5 core. The SAMA5D3 series is designed for embedded applications in the industrial space, including factory and building automation, smart grid, medical and handheld terminals, as well as consumer applications such as smart watches, outdoor GPS, and DECT phones. SAMA5D3 family has the following characteristics: ARM Cortex-A5 core up to 536MHz (850DMIPS). Floating point unit (FPU) with up to 3 times the performance of Cortex A8 FPU. 166MHz bus speed delivering up to 1328MB/s bandwidth. Power consumption: <200mW in active mode at 536MHz with all peripherals activated 0.5mW in low-power mode with SRAM, registers retention and <0.5ms wake-up time ~1.2µA in backup mode with RTC running Connectivity: Dual Ethernet and dual CAN ports (Only one model has both) Gigabit Ethernet MAC with IEEE1588 and 10/100 MAC Two CAN controllers 3x […]

Boardcon EM3562 Rockchip RK3562 SBC with 8 analog camera inputs