Changes

What can I do with IGEP0020

3,626 bytes added, 13:16, 5 March 2012
m
no edit summary
__TOC__
{| width="200" cellspacing="0" cellpadding="4" border="1" align="right"
|-
|}
If you have '''successfully completed the [[Getting Started with IGEP0020 board|getting started guide]]''' for IGEP0020, you can follow this first introduction about what can you do with this board:
= How to boot your IGEP0020 board<br> =
First of all, you may want to boot your board. IGEP0020 can boot from the next devices (listed by priority): __NOTOC__
*from a MMC/microSD card ([[How to boot from MicroSD Card|here]] is a complete tutorial about how to set it up)<br>
*from OneNAND&nbsp;memory.
<br>
{| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"|-| bgcolor="#cccccc" |'''Overview'''|-| If you have '''successfully completed the [[Getting Started with IGEP0020 board|first chapter of this guide]]''', you can continue with this tutorial guide about IGEP0020.|}  === Preinstalled software ===----By default, '''all brand new IGEP Processor Boards have a firmware installed''' on its flash memory. That means that if you power up your board it will run a Linux distribution provided and installed by ISEE. This distribution consists on a '''minimal Linux-based distribution''' with a lite X Window System and GNOME Mobile based applications created with '''Poky Platform Builder'''.  '''Linux distributions''' In this tutorial, we are going to use the pre-installed software in your IGEP0020, that is the Poky Linux. But if you wish, you can always update with a new or a different distribution. If you are familiar with Linux Kernel and distributions, you can check out the '''[[:Category:Software distributions|Software distributions]]''' category at the IGEP Community Wiki to get many other distributions for your IGEP0020. Otherwise, we are now going to introduce the main components of the preinstalled software of your IGEP0020: * Bootloaders: * Kernel: * Root File System: * Kernel Modules:  === Booting and setting up === In the previous chapter of this tutorial, we have booted IGEP0020 with its pre-installed software. Once the board has booted up, it asks for a login in the serial debug port. You can log in into IGEP0020 via the serial interface. *The default login user is: '''root''' *There is '''no password''' for this user.   In fact, IGEP0020 can boot from many other devices (listed by priority):  # from USB# from UART3# from a MMC/MicroSD card # from OneNAND memory  As we haven't set any other device rather than the oneNAND (the IGEP0020 flash memory) the system boots from it.  But, as the MicroSD card has an upper priority than the flash, if you plug a MicroSD card (with the right configuration on it) to the MicroSD card reader, IGEP0020 board will boot from it and won't boot process from the flash memory.  Now, We are going to use this functionality to update your pre-installed software.  === Updating your pre-installed software === We are now going to update the pre-installed software to the latest version. For this purpose, you will need: * a '''microSD card'''* a '''computer''' with microSD card reader (or with adapter)* a '''GNU/Linux distribution installed''' on the computer (a Linux partition or a virtual machine on Windows)** the main reason is that Windows does not detect multiple partitions on a microSD card (if you are familiar with Linux, there might be some instructions and comments you can ignore, as they are for Linux newbies) At your '''Linux host PC''' you should open '''Terminal'''. The first thing you'll need to do is divided in to download the latest firwmare from ISEE:  wget http://downloads.igep.es/binaries/firmware/poky-firmware-3.3.1-10.tar.gz Now you have donwloaded a compressed file with the latest official firmware into the current directory (.tar.gz). Next, we will use the application 'tar'to untar (uncompress) the donwloaded file:  tar xzf poky-firmware-3.3.1-10.tar.gz Next, you can enter into the extracted directory with the system '2 booting phasescd'instruction:  cd poky-firmware-3.3.1-10/  We are going to create the MicroSD card with the latest firmware. Before it, we have to know which 'device'is the MicroSD listed in the /dev/ directory, a place where the detected devices are listed by the system. To know the device name, insert your MicroSD card into the host machine (the machine where you have downloaded the firmware). Now run the following system command:<br>
#[[The IGEP X-loader|IGEP xloader]] boot process (It's not possible to interact with the board). #[[The Linux kernel|Linux Kernel]] starting process (It's possible to interact with the board using the console when the kernel has already started).<br> dmesg
= How This instruction will prompt all the system traces. The last lines will be the ones corresponding to set up the MicroSD card detection and log in<br> =mounting.
IGEP0020 board uses Check the serial debug MicroSD name and path, for output all debug information and the users can interact with the board. example: /dev/sdb
The IGEP0020 Serial debug console Now you can be accessed on [http://www.igep.es/index.php?option=com_content&view=article&id=99&Itemid=112&dir=%2Fvar%2Fwww%2Fvhosts%2Figep.es%2Fhttpdocs%2Fdownloads%2F01-ISEE_Products%2FIGEPv2%2FHW_User_Manuals&download_file=%2Fvar%2Fwww%2Fvhosts%2Figep.es%2Fhttpdocs%2Fdownloads%2F01-ISEE_Products%2FIGEPv2%2FHW_User_Manuals%2FMAN-PR-IGEP.0020-001.21.HW_Manual_RC_v1.21.pdf J960 connector] and you should use a [http://igep-platform.com/shop/index.php?main_page=product_info&cPath=1&products_id=8&zenid=701aa01925001b84ed070559d8ac0851 DBM9 to IDC-10 adapter] for connecting it to run the host PC.<br> Read [[How to setup following script in the IDC10 cable|how to setup IDC-10 adapter]]folder you have just extracted, and you will have to prepare your serial adapter. add some parameters:
Now ./poky-media-create --mmc [device] --binary poky-image-sato-igep00x0-[timestamp].tar.gz --machine igep0020 where:* [device] is the SD card device name, for example: /dev/sdb* [timestamp] the parameter --binary is actually the name of another .tar.gz compressed file that you have already extracted in the previous steps. If you want to auto-complete the [timestamp] parameter, press TAB in the ''timestamp' when writing the instruction and the system will write the name of the file automatically.  This instruction will last a few minutes. When the process ends, you will have a MicroSD card with the latest software on it.  Therefore, you are ready to try it. Plug the SD card into IGEP0020 and power up your board.  === Flashing the software image === Now you have a booted board with latest firmware running from MicroSD card, you can write the firmware to the flash memory. (serial port reminder) Enter to IGEP0020 using root as loginname and an empty password, enter to the /opt/firmware an run the ./flash script  cd /opt/firmware ./flash.sh When finish, unplug the SD card and reboot the board, enjoy the new firmware running from flash memory. You can do it via '''Other references''': [[Update_the_PRE-INSTALLED_software_image_to_a_current_release|'''update your pre-installed software image''']]  ----
*'''Serial Console''': [[Using serial debug port to communicate|here]] is an explanation about how to correctly configure your Serial Console<br>
*'''SSH''': [[Using SSH to communicate|here]] is an explanation about how to login via Ethernet or USB
The default login user is: '''root'''
 
There is '''no password''' for this user.
= How to handle the gpio-LED's<br> =
0
edits