U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dileep Katta <dileep.katta@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 1/1] Enable Android Fastboot support on am335x_evm board
Date: Wed, 29 Oct 2014 05:07:11 +0530	[thread overview]
Message-ID: <1414539431-10212-1-git-send-email-dileep.katta@linaro.org> (raw)
In-Reply-To: <20141024150726.GV25506@bill-the-cat>

Signed-off-by: Dileep Katta <dileep.katta@linaro.org>
---
Changes in v2:
                - None
Changes in v3:
                - None
Changes in v4:
                - None
                - Fastboot flash command changes by Steve Rae are in mainline
                - This enables the code for BeagleBone Black
                - Not submitting the changes made for flash command
Changes in v5:
                - Verified eth gadget with new VID/PID
                - Changed the code to use new VID/PID always
                - Added spaces as required

 include/configs/am335x_evm.h | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 1ec783d..7c83e3b 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -314,6 +314,12 @@
 #define CONFIG_AM335X_USB1
 #define CONFIG_AM335X_USB1_MODE MUSB_HOST
 
+/* Fastboot */
+#define CONFIG_CMD_FASTBOOT
+#define CONFIG_ANDROID_BOOT_IMAGE
+#define CONFIG_USB_FASTBOOT_BUF_ADDR	CONFIG_SYS_LOAD_ADDR
+#define CONFIG_USB_FASTBOOT_BUF_SIZE	0x07000000
+
 #ifdef CONFIG_MUSB_HOST
 #define CONFIG_CMD_USB
 #define CONFIG_USB_STORAGE
@@ -324,9 +330,13 @@
 #define CONFIG_USB_ETH_RNDIS
 #define CONFIG_USBNET_HOST_ADDR	"de:ad:be:af:00:00"
 
+/*To support eMMC booting*/
+#define CONFIG_STORAGE_EMMC
+#define CONFIG_FASTBOOT_FLASH_MMC_DEV   1
+
 /* USB TI's IDs */
-#define CONFIG_G_DNL_VENDOR_NUM 0x0403
-#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
+#define CONFIG_G_DNL_VENDOR_NUM 0x0451
+#define CONFIG_G_DNL_PRODUCT_NUM 0xD022
 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
 #endif /* CONFIG_MUSB_GADGET */
 
-- 
1.8.3.2

  reply	other threads:[~2014-10-28 23:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-13 11:08 [U-Boot] [PATCH v4 1/1] Enable Android Fastboot support on am335x_evm board Dileep Katta
2014-10-24 15:07 ` Tom Rini
2014-10-28 23:37   ` Dileep Katta [this message]
2014-11-05 21:29     ` [U-Boot] [U-Boot, v5, " Tom Rini

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=1414539431-10212-1-git-send-email-dileep.katta@linaro.org \
    --to=dileep.katta@linaro.org \
    --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