Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-24 Thread Pantelis Antoniou
Hi Heiko, On May 24, 2013, at 7:39 PM, Heiko Schocher wrote: Hello, just digging in DFU support in U-Boot for an upcoming board support based on an AM335x. This board support uses for example a rootfs in an UBI Volume on a NAND flash, and this should be updated with dfu ... How To do

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Pantelis Antoniou
Hi Guys, On May 27, 2013, at 10:28 AM, Heiko Schocher wrote: Hello Lukasz, Am 27.05.2013 09:02, schrieb Lukasz Majewski: Hi Heiko, Hello Tom, Am 24.05.2013 19:12, schrieb Tom Rini: On Fri, May 24, 2013 at 07:42:01PM +0300, Pantelis Antoniou wrote: Hi Heiko, On May 24, 2013, at 7

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Pantelis Antoniou
Hi On May 27, 2013, at 7:25 PM, Wolfgang Denk wrote: Dear Heiko Schocher, In message 51a30f34.7030...@denx.de you wrote: But how to handle a raw nand partition and a ubi partition on one nand? If ubi is a new dfu interface, somebody must start dfu on u-boot with dfu nand .. or dfu

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-28 Thread Pantelis Antoniou
Hi Tom, On May 28, 2013, at 6:01 PM, Tom Rini wrote: On Tue, May 28, 2013 at 07:50:46AM +0200, Wolfgang Denk wrote: Dear Tom, In message 20130527233735.GZ17119@bill-the-cat you wrote: Where exactly is this 8 MB limit coming into play? In buffering the data. We cannot write a chunk of

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-28 Thread Pantelis Antoniou
Hi Benoît On May 28, 2013, at 7:31 PM, Benoît Thébaudeau wrote: Dear Pantelis Antoniou, On Tuesday, May 28, 2013 5:05:12 PM, Pantelis Antoniou wrote: Hi Tom, On May 28, 2013, at 6:01 PM, Tom Rini wrote: On Tue, May 28, 2013 at 07:50:46AM +0200, Wolfgang Denk wrote: Dear Tom

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-28 Thread Pantelis Antoniou
Hi On May 28, 2013, at 7:43 PM, Benoît Thébaudeau wrote: Hi Pantelis, On Tuesday, May 28, 2013 6:43:06 PM, Pantelis Antoniou wrote: Hi Benoît On May 28, 2013, at 7:31 PM, Benoît Thébaudeau wrote: Dear Pantelis Antoniou, On Tuesday, May 28, 2013 5:05:12 PM, Pantelis Antoniou wrote

Re: [U-Boot] dfu: make data buffer size configurable

2013-06-04 Thread Pantelis Antoniou
(in bytes) of this buffer configurable. Signed-off-by: Heiko Schocher h...@denx.de Cc: Pantelis Antoniou pa...@antoniou-consulting.com Cc: Tom Rini tr...@ti.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de --- README

Re: [U-Boot] dfu: make data buffer size configurable

2013-06-04 Thread Pantelis Antoniou
Heiko, On Jun 4, 2013, at 1:31 PM, Heiko Schocher wrote: Hello Pantelis, Am 04.06.2013 12:08, schrieb Pantelis Antoniou: Hi Heiko, Just thinking out loud here. Can we have an extra option that allocates the buffer dynamically based on an env variable? Hmm.. also a possibility... I

Re: [U-Boot] [PATCH] usb:composite:fix Provide function data when addressing device with only one interface

2013-03-05 Thread Pantelis Antoniou
Hi Lukasz, On Mar 6, 2013, at 9:42 AM, Lukasz Majewski wrote: Dear All, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/05/2013 06:24 PM, Marek Vasut wrote: Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, This commit fixes problems with some non-standard requests

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Pantelis Antoniou
Heiko, I don't think the gadget is initialized before you issue a dfu call. So that makes sense. Let's wait until Tom wakes up and have an authoritative answer. Regards -- Pantelis On Jun 25, 2013, at 11:08 AM, Heiko Schocher wrote: Hello, using dfu-util -l shows different output

[U-Boot] [PATCH] git-mailrc: Update MMC custodian

2013-08-08 Thread Pantelis Antoniou
Update git-mailrc with my nick and replace afleming as mmc custodian. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- doc/git-mailrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index e3a47c4..03fc482 100644 --- a/doc

Re: [U-Boot] [PATCH] mmc: sdhci: use the SDHCI_QUIRK_USE_WIDE8 for samsung SoC

2013-08-13 Thread Pantelis Antoniou
Hi Jaehoon, On Aug 13, 2013, at 11:52 AM, Jaehoon Chung wrote: Dear Pantelis, Welcome to take care of u-boot-mmc. Thanks Could you merge this patch? Please hold on a bit; we're still in the process of passing over the (mmc) torch. That patch looks good. Best Regards, Jaehoon

Re: [U-Boot] [PATCH] mmc: sdhci: use the SDHCI_QUIRK_USE_WIDE8 for samsung SoC

