U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] tftp loadable applets?
@ 2005-11-29 10:39 John Davis
  2005-11-29 10:51 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: John Davis @ 2005-11-29 10:39 UTC (permalink / raw)
  To: u-boot

Hello

I noticed that there is a tftpboot command.  Is there a similar
mechanism in place for uploading applets via tftp?

JD

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] tftp loadable applets?
  2005-11-29 10:39 John Davis
@ 2005-11-29 10:51 ` Wolfgang Denk
  2005-11-29 12:26   ` John Davis
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2005-11-29 10:51 UTC (permalink / raw)
  To: u-boot

In message <6a7ac2300511290239k677fafe1w72c70147e44c5b57@mail.gmail.com> you wrote:
> 
> I noticed that there is a tftpboot command.  Is there a similar
> mechanism in place for uploading applets via tftp?

Why would you need something different? Just use the tftp command  to
download  your  standalone  code  like  you use it to load OS images,
ramdisks, or anything else.

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
Like winter snow on summer lawn, time past is time gone.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] tftp loadable applets?
  2005-11-29 10:51 ` Wolfgang Denk
@ 2005-11-29 12:26   ` John Davis
  2005-11-29 12:35     ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: John Davis @ 2005-11-29 12:26 UTC (permalink / raw)
  To: u-boot

Hello Wolfgang,

Hmm.  I didn't know there was such a command.  When I did help at the
uboot prompt, I only saw tftpboot.  I guess I need to determine how to
include this command.  Or is it a command which does not have a help
text?

JD

On 11/29/05, Wolfgang Denk <wd@denx.de> wrote:
> In message <6a7ac2300511290239k677fafe1w72c70147e44c5b57@mail.gmail.com> you wrote:
> >
> > I noticed that there is a tftpboot command.  Is there a similar
> > mechanism in place for uploading applets via tftp?
>
> Why would you need something different? Just use the tftp command  to
> download  your  standalone  code  like  you use it to load OS images,
> ramdisks, or anything else.
>
> 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
> Like winter snow on summer lawn, time past is time gone.
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] tftp loadable applets?
  2005-11-29 12:26   ` John Davis
@ 2005-11-29 12:35     ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2005-11-29 12:35 UTC (permalink / raw)
  To: u-boot

In message <6a7ac2300511290426n5acea443o4ea8eb9874e0ff26@mail.gmail.com> you wrote:
> 
> Hmm.  I didn't know there was such a command.  When I did help at the
> uboot prompt, I only saw tftpboot.  I guess I need to determine how to
> include this command.  Or is it a command which does not have a help
> text?

All command names can be abbreviated as long as they are  unique.  It
does  not matter if you type "tftpboot" or "tftp" or just "tf" - it's
all the same.

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 little knowledge is a dangerous thing."                - Doug Gwyn

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] tftp loadable applets?
@ 2005-11-29 23:51 Zhen Wang
  2005-11-30  0:10 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Zhen Wang @ 2005-11-29 23:51 UTC (permalink / raw)
  To: u-boot

JD <davisjf@gmail.com> wrote:

I noticed that there is a tftpboot command.  Is there a similar
mechanism in place for uploading applets via tftp?

I had booted uClinux's compressed zImage utilizing 'tftpboot' command 
and a following 'go' command as my 'CONFIG_BOOTCOMMAND' successfully.
Though I haven't tried to use 'tftpboot' to load applets, it seems 
possible in that zImage is also a binary file(not ELF). The 
'CONFIG_BOOTCOMMAND' and some relevant configurations were configured as 
below in my include/configs/<board>.h:

#define	CFG_LOAD_ADDR		0x0c480000
#define CONFIG_BOOTFILE		"zImage"
#define CONFIG_BOOTCOMMAND	"tftpboot\; go 0c480000"

Note: 0x0c480000 is in the SDRAM address range.

Regards,

Zhen Wang

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] tftp loadable applets?
  2005-11-29 23:51 [U-Boot-Users] tftp loadable applets? Zhen Wang
@ 2005-11-30  0:10 ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2005-11-30  0:10 UTC (permalink / raw)
  To: u-boot

In message <438CE99B.9000201@gmail.com> you wrote:
> 
> I noticed that there is a tftpboot command.  Is there a similar
> mechanism in place for uploading applets via tftp?

No.

> I had booted uClinux's compressed zImage utilizing 'tftpboot' command 
> and a following 'go' command as my 'CONFIG_BOOTCOMMAND' successfully.

And you have probably read in the  manual  that  this  is  *not*  the
correct  way  to  boot  Linux  images. You are supposed to use proper
image files and the "bootm" command.

> Though I haven't tried to use 'tftpboot' to load applets, it seems 
> possible in that zImage is also a binary file(not ELF). The 

"It seems possible." Wow. You really understand what you  are  doing,
aren't you?

> 'CONFIG_BOOTCOMMAND' and some relevant configurations were configured as 
> below in my include/configs/<board>.h:

And why are you posting this information? I can't find a question  or
hint of a problem?

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
If you can't beat it or corrupt it, you pretend it was your  idea  in
the first place.                 - Terry Pratchett, _Guards! Guards!_

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-30  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-29 23:51 [U-Boot-Users] tftp loadable applets? Zhen Wang
2005-11-30  0:10 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-11-29 10:39 John Davis
2005-11-29 10:51 ` Wolfgang Denk
2005-11-29 12:26   ` John Davis
2005-11-29 12:35     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox