mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jason Cooper <barebox@lakedaemon.net>
Cc: barebox@lists.infradead.org
Subject: Re: imx-usb-image write to usb error
Date: Thu, 5 Sep 2013 08:46:39 +0200	[thread overview]
Message-ID: <20130905064639.GO30088@pengutronix.de> (raw)
In-Reply-To: <20130905010436.GP19598@titan.lakedaemon.net>

Hi Jason,

On Wed, Sep 04, 2013 at 09:04:36PM -0400, Jason Cooper wrote:
> All,
> 
> This is the first I've messed with i.MX, so I'm a little lost. :)
> 
> I'm putting together a patch to add support for the SanDisk Connect
> Wireless Media Drive [1], code dump from SanDisk is here [2].  It turns
> out when you unplug the battery, it'll show up as the Freescale hid.
> 
> Here's what I get:
> 
> $ ./scripts/imx/imx-image -c \
> arch/arm/boards/sandisk-connect-wmd/flash-header-lpddr1.imxcfg -f \
> barebox.bin -o barebox.imx
> $ sudo ./scripts/imx/imx-usb-loader -vvvvv ./barebox.imx 
> found i.MX50 USB device [15a2:0052]

I never tested this on an i.MX50 due to lack of hardware. Have a look
at scripts/imx/imx-usb-loader.c at imx_ids. i.MX50 is very similar to
i.MX51. The i.MX51 has:

	{
		.vid = 0x15a2,
		.pid = 0x0041,
		.name = "i.MX51",
		.header_type = HDR_MX51,
		.mode = MODE_BULK,
		.max_transfer = 64,
	},

The header_type, mode and max_transfer fields are missing for i.MX50. I
assume that's the problem.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2013-09-05  6:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05  1:04 Jason Cooper
2013-09-05  6:46 ` Sascha Hauer [this message]
2013-09-09 17:41   ` Jason Cooper
2013-09-11  7:00     ` Sascha Hauer

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=20130905064639.GO30088@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lakedaemon.net \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox