From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RESEND PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target
Date: Mon, 08 Jul 2013 16:20:23 +0900 [thread overview]
Message-ID: <51DA6837.9090602@samsung.com> (raw)
In-Reply-To: <20130708081931.0763a378@amdc308.digital.local>
On 08/07/13 15:19, Lukasz Majewski wrote:
> On Sun, 07 Jul 2013 14:48:18 +0900, Minkyu Kang wrote:
>
> Dear Minkyu,
>
>> Dear Lukasz,
>>
>>
>> On 4 July 2013 19:52, Lukasz Majewski <l.majewski@samsung.com> wrote:
>>
>>> From: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
>>>
>>> Proper adjustment for supporting DFU at GONI target has been made.
>>> The s5p_goni.h file has been updated. Moreover the code for low
>>> level USB initialization has been added to GONI board code.
>>>
>>> Signed-off-by: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
>>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>>> Tested-by: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
>>> Cc: Minkyu Kang <mk7.kang@samsung.com>
>>> ---
>>>
>>
>> Please add change log here.
>> And this patch seem version 3 (or 2?), but you did not mention it.
>
> To be honest it is RESEND to v2 of this patch. Since v2 didn't applied
> to u-boot-samsung/master branch.
why you resend v1 patch?
>
> Why I did resend? You have only replied on the PATCH 2/4 and I thought
> that other patches are still under review. I didn't want to send v3
> over patches which might be under review.
Suit yourself.
>
>>
>>
>>> board/samsung/goni/goni.c | 7 +++++++
>>> include/configs/s5p_goni.h | 20 +++++++++++++++++++-
>>> 2 files changed, 26 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c
>>> index ff76963..3c53106 100644
>>> --- a/board/samsung/goni/goni.c
>>> +++ b/board/samsung/goni/goni.c
>>> @@ -155,4 +155,11 @@ struct s3c_plat_otg_data s5pc110_otg_data = {
>>> .regs_otg = S5PC110_OTG_BASE,
>>> .usb_phy_ctrl = S5PC110_USB_PHY_CONTROL,
>>> };
>>> +
>>> +void board_usb_init(void)
>>> +{
>>> + debug("USB_udc_probe\n");
>>> + s3c_udc_probe(&s5pc110_otg_data);
>>> +}
>>> +
>>> #endif
>>> diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
>>> index ec43652..8a824c7 100644
>>> --- a/include/configs/s5p_goni.h
>>> +++ b/include/configs/s5p_goni.h
>>> @@ -86,6 +86,17 @@
>>> #define CONFIG_CMD_ONENAND
>>> #define CONFIG_CMD_MTDPARTS
>>> #define CONFIG_CMD_MMC
>>> +#define CONFIG_CMD_DFU
>>> +
>>> +/* USB Composite download gadget - g_dnl */
>>> +#define CONFIG_USBDOWNLOAD_GADGET
>>> +#define CONFIG_DFU_FUNCTION
>>> +#define CONFIG_DFU_MMC
>>> +
>>> +/* USB Samsung's IDs */
>>> +#define CONFIG_G_DNL_VENDOR_NUM 0x04E8
>>> +#define CONFIG_G_DNL_PRODUCT_NUM 0x6601
>>> +#define CONFIG_G_DNL_MANUFACTURER "Samsung"
>>>
>>> #define CONFIG_BOOTDELAY 1
>>> #define CONFIG_ZERO_BOOTDELAY_CHECK
>>> @@ -105,6 +116,10 @@
>>> ",60m(qboot)"\
>>> ",-(UBI)\0"
>>>
>>> +#define CONFIG_DFU_ALT \
>>> + "u-boot mmc 80 400;" \
>>> + "uImage fat 0 2\0" \
>>> +
>>> #define NORMAL_MTDPARTS_DEFAULT MTDPARTS_DEFAULT
>>>
>>> #define CONFIG_BOOTCOMMAND "run mmcboot"
>>> @@ -175,7 +190,9 @@
>>> "bootblock=9\0" \
>>> "ubiblock=8\0" \
>>> "ubi=enabled\0" \
>>> - "opts=always_resume=1"
>>> + "opts=always_resume=1\0" \
>>> + "dfu_alt_info=" CONFIG_DFU_ALT
>>> +
>>>
>>
>> seems redundant blank line.
>
> Ok.
>
>>
>>
>>>
>>> /* Miscellaneous configurable options */
>>> #define CONFIG_SYS_LONGHELP /* undef to save memory */
>>> @@ -242,5 +259,6 @@
>>> #define CONFIG_USB_GADGET
>>> #define CONFIG_USB_GADGET_S3C_UDC_OTG
>>> #define CONFIG_USB_GADGET_DUALSPEED
>>> +#define CONFIG_USB_GADGET_VBUS_DRAW 2
>>>
>>> #endif /* __CONFIG_H */
>>> --
>>> 1.7.10.4
>>>
>>> _______________________________________________
>>> U-Boot mailing list
>>> U-Boot at lists.denx.de
>>> http://lists.denx.de/mailman/listinfo/u-boot
>>>
>>
>>
>> Thanks,
>> Minkyu Kang.
>
>
next prev parent reply other threads:[~2013-07-08 7:20 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-24 15:36 [U-Boot] [PATCH 0/4] arm:goni: Update GONI configuration Lukasz Majewski
2013-06-24 15:36 ` [U-Boot] [PATCH 1/4] arm:goni: Update configuration for goni target Lukasz Majewski
2013-06-24 15:36 ` [U-Boot] [PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target Lukasz Majewski
2013-06-25 5:19 ` Sumit Gemini
2013-06-25 6:44 ` Lukasz Majewski
2013-06-25 6:57 ` Sumit Gemini
2013-06-25 7:35 ` Lukasz Majewski
2013-06-25 8:12 ` Sumit Gemini
2013-06-26 8:24 ` Minkyu Kang
2013-06-26 10:23 ` [U-Boot] [PATCH v2 " Lukasz Majewski
2013-07-02 8:59 ` Minkyu Kang
2013-06-24 15:36 ` [U-Boot] [PATCH 3/4] arm:goni: Update of GONI partitioning scheme at eMMC Lukasz Majewski
2013-06-24 15:36 ` [U-Boot] [PATCH 4/4] arm:goni: Add support for USB mass storage Lukasz Majewski
2013-07-04 10:52 ` [U-Boot] [RESEND PATCH 0/4] arm:goni: Update GONI configuration Lukasz Majewski
2013-07-04 10:52 ` [U-Boot] [RESEND PATCH 1/4] arm:goni: Update configuration for goni target Lukasz Majewski
2013-07-05 4:17 ` Jaehoon Chung
2013-07-05 7:09 ` Lukasz Majewski
2013-07-04 10:52 ` [U-Boot] [RESEND PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target Lukasz Majewski
2013-07-07 5:48 ` Minkyu Kang
2013-07-08 6:19 ` Lukasz Majewski
2013-07-08 7:20 ` Minkyu Kang [this message]
2013-07-04 10:52 ` [U-Boot] [RESEND PATCH 3/4] arm:goni: Update of GONI partitioning scheme at eMMC Lukasz Majewski
2013-07-04 10:52 ` [U-Boot] [RESEND PATCH 4/4] arm:goni: Add support for USB mass storage Lukasz Majewski
2013-07-08 7:20 ` Minkyu Kang
2013-07-08 12:25 ` [U-Boot] [PATCH " Minkyu Kang
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=51DA6837.9090602@samsung.com \
--to=mk7.kang@samsung.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox