* [U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE
2012-11-29 7:34 ` [U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE Pantelis Antoniou
@ 2012-11-29 6:33 ` Marek Vasut
2012-11-29 15:54 ` Tom Rini
0 siblings, 1 reply; 6+ messages in thread
From: Marek Vasut @ 2012-11-29 6:33 UTC (permalink / raw)
To: u-boot
Dear Pantelis Antoniou,
> drivers/usb/gadget/composite.c requires that this is defined early.
>
> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Tom, this is OMAP, I'll leave this set to you, ok?
> ---
> include/configs/am335x_evm.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
> index ab9549b..6c8b652 100644
> --- a/include/configs/am335x_evm.h
> +++ b/include/configs/am335x_evm.h
> @@ -39,6 +39,8 @@
> #define CONFIG_SETUP_MEMORY_TAGS
> #define CONFIG_INITRD_TAG
>
> +#define CONFIG_SYS_CACHELINE_SIZE 64
> +
> /* commands to include */
> #include <config_cmd_default.h>
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 0/2] AM335x_EVM DFU support
@ 2012-11-29 7:34 Pantelis Antoniou
2012-11-29 7:34 ` [U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE Pantelis Antoniou
2012-11-29 7:34 ` [U-Boot] [PATCH 2/2] am335x_evm: Add DFU config Pantelis Antoniou
0 siblings, 2 replies; 6+ messages in thread
From: Pantelis Antoniou @ 2012-11-29 7:34 UTC (permalink / raw)
To: u-boot
This patchset enables DFU for the AM335x_EVM family of boards.
Pantelis Antoniou (2):
am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE
am335x_evm: Add DFU config
include/configs/am335x_evm.h | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
--
1.7.12
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE
2012-11-29 7:34 [U-Boot] [PATCH 0/2] AM335x_EVM DFU support Pantelis Antoniou
@ 2012-11-29 7:34 ` Pantelis Antoniou
2012-11-29 6:33 ` Marek Vasut
2012-11-29 7:34 ` [U-Boot] [PATCH 2/2] am335x_evm: Add DFU config Pantelis Antoniou
1 sibling, 1 reply; 6+ messages in thread
From: Pantelis Antoniou @ 2012-11-29 7:34 UTC (permalink / raw)
To: u-boot
drivers/usb/gadget/composite.c requires that this is defined early.
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
---
include/configs/am335x_evm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index ab9549b..6c8b652 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -39,6 +39,8 @@
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
+#define CONFIG_SYS_CACHELINE_SIZE 64
+
/* commands to include */
#include <config_cmd_default.h>
--
1.7.12
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 2/2] am335x_evm: Add DFU config
2012-11-29 7:34 [U-Boot] [PATCH 0/2] AM335x_EVM DFU support Pantelis Antoniou
2012-11-29 7:34 ` [U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE Pantelis Antoniou
@ 2012-11-29 7:34 ` Pantelis Antoniou
2012-11-29 15:54 ` Tom Rini
1 sibling, 1 reply; 6+ messages in thread
From: Pantelis Antoniou @ 2012-11-29 7:34 UTC (permalink / raw)
To: u-boot
Add configuration for using DFU on the am335x_evm boards
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
---
include/configs/am335x_evm.h | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 6c8b652..3c1d16d 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -92,6 +92,7 @@
"setenv fdtfile am335x-evm.dtb; fi; " \
"if test $board_name = A335X_SK; then " \
"setenv fdtfile am335x-evmsk.dtb; fi\0" \
+ CONFIG_DFU_ALT
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev}; if mmc rescan; then " \
@@ -155,6 +156,28 @@
#define CONFIG_CMD_SF
#define CONFIG_SF_DEFAULT_SPEED (24000000)
+/* USB Composite download gadget - g_dnl */
+#define CONFIG_USB_GADGET
+#define CONFIG_USBDOWNLOAD_GADGET
+#define CONFIG_DFU_FUNCTION
+#define CONFIG_DFU_MMC
+
+/* USB TI's IDs */
+#define CONFIG_USBD_HS
+#define CONFIG_G_DNL_VENDOR_NUM 0x0403
+#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
+#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
+
+#define CONFIG_DFU_ALT \
+ "dfu_alt_info=" \
+ "boot part 0 1;" \
+ "rootfs part 0 2;" \
+ "MLO fat 0 1;" \
+ "u-boot.img fat 0 1;" \
+ "uEnv.txt fat 0 1\0"
+
+#define CONFIG_CMD_DFU
+
/* Physical Memory Map */
#define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
#define PHYS_DRAM_1 0x80000000 /* DRAM Bank #1 */
@@ -267,6 +290,7 @@
#define CONFIG_MUSB_GADGET
#define CONFIG_MUSB_PIO_ONLY
#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_USB_GADGET_VBUS_DRAW 2
#define CONFIG_MUSB_HOST
#define CONFIG_AM335X_USB0
#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
--
1.7.12
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE
2012-11-29 6:33 ` Marek Vasut
@ 2012-11-29 15:54 ` Tom Rini
0 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2012-11-29 15:54 UTC (permalink / raw)
To: u-boot
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/29/12 01:33, Marek Vasut wrote:
> Dear Pantelis Antoniou,
>
>> drivers/usb/gadget/composite.c requires that this is defined
>> early.
>>
>> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
>
> Tom, this is OMAP, I'll leave this set to you, ok?
Yes, thanks.
Acked-by: Tom Rini <trini@ti.com>
Marek, once the DFU stuff is happy, please take these two parts via
u-boot-usb.
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQt4UyAAoJENk4IS6UOR1WeSUP/2HRfZgdELKR62EswlCKBn3b
gAIbCHiVCnfzuNDdf3WAMeSUZZVpA9lEH/0F8VdCmCVddDsWJoj0EJ2jyrzR0NXm
hlnnSpxrWXX94LMDb3pHx9R35emE7JVSwLhKHFoH6xIyUkGaLuQMJw+L0LRxvUNf
TB51Mkw3IIlXFA3aPy9Qz75xQjxnWWkkFi9V7WcCo7mu1IuUxEKPvtPZm1Br7gMK
QXEzO9mlsZH+CGXPO/aqmJK6NI4ogv3XxQ5IlVLdKC6Rn8cddkszC+efXwgGFMF7
Yge1ULv2dg9XGJWsLZrL7rH6gJvCShaYT8lUYeVLdT5yu1aJvHrGztS2uDWOACFz
sonpfk2O941t8IokGnuubEDQ/RTKjomVPLQNhiAVfsvvg4eY6K9rmXhFVBGc0zLM
0dEA90uet+CpHlKW5LBI+Qe8nE7fjYeEKl8/nIS9lTMsv0S/8YQFFFSg2z+l23MY
JkwyBRU5WH/d1IjQqBBrvu+oRgrgls2SqzACq8M+NltAzZUjY/Z0MAeZ/s8W1mdx
X76KOaaqxebLlbMrsnZ8GoXrE7qVUs8nRMieTml6yLyh0ep+GnntPmpmFTFSxKpk
dqV17cAS0SbC3L7MFIJgCq59DVjRa93jwfIpaap8sZJD47VPQdHQPvlF0aHG6c66
yn9KjfnSCdL2N5WaK9wG
=uh9r
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 2/2] am335x_evm: Add DFU config
2012-11-29 7:34 ` [U-Boot] [PATCH 2/2] am335x_evm: Add DFU config Pantelis Antoniou
@ 2012-11-29 15:54 ` Tom Rini
0 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2012-11-29 15:54 UTC (permalink / raw)
To: u-boot
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/29/12 02:34, Pantelis Antoniou wrote:
> Add configuration for using DFU on the am335x_evm boards
>
> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Acked-by: Tom Rini <trini@ti.com>
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQt4VHAAoJENk4IS6UOR1WVD4P/0BhOEMYefiOZnXHtIeZ/6D4
wd5p/imD2odhh9ZicoyCtYN1EIAYJJjoQplbrj7EeO9M1kjAlm57scI2v4qR3YE+
nRxTMnP4k3rGgeMHUkRyl3okzP0r27bPArVTeCbJ4U0Jx6vFmNScvGaOCKhv7GA7
pAq4Xu6RLGktt2qauZfxqbxTXqrfQNQ85xUotl+KpzM0RkB2RdAPa2lusI3nuLgS
f8rvF2Y2nlPj5X39S5220oo55XbOU8XIBmbn0mR2Hj4c447qr1WtJjGydSspYqAq
YtyZzKXHCZuM/kI5WXTeBnnlEi6/UHULqNVQXniI2GGmYjW4IBYLfNHgYZq6Y0uo
78cZKc0aHyiD0wcKGJtRpAZ/Np/umqD9zWZ5QbVsVDm8YP/ejcL+g9kOAjgewouT
UHZDMmyERU+V/2p6SzwGZj4h06Lrr9Lt1Dd+QyuKCV2S/hieq8FPGkQdnbxIKMN1
M6JdEe517DrU5W3wO9R21p3j38vXUb2PPUL8gn4ctpsLrvKuZlVQhJvA/+wWu4HT
L/7bJfQkxBJa/MKDnkHkyU9u7dULl5IorT52z3e/BYZLNHUh1MzUr2Sd9hOwoH2W
L4ppYTNDRKVYsIs4iLBcfclcGKQg+GazZuQTbFvz6NQY1cLL3DX7t9BWbmdsqh9B
fCcJMpshPOKDsq+TJkO8
=hZ65
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-29 15:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 7:34 [U-Boot] [PATCH 0/2] AM335x_EVM DFU support Pantelis Antoniou
2012-11-29 7:34 ` [U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE Pantelis Antoniou
2012-11-29 6:33 ` Marek Vasut
2012-11-29 15:54 ` Tom Rini
2012-11-29 7:34 ` [U-Boot] [PATCH 2/2] am335x_evm: Add DFU config Pantelis Antoniou
2012-11-29 15:54 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox