The Beagleboard community officially announced the BeagleBone Black and its $45 price tag on the 22nd of April. Many blogs and news sites touted it as a Raspberry Pi killer, and R-Pi vs BBB fanboys fights ensued, and many articles with incorrect information or heavily biased were published. There’s however one decent BeagleBone Black vs Raspberry Pi comparison from a robotic point of view, so I’ll build from there with some corrections and additions. I’ll compare both the features and the price differential between the Raspberry Pi Model B and BeagleBone Black boards depending on use cases. BeagleBone Black vs Raspberry Pi – The Features BeagleBone Black Raspberry Pi Model B Comment Processor TI Sitara AM3359AZCZ100 Cortex A8 @ 1GHz(will be changed to AM3358BZCZ100 in future versions) Broadcom BCM2835 ARM11 @ 700 MHz (Overclockable to 1GHz) Even thoughboth processors can run at the same frequency (after overclocking the R-Pi), but […]
You-Get – Video Download Script for YouTube, YouKu, DailyMotion, and More
YouKu is the equivalent of YouTube in China, and earlier today I wanted to download a video from the service, so I’ve looked for an application or script that can do the job in Linux. I’ve finally come across you-get, a python 3 script that claims to be able to download videos from an impressive number of websites, namely: YouTube Vimeo Coursera Blip Dailymotion Facebook Google+ Google Drive Tumblr Vine SoundCloud Mixcloud Freesound JPopsuki VID48 Niconico (ニコニコ動画) Youku (优酷) Tudou (土豆) YinYueTai (音悦台) AcFun bilibili CNTV (中国网络电视台) Douban (豆瓣) ifeng (凤凰视频) iQIYI (爱奇艺) Joy.cn (激动网) Ku6 (酷6网) MioMio h NetEase (网易视频) (v.163.com) PPTV.com QQ (腾讯视频) (v.qq.com) Sina (新浪视频) (video.sina.com.cn) Sohu (搜狐视频) (tv.sohu.com) 56 (56网) Xiami (虾米) Baidu (百度音乐) (music.baidu.com) SongTaste I won’t try all, but just test it with YouKu and YouTube. First things first, let’s install it:
1 2 3 4 5 |
git clone git://github.com/soimort/you-get.git cd you-get sudo apt-get install python3 python3-setuptools ./you-get -V make install |
Time to go to youku.com and download a video:
1 2 3 4 5 6 7 8 |
you-get http://v.youku.com/v_show/id_XNTQ1OTk3NTAw.html Video Site: Youku.com Title: 1 second boot QT app in linux-sunxi with A10 Type: Flash video (video/x-flv) Size: 5.45 MB (5711001 Bytes) Downloading 1 second boot QT app in linux-sunxi with A10.flv ... 100.0% ( 5.4/5.4 MB) [========================================] 1/1 |
Success! […]
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:
1 |
apt-get install g++-arm-linux-gnueabi g++-arm-linux-gnueabihf |
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:
1 2 3 4 5 6 7 |
readelf -a /usr/arm-linux-gnueabi/lib/libm.so.6 | grep FP Tag_FP_arch: VFPv3-D16 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_HardFP_use: SP and DP |
and armhf:
1 2 3 4 5 6 7 8 |
readelf -a /usr/arm-linux-gnueabihf/lib/libm.so.6 | grep FP Tag_FP_arch: VFPv3-D16 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_HardFP_use: SP and DP Tag_ABI_VFP_args: VFP registers |
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 […]
Rockchip Unveils RK3168 Dual Core Processor, Showcases $10 Miracast Adapter
Rockchip is currently at the Hong Kong Electronics Fair showing off their RK3188 quad core processor, and corresponding products such as tablets, gamepads, HDMI TV dongles, etc… Business seems good as they already received orders for 800k pieces in about a month, and they expect to sell 10 to 15 millions over the course of the year. The company had also a few RK3066 devices on display, but more interestingly they announced RK3168, which also a dual core Cortex A9 processor, but with lower power consumption thanks to 28nm HKMG process, instead of the 40nm process used for Rockchip RK3066. They have a tablet prototype without battery connected to a power supply to show the power consumption, and the tablet under test consumes 280mA @ 3.8V (About 1 Watt) when decoding 1080p videos with the display brightness set to about 50%. Chen Feng, Vice President at Rockchip, explains that with […]
Allwinner Showcases A20, A31 and A31s Devices: Tablets, Phablets, Mini PCs, Projectors, Laptops, Development Boards…
Charbax is now at the China Sourcing Fair in Hong Kong, meeting and interviewing lots of Chinese companies. One of the companies I’ve been following is AllWinner because of their low-cost ARM Cortex processors, found in many Android devices, which somewhat support Linux. In the video below, we first learn they have shipped 1 million A31 in the last 4 months, A31s and A20 processors have been available since the end of March for phablets, and A20 price is supposed to be very close to A10. So products based on AllWinner A10 could be upgraded to AllWinner A20 for just a few dollars more as both SoC are (nearly) pin to pin compatible. By the way, if you’re interested in the Cubieboard, you may want to see this. We then go through lots of devices based on AllWinner SoC, albeit too fast to get many details, but the list may […]
UDOO Single Board Computer Features Freescale i.MX6 Dual/Quad and Atmel SAM3 MCU
Have you ever dreamed of a single board with the power of 4 Raspberry Pi and Arduino Due functionality? This dream should soon become reality thanks to UDOO single board computer. This open source hardware board is powered by Freescale i.MX6 Dual or Quad with 1GB RAM, as well as Atmel SAM3 Cortex M3 MCU that provides access to Arduino compatible headers. Here are the specifications of the board: SoC – Freescale i.MX6 ARM Cortex-A9 CPU Dual/Quad Core @ 1GHz + Vivante GPU MCU – Atmel SAM3X8E ARM Cortex-M3 (same as Arduino Due) System Memory – 1GB DDR3 Storage – micro SD (boot device) + SATA (i.MX6 Quad only) Video Output – HDMI and LVDS + Touch (I2C signals) Audio I/O – Analog Audio and Mic Expansion Headers – 54 Digital I/O + Analog Input (Arduino-compatible R3 1.0 pinout) Connectivity Ethernet RJ45 (10/100/1000 MBit) WiFi Module USB – mini USB […]
Libhybris Let You Use Android Drivers & HW Libraries in Linux
One of the main issues with Linux on ARM is the lack of proper GPU drivers for the platform, as most silicon manufacturers now only focus on Android drivers which are not compatible with the Linux kernel, because Android is based on Bionic C library, whereas Linux is based on glibc or its variants. There are two ways to solve this issue: Open Source GPU drivers. This would be the ideal solution, as you would just be able to cross-compile the drivers for the proper, as well as fix bugs without having to ask the silicon manufacturer to fix the driver for you. Bionic to Glibc library. Such library acts like libdl, and allows to load Bionic library and overrides some symbols from bionic with glibc based ones. This is exactly what libhybris does. Ubuntu Touch is capable of using Android GPU drivers to run Ubuntu thanks to this library, […]
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 […]