[U-Boot-Users] Submitting Patch at sourceforge fails
Wolfgang Denk
wd at denx.de
Tue Aug 22 22:26:30 CEST 2006
Dear Ulf,
in message <002e01c6c61d$80cc1f10$f64765d5 at atmel.com> you wrote:
>
> No can do unfortunately, (this is not an official Atmel activity) and I
> don't run any personal servers.
I see. Maybe Atmel is helpful anyway? They should be interested in
such activities...
> Never used git, but I guess it is time to start.
Definitely.
> Is it possible to run git on a Windows machine w Cygwin?
I have no idea. Never used Windoze, never will.
> > I'm not sure I want to have this. Is there a way to specify a time
> > out? Couldn't / shouldn't this be implemented on CLI level, for
> > example by repeating the failed TFTP command? If necessary using a
> > hush script?
>
> You may be right about that, then again, hush adds code ;-( as well.
...except that thjis code is already present and considered
"standard" (i. e. bourne shell compatible).
> I usually differ between things I have to do once and things I have to
> do repeatedly
> and the attempts are to put some effort in reducing the things that
> needs to be done repeatedly.
> The target directory would be supplied once and thats it.
> The split into "make & make install" causes you to lose time when you
> forget to do the make install
Define a shell function or a shell script or a Makefile which runs
U-Boot's "make all" as a first target.
> Yes, the source code is there, but the patch generates a binary as part
> of the
> build process and this binary is totally separated from the u-boot
> binary.
> It is released to GPL level 2 and later.
The reason I'm asking is that I don't intend to include any non-GPL
code into the public U-Boot source tree.
> >> If you work with several files and download them from the tftpboot
> >> directory then you want to have different names for the files.
> >
> > Yes, of course, but do we need special commands for that?
>
> It is not a special command, it is a tool outside the u.boot binary.
Call it command or tool or program or application or ...
> I still fail to see how I can to a table lookup easily.
As I mentioned before: do it in two steps. In the first step, generate
a statement with the index expanded, in the second step to the
dereferencing.
> I guess it would be possible with hush to do a long if statement.
Not needed.
> >> setenv rd ${rd-${ver}}
> >
> > We cannot do this in a single step, we need two.
> >
>
> Can you show how this is done, I do not see how.
> setenv rd-1 xxx
> setenv rd-2 yyy
> setenv ver 1
> <magic>
> print rd
> $ xxx
> setenv ver 2
> <magic>
> $ yyy
>
> Please explain how to implement <magic>
Simple:
=> sete rd-1 xxx
=> sete rd-2 yyy
=> sete rd-3 zzz
u> sete foo 'sete bar sete rd $\\{rd-${ver}};run bar'
=> sete ver 1
=> run foo ; print rd
rd=xxx
=> sete ver 2
=> run foo ; print rd
rd=yyy
=> sete ver 3
=> run foo ; print rd
rd=zzz
=>
You see, we don't even need any hush features.
Next problem, please :-)
> I can see that the following is possible.
> setenv rd1 'setenv rd ${rd-1}'
> setenv rd2 'setenv rd ${rd-2}'
> setenv rd3 'setenv rd ${rd-3}'
> setenv rd4 'setenv rd ${rd-4}'
> setenv rd5 'setenv rd ${rd-5}'
> setenv rd6 'setenv rd ${rd-6}'
Yes, many things are possible. But this is probably not exactly
optimal.
> raw-at91 is a tool which automates console input, admittedly in a stupid
> way,and relies on minicom.
OK, then I will not accept it. I hate minicom, and I'm actively
blackballing it ;-)
> The advantage of minicom is that I do not have to type any filenames,
> since I can select the file using up/downarrow and space.
> and I do not have to generate any scripts,since I just type in the
> commands I want as is in a file and send it down
> without having to type the file name of the environment file which I
> have to do for "expect" and "kermit".
Come on. Kermit does file name completion, so the typing effort is
minimal.
> I sometimes, when travelling , use the IMAP server from a PC but
> still I think the only option is to request people to avoid sending the
> stuff to the IMAP server.
Please fix your mail setup. There are established standards, and you
have little chance of redefining these.
> Any important mails are better of sent to ulf at atmel.com
Then make sure this is used as From: and Return-path:
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A stone was placed at a ford in a river with the inscription:
"When this stone is covered it is dangerous to ford here."
More information about the U-Boot
mailing list