All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joey Oravec <joravec@drewtech.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Reading mediacard compressed files
Date: Fri, 13 Jul 2007 11:10:14 -0400	[thread overview]
Message-ID: <f784kr$710$1@sea.gmane.org> (raw)
In-Reply-To: 331ACB2C846.00000166ejr@inbox.com

"Junior" <ejr@inbox.com> wrote in message 
news:331ACB2C846.00000166ejr at inbox.com...
> Hi All,
> I have a media card that has one fat partition with a testfile.gzip 
> (unrelated to the kernel).
> I would like to read this file and uncompress it to SD memory.
> Can this be done and if so, how do I achieve this?
> I've enabled FAT support but fatinfo requires "dev[:part]" and I'm not 
> sure what to
> specify as my device and partition.

Typically "fatinfo mmc 0". The command is of the format "fatinfo <interface> 
<dev[:part]>"

Interface is important for common/cmd_fat.c function get_dev() where it 
calls a different function for each name. It passes the device number to a 
function mmc_get_dev which is probably in your cpu-specific files unless 
something has changed since 1.1.5. My at91 mmc/sd implementation is quite 
simple because I only support one device. I completely ignore the dev 
parameter and return a pointer for the only device available on my system.

-joey 

  reply	other threads:[~2007-07-13 15:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 14:53 [U-Boot-Users] Reading mediacard compressed files Junior
2007-07-13 15:10 ` Joey Oravec [this message]
2007-07-13 15:24   ` Junior
2007-07-13 15:35     ` Joey Oravec
2007-07-13 15:41     ` Jerry Van Baren
2007-07-13 15:47       ` Junior
     [not found] <331acb2c846.00000166ejr@inbox.com>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='f784kr$710$1@sea.gmane.org' \
    --to=joravec@drewtech.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.