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

Lernstift – Linux Based Learning Digital Pen

Lernstift UG, a German startup, is working on a digital pen, called Lernstift as well, that can help children learning how to write by vibrating in case of errors. The Lernstift can be used in 2 modes: Calligraphy Mode – Pointing out flaws of form and legibility. Orthography Mode – Detecting orthographic (1 vibration) and grammatical (2 vibration) mistakes. Since it features a ballpoint, it can be used as a real pen, you know to write on paper…, but you can also write in the air, so I suppose they’ll also make a version without ballpoint, so that kids can enjoy one of their favorite pastimes: writing on the walls! The pen features a CPU module (2) that’s used to handle handwriting recognition, gather data from the motion (1) and pressure (3) sensors, and manage the Wi-Fi module (4). A battery, a power switch, and a pen refill complete Lernstift […]

ArmSoM CM5 Raspberry Pi CM4 alternative with Rockchip RK3576 SoC

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

Linaro Connect Asia 2013 Sessions and Mini-Summits

Linaro Connect Asia 2013 (LCA13) will take place in Hong Kong again this year, on March 4 – 8, 2013 at the Gold Coast Hotel. Linaro recently published the event schedule, with sessions focused on kernel, power management, toolchain, graphics and multimedia, platform, validation, and QA tracks, as well as 2 mini-summits: Linaro Enterprise Group (LEG) which will discuss about ARM server, and an as-yet-unannounced group (Linaro Networking Group?) within Linaro. There will also be hacking sessions each day (except on “Demo Friday”) where you can certainly expect to learn many useful skills/tips. I’ve selected 2 sessions or keynotes per day that I think could be especially interesting. Some of the sessions don’t have description yet, so even if they might seem interesting I’ve usually skipped those. Monday 12:00 – 13:00 – Low Level Virtual Machine (LLVM) Update The Toolchain Working Group started working on LLVM in January 2013.  Come […]

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

Rockchip RK3568, RK3588 and Intel x86 SBCs abd SoMs

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

Linux Conference Australia and FOSDEM 2013 Videos are Now Online

FOSDEM 2013 took place last week, and the organizers are in the process of uploading videos. Up to now, 5 main tracks sessions have been uploaded (Firefox OS;  Free, open, secure and convenient communications; FreedomBox 1.0;  Samba 4; and systemd, Two Years Later) as well as over 20 lightning talks. You can find the videos at http://video.fosdem.org/2013. You may also want to check my previous post for a lists of interesting talks, and I’ll probably feature some FOSDEM 2013 videos in this blog, at least the open source GPU driver talk. Linux Conference Australia took place on January 28 – February 1, 2013, and the 5-day conference featured lots of talks including several dealing with graphics in Linux, and one developer apparently trashing X in terms of complexity and performance, and explaining how Wayland was better. Others Linux sessions dealt with subject such as 3D printing, supercomputing, Arduino, big.LITTLE processing, […]

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...