2013-09-05 Thread Pantelis Antoniou
-by: Pantelis Antoniou pa...@antoniou-consulting.com Thanks ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] mmc/dw_mmc: Fix DMA descriptor corruption

2013-09-06 Thread Pantelis Antoniou
Cc: Alexey Brodkin abrod...@synopsys.com Cc: Jaehoon Chung jh80.ch...@samsung.com Cc: Andy Fleming aflem...@gmail.com Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com Thanks ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [u-boot][RFC v1] mmc: Remove unused variable backup from mmc_send_cmd()

2013-09-06 Thread Pantelis Antoniou
Hi Oleksandr, On Aug 6, 2013, at 1:50 PM, Oleksandr Tyshchenko wrote: Do not call a memset for unused variable backup every time. Remove unused variable from function. Signed-off-by: Oleksandr Tyshchenko oleksandr.tyshche...@ti.com Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [U-Boot] [u-boot][RFC v1] omap_hsmmc: omap4+/am335x: modify MMC controller internal fsm reset func

2013-09-06 Thread Pantelis Antoniou
-by: Oleksandr Tyshchenko oleksandr.tyshche...@ti.com Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com Thanks ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] mmc: Initialize mmc_devices list statically

2013-09-06 Thread Pantelis Antoniou
Hi Taras, What are you doing that makes you call any of the mmc_devices list functions before calling mmc_initialize() Which board has this problem; this looks like a board problem to me. Regards -- Pantelis On Aug 6, 2013, at 7:41 PM, Taras Kondratiuk wrote: Currently mmc_device list is

Re: [U-Boot] [PATCH 3/5] mmc: don't call *printf or puts when SPL !CONFIG_SPL_LIBCOMMON_SUPPORT

2013-09-06 Thread Pantelis Antoniou
Hi Paul On Sep 4, 2013, at 6:12 PM, Paul Burton wrote: If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio *printf functions are unavailable calling them will cause a link failure. Signed-off-by: Paul Burton paul.bur...@imgtec.com --- drivers/mmc/mmc.c | 36

Re: [U-Boot] [PATCH 3/5] mmc: don't call *printf or puts when SPL !CONFIG_SPL_LIBCOMMON_SUPPORT

2013-09-06 Thread Pantelis Antoniou
Hi Paul On Sep 6, 2013, at 3:51 PM, Paul Burton wrote: On 06/09/13 13:48, Pantelis Antoniou wrote: Hi Paul On Sep 4, 2013, at 6:12 PM, Paul Burton wrote: If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio *printf functions are unavailable calling them will cause a link

Re: [U-Boot] [PATCH 5/5] mmc: don't support write erase for SPL builds

2013-09-06 Thread Pantelis Antoniou
Hi Paul, On Sep 4, 2013, at 6:14 PM, Paul Burton wrote: For SPL builds this is just dead code since we'll only need to read. Eliminating it results in a significant size reduction for the SPL binary. Signed-off-by: Paul Burton paul.bur...@imgtec.com --- I understand what you're trying to

Re: [U-Boot] [PATCH] mmc:sdhci: Fix card ready status timeout.

2013-09-06 Thread Pantelis Antoniou
. Tested on Goni and Trats. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/mmc/sdhci.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index

Re: [U-Boot] [PATCH v2] mmc: don't support write erase for SPL builds

2013-09-06 Thread Pantelis Antoniou
. Signed-off-by: Paul Burton paul.bur...@imgtec.com --- Changes in v2: - Move the mmc_bwrite mmc_berase functions to a new mmc_write.c file which is only compiled for non-SPL builds, as per a request from Pantelis Antoniou. This requires that a few formerly static functions in mmc.c

Re: [U-Boot] [PATCH] mmc:sdhci: Fix card ready status timeout.

2013-09-06 Thread Pantelis Antoniou
Hi there, On Sep 6, 2013, at 6:23 PM, Przemyslaw Marczak wrote: Hello Pantelis, On 09/06/2013 03:24 PM, Pantelis Antoniou wrote: Hi there, Can we have a config option for these two values instead of magic numbers? With the defaults being set at 10 200 ms. Regards -- Pantelis

Re: [U-Boot] [PATCH v2] mmc: don't support write erase for SPL builds

2013-09-09 Thread Pantelis Antoniou
builds, as per a request from Pantelis Antoniou. This requires that a few formerly static functions in mmc.c be accessible to the new file, so they are declared in a new mmc_private.h header along with the write erase functions. For what it's worth I prefered v1, but hey ho. --- drivers/mmc

Re: [U-Boot] [PATCH] mmc:sdhci: Fix card ready status timeout.

2013-09-16 Thread Pantelis Antoniou
after data transfer. For other transfers it stays unchanged. Default values are now defined with if defined directive so it can be redefined at board config if needed. Tested on Goni and Trats. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Pantelis Antoniou pa...@antoniou

Re: [U-Boot] [PATCH] MMC: DWMMC: Correct the CLKDIV register value

2013-09-17 Thread Pantelis Antoniou
Hi Rajesh, I guess we wait for an updated patch here? Regards -- Pantelis On Sep 11, 2013, at 4:25 PM, Rajeshwari Birje wrote: Hi Jaehoon Chung, Thank you for comments, On Wed, Sep 11, 2013 at 11:31 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: On 09/11/2013 02:28 PM,

[U-Boot] Pull request: u-boot-mmc

2013-09-17 Thread Pantelis Antoniou
Hi Tom, The following changes since commit 46ef4faed18196472eb95216b2f74c1397ecf024: Prepare v2013.10-rc3 (2013-09-16 20:08:33 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to b31c9beb9bdde1714b1131cf0e64b8b68350e824:

Re: [U-Boot] [PATCH 12/12 V3] DWMMC: SMDK5420: Disable SMU for eMMC

2013-09-19 Thread Pantelis Antoniou
Hi Rajesh, Simon, On Sep 19, 2013, at 9:12 AM, Simon Glass wrote: Hi Rajeshwari, On Wed, Sep 11, 2013 at 4:01 AM, Rajeshwari S Shinde rajeshwar...@samsung.com wrote: SMDK5420 has a new Security Management Unit added for dwmmc driver, hence, configuring the control registers to support

[U-Boot] Pull request: u-boot-mmc #2

2013-09-20 Thread Pantelis Antoniou
Hi Tom, The following changes since commit 46ef4faed18196472eb95216b2f74c1397ecf024: Prepare v2013.10-rc3 (2013-09-16 20:08:33 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to 2c011847c129491084a19c753a039a3441b7dce4:

Re: [U-Boot] [PATCH 1/2] Armada100: Adds SD/MMC Register definitions

2013-09-24 Thread Pantelis Antoniou
+#define ARMD1_SD1_BASE 0xD428 +#define ARMD1_SD2_BASE 0xD4281000 #define ARMD1_APMU_BASE 0xD4282800 #define ARMD1_CPU_BASE0xD4282C00 -- 1.8.3.rc3 Looks fine. Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [U-Boot] [PATCH 2/2] Armada100: Add SD card support for Marvell gplugD

2013-09-24 Thread Pantelis Antoniou
CONFIG_DOS_PARTITION +#define CONFIG_MMC_SDMA +#define CONFIG_MMC_SDHCI_IO_ACCESSORS + /* * mv-common.h should be defined after CMD configs since it used them * to enable certain macros -- 1.8.3.rc3 Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-01 Thread Pantelis Antoniou
Hi there, On Oct 1, 2013, at 3:16 PM, Przemyslaw Marczak wrote: Old command timeout value was too small and it caused I/O errors which led to uncompleted read/write/erase operations and filesystem errors. Timeout adaptation fixes this issue. Changes in sdhci_send_command() function: -

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-02 Thread Pantelis Antoniou
Hi Przemyslaw, On Oct 1, 2013, at 7:59 PM, Przemyslaw Marczak wrote: Hello Pantelis, Thank you for reply On 10/01/2013 05:50 PM, Pantelis Antoniou wrote: while (sdhci_readl(host, SDHCI_PRESENT_STATE) mask) { -if (timeout == 0) { +if (time == cmd_timeout

[U-Boot] [PATCH] usb: Fix bug when both DFU ETHER are defined

2012-12-03 Thread Pantelis Antoniou
When both CONFIG_USB_GADGET CONFIG_USB_ETHER are defined the makefile links objects twice. This patch uses a Makefile specific idiom of 'if defined(CONFIG_USB_GADGET) || defined(CONFIG_USB_ETHER)' to handle the case. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers

Re: [U-Boot] [PATCH v3 1/9] usb: Fix bug when both DFU ETHER are defined

2012-12-03 Thread Pantelis Antoniou
Hi Marek, On Dec 1, 2012, at 7:30 AM, Marek Vasut wrote: Dear Pantelis Antoniou, When both CONFIG_USB_GADGET CONFIG_USB_ETHER are defined the makefile links objects twice. The cleanest way to fix is to use a new define, CONFIG_USB_UTIL which must be defined when either CONFIG_USB_ETHER

[U-Boot] [PATCH] [nand] Implement nand_extent_skip_bad

2012-12-10 Thread Pantelis Antoniou
. nand_extend_skip_bad() returns the offset where the next access should occur. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/mtd/nand/nand_util.c | 50 include/nand.h | 2 ++ 2 files changed, 52 insertions(+) diff

[U-Boot] [PATCH] [DFU] Implement NAND dfu support

2012-12-10 Thread Pantelis Antoniou
Introduce on-the fly DFU NAND support. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/dfu/Makefile | 1 + drivers/dfu/dfu.c | 7 ++ drivers/dfu/dfu_nand.c | 194 + include/dfu.h | 23 ++ 4 files

Re: [U-Boot] [PATCH v3 6/9] dfu: Send correct DFU response from composite_setup

2012-12-10 Thread Pantelis Antoniou
no idea why it works at your side. At our side it just didn't work at all without the patches. If I had to guess maybe your gadget h/w takes care of replying properly for the DFU case. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/composite.c | 27

Re: [U-Boot] [PATCH] [DFU] Implement NAND dfu support

2012-12-11 Thread Pantelis Antoniou
Hi Scott, On Dec 11, 2012, at 3:09 AM, Scott Wood wrote: On 12/10/2012 09:24:32 AM, Pantelis Antoniou wrote: Introduce on-the fly DFU NAND support. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/dfu/Makefile | 1 + drivers/dfu/dfu.c | 7 ++ drivers/dfu

Re: [U-Boot] [PATCH] [nand] Implement nand_extent_skip_bad

2012-12-11 Thread Pantelis Antoniou
Hi Scott, On Dec 11, 2012, at 12:53 AM, Scott Wood wrote: On 12/10/2012 09:24:24 AM, Pantelis Antoniou wrote: When accessing nand any bad blocks encountered are skipped, with no indication about the amount of bad blocks encountered. While this is normally fine, when you have to write a large

Re: [U-Boot] [PATCH v3 6/9] dfu: Send correct DFU response from composite_setup

2012-12-11 Thread Pantelis Antoniou
Hi Lukasz, I bet transmission is performed, but with the default settings of dfu. The DFU function descriptor is completely ignored. An easy way to verify it is to check if the DFU version of the device is the same one as the one stored in the descriptor. Same with the transmission block size.

Re: [U-Boot] [PATCH] [nand] Implement nand_extent_skip_bad

2012-12-11 Thread Pantelis Antoniou
Hi Scott, On Dec 11, 2012, at 7:13 PM, Scott Wood wrote: On 12/11/2012 03:40:53 AM, Pantelis Antoniou wrote: Hi Scott, On Dec 11, 2012, at 12:53 AM, Scott Wood wrote: +/** + * nand_extent_skip_bad: + * + * Find the extent of a chunk, return the offset where it ends + * Blocks

Re: [U-Boot] [PULL] u-boot-usb/master

2012-12-17 Thread Pantelis Antoniou
Lukasz, I'll sent the dump in a couple of hours. Been busy with other work items... Regards -- Pantelis On Dec 17, 2012, at 1:00 PM, Lukasz Majewski wrote: Hi Marek, Pantelis Antoniou (9): g_dnl: Issue connect/disconnect as appropriate g_dnl: Properly terminate string list

Re: [U-Boot] [PULL] u-boot-usb/master

2012-12-17 Thread Pantelis Antoniou
Marek, Pantelis Antoniou (9): g_dnl: Issue connect/disconnect as appropriate g_dnl: Properly terminate string list. dfu: Only perform DFU board_usb_init() for TRATS dfu: Fix crash when wrong number of arguments given dfu: Send correct DFU response from composite_setup

Re: [U-Boot] [PULL] u-boot-usb/master

2012-12-17 Thread Pantelis Antoniou
that the patchset fixes correctly. Regards -- Pantelis On Dec 17, 2012, at 1:00 PM, Lukasz Majewski wrote: Hi Marek, Pantelis Antoniou (9): g_dnl: Issue connect/disconnect as appropriate g_dnl: Properly terminate string list. dfu: Only perform DFU board_usb_init

Re: [U-Boot] [PULL] u-boot-usb/master

2012-12-18 Thread Pantelis Antoniou
Hi Lukasz, Mystery solved then :) On Dec 18, 2012, at 1:25 PM, Lukasz Majewski wrote: Hi Pantelis, Can you paste the log of your dfu-util session? Are you supplying a transfer size for example? Regards u-boot-denx/master (denx.de) repository SHA1:

Re: [U-Boot] [PATCH 9/9] dfu: Support larger than memory transfers.

2013-01-04 Thread Pantelis Antoniou
Hi Kasim, On Jan 3, 2013, at 10:30 AM, kasim ling wrote: Hi, Pantelis, A little confusion about FAT fs write supporting, On Sat, Dec 1, 2012 at 12:51 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: We didn't support upload/download larger than available memory

Re: [U-Boot] [PATCH 1/3 V3] esdhc: Workaround for card can't be detected on T4240QDS

2014-01-22 Thread Pantelis Antoniou
(QIXIS_BASE + QIXIS_BRDCFG5) QIXIS_MUX_SDHC) || \ + IS_SVR_REV(get_svr(), 1, 0)) #endif #define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */ -- 1.8.4.1 Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot

Re: [U-Boot] [PATCH 2/3 V3] esdhc: Detecting 8 bit width before mmc initialization

2014-01-22 Thread Pantelis Antoniou
(), 1, 0)) +#define CONFIG_ESDHC_DETECT_8_BIT_QUIRK \ + (!(readb(QIXIS_BASE + QIXIS_BRDCFG5) QIXIS_MUX_SDHC_WIDTH8)) #endif #define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */ -- 1.8.4.1 Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [U-Boot] [PATCH 3/3 V3] eSDHC: Calculate envaddr accroding to the address format

2014-01-22 Thread Pantelis Antoniou
)) + *env_addr = ESDHC_DEFAULT_ENVADDR; + else + *env_addr = tmp; + + free(tmp_buf); + + return 0; +#endif + *env_addr = code_offset + code_len; free(tmp_buf); -- 1.8.4.1 Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [U-Boot] [PATCH 1/3 V3] esdhc: Workaround for card can't be detected on T4240QDS

2014-01-22 Thread Pantelis Antoniou
Hi York, On Jan 22, 2014, at 12:01 AM, York Sun wrote: Pantelis, On 01/09/2014 09:52 PM, Haijun Zhang wrote: Card detection pin is ineffective on T4240QDS Rev1.0. There are two cards can be connected to board. 1. eMMC card is built-in board, can not be removed. so For eMMC card it is

Re: [U-Boot] [PATCH V2 01/13] mmc: tegra: support Tegra124

2014-01-24 Thread Pantelis Antoniou
and doesn't enable those modes, we don't actually need to address any of these HW differences in the code yet, hence the simple nature of this patch. Cc: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: New patch. This patch

Re: [U-Boot] [PATCH] fsl_esdhc: Add Auto command 12 interrupt bit detecting

2014-01-29 Thread Pantelis Antoniou
Sorry, just had a baby and things are a bit busy. It's not fallen into the bit-bucket if that's what you're worried about. Regards -- Pantelis On Jan 29, 2014, at 11:14 PM, York Sun wrote: On 11/01/2013 12:47 AM, Zhang Haijun wrote: :-) Thanks. 于 2013/11/1 15:45, Pantelis Antoniou 写道

Re: [U-Boot] [PATCH] mmc: set rca to 1 for MMC cards

2014-02-07 Thread Pantelis Antoniou
(struct mmc *mmc) mmc-ocr = cmd.response[0]; mmc-high_capacity = ((mmc-ocr OCR_HCS) == OCR_HCS); - mmc-rca = 0; + mmc-rca = 1; return 0; } -- 1.8.1.5 Applied, Thanks. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [U-Boot] [PATCH RESEND] MMC: DWMMC: Correct the CLKDIV register value

2014-02-07 Thread Pantelis Antoniou
*host); void (*board_init)(struct dwmci_host *host); - unsigned int (*get_mmc_clk)(int dev_index); + unsigned int (*get_mmc_clk)(struct dwmci_host *host); }; struct dwmci_idmac { -- 1.7.12.4 Applied, Thanks Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [U-Boot] [PATCH] mmc: Enabled quirk SDHCI_QUIRK_BROKEN_R1B

2014-02-07 Thread Pantelis Antoniou
. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/8] SPL: Add CONFIG_SUPPORT_EMMC_BOOT support to CONFIG_SPL_FRAMEWORK

2014-02-07 Thread Pantelis Antoniou
/related. Cc: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Tom Rini tr...@ti.com --- Changes in v3: - Rework eMMC boot detect logic for TI platforms, in the eMMC boot case we rely on non-FAT/RAW values being in bootmode. --- arch/arm/cpu/armv7/omap-common/boot-common.c

Re: [U-Boot] [PATCH v3 5/8] cmd_mmc.c: Add bootbus mmc sub-command

2014-02-07 Thread Pantelis Antoniou
, u8 mode); /** * Start device initialization and return immediately; it does not block on -- 1.7.9.5 Applied. Thanks. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH v3 4/8] cmd_mmc.c: Add 'partconf' command to mmc

2014-02-07 Thread Pantelis Antoniou
an strncmp to a strcmp, like the rest of the sub-commands. Cc: Andy Fleming aflem...@gmail.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Tom Rini tr...@ti.com --- common/cmd_mmc.c | 30

Re: [U-Boot] [PATCH v3 3/8] cmd_mmc.c: Rename 'bootpart' to 'bootpart-resize'

2014-02-07 Thread Pantelis Antoniou
register value\n ); -- 1.7.9.5 Applied. Thanks. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 8/8] dra7xx_evm: Add CONFIG_SUPPORT_EMMC_BOOT, document usage

2014-02-07 Thread Pantelis Antoniou
+#define CONFIG_SUPPORT_EMMC_BOOT + /* USB xHCI HOST */ #define CONFIG_CMD_USB #define CONFIG_USB_HOST -- 1.7.9.5 Applied. Thanks. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH v3 7/8] omap5_uevm: Add CONFIG_SUPPORT_EMMC_BOOT, document usage

