public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] usb: gadget: fastboot miscellaneous patches
Date: Tue, 30 Sep 2014 19:03:21 -0700	[thread overview]
Message-ID: <542B60E9.1070202@boundarydevices.com> (raw)
In-Reply-To: <201410010159.44694.marex@denx.de>

Hi Marek,

On 09/30/2014 04:59 PM, Marek Vasut wrote:
> On Tuesday, September 30, 2014 at 09:47:07 PM, Eric Nelson wrote:
>> Hi Marek,
>>
>> On 09/30/2014 12:37 PM, Marek Vasut wrote:
>>> On Tuesday, September 30, 2014 at 09:05:39 PM, Eric Nelson wrote:
>>>> While trying to configure Nitrogen6X boards to use Android Fastboot,
>>>> I found a number of places where the implementation doesn't appear
>>>> to match the latest host tools on AOSP.
>>>>
>>>> Eric Nelson (3):
>>>>   usb: gadget: fastboot: add max-download-size variable
>>>>   usb: gadget: fastboot: explicitly set radix of maximum download size
>>>>   usb: gadget: fastboot: terminate commands with NULL
>>>
>>> Just to make sure, are those fixes for 2014.10 or new stuff for next ?
>>
>> These patches are against master, but should apply against usb/next and
>> dfu/next and "next" is fine for us.
> 
> 3/3 looks like a bugfix though. Is that a bugfix ?
> 

I wasn't able to get fastboot to do much of anything without all three.

-- lack of max-download-size simply stopped downloads
-- the missing radix caused my host to think that the 0x07000000
size (copied from Beagle) was 1.8 MiB instead of 100+ MiB.
-- the lack of termination showed up as a request to download
a **huge** image when I tried to send u-boot.imx. I think I got
lucky that the next characters in the buffer looked like hex digits.

I suspect that others are either holding on to some local patches
or are perhaps using old versions of the Fastboot host program.

After applying all three, I was able to configure for flashing on
an MMC device, but I don't have anything configured to use EFI
partitions, so there's no immediate route to usage for us.

I'd really like to be able to "fastboot flash bootloader u-boot.imx"
and program SPI-NOR and also be able to boot a kernel and RAM disk
using "fastboot boot uImage uramdisk.img", but neither of them seems
very close. The first needs some more structure, and the latter seemed
to decide its' own address for the kernel and simply ignore the
RAM disk.

I have the sense that this code is pretty much a work in progress,
but I'd like to hear otherwise from those who have used it.

Regards,


Eric

  reply	other threads:[~2014-10-01  2:03 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30 19:05 [U-Boot] [PATCH 0/3] usb: gadget: fastboot miscellaneous patches Eric Nelson
2014-09-30 19:05 ` [U-Boot] [PATCH 1/3] usb: gadget: fastboot: add max-download-size variable Eric Nelson
2014-10-01 20:38   ` Steve Rae
2014-10-02  2:37     ` Marek Vasut
2014-10-02 16:50       ` Steve Rae
2014-09-30 19:05 ` [U-Boot] [PATCH 2/3] usb: gadget: fastboot: explicitly set radix of maximum download size Eric Nelson
2014-10-01 20:39   ` Steve Rae
2014-09-30 19:05 ` [U-Boot] [PATCH 3/3] usb: gadget: fastboot: terminate commands with NULL Eric Nelson
2014-10-01 20:40   ` Steve Rae
2014-10-01 21:23     ` Eric Nelson
2014-10-01 21:30     ` [U-Boot] [PATCH V2 " Eric Nelson
2014-09-30 19:37 ` [U-Boot] [PATCH 0/3] usb: gadget: fastboot miscellaneous patches Marek Vasut
2014-09-30 19:47   ` Eric Nelson
2014-09-30 23:59     ` Marek Vasut
2014-10-01  2:03       ` Eric Nelson [this message]
2014-10-01 12:13         ` Marek Vasut
2014-10-01 20:44           ` Steve Rae
2014-10-03 20:16             ` Marek Vasut
2014-10-06  9:23               ` Lukasz Majewski
2014-10-06 12:50                 ` Marek Vasut
2014-10-06 15:49                   ` Eric Nelson
2014-10-06 19:07                     ` Marek Vasut
2014-10-06 20:01                       ` Eric Nelson
2014-10-06 21:44                         ` Marek Vasut
2014-10-06 17:00                   ` Lukasz Majewski

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=542B60E9.1070202@boundarydevices.com \
    --to=eric.nelson@boundarydevices.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox