public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] How to program flash of omap5912osk with usb?
@ 2005-11-04  8:16 Ziqi He
  2005-11-04  8:44 ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: Ziqi He @ 2005-11-04  8:16 UTC (permalink / raw)
  To: u-boot

Hello all:

I have downloaded the u-boot1.1.3 to the flash of omap5912osk.I can use TFTP
to download kernel to flash, but in this project I must download kernel and
root file system with USB interface. Now I do not know how to settle this
problem. How can I deal with this problem?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20051104/464fa045/attachment.htm 

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

* [U-Boot-Users] How to program flash of omap5912osk with usb?
  2005-11-04  8:16 [U-Boot-Users] How to program flash of omap5912osk with usb? Ziqi He
@ 2005-11-04  8:44 ` Wolfgang Denk
  2005-11-04 10:39   ` He Ziqi
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Denk @ 2005-11-04  8:44 UTC (permalink / raw)
  To: u-boot

In message <436b18bd.24f2c241.6124.ffffa3b7@mx.gmail.com> you wrote:
> 
> I have downloaded the u-boot1.1.3 to the flash of omap5912osk.I can use TFTP
> to download kernel to flash, but in this project I must download kernel and
> root file system with USB interface. Now I do not know how to settle this
> problem. How can I deal with this problem?

You can implement support for USB-based console
(enable with "setenv stdout usbtty; setenv stdin usbtty")
like it was done for the SX1 and omap1510inn board.

Then you can use standard serial download commands (loadb).

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
You see but you do not observe.
Sir Arthur Conan Doyle, in "The Memoirs of Sherlock Holmes"

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

* [U-Boot-Users] How to program flash of omap5912osk with usb?
  2005-11-04  8:44 ` Wolfgang Denk
@ 2005-11-04 10:39   ` He Ziqi
  2005-11-04 11:03     ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: He Ziqi @ 2005-11-04 10:39 UTC (permalink / raw)
  To: u-boot

2005/11/4, Wolfgang Denk <wd@denx.de>:
> In message <436b18bd.24f2c241.6124.ffffa3b7@mx.gmail.com> you wrote:
> >
> > I have downloaded the u-boot1.1.3 to the flash of omap5912osk.I can use TFTP
> > to download kernel to flash, but in this project I must download kernel and
> > root file system with USB interface. Now I do not know how to settle this
> > problem. How can I deal with this problem?
>
> You can implement support for USB-based console
> (enable with "setenv stdout usbtty; setenv stdin usbtty")
> like it was done for the SX1 and omap1510inn board.
>
> Then you can use standard serial download commands (loadb).
>
> Best regards,
>
> Wolfgang Denk
>
Thanks for your help.
But what kind of terminal can we use to download linux kernal to flash?
And what is the name of this terminal?

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

* [U-Boot-Users] How to program flash of omap5912osk with usb?
  2005-11-04 10:39   ` He Ziqi
@ 2005-11-04 11:03     ` Wolfgang Denk
  2005-11-04 11:21       ` [U-Boot-Users] 答复: " Ziqi He
  2005-11-04 11:21       ` [U-Boot-Users] " Ziqi He
  0 siblings, 2 replies; 10+ messages in thread
From: Wolfgang Denk @ 2005-11-04 11:03 UTC (permalink / raw)
  To: u-boot

In message <b5b3fb460511040239hc9ac721r@mail.gmail.com> you wrote:
>
> But what kind of terminal can we use to download linux kernal to flash?
> And what is the name of this terminal?

You can use any serial port on your host computer with some  temrinal
emulation program. I usually use kermit, but you might have different
preferences.



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 all the Chinese simultaneously jumped into the Pacific  off  a  10
foot platform erected 10 feet off their coast, it would cause a tidal
wave that would destroy everything in this country west of Nebraska.

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

* [U-Boot-Users] 答复: [U-Boot-Users] How to program flash of omap5912osk with usb? 
  2005-11-04 11:03     ` Wolfgang Denk
@ 2005-11-04 11:21       ` Ziqi He
  2005-11-04 13:16         ` [U-Boot-Users] " Wolfgang Denk
  2005-11-04 11:21       ` [U-Boot-Users] " Ziqi He
  1 sibling, 1 reply; 10+ messages in thread
