Enable Android Fastboot support on am335x_evm board
PATCH v4 1/1 Enable Android Fastboot support on am335x_evm board
---
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(+)
include/configs/am335x_evm.h +13 -0
@@ -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 */
Signature · 1 line
1.8.3.2
PATCH v4 1/1 Enable Android Fastboot support on am335x_evm board
Quoted 31 lines · Dileep Katta
Signed-off-by Dileep Katta <[email protected]>---
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 commandinclude/configs/am335x_evm.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)include/configs/am335x_evm.h +5
-0@@ -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
include/configs/am335x_evm.h line 332
Quoted 5 lines
include/configs/am335x_evm.h +2
-0@@ -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
include/configs/am335x_evm.h line 344
Quoted 12 lines
include/configs/am335x_evm.h +6
-0+#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!
Signature · 8 lines
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>
PATCH v5 1/1 Enable Android Fastboot support on am335x_evm board
---
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(-)
include/configs/am335x_evm.h +12 -2
@@ -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 */
Signature · 1 line
1.8.3.2
PATCH v5 1/1 Enable Android Fastboot support on am335x_evm board
Quoted 1 line · Dileep Katta
Signed-off-by Dileep Katta <[email protected]>
After re-working things like this (so that am335x_evm_usbspl still builds):
include/configs/am335x_evm.h +6 -4
@@ -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!
Signature · 8 lines
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>