Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Can not start HAM in boot script : (3 Items)
   
Can not start HAM in boot script  
Hi all, 
I can not start HAM in boot script. 
However, when system booted, I type ham in console and it run OK. 

Here is my ham related command in boot script. 
ham -vvvvvv 
waitfor /dev/ham 4 

Below is the verbose info when I use "ham -vvvvvv" in boot script. 

0.000000000s: Ham: Started: (1456000000) 
0.075000000s: Ham: Log timestamp started:1970/01/01 00:00:01:530000000 
0.161000000s: Ham: No such file or directory:could not spawn guardian 

I try placing the "ham -vvvvvv" command in different position in boot script (even the last line). But it can not start.

 
I use Momentics6.4.1 on ARM9.


Do you have any ideas? 
Thanks 
Tiger
Re: Can not start HAM in boot script  
Can you set the PATH variable and then spawn HAM

so as 

	PATH=/proc/boot ham -vvvvvv 
	waitfor /dev/ham 4 

(or include the directory whereever ham is located, into the PATH
variable).

thanks
shiv
Mon May 24 20:26:19 EDT 2010

 --> According to Hu Chen <--
	Hi all, 
	I can not start HAM in boot script. 
	However, when system booted, I type ham in console and it run OK. 
	
	Here is my ham related command in boot script. 
	ham -vvvvvv 
	waitfor /dev/ham 4 
	
	Below is the verbose info when I use "ham -vvvvvv" in boot script. 
	
	0.000000000s: Ham: Started: (1456000000) 
	0.075000000s: Ham: Log timestamp started:1970/01/01 00:00:01:530000000 
	0.161000000s: Ham: No such file or directory:could not spawn guardian 
	
	I try placing the "ham -vvvvvv" command in different position in boot
	script (even the last line). But it can not start.
	 
	I use Momentics6.4.1 on ARM9.
	
	
	Do you have any ideas? 
	Thanks 
	Tiger
	
	
	
	_______________________________________________
	
	OSTech
	http://community.qnx.com/sf/go/post55427
	

-- 
****
Shiv Nagarajan,
Kernel Developer, QNX Software Systems,
Ottawa, Canada
****
Re: Can not start HAM in boot script  
Got it done!
Thanks!
:)