Eric H. Johnson wrote:

>Sebastian,
>
>I must have something screwed up with the paths. On the development machine
>I am doing a "run-in-place". So I enter commands from the terminal session
>in the emc2 folder. To not get a version mismatch, I have to do:
>bin/halcmd ...
>  
>
You should source scripts/emc-environment, which will take care of these 
problems:
source scripts/emc-environment
or
. scripts/emc-environment
(the leading . is a synonym for source)
You need to do this in each shell that you want to use run-in-place.

>That much works, but when I get to:
>bin/halcmd loadrt hm2_5i20 config = "firmware=bin/SVST8_4.BIT num_stepgens=2
>...
>
>It fails to load, and dmesg gives the error:
>hm2_5i20: Unknown parameter "num_stepgens"
>
>Note: I moved SVST8_4.BIT to the bin folder just to avoid a path problem
>with that file. I also tried putting rtlib/ before hm2_5i20, but that did
>not work.
>  
>
I think this is an artifact of using the kernel request_firmware 
system.  It requires that the firmware come from the /lib/firmware (or 
similar) tree.  This presents a problem when you have multiple 
run-in-place versions, or you have run-in-place and installed versions.  
I don't know the specifics of how to deal with this, but I think you 
more or less have to stick the firmware in the expected tree somewhere.  
I'm not sure how you specify the name at that point - the source (kernel 
or hostmot2) may tell you.

- Steve


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to