From: Wolfgang Denk Date: Tue, 08 Jun 2010 09:21:13 +0200 Subject: [U-Boot] U-boot: Beagle board as a USB Mass Storage Device Class In-Reply-To: <458375.64426.qm@web38807.mail.mud.yahoo.com> References: <458375.64426.qm@web38807.mail.mud.yahoo.com> Message-ID: <20100608072113.C0CFE14E867@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Every program has at least one bug and can be shortened by at least one instruction - from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work.