Re: [U-Boot] [PATCH v2] usb: new board-specific USB init interface

2013-08-27 Thread Mateusz Zalega
On 08/21/13 10:33, Mateusz Zalega wrote: This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

Re: [U-Boot] [PATCH] usb: new board-specific USB init interface

2013-08-26 Thread Mateusz Zalega
On 08/22/13 21:37, Marek Vasut wrote: Dear Mateusz Zalega, The EHCI supports multi-bus thing (passing the controller *), will this be viable to pass in this case too, so the busses can be inited selectively in host/gadget functions? Hello, Marek. I need more context. Could you show me

Re: [U-Boot] [PATCH] usb: new board-specific USB init interface

2013-08-22 Thread Mateusz Zalega
). In order to do that, we would need to devise some generic interface. Is it worth the time? Are there targets that would benefit from this change? -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] [PATCH v2] usb: new board-specific USB init interface

2013-08-21 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Lukasz Majewski l.majew

Re: [U-Boot] [PATCH] usb: new board-specific USB init interface

2013-08-21 Thread Mateusz Zalega
you'd like to pass/use additional arguments? Regards, -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH RESEND v3 0/4] arm:goni: Update GONI configuration

2013-08-21 Thread Mateusz Zalega
Samsung's GONI target has been updated to support: - New GPT partition layout - USB Mass Storage Gadget - DFU support - Loading uImage from eMMC not OneNAND Arkadiusz Wlodarczyk (4): arm:goni: Update configuration for goni target arm:goni:dfu Add support for DFU at GONI target arm:goni: Add

[U-Boot] [PATCH RESEND v3 2/4] arm:goni:dfu Add support for DFU at GONI target

2013-08-21 Thread Mateusz Zalega
larger buffer sizes needed by DFU implementation. Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz

[U-Boot] [PATCH RESEND v3 1/4] arm:goni: Update configuration for goni target

2013-08-21 Thread Mateusz Zalega
kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@gmail.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 17 + 1 file changed, 13 insertions

[U-Boot] [PATCH RESEND v3 3/4] arm:goni: Add support for USB mass storage

2013-08-21 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- board/samsung/goni/goni.c | 77 -- include/configs/s5p_goni.h

[U-Boot] [PATCH RESEND v3 4/4] arm:goni: Update of GONI partitioning scheme at eMMC

2013-08-21 Thread Mateusz Zalega
-off-by: Kyungmin Park kyungmin.p...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com --- include/configs/s5p_goni.h | 44 ++-- 1 file changed, 26

[U-Boot] [PATCH v2] dfu:mmc: raw data write fix

2013-08-21 Thread Mateusz Zalega
() when needed. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - code cleanup - minor dfu_alt_info format

Re: [U-Boot] [PATCH v2] dfu:mmc: raw data write fix

2013-08-21 Thread Mateusz Zalega
On 08/21/13 13:00, Mateusz Zalega wrote: When user attempted to perform a raw write using DFU (vide dfu_fill_entity_mmc) with MMC interface not initialized before, get_mmc_blk_size() reported invalid (zero) block size - it wasn't possible to write ie. a new u-boot image. This commit fixes

[U-Boot] [PATCH] exynos: ehci: added missing 'packed' attribute

2013-08-21 Thread Mateusz Zalega
Structure exynos_usb_phy lacked __attribute__ ((packed)), which might have led to broken EHCI functionality in builds based on more recent compilers. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc

[U-Boot] [PATCH v2] exynos: ehci: added missing 'packed' attribute

2013-08-21 Thread Mateusz Zalega
Structure exynos_usb_phy lacked __attribute__ ((packed)), which might have led to broken EHCI functionality in builds based on more recent compilers. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc

Re: [U-Boot] [PATCH v2] exynos: ehci: added missing 'packed' attribute

2013-08-21 Thread Mateusz Zalega
On 08/21/13 13:58, Mateusz Zalega wrote: Structure exynos_usb_phy lacked __attribute__ ((packed)), which might have led to broken EHCI functionality in builds based on more recent compilers. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[U-Boot] [PATCH] usb: new board-specific USB init interface

