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.

OMAP5432 firt-boot.sh fails

Hi,

When configuring the filesystem and executing the "first-boot.sh" it fails and i get the following

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise/Release.gpg  Temporary
 failure resolving 'ports.ubuntu.com'                                                       
                                                                                            
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-updates/Release.gpg  T
emporary failure resolving 'ports.ubuntu.com'                                               
                                                                                            
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-security/Release.gpg  
Temporary failure resolving 'ports.ubuntu.com'                                              
                                                                                            
W: Some index files failed to download. They have been ignored, or old ones used instead.   
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     

When I checked the network config it seemed to be fine. If anyone have idea...

Thanks.

Ghassen

  • Hi Ghassen,

    you don't mention the SDK name you're using. I assume this is GLSDK 6.00.00.07, can you confirm?

    Do you run the first-boot.sh command on the EVM? Did you properly configure a nameserver for the EVM? Can you ping the gateway IP from the EVM? Is the EVM able to ping for example google.com (or any other public server) by its IP address?

    Regards,
    Marc

  • Hi Marc,


    Yes I am using the GLSDK 6.00.00.07. Actually I am following the instructions of the  OMAP5_GLSDK_Software_Developers_Guide. I run the first-boot.sh on the evm. I tried commands like ifconfig, ping... but it doesn't recognize them ( command not found).

    Also this is the network config i get when i restart the board:

    IP-Config: Got DHCP answer from 10.180.121.1, my address is 10.18
    0.121.112                                                                      
    [    5.083862] IP-Config: Complete:                                            
    [    5.087280]      device=eth0, hwaddr=a6:62:5a:a7:b0:db, ipaddr=10.180.121.112
    , mask=255.255.255.128, gw=10.180.121.1                                        
    [    5.098358]      host=10.180.121.112, domain=, nis-domain=(none)            
    [    5.104644]      bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=          
    [    5.110992]      nameserver0=10.162.8.51, nameserver1=10.162.8.50   



    Thanks,

    Ghassen.      

  • Hi,

    I have the same issue , I am using the GLSDK 6.00.00.07 also,when I run the first-boot.sh on the evm, it take about two hours ,but there are many  'errors'  in the process . It stop  in there, don't move on, my strong back from the command  terminal. I want reexecute the  first-boot.sh  it  said  it  already have a user name 'root', I  log in the 'root', carry on the 'target # startx',  ( command not found).  so I fail.

     Thanks

  • Hi,

        We met the same error  and we found this may be the path problem.The terminal display the web address is :http://ports.ubuntu.com/ubuntu-ports/dists/precise-security/Release.gpg. But truth path is : http://ports.ubuntu.com/dists/precise-security/Release.gpg. But we do not know that how to revise the source file.

         Hope you reply !

         Thanks