2014-02-07 Thread Pantelis Antoniou
CONFIG_SUPPORT_EMMC_BOOT /* Required support for the TCA642X GPIO we have on the uEVM */ #define CONFIG_TCA642X -- 1.7.9.5 Applied. Thanks. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH v3 6/8] cmd_mmc.c: Drop open/close mmc sub-commands

2014-02-07 Thread Pantelis Antoniou
the BOOT_BUS_WIDTH field of EXT_CSD */ -- 1.7.9.5 Applied. Thanks. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/2] env_mmc: make board configurable the partition for the environment

2014-02-07 Thread Pantelis Antoniou
Hi Hector, On Jan 23, 2014, at 2:39 PM, Hector Palacios wrote: This complements commit 9404a5fc7cb58 env_mmc: allow environment to be in an eMMC partition by allowing boards to accommodate the partition to use for the environment in different scenarios (similarly to what is done with the mmc

Re: [U-Boot] [PATCH v3 2/8] cmd_mmc.c: Change 'bootpart' code to match normal coding style

2014-02-07 Thread Pantelis Antoniou
; + } + + mmc = find_mmc_device(dev); if (!mmc) { printf(no mmc device at slot %x\n, dev); return 1; -- 1.7.9.5 Applied. Thanks. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U

[U-Boot] Pull request: u-boot-mmc 07022014

2014-02-07 Thread Pantelis Antoniou
Hi Tom, The following changes since commit dbf3de2dd26cae37d16b00b348828c883b658cc5: include/usb/s3c_udc.h: Add asm/sizes.h (2014-02-06 14:26:05 -0500) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] dfu: mmc: Replace calls to u-boot commands with native mmc API

2014-02-21 Thread Pantelis Antoniou
Hi Lukasz, Looks fine to me. Let me run a few tests over the weekend and I'll apply. Thanks -- Pantelis On Feb 21, 2014, at 9:23 AM, Lukasz Majewski wrote: For some time we have been using the run_command() with properly crafted string. Such approach turned to be unreliable and error

[U-Boot] [RFC] mmc: Remove ops from struct mmc and put in mmc_ops

2014-02-26 Thread Pantelis Antoniou
-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/mmc/arm_pl180_mmci.c | 12 + drivers/mmc/bfin_sdh.c | 11 drivers/mmc/davinci_mmc.c| 13 - drivers/mmc/dw_mmc.c | 10 --- drivers/mmc/fsl_esdhc.c | 14 +- drivers/mmc/ftsdc010_mci.c

Re: [U-Boot] [PATCH] dfu: mmc: Replace calls to u-boot commands with native mmc API

2014-02-27 Thread Pantelis Antoniou
Hi Lukasz, On Feb 27, 2014, at 10:36 AM, Lukasz Majewski wrote: Hi Pantelis, Hi Lukasz, Looks fine to me. Let me run a few tests over the weekend and I'll apply. Have the run test gone smoothly? In the middle of reworking some core stuff in mmc, will test when that's done.

Re: [U-Boot] [PATCH] dfu: mmc: Replace calls to u-boot commands with native mmc API

2014-02-27 Thread Pantelis Antoniou
Hi Lukasz, On Feb 27, 2014, at 11:21 AM, Lukasz Majewski wrote: Hi Pantelis, Hi Lukasz, On Feb 27, 2014, at 10:36 AM, Lukasz Majewski wrote: Hi Pantelis, Hi Lukasz, Looks fine to me. Let me run a few tests over the weekend and I'll apply. Have the run test gone smoothly?

Re: [U-Boot] [PATCH] mmc: sdhci: Fixed timeout for sdhci_send_command()

2014-06-27 Thread Pantelis Antoniou
Hi Eli, On Jun 12, 2014, at 12:41 PM, Eli Billauer wrote: The current wait loop just reads the status 1 times, which makes the actual timeout period platform-dependent. The udelay() call within the loop makes the new timeout ~100 ms. Signed-off-by: Eli Billauer eli.billa...@gmail.com

Re: [U-Boot] [PATCH v2 1/1] ARM: kirkwood: add mvsdio driver

2014-07-22 Thread Pantelis Antoniou
Hi Gerald, On Jul 20, 2014, at 9:28 AM, Gerald Kerma wrote: This patch add Marvell kirkwood MVSDIO/MMC driver and enable it for Sheevaplugs and OpenRD boards. - Fix some typo and missing lines from patch import Signed-off-by: Gerald Kerma drea...@doukki.net ---

Re: [U-Boot] [PATCH v7 1/1] ARM: kirkwood: add mvsdio driver

2014-07-29 Thread Pantelis Antoniou
Hi Stefan, On Jul 29, 2014, at 9:21 PM, Stefan Roese wrote: On 29.07.2014 18:39, drEagle wrote: On 26/07/2014 13:54, Stefan Roese wrote: On 25.07.2014 21:07, Gerald Kerma wrote: This patch add Marvell kirkwood MVSDIO/MMC driver and enable it for Sheevaplugs and OpenRD boards.

Re: [U-Boot] [PATCH v7 1/1] ARM: kirkwood: add mvsdio driver

