Skip to contentSkip to conversation

Write back flash content to SD/MMC Card

U-Boot A. Geisreiter 2 participants 3 messages Aug 12, 2009 – Aug 13, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I will write back the complete content of my flash memory to a binary File on SD/MMC Card. How can I do this? Is there any support to create a file on SD/MMC card?

Thanks,

Andreas

#1 lore raw

Dear "A. Geisreiter",

Quoted 4 lines · In message <000001ca1b14$5b5e4100$121ac300$@de> you wrote:

I will write back the complete content of my flash memory to a binary File on SD/MMC Card. How can I do this? Is there any support to create a file on SD/MMC card?

Yes, there is such support - under Linux.

Best regards,

Wolfgang Denk

Signature · 6 lines
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
One of the advantages of being a captain is being able to ask for ad-
vice without necessarily having to take it.
	-- Kirk, "Dagger of the Mind", stardate 2715.2

A message that is not in the archive (sent off-list or not yet received): 004f01ca1bd9$9b5a25b0$d20e7110$@de

#3 lore raw

Dear "A. Geisreiter",

Quoted 4 lines · In message <004f01ca1bd9$9b5a25b0$d20e7110$@de> you wrote:

I use U-Boot for booting Windows CE, not Linux. I need the functionality, because I will create a custom-built master image. And after I have finished the image, I will copy the complete flash content to a file on SD/MMC Card. Is there no support to create a File on SD/MMC - Card with U-Boot?

Please do not top post, full quote. And keep the mailing list on cc:

Please read http://www.netmeister.org/news/learn2quote.html

Quoted 5 lines
Quoted 3 lines

I will write back the complete content of my flash memory to a binary File on SD/MMC Card. How can I do this? Is there any support to create a file on SD/MMC card?

Yes, there is such support - under Linux.

U-Boot does not support wrting to file systems (at least not yet - patches are welcome).

Consider writing the files under your OS of coice. I know it works fine under Linux, so probably you can do something similar in wince, too.

Best regards,

Wolfgang Denk

Signature · 5 lines
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
Unser Kopf ist rund, damit das Denken die Richtung wechseln kann.
                                                   -- Francis Picabia