
Thanks for your response. I want to tell few more things about our implementation.
Actually we are planning to simulate (but not implement) the file system and implement the SCSI transparent command set decoder. When ever a file is sent to the USB mass storage device, we will be taking the content of that file to use for our application. The actual application does not require all the features of a Mass Storage Device; we just want it to look like a Mass Storage Device for transferring the data in the form of a file and for some other usage.
Because of some constraints, we have to implement all this stuff at u-boot level, instead of doing it in OS(Linux) level.
Regards, Yogesh
--- On Tue, 6/8/10, Wolfgang Denk wd@denx.de wrote:
From: Wolfgang Denk wd@denx.de Subject: Re: [U-Boot] U-boot: Beagle board as a USB Mass Storage Device Class To: "yogesh b" b_yogesh_snowy@yahoo.com Cc: u-boot@lists.denx.de Date: Tuesday, June 8, 2010, 12:51 PM
Dear yogesh b,
In message 458375.64426.qm@web38807.mail.mud.yahoo.com you wrote:
I want to make the Beagle board (with u-boot) to look like a USB Mass Storage Device when it is connected to the host PC. Can anyone suggest regarding the files that I need to update in u-boot code, to make the Beagle board look like a USB Mass Storage Device.
You don't need to and should not change anything in U-Boot. All it takes to do what you want is a two stage boot procedure. In the first step, boot Linux.
Keep in mind that U-Boot is a boot loader, not an operating system. Fancy stuff should be done where the enviornment is available for it, i. e. in an operating system.
[Note: even if you implement Device Mode support as an USB Mass Storage Device in U-Boot that would be just the first step - you would then most probably need write support for the file system(s) of your choice, and ... and ...]
Best regards,
Wolfgang Denk