2014-08-01 Thread Pantelis Antoniou
Hi there, On Jul 29, 2014, at 7:39 PM, drEagle wrote: Hi Stefan, On 26/07/2014 13:54, Stefan Roese wrote: On 25.07.2014 21:07, Gerald Kerma wrote: This patch add Marvell kirkwood MVSDIO/MMC driver and enable it for Sheevaplugs and OpenRD boards. Signed-off-by: Gerald Kerma

Re: [U-Boot] [RESEND PATCH v2] bcm2835_sdhci: Add SDHCI_QUIRK_NO_HISPD_BIT flag

2014-08-01 Thread Pantelis Antoniou
Hi Lubomir, On Jul 17, 2014, at 2:57 PM, Lubomir Rintel wrote: Seems like the controller doesn't support the flag. None of the hi-speed cards I've tried could be read, while they successfully worked with the quirk enabled. Signed-off-by: Lubomir Rintel lkund...@v3.sk Tested-by: Stephen

Re: [U-Boot] [PATCH 11/12] mmc: s3c: Add SD driver

2014-08-01 Thread Pantelis Antoniou
: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com Cc: Vladimir Zapolskiy v...@mleia.com --- arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 6 + drivers/mmc/Makefile| 1 + drivers/mmc

Re: [U-Boot] [PATCH 11/12] mmc: s3c: Add SD driver

2014-08-01 Thread Pantelis Antoniou
: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com Cc: Vladimir Zapolskiy v...@mleia.com --- arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 6 + drivers/mmc/Makefile| 1 + drivers/mmc

Re: [U-Boot] [PATCH] mmc/dw_mmc: Fix clock divider calculation error for bypass mode

2014-08-01 Thread Pantelis Antoniou
: Pantelis Antoniou pa...@antoniou-consulting.com Cc: Rajeshwari Shinde rajeshwar...@samsung.com Cc: Jaehoon Chung jh80.ch...@samsung.com Cc: Mischa Jonker mjon...@synopsys.com --- drivers/mmc/dw_mmc.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/dw_mmc.c b

Re: [U-Boot] [PATCH 2/3] MMC: atmel_mci: add configuration register definition

2014-08-01 Thread Pantelis Antoniou
Hi Bo, On Jul 31, 2014, at 9:39 AM, Bo Shen wrote: Add configuration register definition, this register only exists on MCI IP version = 0x300. Signed-off-by: Bo Shen voice.s...@atmel.com --- include/atmel_mci.h | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH 1/3] MMC: atmel_mci: refactor setting the mode register

2014-08-01 Thread Pantelis Antoniou
Hi Bo, On Jul 31, 2014, at 9:39 AM, Bo Shen wrote: The mode register is different between MCI IP version. So, according to MCI IP version to set the mode register. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mmc/gen_atmel_mci.c | 56

Re: [U-Boot] [PATCH 3/3] MMC: atmel_mci: enable high speed mode support

2014-08-01 Thread Pantelis Antoniou
Hi Bo, On Jul 31, 2014, at 9:39 AM, Bo Shen wrote: If the MCI IP version = 0x300, it supports hight speed mode option, this patch enable it. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mmc/gen_atmel_mci.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH v2 2/2] env_mmc: support env partition setup in runtime

2014-08-01 Thread Pantelis Antoniou
Hi Dmitry, On Jul 30, 2014, at 1:19 PM, Dmitry Lifshitz wrote: Add callback with __weak annotation to allow setup of environment partition number in runtime from a board file. Propagate mmc_switch_part() return value into init_mmc_for_env() instead of -1 in case of failure.

Re: [U-Boot] [PATCH 1/2] env_mmc: add mmc_get_env_addr() prototype

2014-08-01 Thread Pantelis Antoniou
Hi Dmitry, On Jul 30, 2014, at 1:19 PM, Dmitry Lifshitz wrote: Add missing mmc_get_env_addr() prototype in environment.h Signed-off-by: Dmitry Lifshitz lifsh...@compulab.co.il --- include/environment.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[U-Boot] Pull request: u-boot-mmc 1/08/2014

2014-08-01 Thread Pantelis Antoniou
Hi Tom, The following changes since commit 25b4adbba018633b943a99322bfb2fb819c0bafb: include: remove CONFIG_SPL/CONFIG_TPL definition in config headers (2014-07-30 14:42:03 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Pantelis Antoniou
Hi Marek, [snip] I don't want to be the first to defined it for all of armv7 Honestly, we should just enable this CONFIG_SYS_VSNPRINTF by default for the good of humanity and all the things, since this unbounded string handling is just evil (see how OpenSSL ended up, partly because

Re: [U-Boot] [PATCH 1/4] cmd_part: fix type in part command help text

2014-05-14 Thread Pantelis Antoniou
Hi Tom, Sorry about that; It's all on my pile of work to do when I get back home. On May 14, 2014, at 2:17 PM, Tom Rini wrote: On Wed, May 14, 2014 at 11:30:35AM -0600, Stephen Warren wrote: On 05/07/2014 12:19 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com All the

Re: [U-Boot] [PATCH v2] esdhc/usdhc: Fix PIO mode bug in fsl_esdhc driver

2014-05-22 Thread Pantelis Antoniou
) check_and_invalidate_dcache_range(cmd, data); +#endif } esdhc_write32(regs-irqstat, -1); -- 1.7.9.5 Applied, thanks Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH v2] mmc: postponed needless timer initialization

