skip to Main Content
+971 55 881 1725 hmimthiaz @ imthi.com

UDOO – Quad Core Computer and powerful dedicated ARM for the GPIO

Yayy! Received my UDOO board today and it was total surprise. After so many weeks only today I had time to blog about the backed projects in Kickstater and I receive my first backed project delivery today 😉

…..

Kickstarter InfoUDOO is a very powerful board based on dual or quad core ARM cortex-A9 CPU with great performance both on Android and Linux OS, and a dedicated ARM processor for the GPIO. These are the main specifications:

  • Freescale i.MX 6 ARM Cortex-A9 CPU Dual/Quad core 1GHz
  • Integrated graphics, each processor provides 3 separated accelerators for 2D, OpenGL® ES2.0 3D and OpenVG™
  • Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino Due)
  • RAM DDR3 1GB
  • 76 fully available GPIO
  • Arduino-compatible R3 1.0 pinout
  • HDMI and LVDS + Touch (I2C signals)
  • Ethernet RJ45 (10/100/1000 MBit)
  • WiFi Module
  • Mini USB and Mini USB OTG
  • USB type A (x2) and USB connector (requires a specific wire)
  • Analog Audio and Mic
  • SATA (Only Quad-Core version)
  • Camera connection
  • Micro SD (boot device)
  • Power Supply 12V and External Battery connector

I has the UDOO now and will post more details and benchmarks soon 😉

Resize Raspberry Pi Partition Easily Using raspi-config

I have been playing with my Raspberry Pi for couple of weeks now and recently I ran into this issue of low space. Even though I had 8GB memory card it was only partitioned to use 4GB. After Googling for sometime I found there is a built in tool with Raspberry Pi which helps to resize the partition easily ie raspi-config.

Please check if your Raspberry Pi is running on Debian GNU/Linux wheezy/sid

Start raspi-config

Select expand_rootfs

Raspberry Pi raspi-config screen 1

raspi-config will configure Raspberry Pi to resize the partition during next reboot

Raspberry Pi raspi-config screen 2

raspi-config will request to reboot

Raspberry Pi raspi-config screen 3

During reboot process you can see that partition is getting resized

Raspberry Pi Resize Boot Screen

Once reboot is completed you can see more space on your rootfs.

Raspberry Pi Partion Info

I think this is the best way to resize the partition. No data loss or any special tool required to complete this operation 😀

WHM / cPanel – Compile PHP 5.3 to work with PHP 5.2

This is one of major issue lot of web masters face now. As PHP 5.2 has reached end of life we are forced to seek options to migrate and test PHP applications in PHP 5.2 and 5.3. Raj COO from WebHostRepo.com has posted a nice blog post on how to achieve this.

Running PHP 5.3 along with PHP 5.2.x in cPanel servers.webhostrepo

I did all the steps as mentioned on the blog post except for one, I had a lengthier configure statement 😉

Install ZendGuardLoader

Edit /usr/local/php53/lib/php.ini and add these lines to end

Happy migration 😉

Compile PHP 5.3.19 on CentOS 6.3 with Curl 7.28

new-php-logo

For this installation I choose CentOS 6.3 minimal version. You can download the ISO from the mirrors or direct download it from SYNc yourself. Once the CentOS installation is completed make sure you are connected to Internet to update the latest libraries.

 

Note: These steps are done assuming you are logged in as root user

1. Please update the available updates for the OS and restart

2. Install EPEL (Extra Packages for Enterprise Linux) so that you can get all the needed libraries for compiling PHP

3. Install Development Tools – Detailed User Guide

4. Install MySQL Database client

5. Install the following libraries which are required for different modules in PHP. Please make sure all the dependencies are met before installation

6. For this installation I planned to use the latest version of curl so I had to my custom curl compilation

7. Download and compile PHP 5.3.19

8. Copy php.ini

9. Edit Apache conf check if “LoadModule” is present else add it.

LoadModule php5_module /usr/lib64/httpd/modules/libphp5.so

10. Set handler for Apache to handle PHP files

11. If you are not planning to install ZendGuardLoader skip to step 13 else make sure you have disabled SElinux. Detailed instructions

12. Install ZendGuardLoader

Edit /usr/local/php-5.3.19/lib/php.ini and add these lines to end

13. Restart you apache and you are set

It took a great deal of time to make this work and with lot of trial and errors. If anyone finds a better way to compile please do share it with me. All the best 😉

Raspberry Pi a credit-card sized computer

Today I got the Raspberry Pi which I ordered last week. I was really exciting to start exploring the possibilities of this new toy.

What is Raspberry Pi?

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video.

Raspberry Pi

Raspberry Pi Model B 512MB RAM

  • SoC Broadcom BCM2835 (CPU, GPU, DSP, and SDRAM)
  • CPU: 700 MHz ARM1176JZF-S core (ARM11 family)
  • GPU: Broadcom VideoCore IV, OpenGL ES 2.0, 1080p30 h.264/MPEG-4 AVC high-profile decoder
  • Memory (SDRAM): 512 Megabytes (MiB)
  • Video outputs: Composite RCA, HDMI
  • Audio outputs: 3.5 mm jack, HDMI
  • Onboard storage: SD, MMC, SDIO card slot
  • 10/100 Ethernet RJ45 onboard network
  • Storage via SD/ MMC/ SDIO card slot

Raspberry Pi Enclosed in a Box

I  took around 2 hours to figure out how to get started, once I had finished the basic setup I created a simple video and I hope you can understand what this small monster is capable of.

Hope you enjoyed it 😉

Back To Top