Booting Linux in Less Than 1 Second in AllWinner A10 Devices? Yes! You Can!

threewater, a Chinese developer, has just posted a very interesting demo on linux-sunxi mailing list showing a device based on AllWinner A10 boot linux within 0.85s, and if you add a Qt app, the total time is just about 1.2s. This appears to be a custom hardware (EM6000), but we do know it’s based on AllWinner A10, comes with 512 MB RAM, and 4GB NAND Flash. On the software side, the device runs kernel 3.4 from linux-sunxi, with a customized version of uboot, a squashfs rootfs, and a Qt 4.7.4 app showing a gauge. Both the rootfs (7MB) and the kernel (2MB) have been compressed with LZO. All that boots from NAND flash for optimal speed. The 1.2 second time includes kernel + rootfs + app time, and the total time is a bit longer, but this is still impressive. Here’s the boot log:

If you just boot to […]

How to Detect if an ARM ELF Binary is Hard-float (ARMHF) or Soft-float (ARMEL)

If some cases you may want to know if a library or binary built for the ARM architecture is using hard-float (armhf) or soft-float (armel). You can analyze ELF binary using readefl utility, so let’s have a try. First let’s install some armel and armhf files on a computer running Ubuntu by install gcc/g++ toolchain for armel and armhf:

We now have armhf and armel libraries installed in /usr/arm-linux-gnueabihf/lib and /usr/arm-linux-gnueabi/lib respectively. Let’s check the output of readelf filtered with “FP” string for libm.so.6 for armel:

and armhf:

Great, so there’s an extra line for armhf (Tag_ABI_VFP_args) that seems to confirm the library is hard-float. With readelf compiled from elftoolchain-0.6.1 (source code), the extra line will be a bit different: “Tag_ABI_VFP_args: AAPCS (VFP variant) AAPCS stands for ARM Architecture Procedure Call Standard. You can read more details on ARM website. There are also two other possible values […]

Design West Summit – 23-25 April 2013

Design West 2013, previously known as the Embedded Systems Confertence, will take place later this month, on 23-25 April to be exact, at San Jose McEnery Convention Center in San Jose, California, US. The event will be divided into 22 tracks dealing with software development, hardware design, operating systems, security and more: Android Certificate Program – Two-day hands-on embedded android workshop. Black Hat Summit – The Black Hat Embedded Security Summit will provide electronics professionals with essential information and tools, as well as a forum for the discussion and evaluation of the latest solutions for securing their embedded systems. Training courses will focus on topics such as Network Security, Incident Response, Web Application Security, and Exploit Development. Connectivity and Networking – The Connectivity and Networking track educates design engineers on wired and wireless communications, spanning need-to-know topics from essentials of USB device development to antenna and RF system design. Debugging […]

How-to Autostart a PC Automatically When Connecting it to the Mains Power

I’ve decided it would be good if I could just hide the computer under the table, as I never use the DVD writer, and I can access USB ports for removable storage or debug board via a USB hub on my table. The only problem is that I would have to go under the table to press the power button each time I want to power on the computer. Feasible, but not very convenient. Every morning, I connect a power strip to the mains supply for my computer, monitor, and related equipment, so it would be good if the computer could just start when I connect it. I found out there’s an option in the BIOS of my main board to do just that. Most other people seem to use that feature to be able to automatically restart their computer after a power failure so that they can access it […]

Preliminary Ubuntu 12.04 RootFS for GK802/HI802 mini PC

After releasing a pretty good Ubuntu 11.10 image with both VPU and GPU acceleration for Freescale i.MX6 based HDMI dongles last month, Jasbir (aka jas-hacks) has released an Ubuntu 12.04 image with GPU support thanks to the help of Octavio (Yocto Project contributor), and Wi-Fi support. It’s possible to select Unity 2D or Xubuntu desktop, and Chromium and Neverball, a 3D ball game, are part of the image. There’s still more work however, as VPU (Video Processing Unit) support is work in progress, Bluetooth does not work yet, and OpenGL ES test programs such as glmark2-es2 or es2gears do not work properly with Xubuntu, even though they do work fine with Unity 2D. Jasbir uploaded a video showing Neverball 3D game in GK802, and it works pretty good, although the framerate does not seem optimal for now. If you want to give this image a try, install GK802 Ubuntu 11.10 […]

Google Announces Blink, a Fork of WebKit Rendering Engine for Chromium

WebKit rendering engine has been used by Chromium since the start of the project, but Chromium uses a different multi-process architecture than other WebKit-based browsers, and this has made maintenance increasingly complex, and Google intends to investigate other performance improvement strategies. Those 2 reasons explain why the company has announced it would fork WebKit and start working on its own open source rendering engine called Blink. Google tells web developers that in the short term, Blink will bring little change to them, as most of the work will focus on architectural improvements as well as code cleanup with about 7,000 files, corresponding to 4.5 millions line of code, to be deleted. One of the main changes will be “out-of-process iframes“, where the rendering engine will start a sandbox process for each individual parts of the page in order to render it faster. This has been planned for a while, but […]

Undistract-me Sends An Alert For Time-Consuming Commands in Linux

In Linux, some commands executed in the terminal such as make, wget, dd may take a while, so usually you’d just let them run in the background, and do some other work, drink tea, go for nap… while they are running, and come to check from time to time if the command has completed. Sometimes I even forget I run a particular command, and realize it has completed a few hours ago… It’s possible to add some command at the end of your command line, but it can be cumbersome, and you may forget to do it. The best would be automatic alerts for commands that take a long time, and undistract-me just takes care of that by sending an alert for commands that take more than 10 seconds (by default). In Ubuntu 12.04 and 12.10, you can install undistract-me as follows:

Undistract-me is part of Ubuntu 13.04 or […]

Updated Review of Tronsmart Prometheus with Android 4.2 and XBMC

Earlier this month, a new firmware for Tronsmart Prometheus with Android 4.2 and XBMC with hardware acceleration has been released. Several users left divergent opinions about this firmware, so I’ve decided to give it a try, and write an updated review of Tronsmart Prometheus. I’ll focus on the new features and performance of Android 4.2, XBMC video testing, and see if some of the bugs I found in my earlier review have been fixed. Android 4.2 Features and Benchmarks The firmware file and instructions are available on Tronsmart website. The procedure is straight forward so I won’t repeat it here. During the first boot after the upgrade, you’ll be taken through a wizard to configure your device (e.g. Ethernet, WiFi,…). The first think you’ll notice is a slightly different Home Screen in Android 4.2. There are several small UI improvements / modifications, but the most interesting features for me in […]

Exit mobile version
Youyeetoo X1 x86 SBC