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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20051104/464fa045/attachment.htm
Quoted 5 lines · In message <[email protected]> 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
Signature · 4 lines
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"
2005/11/4, Wolfgang Denk <[email protected]>:
Quoted 11 lines
Quoted 5 lines · In message <[email protected]> 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.
Quoted 6 lines
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?
Quoted 3 lines · In message <[email protected]> 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
Signature · 5 lines
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.
Quoted 10 lines
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.
Quoted 4 lines
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
Quoted 2 lines · In message <[email protected]> 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.]
Quoted 3 lines
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
Signature · 6 lines
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
-----????-----
???: 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?
Quoted 2 lines · In message <[email protected]> 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.]
Quoted 3 lines
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.
Quoted 2 lines · In message <[email protected]> you wrote:
Kermit is a terminal which download kernel through serial port, but I need
a
Quoted 6 lines
[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?
Quoted 8 lines
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
Quoted 4 lines · In message <[email protected]> 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.
Quoted 2 lines
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.
Quoted 2 lines
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
Signature · 4 lines
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
-----????-----
???: 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?
Quoted 3 lines · In message <[email protected]> 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
Signature · 8 lines
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