From: Stefan Agner <stefan@agner.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/3] spl: USB Gadget cleanup
Date: Tue, 15 Nov 2016 12:40:36 -0800 [thread overview]
Message-ID: <14acd7177fbe88cd1761a7d92c4a5917@agner.ch> (raw)
In-Reply-To: <6C6B28D4DC342643927BEAFCE8707BF6C09FF002@DBDE04.ent.ti.com>
On 2016-11-15 00:52, B, Ravi wrote:
> Stefan
>
>> From: Stefan Agner <stefan.agner@toradex.com>
>
>>This patchset cleans up the SPL USB Gadget Kconfig and Makfile.
>>The first two patches are actual fixes and we might consider to add these two for the v2016.11 release. The third one adds a new config option for cleaner structure. I plan to add another USB function with SPL support which is the reason I looked into this...
>
>>Build tested using buildman for all boards on powerpc mips and arm. No new errors or warnings:
>>Building 4 commits for 1072 boards (8 threads, 1 job per thread)
> >4044 0 244 /4288 P1022DS_NAND
>
>>This patchset is probably most interesting for am335x_evm_usbspl_defconfig (CONFIG_SPL_USBETH_SUPPORT) And the board with which SPL DFU support has been introduced dra7xx_evm_defconfig (CONFIG_SPL_DFU_SUPPORT, not set by default)
>
>>Due to lack of any of this hardware I did not run the binaries!
>>Since it is mostly Makefile shuffling I don't expect any runtime behavior changes... If anyone (maybe Ravi or Lukasz, afaik you worked on the SPL DFU support for dra7xx_evm) could test the patchset on actual hardware I would be glad!
>
> Sure, I will test SPL-DFU with this patches on dra7xx platform.
>
> But I see SPL-DFU does not compile (dra7xx_evm_defconfig) in current
> mainline. Due to other patches came in, and also SPL-DFU disabled, I
> agree reason to reduce spl image size limit ("usb:gadget: Disallow DFU
> in SPL for now" commit:6ad6a10), need to compile out dfu gadget when
> SPL-DFU not selected.
> First I will fix the spl-dfu compile issue and then will test this patch series.
This patchset fixes exactly that issue! No need to fix it twice :-)
I just tested it again, and actually realized that I made an error in
the third patch which does not allow to select SPL_DFU_SUPPORT.
Adding this:
config SPL_DFU_SUPPORT
bool "Support DFU (Device Firmware Upgarde)"
- depends on SPL_GADGET_SUPPORT
+ depends on SPL_USB_GADGET_SUPPORT
select SPL_HASH_SUPPORT
help
This feature enables the DFU (Device Firmware Upgarde) in SPL
with
Allows to select SPL / TPL ---> Suppport USB Gadget drivers, and
Support DFU (Device Firmware Upgarde). This compiles fine now.
Will send a v3 which integrates that fix.
--
Stefan
next prev parent reply other threads:[~2016-11-15 20:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-12 19:13 [U-Boot] [PATCH v2 0/3] spl: USB Gadget cleanup Stefan Agner
2016-11-12 19:13 ` [U-Boot] [PATCH v2 1/3] spl: add RAM boot device only if it is actually defined Stefan Agner
2016-11-14 20:44 ` Simon Glass
2016-11-14 22:44 ` Stefan Agner
2016-11-15 0:33 ` Simon Glass
2016-11-12 19:13 ` [U-Boot] [PATCH v2 2/3] spl: dfu: move DFU Kconfig to SPL Kconfig Stefan Agner
2016-11-14 20:44 ` Simon Glass
2016-11-12 19:13 ` [U-Boot] [PATCH v2 3/3] spl: add USB Gadget config option Stefan Agner
2016-11-15 8:52 ` [U-Boot] [PATCH v2 0/3] spl: USB Gadget cleanup B, Ravi
2016-11-15 20:40 ` Stefan Agner [this message]
2016-11-16 7:07 ` B, Ravi
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=14acd7177fbe88cd1761a7d92c4a5917@agner.ch \
--to=stefan@agner.ch \
--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.