All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio@ossystems.com.br>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 6/6] cgtqmx6eval: Add DFU support
Date: Thu, 19 Nov 2015 19:02:38 -0200	[thread overview]
Message-ID: <1447966958-5161-6-git-send-email-otavio@ossystems.com.br> (raw)
In-Reply-To: <1447966958-5161-1-git-send-email-otavio@ossystems.com.br>

Add MMC and SPI DFU support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

Changes in v6: None
Changes in v5: None
Changes in v4: None

 include/configs/cgtqmx6eval.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h
index 79fc0f6..487c011 100644
--- a/include/configs/cgtqmx6eval.h
+++ b/include/configs/cgtqmx6eval.h
@@ -100,6 +100,12 @@
 #define CONFIG_G_DNL_PRODUCT_NUM	0xa4a5
 #define CONFIG_G_DNL_MANUFACTURER	"Congatec"
 
+/* USB Device Firmware Update support */
+#define CONFIG_CMD_DFU
+#define CONFIG_USB_FUNCTION_DFU
+#define CONFIG_DFU_MMC
+#define CONFIG_DFU_SF
+
 #define CONFIG_USB_FUNCTION_FASTBOOT
 #define CONFIG_CMD_FASTBOOT
 #define CONFIG_ANDROID_BOOT_IMAGE
@@ -164,6 +170,10 @@
 	"boot_fdt=try\0" \
 	"ip_dyn=yes\0" \
 	"console=" CONFIG_CONSOLE_DEV "\0" \
+	"dfuspi=dfu 0 sf 0:0:10000000:0\0" \
+	"dfu_alt_info_spl=spl raw 0x400\0" \
+	"dfu_alt_info_img=u-boot raw 0x10000\0" \
+	"dfu_alt_info=spl raw 0x400\0" \
 	"bootm_size=0x10000000\0" \
 	"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
 	"mmcpart=1\0" \
-- 
2.6.2

  parent reply	other threads:[~2015-11-19 21:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 21:02 [U-Boot] [PATCH v6 1/6] cgtqmx6eval: Add SPI NOR flash support Otavio Salvador
2015-11-19 21:02 ` [U-Boot] [PATCH v6 2/6] cgtqmx6eval: Use SPI NOR to store the environment Otavio Salvador
2015-11-19 21:09   ` Fabio Estevam
2015-12-04  8:44     ` Jagan Teki
2015-11-19 21:02 ` [U-Boot] [PATCH v6 3/6] cgtqmx6eval: Add fastboot support Otavio Salvador
2015-11-19 21:09   ` Fabio Estevam
2015-11-19 21:02 ` [U-Boot] [PATCH v6 4/6] cgtqmx6eval: Add SPL support Otavio Salvador
2015-11-19 21:10   ` Fabio Estevam
2015-11-25  8:43   ` Stefano Babic
2015-11-19 21:02 ` [U-Boot] [PATCH v6 5/6] iomux-v3: Take MX6D in consideration for imx_iomux_v3_setup_pad() Otavio Salvador
2015-11-19 21:10   ` Fabio Estevam
2015-11-19 21:02 ` Otavio Salvador [this message]
2015-11-19 21:11   ` [U-Boot] [PATCH v6 6/6] cgtqmx6eval: Add DFU support Fabio Estevam
2015-11-19 21:08 ` [U-Boot] [PATCH v6 1/6] cgtqmx6eval: Add SPI NOR flash support Fabio Estevam
2015-12-04  8:44   ` Jagan Teki
2015-12-04 11:22     ` Fabio Estevam
2015-12-04 11:25       ` Jagan Teki
2015-12-04 11:56         ` Stefano Babic
2015-12-04 12:00           ` Jagan Teki

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=1447966958-5161-6-git-send-email-otavio@ossystems.com.br \
    --to=otavio@ossystems.com.br \
    --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.