* [U-Boot] [PATCH v4 1/1] Enable Android Fastboot support on am335x_evm board
@ 2014-10-13 11:08 Dileep Katta
2014-10-24 15:07 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Dileep Katta @ 2014-10-13 11:08 UTC (permalink / raw)
To: u-boot
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
include/configs/am335x_evm.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 476430d..73c3153 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -313,6 +313,11 @@
#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
#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
@@ -323,10 +328,18 @@
#define CONFIG_USB_ETHER
#define CONFIG_USB_ETH_RNDIS
#define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00"
+#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1
+/*To support eMMC booting*/
+#define CONFIG_STORAGE_EMMC
/* USB TI's IDs */
+#ifdef CONFIG_CMD_FASTBOOT
+#define CONFIG_G_DNL_VENDOR_NUM 0x0451
+#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 /* TI fastboot PID */
+#else
#define CONFIG_G_DNL_VENDOR_NUM 0x0403
#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
+#endif
#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
#endif /* CONFIG_MUSB_GADGET */
--
1.8.3.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v4 1/1] Enable Android Fastboot support on am335x_evm board
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 ` [U-Boot] [PATCH v5 " Dileep Katta
0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2014-10-24 15:07 UTC (permalink / raw)
To: u-boot
On Mon, Oct 13, 2014 at 04:38:44PM +0530, Dileep Katta wrote:
> 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
> include/configs/am335x_evm.h | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
> index 476430d..73c3153 100644
> --- a/include/configs/am335x_evm.h
> +++ b/include/configs/am335x_evm.h
> @@ -313,6 +313,11 @@
> #define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
> #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
> @@ -323,10 +328,18 @@
> #define CONFIG_USB_ETHER
> #define CONFIG_USB_ETH_RNDIS
> #define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00"
> +#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1
> +/*To support eMMC booting*/
Add spaces
> +#define CONFIG_STORAGE_EMMC
>
> /* USB TI's IDs */
> +#ifdef CONFIG_CMD_FASTBOOT
> +#define CONFIG_G_DNL_VENDOR_NUM 0x0451
> +#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 /* TI fastboot PID */
> +#else
> #define CONFIG_G_DNL_VENDOR_NUM 0x0403
> #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
> +#endif
> #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
> #endif /* CONFIG_MUSB_GADGET */
Please confirm that gadget eth still works with the other VID/PID and
then just always do it. Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141024/63a6de00/attachment-0001.pgp>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v5 1/1] Enable Android Fastboot support on am335x_evm board
2014-10-24 15:07 ` Tom Rini
@ 2014-10-28 23:37 ` Dileep Katta
2014-11-05 21:29 ` [U-Boot] [U-Boot, v5, " Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Dileep Katta @ 2014-10-28 23:37 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [U-Boot, v5, 1/1] Enable Android Fastboot support on am335x_evm board
2014-10-28 23:37 ` [U-Boot] [PATCH v5 " Dileep Katta
@ 2014-11-05 21:29 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2014-11-05 21:29 UTC (permalink / raw)
To: u-boot
On Wed, Oct 29, 2014 at 05:07:11AM +0530, Dileep Katta wrote:
> Signed-off-by: Dileep Katta <dileep.katta@linaro.org>
After re-working things like this (so that am335x_evm_usbspl still
builds):
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 7c83e3b..560e3bf 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -314,12 +314,18 @@
#define CONFIG_AM335X_USB1
#define CONFIG_AM335X_USB1_MODE MUSB_HOST
+#ifndef CONFIG_SPL_USBETH_SUPPORT
/* 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
+/* To support eMMC booting */
+#define CONFIG_STORAGE_EMMC
+#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1
+#endif
+
#ifdef CONFIG_MUSB_HOST
#define CONFIG_CMD_USB
#define CONFIG_USB_STORAGE
@@ -330,10 +336,6 @@
#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 0x0451
#define CONFIG_G_DNL_PRODUCT_NUM 0xD022
Applied to u-boot-ti/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141105/0ecdf0ca/attachment.pgp>
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-05 21:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [U-Boot] [PATCH v5 " Dileep Katta
2014-11-05 21:29 ` [U-Boot] [U-Boot, v5, " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox