|
For me, using sam-ba in linux with a tcl script, when you specify the files with no paths, they are relative to the current working directory you executed sam-ba from. I assume your problem is the same in windows.
Just edit the tcl script and change stuff like
set kernelFile "uImage-2.6.30-r1-at91sam9m10g45ek.bin"
to
set kernelFile "c:\mybuilddir\demo\uImage-2.6.30-r1-at91sam9m10g45ek.bin"
Basically your converting it from relative paths to absolute paths. I'm not sure if you have to double escape the backslashes like this:
set kernelFile "c:\\mybuilddir\\demo\\uImage-2.6.30-r1-at91sam9m10g45ek.bin"
or not. Try the first way. Otherwise the only way I see it working is putting the bins in the dir with the sam-ba executable, or modifying the windows short cut to change the current working directory to your build directory.
|