[U-Boot-Users] How to program flash of omap5912osk with usb?

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?

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

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?

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

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

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

-----邮件原件----- 发件人: wd@denx.de [mailto:wd@denx.de] 发送时间: 2005年11月4日 21:17 收件人: Ziqi He 抄送: u-boot-users@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.

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

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

-----邮件原件----- 发件人: wd@denx.de [mailto:wd@denx.de] 发送时间: 2005年11月4日 19:03 收件人: He Ziqi 抄送: u-boot-users@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
participants (3)
-
He Ziqi
-
Wolfgang Denk
-
Ziqi He