Hi Pepe,
 
See comments below...
 
Regards
 
Phil Q
 
Phil Quiney, Senior Software Engineer
Trinity Convergence
Cambridge Business Park
Cowley Road
Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560
www.trinityconvergence.com <http://www.trinityconvergence.com/> 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pepe Sanchez
Sent: 29 February 2008 08:36
To: [email protected]
Subject: Stop autoboot in DM355


When I stop the autoboot in DM355 to configurate my environment variables, in 
which folder are the instruccions that the board recognize?  [Phil Q] I am not 
sure exactly what you are meaning by 'folder' or 'instructions that the board 
recognise'. When you stop the autoboot you are running the bootloader (u-boot). 
The only commands understood at this point are u-boot commands a list of which 
you can get by typing 'help'

Could I make me a script to configurate the environment?  [Phil Q] I am not 
sure why you need such a script. The idea is to allow the board to autoboot 
some other program (for example a Linux kernel), if you allow the autoboot to 
occur it will execute the contents of the 'bootcmd' variable and supplies the 
contents of 'bootargs' to the program it runs.
 
The normal procedure is to stop the autoboot, change the value of either 
bootcmd or bootargs to suit what you need (for example changing the FLASH from 
yaffs2 to jffs2 or NFS. Then do a 'saveenv' and your changes will survive a 
reboot. So once you have the settings you want saved you no longer need to stop 
the auto boot - the 'script' is effectively the 'bootcmd' contents and I am not 
sure why you would need anything other than the default here unless you wanted 
the kernel via TFTP perhaps?

Thanks a lot

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to