On 28 Aug, 2011, at 12:43, Xiangfu Liu wrote:
> On 08/28/2011 07:48 AM, Sebastien Bourdeauducq wrote:
>> On Sun, 2011-08-28 at 04:26 +0800, Folkert Saathoff wrote:
>>> i cloned the latest urjtag sources from sourceforge
>>
>> Does that mean git or release?
>> The cable support isn't in any release yet, so you must use git. I don't
>> know why the UrJTAG project makes their releases so infrequent. So many
>> problems...
>
> Hi folkert
>
> you have to make sure the git/svn commit at least:
> commit b1d6367a54220a8db536ec5e969fd9964550d552
> git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1991
>
> SVN: https://urjtag.svn.sourceforge.net/svnroot/urjtag
> GIT: git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag
thanks for the info! i now successfully built urjtag and flashed my board with
the latest binary release. seems to work much better now, and also there's a
bunch more patches, good stuff! :)
turned out that urjtag does not report support for the milkymist cable after
the configure stage, but will still build it.
in case this helps anyone, i had to apply the patch below to the urjtag sources
to make sed(1) on Mac OS 10.7 shut up.
cheers,
/f
diff --git a/urjtag/src/cmd/Makefile.am b/urjtag/src/cmd/Makefile.am
index 7de93a9..3f71e35 100644
--- a/urjtag/src/cmd/Makefile.am
+++ b/urjtag/src/cmd/Makefile.am
@@ -88,7 +88,7 @@ $(libcmd_la_OBJECTS): generated_cmd_list.h
generated_cmd_list.h: generated_cmd_list.h.stamp ; @true
generated_cmd_list.h.stamp: $(all_cmd_files)
$(AM_V_GEN)set -e; \
- cmds=`$(SED) -n '/^const urj_cmd_t urj_cmd_/{s:.*urj_cmd_::;s:
=.*::;p}' $^`; \
+ cmds=`$(SED) -n '/^const urj_cmd_t urj_cmd_/{s:.*urj_cmd_::;s:
=.*::;p;}' $^`; \
for c in $$cmds ; do \
printf '#ifndef URJ_CMD_SKIP_%s\n_URJ_CMD(%s)\n#endif\n' $$c
$$c; \
done > generated_cmd_list.h.tmp; \
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode