[U-Boot] [PATCH] lib:crc32: Allow setting of the initial crc32 value

2014-05-05 Thread Lukasz Majewski
approach the output value is used as a starting condition for the proper crc32 calculation at crc32_wd function. This behavior is identical to the one provided by crc32() method implementation. Additionally, comments were appropriately updated. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc

[U-Boot] [PATCH v2] dfu: Introduction of the dfu_checksum_method env variable for checksum method setting

2014-05-05 Thread Lukasz Majewski
be done without need to recompile the u-boot binary. By default the crc32 is not calculated. Tests results: 400 MiB ums.img file Withcrc32 calculation: 65 sec [avg 6.29 MB/s] Without crc32 calculation: 25 sec [avg 16.17 MB/s] Signed-off-by: Lukasz Majewski l.majew

Re: [U-Boot] [PATCH 1/2] fs:ext4:cleanup: Remove superfluous code

2014-05-05 Thread Lukasz Majewski
On Mon, 5 May 2014 08:24:22 -0600 Simon Glass s...@chromium.org wrote: Hi Lukasz, On 4 May 2014 23:20, Lukasz Majewski l.majew...@samsung.com wrote: Hi Simon, On 30 April 2014 03:39, Lukasz Majewski l.majew...@samsung.com wrote: Code responsible for handling situation when ext4

Re: [U-Boot] [PATCH] lib:crc32: Allow setting of the initial crc32 value

2014-05-05 Thread Lukasz Majewski
() method implementation. Additionally, comments were appropriately updated. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Simon Glass s...@chromium.org --- include/hash.h |2 +- include/u-boot/crc.h |3 ++- lib/crc32.c

Re: [U-Boot] [PATCH] usb: ums: add error handling for failed registration

2014-05-06 Thread Lukasz Majewski
-by: Stephen Warren swar...@nvidia.com Acked-by: Marek Vasut ma...@denx.de Lukasz, can you pick this please? Best regards, Marek Vasut Applied to u-boot-dfu. Thanks. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group

Re: [U-Boot] [PATCH V2 1/8] ums: support block devices not MMC devices

2014-05-06 Thread Lukasz Majewski
descriptor. Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com Lukasz, I think this series is yours, right ? :) We feel a bit responsible for the gadget code :-). Przemek (If he don't mind

[U-Boot] [PATCH v2 2/2] fs:ext4:write:fix: Reinitialize global variables after updating a file

2014-05-06 Thread Lukasz Majewski
of ext4fs_indir2_block() and after that uImage[**] is successfully stored (correct uImage [*] metadata is stored at an eMMC on the first flashing). Due to above the bug was very difficult to reproduce. This patch sets default values for all ext4fs_indir* pointers/variables. Signed-off-by: Lukasz

[U-Boot] [PATCH v2 1/2] fs:ext4:cleanup: Remove superfluous code

2014-05-06 Thread Lukasz Majewski
Code responsible for handling situation when ext4 has block size of 1024B can be ordered to take less space. This patch does that for ext4 common and write files. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- Changes for v2: - Remove () parenthesis around pointers --- fs/ext4

[U-Boot] [PATCH v2 0/2] fs:ext4: Fixes and code cleanup

2014-05-06 Thread Lukasz Majewski
This code fixes problem with storing file with the same name multiple times on the same ext4 fs (with different sizes). Code reorganization and cleanup is also included. Lukasz Majewski (2): fs:ext4:cleanup: Remove superfluous code fs:ext4:write:fix: Reinitialize global variables after

Re: [U-Boot] [PATCH V2 1/8] ums: support block devices not MMC devices

2014-05-06 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com The USB Mass Storage function could equally well support a SATA device as support an MMC device. Update struct ums to contain a block device descriptor, not an MMC device descriptor. Cc: Lukasz Majewski l.majew...@samsung.com Signed

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

2014-05-06 Thread Lukasz Majewski
+++ include/usb_mass_storage.h| 13 ++--- 4 files changed, 81 insertions(+), 98 deletions(-) delete mode 100644 board/samsung/common/ums.c -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group

[U-Boot] [PATCH v2] lib:crc32: Allow setting of the initial crc32 value

2014-05-07 Thread Lukasz Majewski
approach the output value is used as a starting condition for the proper crc32 calculation at crc32_wd function. This behavior is identical to the one provided by crc32() method implementation. Additionally comments were appropriately updated. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc

Re: [U-Boot] [PATCH v5 0/3] Android Fastboot support

2014-05-07 Thread Lukasz Majewski
tree. Rob, thanks for development. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] lib:crc32: Allow setting of the initial crc32 value

2014-05-07 Thread Lukasz Majewski
Hi Marek, On Wednesday, May 07, 2014 at 08:10:20 AM, Lukasz Majewski wrote: [...] --- a/lib/crc32.c +++ b/lib/crc32.c @@ -255,9 +255,12 @@ uint32_t ZEXPORT crc32_wd (uint32_t crc, void crc32_wd_buf(const unsigned char *input, unsigned int ilen, unsigned char *output

Re: [U-Boot] [PATCH v2] lib:crc32: Allow setting of the initial crc32 value

2014-05-07 Thread Lukasz Majewski
Hi Wolfgang, Dear Lukasz Majewski, In message 1399443021-11748-1-git-send-email-l.majew...@samsung.com you wrote: The current approach set the initial value of crc32 calculation to zero, which is correct for calculating checksum of the whole chunk of data. ... + if (*output

[U-Boot] [PATCH v3] lib:crc32:hash: Allow setting of the initial crc32 value

2014-05-07 Thread Lukasz Majewski
approach the output value is used as a starting condition for the proper crc32 calculation at crc32_wd function. This behavior is identical to the one provided by crc32() method implementation. Additionally comments were appropriately updated. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc

Re: [U-Boot] Pull request: u-boot-dfu

2014-05-08 Thread Lukasz Majewski
Hi Marek, On Tuesday, May 06, 2014 at 11:29:32 AM, Lukasz Majewski wrote: Hi Marek, The following changes since commit af41d6b4cb1602abebaaa9c8774a9b0ece564796: common: fixed linker-list example (2014-05-05 10:24:13 +0200) are available in the git repository at: ssh

Re: [U-Boot] Pull request: u-boot-dfu

2014-05-08 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 08.05.2014 08:30, schrieb Lukasz Majewski: Hi Marek, On Tuesday, May 06, 2014 at 11:29:32 AM, Lukasz Majewski wrote: Hi Marek, The following changes since commit af41d6b4cb1602abebaaa9c8774a9b0ece564796: common: fixed linker-list example (2014

Re: [U-Boot] [PATCH v2] dfu, nand: add medium specific polltimeout function

2014-05-08 Thread Lukasz Majewski
h...@denx.de Cc: Lukasz Majewski l.majew...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Pantelis Antoniou pa...@antoniou-consulting.com Applied to u-boot-dfu. Thanks. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux

Re: [U-Boot] [PATCH 1/2] musb-new, dfu: first send request answer then call completions

2014-05-08 Thread Lukasz Majewski
: Lukasz Majewski l.majew...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Pantelis Antoniou pa...@antoniou-consulting.com Applied to u-boot-dfu. Thanks. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group

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

2014-05-08 Thread Lukasz Majewski
100644 include/android_image.h -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] lib:crc32:hash: Allow setting of the initial crc32 value

2014-05-08 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On 7 May 2014 06:57, Lukasz Majewski l.majew...@samsung.com wrote: The current approach set the initial value of crc32 calculation to zero, which is correct for calculating checksum of the whole chunk of data. It however, lacks the flexibility, when one wants

[U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-08 Thread Lukasz Majewski
] Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- Changes for v2: - Utilization of hash_block generic function to calculate CRC32 checksum Changes for v3: - Remove dependency on altering the lib/hash.c generic implementation - Use of hash_update() function

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-09 Thread Lukasz Majewski
Hi Wolfgang, Dear Lukasz Majewski, In message 1399552067-31208-1-git-send-email-l.majew...@samsung.com you wrote: Up till now the CRC32 of received data was calculated unconditionally. The standard crc32 implementation causes long delay when large images were uploaded

Re: [U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-05-09 Thread Lukasz Majewski
changes this. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Heiko Schocher h...@denx.de Cc: Tom Rini tr...@ti.com --- Changes v2: - separate fix and cleanup into two commits Changes v3

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-09 Thread Lukasz Majewski
regards, Wolfgang Denk -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2] dfu: mmc: Provide support for eMMC boot partition access

2014-05-09 Thread Lukasz Majewski
of the dfu_alt_info environment variable (e.g. boot-mmc.bin raw 0x0 0x200 mmcpart 1;) It saves the original boot value and restores it after storing the file. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- Changes for v2: - Adjust the code to be applicable on top of newest u-boot-usb branch

[U-Boot] [PATCH v4] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-12 Thread Lukasz Majewski
-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- Changes for v2: - Utilization of hash_block generic function to calculate CRC32 checksum Changes for v3: - Remove dependency on altering the lib/hash.c generic implementation - Use of hash_update() function to calculate

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-15 Thread Lukasz Majewski
presented by Tom in this message. For me it would be best to not calculate any checksum on default and only enable it when needed. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-15 Thread Lukasz Majewski
-- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-16 Thread Lukasz Majewski
we not at least try before giving up? Unfortunately my time budget is limited and I feel like this has lower priority than fixing/solving current DFU problems. Best regards, Wolfgang Denk -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-16 Thread Lukasz Majewski
should keep calculating and displaying crc32 as default for DFU transfers. I'm for the option to NOT display and calculate it by default (PATCH v3). -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-20 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 16.05.2014 10:58, schrieb Lukasz Majewski: Hi Wolfgang, Tom, Hi Wolfgang, Dear Lukasz, In message20140515090904.32f1d13d@amdc2363 you wrote: What I complained about is the change in behaviour. I asked to make the existing behaviour

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-22 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 16.05.2014 10:58, schrieb Lukasz Majewski: Hi Wolfgang, Tom, Hi Wolfgang, Dear Lukasz, In message20140515090904.32f1d13d@amdc2363 you wrote: What I complained about is the change in behaviour. I asked to make the existing behaviour the default

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-05-22 Thread Lukasz Majewski
. It introduces regression with my tests setup. I think that it is the highest time to share my test setup for DFU. Proper patches would be prepared ASAP. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot

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

2014-05-22 Thread Lukasz Majewski
regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] test:dfu: Add test script for testing DFU regression

2014-05-22 Thread Lukasz Majewski
This commit adds test script for testing if any commit has introduced regression to the DFU. It uses md5 to test if sent and received file is correct. The test detailed description is available at DESCRIPTION.TXT file. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- test/dfu

[U-Boot] [PATCH] doc:git-mailrc: Add entry for dfu subsystem

2014-05-22 Thread Lukasz Majewski
Entry for dfu subsystem have been added to doc/git-mailrc file Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- doc/git-mailrc |2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index 251586e..e53c888 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc

[U-Boot] [GIT] Pull request: u-boot-dfu

2014-05-25 Thread Lukasz Majewski
to 03bc75c206e25e8aeb8070b86424f7860453: dfu: Introduction of the dfu_hash_algo env variable for checksum method setting (2014-05-26 07:31:54 +0200) Lukasz Majewski (1): dfu: Introduction of the dfu_hash_algo env variable

Re: [U-Boot] [PATCH] test:dfu: Add test script for testing DFU regression

2014-05-26 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On 22 May 2014 00:43, Lukasz Majewski l.majew...@samsung.com wrote: This commit adds test script for testing if any commit has introduced regression to the DFU. It uses md5 to test if sent and received file is correct. The test detailed description is available

Re: [U-Boot] [PATCH] test:dfu: Add test script for testing DFU regression

2014-05-30 Thread Lukasz Majewski
Hi Simon, Hi, On 29 May 2014 09:58, Stephen Warren swar...@wwwdotorg.org wrote: On 05/23/2014 06:51 PM, Simon Glass wrote: Hi Lukasz, On 22 May 2014 00:43, Lukasz Majewski l.majew...@samsung.com wrote: This commit adds test script for testing if any commit has introduced

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-05-30 Thread Lukasz Majewski
Hi Stephen, On 05/22/2014 04:20 AM, Lukasz Majewski wrote: Hi Stephen, From: Stephen Warren swar...@nvidia.com DFU read support appears to rely upon dfu-read_medium() updating the passed-by-reference len parameter to indicate the remaining size available for reading

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-02 Thread Lukasz Majewski
Hi Stephen, On 05/30/2014 02:28 AM, Lukasz Majewski wrote: ... I've tested if raw u-boot can be downloaded and uploaded via DFU. The u-boot size is 1MiB precisely. Corresponding dfu_alt_info entry: u-boot raw 0x80 0x800; \ ... 2. Upload (raw): dfu-util -a0 -U u-boot

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-03 Thread Lukasz Majewski
Hi Stephen, On 06/02/2014 12:14 AM, Lukasz Majewski wrote: Hi Stephen, On 05/30/2014 02:28 AM, Lukasz Majewski wrote: ... I've tested if raw u-boot can be downloaded and uploaded via DFU. The u-boot size is 1MiB precisely. Corresponding dfu_alt_info entry: u-boot raw 0x80

[U-Boot] [PATCH v2] test:dfu: Add test scripts for testing DFU regression

2014-06-03 Thread Lukasz Majewski
This commit adds test scripts for testing if any commit has introduced regression to the DFU subsystem. It uses md5 to test if sent and received file is correct. The test detailed description is available at README file. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- Changes for v2

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2014-06-06 Thread Lukasz Majewski
Hi Marek, On Monday, May 26, 2014 at 07:46:27 AM, Lukasz Majewski wrote: Hi Marek The following changes since commit fc25fa27e5f439705e9ca42182014e2d75d9f0ae: dfu, nand: add medium specific polltimeout function (2014-05-08 10:38:30 +0200) are available in the git

[U-Boot] [PATCH] FIX: config: goni: Change goni configuration to store envs at eMMC

2014-06-09 Thread Lukasz Majewski
Up till now goni's configuration has been stored at OneNAND. Since u-boot itself is now stored at eMMC it is more handy to store envs there as well. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- include/configs/s5p_goni.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2014-06-09 Thread Lukasz Majewski
Hi Marek, On Monday, May 26, 2014 at 07:46:27 AM, Lukasz Majewski wrote: Hi Marek The following changes since commit fc25fa27e5f439705e9ca42182014e2d75d9f0ae: dfu, nand: add medium specific polltimeout function (2014-05-08 10:38:30 +0200) are available in the git

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2014-06-09 Thread Lukasz Majewski
Hi Marek, Hi Marek, On Monday, May 26, 2014 at 07:46:27 AM, Lukasz Majewski wrote: Hi Marek The following changes since commit fc25fa27e5f439705e9ca42182014e2d75d9f0ae: dfu, nand: add medium specific polltimeout function (2014-05-08 10:38:30 +0200

[U-Boot] [PATCH] FIX: config: goni: Change goni configuration to use Tizen's THOR downlodader

2014-06-09 Thread Lukasz Majewski
Modify GONI's configuration to utilize THOR downloader. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- include/configs/s5p_goni.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index 804f97f..6e795bf 100644

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2014-06-10 Thread Lukasz Majewski
Hi Marek, On Monday, June 09, 2014 at 12:51:43 PM, Lukasz Majewski wrote: Hi Marek, Hi Marek, On Monday, May 26, 2014 at 07:46:27 AM, Lukasz Majewski wrote: Hi Marek The following changes since commit fc25fa27e5f439705e9ca42182014e2d75d9f0ae: dfu

Re: [U-Boot] [PATCH 2/3] usb:composite: clear the whole common buffer

2014-06-10 Thread Lukasz Majewski
Hi Jeroen, Since the struct fsg_common is calloced, reset it completely with zero's when reused. While at it, make checkpatch happy. cc: Lukasz Majewski l.majew...@samsung.com cc: Piotr Wilczek p.wilc...@samsung.com cc: Kyungmin Park kyungmin.p...@samsung.com cc: Marek Vasut marek.va

Re: [U-Boot] [PATCH 1/3] usb:g_dnl:f_thor: remove memset before memcpy

2014-06-10 Thread Lukasz Majewski
Hi Jeroen, since ALLOC_CACHE_ALIGN_BUFFER defines a pointer and not a buffer, the memset with sizeof(rqt) likely does something else then intended. Since there is a memcpy directly after it with the full size, drop the memset completely. Acked-by: Lukasz Majewski l.majew...@samsung.com

[U-Boot] [PATCH] dfu: Disable default calculation of CRC32

2014-06-10 Thread Lukasz Majewski
- by default the crc32 is NOT calculated anymore. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- drivers/dfu/dfu.c | 20 +++- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 5878f99..dc09ff6

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-12 Thread Lukasz Majewski
Hi Stephen, On 05/30/2014 02:28 AM, Lukasz Majewski wrote: Stephen Warren wrote: ... Wouldn't it be better to have the following separate backends to DFU: * MMC (raw IO only) * NAND (raw IO only) * RAM (raw IO only) * Filesystem (anything that fs/fat/ext* load/write can support

Re: [U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-12 Thread Lukasz Majewski
it to ML? Thanks all! -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] test:dfu: Add test scripts for testing DFU regression

2014-06-12 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On 3 June 2014 03:54, Lukasz Majewski l.majew...@samsung.com wrote: This commit adds test scripts for testing if any commit has introduced regression to the DFU subsystem. It uses md5 to test if sent and received file is correct. The test detailed description

Re: [U-Boot] [PATCH] test: dfu: script enhancements

2014-06-12 Thread Lukasz Majewski
$COLOR_DEFAULT \n -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V2 1/2] fs: implement size/fatsize/ext4size

2014-06-17 Thread Lukasz Majewski
code will use it for this purpose in the next commit. Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: New patch Stephen thanks for the patch. Acked-by: Lukasz Majewski l.majew...@samsung.com Test HW: Trats2 (Exynos4412): Tested-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [PATCH V2 2/2] dfu: fix some issues with reads/uploads

2014-06-17 Thread Lukasz Majewski
-by: Stephen Warren swar...@nvidia.com Stephen thanks for the patch. Acked-by: Lukasz Majewski l.majew...@samsung.com Test HW: Trats2 (Exynos4412): Tested-by: Lukasz Majewski l.majew...@samsung.com I will pull this patch to -dfu tree when I receive Tom's and Marek's responde to the first patch

Re: [U-Boot] [PATCH] dfu: add write error handling

2014-06-17 Thread Lukasz Majewski
dfu_write() fails, as well as from any call to dfu_flush(). Signed-off-by: Stephen Warren swar...@nvidia.com --- This probably depends on dfu: fix some issues with reads/uploads, for context if nothing else. Stephen, thanks for the patch. Acked-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [PATCH v2] test:dfu: Add test scripts for testing DFU regression

2014-06-17 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On 3 June 2014 03:54, Lukasz Majewski l.majew...@samsung.com wrote: This commit adds test scripts for testing if any commit has introduced regression to the DFU subsystem. It uses md5 to test if sent and received file is correct. The test detailed description

Re: [U-Boot] [PATCH] dfu: free entities when parsing fails

2014-06-18 Thread Lukasz Majewski
); - return CMD_RET_SUCCESS; + return ret; } U_BOOT_CMD(dfu, CONFIG_SYS_MAXARGS, 1, do_dfu, Acked-by: Lukasz Majewski l.majew...@samsung.com Test HW: Exynos4412 - Trats2 Tested-by: Lukasz Majewski l.majew...@samsung.com -- Best regards, Lukasz Majewski Samsung RD Institute Poland

[U-Boot] [PATCH v3] test:dfu: Add test scripts for testing DFU regression

2014-06-18 Thread Lukasz Majewski
This commit adds test scripts for testing if any commit has introduced regression to the DFU subsystem. It uses md5 to test if sent and received file is correct. The test detailed description is available at README file. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- Changes for v3

Re: [U-Boot] [RFC PATCH 0/3] Implement fastboot flash for eMMC

2014-06-20 Thread Lukasz Majewski
100644 include/fb_mmc.h create mode 100644 include/sparse_format.h -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] thor: defer parsing of device string to IO backend

2014-06-20 Thread Lukasz Majewski
This commit adjust thor downloading function to work correctly with deferred device string parsing. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/cmd_thordown.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_thordown.c b/common

[U-Boot] [PATCH] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-20 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/cmd_thordown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 8ed1dc6..25de048 100644 --- a/common/cmd_thordown.c +++ b/common/cmd_thordown.c @@ -64,7 +64,7

Re: [U-Boot] [PATCH v3] test:dfu: Add test scripts for testing DFU regression

2014-06-20 Thread Lukasz Majewski
Hi Lukasz, This commit adds test scripts for testing if any commit has introduced regression to the DFU subsystem. It uses md5 to test if sent and received file is correct. The test detailed description is available at README file. Signed-off-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [PATCH V2 1/2] fs: implement size/fatsize/ext4size

2014-06-20 Thread Lukasz Majewski
code will use it for this purpose in the next commit. Signed-off-by: Stephen Warren swar...@nvidia.com Applied to u-boot-dfu Thanks for the patch. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U

Re: [U-Boot] [PATCH V2 2/2] dfu: fix some issues with reads/uploads

2014-06-20 Thread Lukasz Majewski
-by: Stephen Warren swar...@nvidia.com Applied to u-boot-dfu Thanks for the patch. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

Re: [U-Boot] [PATCH 1/4] dfu: defer parsing of device string to IO backend

2014-06-20 Thread Lukasz Majewski
support will be added soon. MMC devices can also be specified as controller[.hwpart][:partition] in many commands, although we don't support that syntax in DFU. Signed-off-by: Stephen Warren swar...@nvidia.com Applied to u-boot-dfu Thanks for the patch. -- Best regards, Lukasz Majewski

Re: [U-Boot] [PATCH] dfu: add write error handling

2014-06-20 Thread Lukasz Majewski
dfu_write() fails, as well as from any call to dfu_flush(). Signed-off-by: Stephen Warren swar...@nvidia.com Applied to u-boot-dfu Thanks for the patch. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group

Re: [U-Boot] [PATCH 2/4] dfu: allow backend to specify a maximum buffer size

2014-06-20 Thread Lukasz Majewski
Thanks for the patch. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/4] dfu: add SF backend

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com This allows SPI Flash to be programmed using DFU. Signed-off-by: Stephen Warren swar...@nvidia.com Applied to u-boot-dfu Thanks for the patch. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform

Re: [U-Boot] [PATCH 3/4] dfu: add free_entity() to struct dfu_entity

2014-06-20 Thread Lukasz Majewski
for the patch. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-20 Thread Lukasz Majewski
Hi Lukasz, Hi Stephen, On 05/22/2014 04:20 AM, Lukasz Majewski wrote: Hi Stephen, From: Stephen Warren swar...@nvidia.com DFU read support appears to rely upon dfu-read_medium() updating the passed-by-reference len parameter to indicate the remaining size available

Re: [U-Boot] [PATCH] test: dfu: script enhancements

2014-06-20 Thread Lukasz Majewski
README clarification] Stephen, thanks for enhancements. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-23 Thread Lukasz Majewski
Hi Stephen, On 06/20/2014 01:35 AM, Lukasz Majewski wrote: diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c U_BOOT_CMD(thordown, CONFIG_SYS_MAXARGS, 1, do_thor_down, TIZEN \THOR\ downloader, - USB_controller interface dev\n + USB_controller interface dev

[U-Boot] [PATCH v2] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-23 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/cmd_thordown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 2dd7509..96f7d32 100644 --- a/common/cmd_thordown.c +++ b/common/cmd_thordown.c @@ -64,7 +64,7

[U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-23 Thread Lukasz Majewski
: d4f5ef59cc7 (dfu: defer parsing of device string to IO backend) Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/cmd_thordown.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 96f7d32..27927ba 100644 --- a/common

[U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-23 Thread Lukasz Majewski
: d4f5ef59cc7 (dfu: defer parsing of device string to IO backend) Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/cmd_thordown.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 96f7d32..27927ba 100644 --- a/common

Re: [U-Boot] [PATCH v2] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-23 Thread Lukasz Majewski
Dear all, Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/cmd_thordown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 2dd7509..96f7d32 100644 --- a/common/cmd_thordown.c +++ b/common

Re: [U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-23 Thread Lukasz Majewski
Hi Marek, On Monday, June 23, 2014 at 09:39:16 AM, Lukasz Majewski wrote: Commit d4f5ef59cc7 dfu: defer parsing of device string to IO backend changed the function signature of dfu_init_env_entities(). Adjust cmd_thordown.c to match that change. Also, apply the same change as commit

Re: [U-Boot] [RFC PATCH 0/3] Implement fastboot flash for eMMC

2014-06-23 Thread Lukasz Majewski
Hi Steve, On 14-06-19 11:32 PM, Marek Vasut wrote: On Friday, June 20, 2014 at 08:18:42 AM, Lukasz Majewski wrote: Hi Steve, This series implements the fastboot flash command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the fastboot flash

Re: [U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-25 Thread Lukasz Majewski
Hi Stephen, On 06/23/2014 01:39 AM, Lukasz Majewski wrote: Commit d4f5ef59cc7 dfu: defer parsing of device string to IO backend changed the function signature of dfu_init_env_entities(). Adjust cmd_thordown.c to match that change. Also, apply the same change as commit d6d37d737b58e

Re: [U-Boot] [RFC PATCH 0/3] Implement fastboot flash for eMMC

2014-06-27 Thread Lukasz Majewski
like to see the eMMC backend be a generic block device backend. There's no good reason for it to be eMMC/SD specific. Don't you also need the ability to partition a disk with fastboot? Rob Thanks in advance, Steve On 14-06-23 05:58 AM, Lukasz Majewski wrote: Hi Steve

Re: [U-Boot] [PATCH] mtd: Add _LARGE to MTD_MAX_*_ENTRIES

2013-11-27 Thread Lukasz Majewski
to the names. The second adds _LARGE to one of the names, and depends on it in a subsequent patch (http://patchwork.ozlabs.org/patch/284512/). I do wish this just used ARRAY_SIZE(), though. :-P Despite that this patch is already in ML, Tested-by: Lukasz Majewski l.majew...@samsung.com Test HW

Re: [U-Boot] [PATCH 1/2] arm: exynos/goni: fix the return type for s5p_mmc_init

2013-12-03 Thread Lukasz Majewski
s5p_mmc_init(int index, int bus_width) { unsigned int base = samsung_get_base_mmc() + (S5P_MMC_DEV_OFFSET * index); Acked-by: Lukasz Majewski l.majew...@samsung.com -- -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform

Re: [U-Boot] [PATCH 08/10] Trats: add LCD download menu support

2013-12-03 Thread Lukasz Majewski
Hi Przemyslaw, Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com --- include/configs/trats.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/trats.h b/include/configs/trats.h index 9738a00..d3bed99 100644

Re: [U-Boot] new uboot for custom platform

2013-12-09 Thread Lukasz Majewski
, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/4] dfu: Export allocated dfu buffer size

2013-12-09 Thread Lukasz Majewski
The method for exporting size of allocated buffer is provided. It is afterwards used by USB's dfu function code. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- drivers/dfu/dfu.c |5 + include/dfu.h |1 + 2 files changed, 6 insertions(+) diff --git a/drivers/dfu/dfu.c

[U-Boot] [PATCH 0/4] dfu: Provide proper Poll Timeout values

2013-12-09 Thread Lukasz Majewski
This patch series adds support for DFU's proper Poll Timeout setting. This fixes problem with dying transmission of a large files (like rootfs). Moreover some very simple clean-up patches have been included. Test HW: Exynos4210 - TRATS board Lukasz Majewski (4): dfu: Export allocated dfu

[U-Boot] [PATCH 4/4] ARM: trats: dfu: Enable default Poll Timeout for Trats board

2013-12-09 Thread Lukasz Majewski
Provide default Poll Timeout value for Trats board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- include/configs/trats.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/trats.h b/include/configs/trats.h index 3d080c4..1e37996 100644 --- a/include/configs

[U-Boot] [PATCH 3/4] usb: f_dfu: cosmetic: Code cleanup

2013-12-09 Thread Lukasz Majewski
Code cleanup for dfu_bind_config function Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- drivers/usb/gadget/f_dfu.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/f_dfu.c b/drivers/usb/gadget/f_dfu.c index b4b4aa4..a045864 100644

[U-Boot] [PATCH 2/4] usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value

2013-12-09 Thread Lukasz Majewski
regarding GET_STATUS receive timeout. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- drivers/usb/gadget/f_dfu.c | 39 --- drivers/usb/gadget/f_dfu.h |2 ++ include/dfu.h |3 +++ 3 files changed, 41 insertions(+), 3

Re: [U-Boot] [PATCH 2/4] usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value

2013-12-10 Thread Lukasz Majewski
Hi Bo, Hi Lukasz, On 12/09/2013 11:20 PM, Lukasz Majewski wrote: diff --git a/drivers/usb/gadget/f_dfu.h b/drivers/usb/gadget/f_dfu.h index cc2c455..0c29954 100644 --- a/drivers/usb/gadget/f_dfu.h +++ b/drivers/usb/gadget/f_dfu.h @@ -82,4 +82,6 @@ struct dfu_function_descriptor

Re: [U-Boot] [PATCH 0/4] dfu: Provide proper Poll Timeout values

2013-12-10 Thread Lukasz Majewski
anything on NAND related boards. Thanks in advance. Test HW: Exynos4210 - TRATS board Lukasz Majewski (4): dfu: Export allocated dfu buffer size usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value usb: f_dfu: cosmetic: Code cleanup ARM: trats: dfu

[U-Boot] [PATCH] ARM: Samsung: Change GONI and Universal_C210 maintainers.

2013-12-10 Thread Lukasz Majewski
Update boards.cfg entries for Samsung's GONI and Universal_C210 maintainers entry. Change-Id: Idac259bdefc8547ec10c7f5b9556be09c2484a3a Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- boards.cfg |4 ++-- 1 file changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH 1/3] mtd: onenand: Fix unaligned access

2013-12-28 Thread Lukasz Majewski
Hi Marek, On Thursday, December 26, 2013 at 01:01:24 AM, Marek Vasut wrote: Fix unaligned access in OneNAND core. The problem is that the ffchars[] array is an array of unsigned char, but in onenand_write_ops_nolock() can be passed to the memcpy_16() function. The memcpy_16() function

Re: [U-Boot] [PATCH 1/3] mtd: onenand: Fix unaligned access

2013-12-31 Thread Lukasz Majewski
Hi Marek, On Saturday, December 28, 2013 at 05:06:28 PM, Lukasz Majewski wrote: Hi Marek, On Thursday, December 26, 2013 at 01:01:24 AM, Marek Vasut wrote: Fix unaligned access in OneNAND core. The problem is that the ffchars[] array is an array of unsigned char

<    3   4   5   6   7   8   9   10   11   12   >