2013-08-20 Thread Mateusz Zalega
comment style (/* blurb...) dropped - squashed RFC changes so that patch won't break bisect Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Marek

Re: [U-Boot] [RFC 01/10] New board-specific USB initialization interface

2013-08-12 Thread Mateusz Zalega
USLEEP_RANGE 0001-New-board-specific-USB-initialization-interface.patch has no obvious style problems and is ready for submission. ---8--- NETWORKING_BLOCK_COMMENT_STYLE - ...and, in our case, this option is the culprit. Will fix. Thanks, -- Mateusz Zalega Samsung RD Institute Poland (SRPOL

Re: [U-Boot] [PATCH RESEND 4/5] trats: new USB hardware init interface

2013-08-09 Thread Mateusz Zalega
On 08/09/13 11:30, Jaehoon Chung wrote: +int board_usb_init(enum board_usb_init_type what_to_init) { debug(USB_udc_probe\n); s3c_udc_probe(s5pc210_otg_data); +return 0; Always return 0? } You're right, it could pass return value from s3c_udc_probe. Thanks, -- Mateusz

Re: [U-Boot] [RFC 00/10] New board-specific USB initialization interface

2013-08-07 Thread Mateusz Zalega
On 08/06/13 13:40, Wolfgang Denk wrote: Dear Mateusz Zalega, In message 1375786242-11734-1-git-send-email-m.zal...@samsung.com you wrote: Current implementation of do_dfu() and do_usb_mass_storage() requires board-specific board_usb_init() which performs USB hardware initialization. I

Re: [U-Boot] [RFC 00/10] New board-specific USB initialization interface

2013-08-07 Thread Mateusz Zalega
On 08/06/13 13:40, Wolfgang Denk wrote: Dear Mateusz Zalega, In message 1375786242-11734-1-git-send-email-m.zal...@samsung.com you wrote: Current implementation of do_dfu() and do_usb_mass_storage() requires board-specific board_usb_init() which performs USB hardware initialization. I

Re: [U-Boot] [RFC 01/10] New board-specific USB initialization interface

2013-08-07 Thread Mateusz Zalega
, -- Mateusz Zalega Samsung RD Institute Poland (SRPOL) | Kernel and System Framework group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [RFC 05/10] Colibri PXA270: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma

[U-Boot] [RFC 03/10] Voipac PXA270: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma

[U-Boot] [RFC 04/10] Trizeps IV: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma

[U-Boot] [RFC 08/10] esd apc405: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- board/esd

[U-Boot] [RFC 01/10] New board-specific USB initialization interface

2013-08-06 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Lukasz Majewski l.majew

[U-Boot] [RFC 09/10] balloon3: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Albert Aribaud

[U-Boot] [RFC 00/10] New board-specific USB initialization interface

2013-08-06 Thread Mateusz Zalega
? Code compiles successfully for all ARM boards and was tested on Samsung Goni. Mateusz Zalega (10): New board-specific USB initialization interface nvidia, tegra: new USB hardware init interface Voipac PXA270: new USB hardware init interface Trizeps IV: new USB hardware init interface

[U-Boot] [RFC 07/10] esd pmc440: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- board/esd

[U-Boot] [RFC 06/10] icpdas lp8x4x: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma

[U-Boot] [PATCH RESEND 1/5] arm:goni: Update configuration for goni target

2013-08-06 Thread Mateusz Zalega
kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@gmail.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 17 + 1 file changed, 13 insertions

[U-Boot] [PATCH RESEND 2/5] arm:goni:dfu Add support for DFU at GONI target

2013-08-06 Thread Mateusz Zalega
larger buffer sizes needed by DFU implementation. Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz

[U-Boot] [RFC 10/10] canyonlands: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- board/amcc

[U-Boot] [PATCH RESEND 3/5] arm:goni: Add support for USB mass storage

2013-08-06 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- board/samsung/goni/goni.c | 76 +- include/configs/s5p_goni.h

[U-Boot] [PATCH RESEND 0/5] arm:goni: Update GONI configuration

2013-08-06 Thread Mateusz Zalega
target arm:goni:dfu Add support for DFU at GONI target arm:goni: Add support for USB mass storage arm:goni: Update of GONI partitioning scheme at eMMC Mateusz Zalega (1): trats: new USB hardware init interface board/samsung/goni/goni.c | 81 + board

[U-Boot] [RFC 02/10] nvidia, tegra: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit postpones initialization of USB hardware until usb_board_init() is called by a command implementation (ie. do_dfu()) or a driver. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Tom Warren twar...@nvidia.com --- arch/arm

[U-Boot] [PATCH] DFU: fix for raw data write

2013-08-06 Thread Mateusz Zalega
() when needed. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- drivers/dfu/dfu.c | 22 ++ drivers/dfu

[U-Boot] [PATCH RESEND 4/5] trats: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com --- board/samsung/trats/trats.c | 4 +++- 1 file changed, 3 insertions

[U-Boot] [PATCH RESEND 5/5] arm:goni: Update of GONI partitioning scheme at eMMC

2013-08-06 Thread Mateusz Zalega
From: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com New partitioning scheme has been defined at GONI target. It complies with new GPT partitioning introduced previously. Default partition layout has been defined at s5p_goni.h Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com

[U-Boot] [PATCH] DFU: fix for raw data write

2013-08-06 Thread Mateusz Zalega
This commit fixes DFU raw (performed w/o partition interface, via mmc_block_op()) write. Mateusz Zalega (1): DFU: fix for raw data write drivers/dfu/dfu.c | 22 ++ drivers/dfu/dfu_mmc.c | 3 +++ include/dfu.h | 7 ++- 3 files changed, 27 insertions(+), 5

<    1   2