All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fastboot is not detected
Date: Wed, 9 Sep 2015 23:21:48 +0200	[thread overview]
Message-ID: <201509092321.48819.marex@denx.de> (raw)
In-Reply-To: <CAOMZO5CcYfpb8sV9oeNsS0o6SaeM78ito1wOJZgcX0iivCBdFA@mail.gmail.com>

On Wednesday, September 09, 2015 at 11:02:45 PM, Fabio Estevam wrote:
> Hi,
> 
> I am trying to add fastboot support for mx6qsabresd and I did the
> following changes on against top of head U-boot:
> 
> --- a/include/configs/mx6sabre_common.h
> +++ b/include/configs/mx6sabre_common.h
> @@ -238,6 +238,12 @@
>  #define CONFIG_G_DNL_VENDOR_NUM        0x0525
>  #define CONFIG_G_DNL_PRODUCT_NUM    0xa4a5
>  #define CONFIG_G_DNL_MANUFACTURER    "FSL"
> +
> +#define CONFIG_USB_FUNCTION_FASTBOOT
> +#define CONFIG_CMD_FASTBOOT
> +#define CONFIG_ANDROID_BOOT_IMAGE
> +#define CONFIG_FASTBOOT_BUF_ADDR   CONFIG_SYS_LOAD_ADDR
> +#define CONFIG_FASTBOOT_BUF_SIZE   0x07000000
>  #endif
> 
>  #endif                         /* __MX6QSABRE_COMMON_CONFIG_H */
> 
> On the U-boot prompt I run:
> 
> => fastboot 0
> 
> and then in the host PC I try to read the bootloader version:
> 
> $ fastboot getvar bootloader-version
> < waiting for device >
> 
> (and it gets stuck here)
> 
> After a CTRL+C I have also tried:
> 
> $ sudo fastboot devices
> $
> 
> ,but nothing is reported.
> 
> I am able to mount the SD card via 'ums 0 mmc 1' command, so the USB
> OTG connection is fine.
> 
> Does anyone have any suggestions?

Don't you need this patch from Peng?
[PATCH] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback
https://patchwork.ozlabs.org/patch/511739/

Best regards,
Marek Vasut

  reply	other threads:[~2015-09-09 21:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09 21:02 [U-Boot] Fastboot is not detected Fabio Estevam
2015-09-09 21:21 ` Marek Vasut [this message]
2015-09-09 21:29   ` Fabio Estevam
2015-09-10  8:00     ` Paul Kocialkowski
2015-09-10 13:16       ` Fabio Estevam
2015-09-09 22:32 ` Bo Shen
2015-09-09 22:58   ` Fabio Estevam

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=201509092321.48819.marex@denx.de \
    --to=marex@denx.de \
    --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.