Friday 10 January 2014

Requirements for building uCLINUX on ARM7(LPC2468)

Hi folks....

        Today I'll show you what requirements we have for building uCLINUX in EA2468 board, n we'll also discuss why they require. I hope u have read Getting started with uCLINUX book which i mentioned in all prev. posts. 
       First of all I'm assuming that you have windowsXP/7 system and EA-board,  or u can start on UBUNTU system also...


Requirements:

Table of contents: 

Host system 
Getting all the necessary software 
Software installation and setup 


1) Host system:
 A Linux host machine is needed to build uClinux. Modern distributions such as Ubuntu 10.04 and Fedora 12 should work fine. Dedicated machines or virtual machines will work equally well Currently, the software for installing the bootloader on board (flashmagic)only runs on Windows machines, so you will also need a Windows host machine to install the initial bootloader on the board.
                                          So my suggestion is to choose windows host and install VMWARE for linux on same host.... :)

2) Getting all the necessary software:
 To build uClinux, the following software is required: 

The Flash Magic software is needed to burn the initial u-boot image into the EA2468 board.

3) Software installation and setup :

Install the Flash Magic software on your Windows machine by running the Flash Magic installer program. 

 To install Vmware:
1)The VmWare Player can be downloaded from http://www.vmware.com/download/player/. Fill in the requested information to start the download.
Execute the downloaded file to start the installation. When/If you are promted regarding "CD automatic play" select "Leave it as is".

2)Select where you want the Linux system to be installed and then unzip the EADevEnv_v3_1. (this is LINUX OS....  EA-DEBIAN  developed by embedded artist, we will install in Vmware)

3) A number of files will be unpacked and the most important one in this step is a file named EA-dev.vmx which is a configuration file for the virtual machine. Doubleclick on this file (if you are running a Windows OS) and the VMware Player will be started. If VMware Player has already been started the configuration file can be opened from within the player by selecting the Open command and then browsing to the configuration file.

4. When the VMware Player starts you will be prompted with a question asking you if the virtual machine was moved or copied, see Figure 6 below. Select “I copied it” and click OK. This screen will only appear the first time the virtual machine is started.

5. The Debian Etch Linux distribution will now start. Figure below Moved or Copied VM




6. Change memory allocation acording to ur RAM size (if u have 2 GB RAM then give 1 GB to Vmware)

 










7. Go to network adapter and select on NAT: used to share the host ip addrs
 


 When Debian Etch has started you can login using the username “user” and
password as  “user”.

Note: If u r stucking somewhere while operating through terminal commands do sudo -i user and psswd also user .
Debian etch OS is also same as UBUNTU so dont wrry next process will be same for ubuntu n Vmware.


Thats all for today so njoy !

Abhishek Mourya

No comments:

Post a Comment