Changes

Getting started with IGEP MODULE

3,359 bytes added, 14:14, 16 November 2010
no edit summary
This page describes how to use the USB device (or OTG) port of your OMAP3 IGEP module to communicate with your PC.
We should directly power the board via the USB OTG port using a USB A type plug to mini B type plug cable. The HS USB OTG port is used as the default power input,
Once the board is up and running, we next turn to get ethernet connectivity over the USB OTG cable. By default the module interface will have the IP address 192.168.7.2
== Linux Host USB Network Configuration ==
gateway 192.168.7.1
Connect to the board using ssh $ ssh -l root 192.168.7.2
The authenticity of host '192.168.7.2 (192.168.7.2)' can't be established.
RSA key fingerprint is 9d:0e:ba:02:2a:76:e4:5f:d1:c1:9b:2d:85:6c:83:d4.
=== Windows 7 ===
*http://robosavvy.com/forum/viewtopic.php?p=28788
 
== Mac OS X Host USB Network Configuration ==
 
Please contribute ...
 
== Updating and flashing the firmware ==
 
'''Latest is: Poky 3.3.1-3 (/etc/version - 201011081439)'''
 
Updating the firmware is done using a SD card, first we will create a minimal SD card and copy latest firmware image into the SD card
mkdir workdir && cd workdir
wget http://downloads.igep.es/poky/green-3.3/v3.3.1-3/poky-media-create
wget http://downloads.igep.es/poky/green-3.3/v3.3.1-3/poky-media-minimal-igep0030-sdcard-3.3.1-3.tar.gz
chmod +x poky-media-create
 
Next, insert your SD card into the host machine and ensure you know the device node for your sd card reader. In the following example we assume /dev/mmcblk0. If you are unsure of the device node of your SD card, remove and reinsert the card and type dmesg on the command line. The last few lines should give you the device node of the card you just inserted.
 
./poky-media-create --mmc /dev/mmcblk0 --binary poky-media-minimal-igep0030-sdcard-3.3.1-3.tar.gz
 
Now it's time to download needed packages and copy into SD card
 
wget http://downloads.igep.es/poky/green-3.3/v3.3.1-3/poky-media-minimal-igep0030-flash-3.3.1-3.tar.gz
wget http://downloads.igep.es/poky/green-3.3/v3.3.1-3/u-boot-env_2010.06-0-r0_igep0030.ipk
mkdir disk && sudo mount /dev/sdb2 disk
sudo tar xzf poky-media-minimal-igep0030-flash-3.3.1-3.tar.gz -C disk/home/root/
sudo cp u-boot-env_2010.06-0-r0_igep0030.ipk disk/home/root
sudo umount disk && rmdir disk
 
Connect to device
ssh -l root 192.168.7.2
 
Some packages are missing in SD image, we should install
opkg install u-boot-env_2010.06-0-r0_igep0030.ipk
 
Next, enter into firmware directory
cd poky-media-minimal-igep0030-flash-3.3.1-3
 
By default the flash.sh script test fulls OneNAND, it takes a long time and it's not really necessary, we should speed up the flash process editing the flash.sh script and commenting next lines
# Test and mark OneNAND bad blocks
# for i in 0 1 2 3 4; do nandtest -m /dev/mtd${i}; done
 
Now you can run the flash script
./flash.sh
 
== Troubleshooting ==
 
=== WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! ===
 
In the case of the SSH client in Linux, a changed host key results in the client refusing to connect and showing an remote host identification has changed error
 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
8d:0b:29:f0:0a:a1:f5:56:0c:12:18:b0:26:02:6d:9d.
Please contact your system administrator.
Add correct host key in /home/eballetbo/.ssh/known_hosts to get rid of this message.
Offending key in /home/eballetbo/.ssh/known_hosts:57
RSA host key for 192.168.7.2 has changed and you have requested strict checking.
 
To fix the problem edit your ~/.ssh/known_hosts and remove the line corresponding to this host.
0
edits