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 first boot is failed,

The version  I use is GLSDK 6.00.00.07,  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 .

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
 I  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

  • Hello,

    Usually such mistakes happen when something in setting up your SDK went wrong. Could you verify that you've followed the steps in http://downloads.ti.com/dsps/dsps_public_sw/glsdk/6_00_00_07/exports/OMAP5_GLSDK_Software_Developers_Guide.pdf ? And all scripts that the sudo ./setup.sh command invokes execute properly (especially the setup-targetfs-nfs.sh & setup-config-fs.sh scripts).

    From the log it seems that your target filesystem is not configured properly:
    ./first-boot.sh: line 42: sudo: command not found 

    Best Regards,

    Yordan

  • I had the same issue, the reason was that entries in resolv.conf file were incorrect.

    After fixing resolv.conf, everything worked fine.