2014-05-23 Thread Pantelis Antoniou
Hi Mateusz, On Apr 29, 2014, at 9:15 PM, Mateusz Zalega wrote: mmc_init() doesn't call get_timer() anymore if MMC is already initialized. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com --- Detached from earlier DFU, MMC, Gadget

Re: [U-Boot] [PATCH] Add board_mmc_init(...) function for init mmc1 only

2014-05-23 Thread Pantelis Antoniou
*/ #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) -- 1.7.9.5 Applied Thanks -- Pantelis Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH 1/1] Read mmc device memory capacity from EXT_CSD if memory is addressed by sector

2014-05-23 Thread Pantelis Antoniou
Hi Frank, On Apr 11, 2014, at 6:35 PM, Frank Bormann wrote: Hi Pantos, hi Tom, I sent this a couple of months ago to the mailing list, never really received a response. We are testing 2014.04-rc3 right now and the issue is still there. Would you still consider bringing this fix in for

Re: [U-Boot] [PATCH v2] mmc: Handle switch error status bit in MMC card status

2014-05-23 Thread Pantelis Antoniou
MMC_STATUS_RDY_FOR_DATA (1 8) #define MMC_STATUS_CURR_STATE (0xf 9) #define MMC_STATUS_ERROR (1 19) -- 1.7.10.4 Applied, Thanks --Pantelis Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH V5 1/3] eMMC: add support for operations in RPMB partition

2014-05-23 Thread Pantelis Antoniou
Hi Pierre, On Apr 24, 2014, at 11:30 AM, Pierre Aubert wrote: This patch adds functions for read, write and authentication key programming for the Replay Protected Memory Block partition in the eMMC. Signed-off-by: Pierre Aubert p.aub...@staubli.com CC: Pantelis Antoniou pa...@antoniou

Re: [U-Boot] [PATCH V5 2/3] Add the function 'confirm_yesno' for interactive

2014-05-23 Thread Pantelis Antoniou
Control-C detect */ - +int confirm_yesno(void);/* 1 if input is y, Y, yes or YES */ /* * STDIO based functions (can always be used) */ -- 1.7.6.5 This is reasonable, and I've applied it to my mmc tree, Applied, Thanks -- Pantelis Acked-by: Pantelis Antoniou pa...@antoniou

Re: [U-Boot] [PATCH 1/4] cmd_part: fix type in part command help text

2014-05-23 Thread Pantelis Antoniou
-- 1.8.1.5 Fixed typos and applied. Thanks -- Pantelis Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/4] disk: support devices with HW partitions

2014-05-23 Thread Pantelis Antoniou
; + printf(** Bad device %s %s **\n, ifname, dev_hwpart_str); + dev = -1; + goto cleanup; } +cleanup: + free(dup_str); return dev; } -- 1.8.1.5 Applied Thanks -- Pantelis Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [U-Boot] [PATCH 3/4] mmc: provide a select_hwpart implementation for get_device()

2014-05-23 Thread Pantelis Antoniou
inline block_dev_desc_t *host_get_dev(int dev) { return NULL; } -- 1.8.1.5 Applied, but expect a follow up patch for returning something else than -1. Thanks -- Pantelis Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing

Re: [U-Boot] [PATCH 4/4] cmd_mmc: use new mmc_select_hwpart() function

2014-05-23 Thread Pantelis Antoniou
manual placement. Please verify that it works properly on your end after the patches land at u-boot-mmc. Thanks -- Pantelis Acked-by: Pantelis Antoniou pa...@antoniou-consulting.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

[U-Boot] Pull request: u-boot-mmc 23052014

2014-05-23 Thread Pantelis Antoniou
Hi Tom, The following changes since commit d7782d06534fe4fa47a49fa7c106de5ba85a9687: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-05-16 18:30:33 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to

Re: [U-Boot] [PATCH 3/4] mmc: provide a select_hwpart implementation for get_device()

2014-05-23 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 6:58 PM, Stephen Warren wrote: On 05/23/2014 03:21 AM, Pantelis Antoniou wrote: Hi Stephen, On May 7, 2014, at 9:19 PM, Stephen Warren wrote: This enables specifying which eMMC HW partition to target for any U-Boot command that uses the generic

Re: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-06-02 Thread Pantelis Antoniou
mmc_select_hwpart(), so I'm not sure how effective this will be. Still, it's one less place with hard-coded -1. Suggested-by: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Stephen Warren swar...@nvidia.com --- drivers/mmc/mmc.c | 7 --- 1 file changed, 4 insertions(+), 3

  1   2   3   4   5   >