From: Ziqi He @ 2005-11-04 11:21 UTC (permalink / raw)
  To: u-boot

>
> But what kind of terminal can we use to download linux kernal to flash?
> And what is the name of this terminal?

>You can use any serial port on your host computer with some  temrinal
>emulation program. I usually use kermit, but you might have different
>preferences.



>Best regards,


>Wolfgang Denk

Kermit is a terminal which download kernel through serial port, but I need a
terminal which can download kernel through USB port because I can not
download kernel through serial port in this project. what kind of terminal
shall I use?

Best regards

Ziqi He

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

* [U-Boot-Users] 答复: [U-Boot-Users] How to program flash of omap5912osk with usb? 
  2005-11-04 11:03     ` Wolfgang Denk
  2005-11-04 11:21       ` [U-Boot-Users] 答复: " Ziqi He
@ 2005-11-04 11:21       ` Ziqi He
  1 sibling, 0 replies; 10+ messages in thread
From: Ziqi He @ 2005-11-04 11:21 UTC (permalink / raw)
  To: u-boot

-----????-----
???: wd at denx.de [mailto:wd at denx.de] 
????: 2005?11?4? 19:03
???: He Ziqi
??: u-boot-users at lists.sourceforge.net
??: Re: [U-Boot-Users] How to program flash of omap5912osk with usb? 

In message <b5b3fb460511040239hc9ac721r@mail.gmail.com> you wrote:
>
> But what kind of terminal can we use to download linux kernal to flash?
> And what is the name of this terminal?

You can use any serial port on your host computer with some  temrinal
emulation program. I usually use kermit, but you might have different
preferences.



Best regards,


Wolfgang Denk

-- 
Kermit is a terminal which download kernel through serial port, but I need a
terminal which can download kernel through USB port because I can not
download kernel through serial port in this project. what kind of terminal
shall I use?

Best regards

Ziqi He

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

* [U-Boot-Users] Re: 答复: [U-Boot-Users] How to program flash of omap5912osk with usb? 
  2005-11-04 11:21       ` [U-Boot-Users] 答复: " Ziqi He
@ 2005-11-04 13:16         ` Wolfgang Denk
  2005-11-07  2:04           ` [U-Boot-Users] 答复: " Ziqi He
  2005-11-07  3:29           ` Ziqi He
  0 siblings, 2 replies; 10+ messages in thread
From: Wolfgang Denk @ 2005-11-04 13:16 UTC (permalink / raw)
  To: u-boot

In message <436b4438.170ad454.6576.fffff10d@mx.gmail.com> you wrote:
>
> Kermit is a terminal which download kernel through serial port, but I need a

[Kermit can do a lot more, bit this is off topic here.]

> terminal which can download kernel through USB port because I can not
> download kernel through serial port in this project. what kind of terminal
> shall I use?

I already told you that you can implement a usbtty device which  acts
like a serial port on the host side.

Please re-read my posting.

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
Remember, an int is not always 16 bits. I'm  not  sure,  but  if  the
80386  is one step closer to Intel's slugfest with the CPU curve that
is aymptotically approaching a real machine, perhaps an int has  been
implemented as 32 bits by some Unix vendors...?       - Derek Terveer

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

* [U-Boot-Users] 答复: 答复: [U-Boot-Users] How to program flash of omap5912osk with usb? 
  2005-11-04 13:16         ` [U-Boot-Users] " Wolfgang Denk
@ 2005-11-07  2:04           ` Ziqi He
  2005-11-07  3:29           ` Ziqi He
  1 sibling, 0 replies; 10+ messages in thread
From: Ziqi He @ 2005-11-07  2:04 UTC (permalink / raw)
  To: u-boot


-----????-----
???: wd at denx.de [mailto:wd at denx.de] 
????: 2005?11?4? 21:17
???: Ziqi He
??: u-boot-users at lists.sourceforge.net
??: Re: ??: [U-Boot-Users] How to program flash of omap5912osk with usb?


In message <436b4438.170ad454.6576.fffff10d@mx.gmail.com> you wrote:
>
> Kermit is a terminal which download kernel through serial port, but I need
a

