This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Getting Started with OMAP5432 uevm

Hello,

I bought a new OMAP5 evm and willing to start using it for power measurements as soon as possible. However, I'm facing multiple issues while trying to copy the prebuilt images.

The issues are the following:

1_ Error while installing GLSDK 6_03: fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.29.193]: errno=Connection timed out

fatal: cannot obtain manifest git://git.ti.com/glsdk/release-manifest.git
Failed setup, aborting..
Failed setup, aborting.


2_ I tried to use GLSDK v 6_00 but couldn't copy the prebuilt image to the sd card. In the following lines from mksdboot.sh


echo "Copying filesystem on ${device}1,${device}2"
execute "mkdir -p /tmp/sdk/$$/boot"
execute "mkdir -p /tmp/sdk/$$/rootfs"
execute "mount ${device}1 /tmp/sdk/$$/boot"
execute "mount ${device}2 /tmp/sdk/$$/rootfs"


I think ${device}1 should be replaced by PARTITION since it contains the valid name for the sdcard partitions, right?

Updating this script the memory card got filled before finish copying the whole prebuilt image and got an error!! I'm using 8GB sd card which should be enough for the image...

Another question that came to my mind is do I need to copy the prebuilt image from GLSDK 6_00 to GLSDK 6_03 since the bin file for 6_00 is 1 GB while it's 150 MB for version 6_03.

Thanks,

Najem.

 

  • Hello Najem,

    First of all, you should follow wiki guide for setting up your OMAP5 uEVM: http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide#Starting_your_software_development ?

    Regarding 1.  Make sure your network connection is ok and also if you are working behind a proxy make sure that proxy settings are done for http, https, git, ftp and wget before proceeding further.  Also I've found that adding the proxy settings:

    export http_proxy=http://<user>:<pass>@<your_proxy_address>:<proxy_port>

    export https_proxy=https://<user>:<pass>@<your_proxy_address>:<proxy_port>

    export ftp_proxy=ftp://<user>:<pass>@<your_proxy_address>:<proxy_port>

    can be useful, when connection errors occur, even when you've done your proxy configuration.

    Regarding point 2. The mksdboot.sh script is used as follows:

    sudo ${GLSDK}/bin/mksdboot.sh --device /dev/sdY --sdk ${GLSDK}

    Where ${GLSDK} is the directory where your glsdk is installed. & sdY is where your SD card is mapped. (you can verify which device corresponds to your sd card by executing sudo fdisk -l command).

    You should not copy images from GLSDK6_00 to GLSDK6_03. The two SDKs are different; SDK6_00 is Ubuntu based (see http://downloads.ti.com/dsps/dsps_public_sw/glsdk/6_00_00_07/exports/OMAP5_GLSDK_Software_Developers_Guide.pdf & http://downloads.ti.com/dsps/dsps_public_sw/glsdk/6_00_00_07/exports/OMAP5_GLSDK_6_00_00_07_Release_Notes.pdf) and GLSDK6_03 is yocto based (see http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide & http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_6.03.00.01_Release_Notes).

    Additional information, besides the link I already provided can be found in bellow links:
    http://processors.wiki.ti.com/index.php/GLSDK_Datasheet_OMAP5_6.03.00.01

    http://processors.wiki.ti.com/index.php/GLSDK_FAQs

    http://processors.wiki.ti.com/index.php/Category:GLSDK

    Best Regards,

    Yordan

  • Thanks Yordan,


    I'm willing to use Ubuntu and could successfully copy the image using the 6.00 version. Now I'm facing another issue with the first-boot.sh script. Here is the output of the command.

    root@localhost:~# ./first-boot.sh                                               
    adduser: The user `omapuser' already exists.                                    
    The user `omapuser' is already a member of `sudo'.                              
    IP-Config: eth0 hardware address 0e:7d:68:53:17:82 mtu 1500 DHCP RARP           
    IP-Config: eth0 guessed broadcast address 192.168.1.255                         
    IP-Config: eth0 complete (from 192.168.1.1):                                    
     address: 192.168.1.10     broadcast: 192.168.1.255    netmask: 255.255.255.0   
     gateway: 192.168.1.1      dns0     : 192.168.1.1      dns1   : 0.0.0.0         
     domain : zte.com.cn                                                            
     rootserver: 192.168.1.1 rootpath:                                              
     filename  :                                                                    
    Ign file: ./ Release.gpg                                                        
    Ign file: ./ Release                                                            
    Err http://ports.ubuntu.com precise Release.gpg                                 
      Temporary failure resolving 'ports.ubuntu.com'                                
    Err http://ports.ubuntu.com precise-updates Release.gpg                         
      Temporary failure resolving 'ports.ubuntu.com'                                
    Err http://ports.ubuntu.com precise-security Release.gpg                        
      Temporary failure resolving 'ports.ubuntu.com'                                
    Ign file: ./ Translation-en                                                     
    Reading package lists... Done                                                   
    W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise/Release.g'
                                                                                    
    W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-updates/R'
                                                                                    
    W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-security/'
                                                                                    
    W: Some index files failed to download. They have been ignored, or old ones use.
    Reading package lists... Done                                                   
    Building dependency tree                                                        
    Reading state information... Done                                               
    E: Unable to locate package sudo                                                
    ./first-boot.sh: line 27: sudo: command not found                               
    ./first-boot.sh: line 30: sudo: command not found                               
    ./first-boot.sh: line 33: sudo: command not found                               
    ./first-boot.sh: line 36: sudo: command not found                               
    ./first-boot.sh: line 39: sudo: command not found                               
    ./first-boot.sh: line 42: sudo: command not found                               
    ./first-boot.sh: line 45: sudo: command not found                               
    ./first-boot.sh: line 48: sudo: command not found                               
    ./first-boot.sh: line 49: sudo: command not found                               
    ./first-boot.sh: line 52: sudo: command not found                               
    ./first-boot.sh: line 55: sudo: command not found 

    Is there anything to do with this issue or I need to switch to yocto?

    Thnaks,

    Najem.

  • Hello Najem,

    Could you please have a look at the last answer in the following post:
    http://e2e.ti.com/support/omap/f/885/t/324151.aspx

    It is suggesting to modify resolve.conf

    You can also find useful hints here: http://e2e.ti.com/support/omap/f/885/t/322661.aspx

    I haven't encountered that problem when I was working with GLSDK6_00. 

    Best Regards,

    Yordan

  • Thanks again Yordon... Yes editing the /etc/resolv.conf file resolved the issue. I have changed

    - nameserver 127.0.0.1

    to

    + nameserver 8.8.8.8

    Regards,
    Najem.