[Kermit can do a lot more, bit this is off topic here.]

> terminal which can download kernel through USB port because I can not
> download kernel through serial port in this project. what kind of terminal
> shall I use?

I already told you that you can implement a usbtty device which  acts
like a serial port on the host side.

Please re-read my posting.

Best regards,

Wolfgang Denk

I am very sorry for not noticing your good suggestion. And I have understood
your meaning. Thank you very much.

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

* [U-Boot-Users] 答复: 答复: [U-Boot-Users] How to program flash of omap5912osk with usb? 
  2005-11-04 13:16         ` [U-Boot-Users] " Wolfgang Denk
  2005-11-07  2:04           ` [U-Boot-Users] 答复: " Ziqi He
@ 2005-11-07  3:29           ` Ziqi He
  2005-11-07  8:35             ` [U-Boot-Users] " Wolfgang Denk
  1 sibling, 1 reply; 10+ messages in thread
From: Ziqi He @ 2005-11-07  3:29 UTC (permalink / raw)
  To: u-boot

In message <436b4438.170ad454.6576.fffff10d@mx.gmail.com> you wrote:
>
> Kermit is a terminal which download kernel through serial port, but I need
a

> [Kermit can do a lot more, bit this is off topic here.]

> terminal which can download kernel through USB port because I can not
> download kernel through serial port in this project. what kind of terminal
> shall I use?

> I already told you that you can implement a usbtty device which  acts
> like a serial port on the host side.

> Please re-read my posting.

> Best regards,

> Wolfgang Denk


After implementing support for USB-based console ("setenv stdout usbtty;
setenv stdin usbtty") through serial port, I want to download kernel to
flash through USB port. So I connected USB port and typed the command loadb
using the terminal named Hyperterminal in Windows. But I found that the
kernel had been downloaded to flash through serial port rather than USB
port. If I cut down the connection between host serial port and target
serial port, I can not type any command. How can I deal with this problem.

Best regards,

Ziqi He

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

* [U-Boot-Users] Re: 答复: 答复: [U-Boot-Users] How to program flash of omap5912osk with usb? 
  2005-11-07  3:29           ` Ziqi He
@ 2005-11-07  8:35             ` Wolfgang Denk
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2005-11-07  8:35 UTC (permalink / raw)
  To: u-boot

In message <436eca11.0ec11203.0cfa.ffffcb34@mx.gmail.com> you wrote:
>
> After implementing support for USB-based console ("setenv stdout usbtty;
> setenv stdin usbtty") through serial port, I want to download kernel to
> flash through USB port. So I connected USB port and typed the command loadb

"loadb" uses Kermit binary protocol. I am not sure  if  hyperterminal
can send data using this protocol.

> using the terminal named Hyperterminal in Windows. But I found that the
> kernel had been downloaded to flash through serial port rather than USB

No. If you have usbtty working, than your USB link works exactly  like
a serial port as far as U-Boot is concerned.

> port. If I cut down the connection between host serial port and target
> serial port, I can not type any command. How can I deal with this problem.

U-Boot is waiting for a file download using Kermit  Binary  Protocol.
Either  you  send  a  file using this protocol (which requires a tool
that implements this protocol - as mentioned before  I  recomenmd  to
use kermit), or you can terminate the download by pressing ^C.

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
Nothing ever becomes real till it is experienced -- even a proverb is
no proverb to you till your life has illustrated it.     - John Keats

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

end of thread, other threads:[~2005-11-07  8:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04  8:16 [U-Boot-Users] How to program flash of omap5912osk with usb? Ziqi He
2005-11-04  8:44 ` Wolfgang Denk
2005-11-04 10:39   ` He Ziqi
2005-11-04 11:03     ` Wolfgang Denk
2005-11-04 11:21       ` [U-Boot-Users] 答复: " Ziqi He
2005-11-04 13:16         ` [U-Boot-Users] " Wolfgang Denk
2005-11-07  2:04           ` [U-Boot-Users] 答复: " Ziqi He
2005-11-07  3:29           ` Ziqi He
2005-11-07  8:35             ` [U-Boot-Users] " Wolfgang Denk
2005-11-04 11:21       ` [U-Boot-Users] " Ziqi He

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