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

2013-05-27 Thread Lukasz Majewski
/dfu_mmc.c, they use dfu-layout for switching between DFU_RAW_ADDR, DFU_FS_FAT, DFU_FS_EXT4... After all ... should we add a DFU_UBI and add this to drivers/dfu/dfu_nand.c? bye, Heiko -- Best regards, Lukasz Majewski Samsung RD Poland (SRPOL) | Linux Platform Group

Re: [U-Boot] usb, g_dnl: make possibility to fixup the device_desc board specific

2013-06-04 Thread Lukasz Majewski
Hi Heiko, add a weak dummy function g_dnl_fixup to add the possibility to update the device_desc board specific. Used on the upcoming siemens board support, where idVendor and idProduct is stored in an eeprom. Reviewed-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Heiko

Re: [U-Boot] usb, composite: after unregister gadget driver set composite to NULL

2013-06-04 Thread Lukasz Majewski
Hi Heiko, Without this, second usb_composite_register() call fails always with -EINVAL. Signed-off-by: Heiko Schocher h...@denx.de Cc: Lukasz Majewski l.majew...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de --- drivers/usb/gadget/composite.c | 1

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

2013-06-04 Thread Lukasz Majewski
Hi Heiko, Dfu transfer uses a buffer before writing data to the raw storage device. Make the size (in bytes) of this buffer configurable. Acked-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Heiko Schocher h...@denx.de Cc: Pantelis Antoniou pa...@antoniou-consulting.com Cc

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

2013-06-09 Thread Lukasz Majewski
? Yes, only as a second step please. Why not do it like that right away? Ok, I can change this. Envvar name dfu_data_buf_size is ok? For me it's fine. bye, Heiko -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform Group

Re: [U-Boot] [PATCH 01/11] ext4: Split write support into its own file

2013-02-07 Thread Lukasz Majewski
code refactoring/rewritting at u-boot? -- Best regards, Lukasz Majewski Samsung RD 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 01/11] ext4: Split write support into its own file

2013-02-07 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On Thu, Feb 7, 2013 at 3:35 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Simon, This code seems to be entirely othogonal, so remove the #ifdef and put the condition in the Makefile instead. I'm fully with you in respect of cleaning/refactoring

Re: [U-Boot] [PATCH] mmc:sdhci:fix: Change default interrupts enabled at SDHCI initialization

2013-02-11 Thread Lukasz Majewski
bits at Normal Interrupt Signal Enable Register (0x38h) Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Lei Wen lei...@marvell.com Cc: Andy Fleming aflem...@freescale.com --- drivers/mmc/sdhci.c |8 +--- 1

Re: [U-Boot] can i in u-boot partition a device and format it in fat ?

2013-02-18 Thread Lukasz Majewski
Altunbas (DC-IA/EAH2) Tel. +49 (0) 6062/78-526 Fax +49 (0) 6062/78-771 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot -- Best regards, Lukasz Majewski Samsung RD Poland (SRPOL) | Linux Platform

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

2013-02-18 Thread Lukasz Majewski
version of dfu-utils (new handling of descriptors). It is on top of my queue, but I'm currently buried with other work and need to postpone this. However it is still on the back of my head and I push myself to fix this. -- Best regards, Lukasz Majewski Samsung RD Poland (SRPOL) | Linux Platform

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

2013-02-19 Thread Lukasz Majewski
Hi Tom, First of all, sorry for late reply. On Mon, Feb 18, 2013 at 11:01:42AM +0100, Lukasz Majewski wrote: Hi Tom, On Fri, Nov 30, 2012 at 08:01:12PM +0200, Pantelis Antoniou wrote: We didn't support upload/download larger than available memory. This is pretty bad when you

Re: [U-Boot] DFU on OMAP4?

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

Re: [U-Boot] [PATCH] mmc:sdhci:fix: Change default interrupts enabled at SDHCI initialization

2013-02-21 Thread Lukasz Majewski
are served at u-boot - This cleanup as a side effect fixes SDHCI's CARD INTERRUPT problem at Linux kernel (versions 3.6+, sdhci controller) - Keep masked bits at Normal Interrupt Signal Enable Register (0x38h) Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off

Re: [U-Boot] [PATCH] mmc:sdhci:fix: Change default interrupts enabled at SDHCI initialization

2013-02-21 Thread Lukasz Majewski
Hi Tom, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/21/2013 06:33 PM, Jaehoon Chung wrote: Hi Tom, On 02/22/2013 02:45 AM, Tom Rini wrote: On 02/21/2013 12:21 PM, Lukasz Majewski wrote: Dear All, I'd like to kindly ask for any feedback on this patch. It is now

Re: [U-Boot] Problems around fatwrite command from uboot

2013-02-21 Thread Lukasz Majewski
inhibit to clear 42428 bytes written ... -- Best regards, Lukasz Majewski Samsung RD 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] usb:composite:fix Provide function data when addressing device with only one interface

2013-03-01 Thread Lukasz Majewski
not be detected ... Warning: Trying default transfer size 1024 This fix allows passing non-standard request to function setup code, where it shall be handled. Tested at: Trats (exynos4210) Tested with:DFU and UMS gadgets Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park

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

2013-03-01 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, This commit fixes problems with some non-standard requests send with device address instead of interface address (bmRequestType.Receipent field). This happens with dfu-util (debian version: 0.5), which address non standard requests (like w_value

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

2013-03-05 Thread Lukasz Majewski
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 send with device address instead of interface address

Re: [U-Boot] [PATCH] dfu:mmc: When doing block operations, operate on the given length

2013-03-08 Thread Lukasz Majewski
need to modify *len on read operations. Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Tom Rini tr...@ti.com --- drivers/dfu/dfu_mmc.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c index

Re: [U-Boot] [PATCH] mmc:sdhci:fix: Change default interrupts enabled at SDHCI initialization

2013-03-11 Thread Lukasz Majewski
Dear All, Hi Tom, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/21/2013 06:33 PM, Jaehoon Chung wrote: Hi Tom, On 02/22/2013 02:45 AM, Tom Rini wrote: On 02/21/2013 12:21 PM, Lukasz Majewski wrote: Dear All, I'd like to kindly ask for any feedback

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

2013-03-11 Thread Lukasz Majewski
initialization, so that we don't rely on just the counter sent by the host. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Tom Rini tr...@ti.com Acked-by: Lukasz Majewski l.majew...@samsung.com Test-hw: Exynos 4210 (Trats) Tested-by: Lukasz Majewski l.majew

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

2013-03-11 Thread Lukasz Majewski
a variable to handle initialization, so that we don't rely on just the counter sent by the host. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Tom Rini tr...@ti.com Acked-by: Lukasz Majewski l.majew...@samsung.com Test-hw: Exynos 4210 (Trats) Tested

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

2013-03-14 Thread Lukasz Majewski
Hi Tom, On Wed, Mar 13, 2013 at 11:25:42AM -0400, Tom Rini wrote: On Mon, Mar 11, 2013 at 11:03:41AM +0100, Lukasz Majewski wrote: [snip] - if (blk_seq_num == 0) { - i_buf = dfu_buf; - ret = dfu-read_medium(dfu, i_buf, r_size

Re: [U-Boot] [PATCH] arm:cache:trats: Enable PL310 L2 Cache Controller at TRATS Samsung board

2012-08-16 Thread Lukasz Majewski
Hi Minkyu, On 8 August 2012 00:42, Lukasz Majewski l.majew...@samsung.com wrote: Enable the PL310 L2 cache controller at TRATS Samsung board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k

Re: [U-Boot] [PATCH 2/3] cmd_partuuid: add command to retrieve a partition's UUID

2012-08-17 Thread Lukasz Majewski
Partition Table) at MMC in u-boot. I plan to implement a separate command - gptrestore However, I think that one single command would be more suitable for this purpose. or create separate commands: partuuid mmc 0:1 part-get-bootable mmc 0 -- Best regards, Lukasz Majewski Samsung Poland RD

Re: [U-Boot] [PATCH 2/3] cmd_partuuid: add command to retrieve a partition's UUID

2012-08-17 Thread Lukasz Majewski
On Fri, 17 Aug 2012 09:08:16 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/17/2012 12:46 AM, Lukasz Majewski wrote: Hi Stephen, On 08/16/2012 05:15 PM, Stephen Warren wrote: This implements the following: partuuid mmc 0:1 - prints the partition's UUID. partuuic mmc 0

Re: [U-Boot] WARNING: Caches not enabled on openrd based board

2012-08-17 Thread Lukasz Majewski
allocation. TIA, Alex ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot -- Best regards, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group

[U-Boot] Performance of the ARM's PL310 L2 cache.

2012-08-17 Thread Lukasz Majewski
at ROM Code API? -- Best regards, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group From e6ba0bf6d7f9ee1352861c38f17be890270c621b Mon Sep 17 00:00:00 2001 From: Lukasz Majewski l.majew...@samsung.com Date: Thu, 9 Aug 2012 16:29:31 +0200 Subject: [PATCH] cache:L2: Provide *_cache_

[U-Boot] [PATCH 0/6] gpt: GUID Partition Table (GPT) restoration

2012-08-24 Thread Lukasz Majewski
written to README.gpt file. Tested at: - Exynos4210 rev.1 - TRATS Samsung development board Lukasz Majewski (6): gpt:doc: GPT (GUID Partition Table) documentation gpt: Replace the leXX_to_int() calls with ones defined at compiler.h gpt: Replacement of GPT structures members

[U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at compiler.h

2012-08-24 Thread Lukasz Majewski
Custom definitions of le_XX_to_int functions have been replaced with standard ones, defined at compiler.h Signed-off-by: Chang Hyun Park chchch.p...@samsung.com Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- disk/part_efi.c | 109

[U-Boot] [PATCH 3/6] gpt: Replacement of GPT structures members with ones indicating endianness and size

2012-08-24 Thread Lukasz Majewski
Replacement of several GPT related structures members with ones indicating its endianness and proper size. Signed-off-by: Chang Hyun Park chchch.p...@samsung.com Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- disk/part_efi.h

[U-Boot] [PATCH 1/6] gpt:doc: GPT (GUID Partition Table) documentation

2012-08-24 Thread Lukasz Majewski
Documentation of the GPT table format. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- doc/README.gpt | 199 1 files changed, 199 insertions(+), 0 deletions(-) create mode

[U-Boot] [PATCH 6/6] gpt: Enable support for GPT partition table restoration at Samsung's Trats

2012-08-24 Thread Lukasz Majewski
Enable support for GPT partition table restoration at Samsung's Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/configs/trats.h | 23 ++- 1 files changed, 22 insertions(+), 1

[U-Boot] [PATCH 5/6] gpt: Support for new gpt command

2012-08-24 Thread Lukasz Majewski
New command - gpt is now supported. It shows and restores the GPT partition table. It looks into the partitions environment variable for partitions definition. It can be enabled at target configuration file with CONFIG_CMD_GPT. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off

[U-Boot] [PATCH 4/6] gpt: Support for GPT (GUID Partition Table) restoration

2012-08-24 Thread Lukasz Majewski
The restoration of GPT table (both primary and secondary) is now possible. Simple GUID generation is supported. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- disk/part_efi.c | 225

[U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-08-24 Thread Lukasz Majewski
development board Lukasz Majewski (6): gpt:doc: GPT (GUID Partition Table) documentation gpt: Replace the leXX_to_int() calls with ones defined at compiler.h gpt: Replacement of GPT structures members with ones indicating endianness and size gpt: Support for GPT (GUID

[U-Boot] [PATCH 2/2] dfu:usb:fix: Read the filesize environment variable only when file read

2012-08-24 Thread Lukasz Majewski
The filesize environment variable shall be read only when relevant file is read. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/dfu/dfu_mmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 1/2] dfu:usb: Support for ext4

2012-08-24 Thread Lukasz Majewski
Support for ext4 file system handling at DFU. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/dfu/dfu_mmc.c | 32 ++-- 1 files changed, 26 insertions(+), 6 deletions(-) diff --git a/drivers

[U-Boot] [PATCH 0/2] i2c:soft:multi: Support for multiple soft I2C buses at TRATS

2012-08-28 Thread Lukasz Majewski
Support for multiple I2C buses handling on Samsung's TRATS development board. Those patches add multiple I2C support at soft_i2c.c code and enables it at Trats development board. Lukasz Majewski (2): i2c:soft:multi: Support for multiple soft I2C buses i2c:soft:multi: Enable soft I2C

[U-Boot] [PATCH 1/2] i2c:soft:multi: Support for multiple soft I2C buses

2012-08-28 Thread Lukasz Majewski
- Trats development board Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/i2c/soft_i2c.c | 41 + include/i2c.h | 17 + 2 files changed, 58 insertions(+), 0

[U-Boot] [PATCH 2/2] i2c:soft:multi: Enable soft I2C multibus at Trats development board

2012-08-28 Thread Lukasz Majewski
This commit enables multibus handling at Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/configs/trats.h | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/2] i2c:soft:multi: Support for multiple soft I2C buses

2012-08-28 Thread Lukasz Majewski
, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] i2c:soft:multi: Support for multiple soft I2C buses

2012-08-28 Thread Lukasz Majewski
on different platforms. What is your opinion about that? -- Best regards, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] i2c:soft:multi: Support for multiple soft I2C buses

2012-08-28 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, On 28.08.2012 14:12, Lukasz Majewski wrote: Hi Heiko, +#if defined(CONFIG_I2C_MULTI_BUS) +/* Handle multiple I2C buses instances */ +int get_multi_scl_pin(void) +{ + switch (I2C_GET_BUS()) { + case I2C_4: + return

[U-Boot] [PATCH v2 0/2] i2c:soft:multi: Support for multiple soft I2C buses at TRATS

2012-08-29 Thread Lukasz Majewski
Support for multiple I2C buses handling on Samsung's TRATS development board. Those patches add multiple I2C support for Samsung boards and enables it at Trats. Lukasz Majewski (2): i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards i2c:soft:multi: Enable soft I2C

[U-Boot] [PATCH v2 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-08-29 Thread Lukasz Majewski
-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Heiko Schocher h...@denx.de Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - Common Samsung code has been put to board/samsung/common/multi_i2c.c file - I2C_{4|5} have been renamed to I2C_{0

[U-Boot] [PATCH v2 2/2] i2c:soft:multi: Enable soft I2C multibus at Trats development board

2012-08-29 Thread Lukasz Majewski
This commit enables multibus handling at Samsung's Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - CONFIG_SOFT_I2C_MULTI_BUS flag added to Trats

[U-Boot] gpt: GUID/UUID - GPT restoration - open questions - RESEND

2012-09-03 Thread Lukasz Majewski
to README.gpt file. Tested at: - Exynos4210 rev.1 - TRATS Samsung development board Lukasz Majewski (6): gpt:doc: GPT (GUID Partition Table) documentation gpt: Replace the leXX_to_int() calls with ones defined at compiler.h gpt: Replacement of GPT structures members with ones

Re: [U-Boot] [PATCH 0/6] gpt: GUID Partition Table (GPT) restoration

2012-09-03 Thread Lukasz Majewski
description has been written to README.gpt file. Tested at: - Exynos4210 rev.1 - TRATS Samsung development board Lukasz Majewski (6): gpt:doc: GPT (GUID Partition Table) documentation gpt: Replace the leXX_to_int() calls with ones defined at compiler.h gpt: Replacement of GPT

[U-Boot] [PATCH v3 0/2] i2c:soft:multi: Support for multiple soft I2C buses at TRATS

2012-09-03 Thread Lukasz Majewski
Support for multiple I2C buses handling on Samsung's TRATS development board. Those patches add multiple I2C support for Samsung boards and enables it at Trats. Lukasz Majewski (2): i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards i2c:soft:multi: Enable soft I2C

[U-Boot] [PATCH v3 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-09-03 Thread Lukasz Majewski
-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Heiko Schocher h...@denx.de Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - Common Samsung code has been put to board/samsung/common/multi_i2c.c file - I2C_{4|5} have been renamed to I2C_{0

[U-Boot] [PATCH v3 2/2] i2c:soft:multi: Enable soft I2C multibus at Trats development board

2012-09-03 Thread Lukasz Majewski
This commit enables multibus handling at Samsung's Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - CONFIG_SOFT_I2C_MULTI_BUS flag added to Trats

Re: [U-Boot] [PATCH v3 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-09-04 Thread Lukasz Majewski
schematic/chip numbergin) and I2C_1 is I2C_9. This numbering (I2C_5 and I2C_9) was proposed for v2 of this patch. I will prepare v4 of this patch with a palatable I2C numbering solution. -- Best regards, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group

[U-Boot] [PATCH] gpio:fix: Proper handling of GPIO subsystem parts at Samsung devices

2012-09-05 Thread Lukasz Majewski
Now proper GPIO parts numbering is handled at Samsung devices. This fix is necessary for code using GPIO located at other banks than first. Test HW: - Exynos4210 - Trats - S5PC110 - goni Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[U-Boot] [PATCH v4 2/2] i2c:soft:multi: Enable soft I2C multibus at Trats development board

2012-09-05 Thread Lukasz Majewski
This commit enables multibus handling at Samsung's Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - CONFIG_SOFT_I2C_MULTI_BUS flag added to Trats

[U-Boot] [PATCH v4 0/2] i2c:soft:multi: Support for multiple soft I2C buses at TRATS

2012-09-05 Thread Lukasz Majewski
Those patches add multiple I2C support for Samsung boards and enables it on Trats. Lukasz Majewski (2): i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards i2c:soft:multi: Enable soft I2C multibus at Trats development board board/samsung/common/Makefile| 43

[U-Boot] [PATCH v4 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-09-05 Thread Lukasz Majewski
-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Heiko Schocher h...@denx.de Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - Common Samsung code has been put to board/samsung/common/multi_i2c.c file - I2C_{4|5} have been renamed

Re: [U-Boot] [PATCH v4 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-09-06 Thread Lukasz Majewski
Hi Heiko, Thanks for comments. Hello Lukasz, On 05.09.2012 11:15, Lukasz Majewski wrote: Support for multiple soft I2C buses. Multibus I2C support is achieved by defining get_multi_{sda|scl}_pin functions to switch between multiple soft I2C buses. Common definition of I2C_X I2C

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-06 Thread Lukasz Majewski
(especially when zip command is available from command line). Best regards, Marek Vasut Thanks, Lei Best regards, Marek Vasut -- Best regards, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH 1/6] gpt:doc: GPT (GUID Partition Table) documentation

2012-09-06 Thread Lukasz Majewski
Hi Stephen, On 08/24/2012 02:13 AM, Lukasz Majewski wrote: Documentation of the GPT table format. +++ b/doc/README.gpt +Glossary: + +- UUID -(Universally Unique Identifier) +- GUID - (Globally Unique ID) +- EFI - (Extensible Firmware Interface) +- UEFI - (Unified EFI

Re: [U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at compiler.h

2012-09-06 Thread Lukasz Majewski
Hi Stephen, On 08/24/2012 02:13 AM, Lukasz Majewski wrote: Custom definitions of le_XX_to_int functions have been replaced with standard ones, defined at compiler.h diff --git a/disk/part_efi.c b/disk/part_efi.c -/* Convert char[8] in little endian format to the host format integer

Re: [U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at compiler.h

2012-09-06 Thread Lukasz Majewski
Hi Stephen, On 08/24/2012 02:13 AM, Lukasz Majewski wrote: Custom definitions of le_XX_to_int functions have been replaced with standard ones, defined at compiler.h Signed-off-by: Chang Hyun Park chchch.p...@samsung.com Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed

Re: [U-Boot] [PATCH 3/6] gpt: Replacement of GPT structures members with ones indicating endianness and size

2012-09-06 Thread Lukasz Majewski
Hi Stephen, On 08/24/2012 02:13 AM, Lukasz Majewski wrote: Replacement of several GPT related structures members with ones indicating its endianness and proper size. This patch seems reasonable to me, but I'm surprised it doesn't require /any/ changes to the code that uses

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-06 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, Dear Marek and Lei, Dear Lei Wen, Hi Marek, On Thu, Sep 6, 2012 at 12:18 PM, Marek Vasut marek.va...@gmail.com wrote: Dear adrian.w...@gmail.com, From: Lei Wen lei...@marvell.com Lei? Long time no see

Re: [U-Boot] [PATCH 4/6] gpt: Support for GPT (GUID Partition Table) restoration

2012-09-06 Thread Lukasz Majewski
Hi Stephen, On 08/24/2012 02:13 AM, Lukasz Majewski wrote: The restoration of GPT table (both primary and secondary) is now possible. Simple GUID generation is supported. diff --git a/include/part.h b/include/part.h +int set_gpt_table(block_dev_desc_t *dev_desc, + int

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-09-06 Thread Lukasz Majewski
Hi Stephen, On 08/24/2012 02:48 AM, Lukasz Majewski wrote: Hi Stephen, I'm writing to you, since I've posted a patch series regarding GPT support for Samsung Trats board (you were on the CC). e.g. http://patchwork.ozlabs.org/patch/179785/ I think, that we can cooperate

Re: [U-Boot] [PATCH 5/6] gpt: Support for new gpt command

2012-09-06 Thread Lukasz Majewski
Hi Stephen, On 08/24/2012 02:13 AM, Lukasz Majewski wrote: New command - gpt is now supported. It shows and restores the GPT partition table. It looks into the partitions environment variable for partitions definition. It can be enabled at target configuration file with CONFIG_CMD_GPT

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-09-06 Thread Lukasz Majewski
) and then use mkfs.* to create proper file system. -- Best regards, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-09-07 Thread Lukasz Majewski
Hi Stephen, On 09/06/2012 08:14 AM, Lukasz Majewski wrote: Hi Rob, The question I'm asking is why we need partition creation support in u-boot in the first place? Please consider following scenarios: 1. eMMC content is exported to the user (via UMS USB Mass Storage

Re: [U-Boot] [PATCH V2 4/4] cmd_part: add partition-related command

2012-09-12 Thread Lukasz Majewski
development (if were pulled into u-boot/master). -- Best regards, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-09-12 Thread Lukasz Majewski
development board Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Heiko Schocher h...@denx.de Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - Common Samsung code has been put to board/samsung/common/multi_i2c.c file

Re: [U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at compiler.h

2012-09-12 Thread Lukasz Majewski
gpt v2, so stay tunned :-) -- Best regards, Lukasz Majewski Samsung Poland RD Center | Linux Platform Group ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2 0/7] gpt: GUID Partition Table (GPT) restoration

2012-09-12 Thread Lukasz Majewski
Lukasz Majewski (6): vsprintf:fix: Change type returned by ustrtoul part:efi: Move part_efi.h file to ./include gpt:doc: GPT (GUID Partition Table) documentation gpt: Support for GPT (GUID Partition Table) restoration gpt: Support for new gpt command gpt: Enable support for GPT partition

[U-Boot] [PATCH v2 1/7] vsprintf:fix: Change type returned by ustrtoul

2012-09-12 Thread Lukasz Majewski
The ustrtoul shall convert string defined size (e.g. 1GiB) to unsigned long type (as its name implies). Up till now it had returned int, which might cause problems with large numbers (GiB range), when interpreted as U2 signed numbers. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed

[U-Boot] [PATCH v2 3/7] gpt:doc: GPT (GUID Partition Table) documentation

2012-09-12 Thread Lukasz Majewski
Documentation of the GPT format. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - Typos correction. - Adding guidlines about GPT restoration. - Adding information about GUID generator --- doc/README.gpt | 207

[U-Boot] [PATCH v2 5/7] gpt: Support for GPT (GUID Partition Table) restoration

2012-09-12 Thread Lukasz Majewski
The restoration of GPT table (both primary and secondary) is now possible. Simple GUID generation is supported. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - Move GPT Header and Page Table Entries generation

[U-Boot] [PATCH v2 2/7] part:efi: Move part_efi.h file to ./include

2012-09-12 Thread Lukasz Majewski
This move is necessary to export gpt header and GPT partition entries to be used with other commands or subsystems (like DFU in the future) Additionally the part_efi.h file has been cleaned-up to supress checkpatch's warnings. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off

[U-Boot] [PATCH v2 4/7] gpt: The leXX_to_int() calls replaced with ones defined at compiler.h

2012-09-12 Thread Lukasz Majewski
chchch.p...@samsung.com Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - Combining two commits regarding part_efi.{h|c} --- disk/part_efi.c| 109 +++- include

[U-Boot] [PATCH v2 6/7] gpt: Support for new gpt command

2012-09-12 Thread Lukasz Majewski
for entrophy pool. Moreover the pool address is used as crc32 seed. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - gpt command now accepts device medium and its number (e.g. gpt mmc 0) - UUIDs can be passed via u-boot

[U-Boot] [PATCH v2 7/7] gpt: Enable support for GPT partition table restoration at Samsung's Trats

2012-09-12 Thread Lukasz Majewski
Enable support for GPT partition table restoration at Samsung's Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - New format for default GPT partitions (key=value pairs) - replace size

Re: [U-Boot] [PATCH v2 0/7] gpt: GUID Partition Table (GPT) restoration

2012-09-13 Thread Lukasz Majewski
Hi Tom, Thanks for review. On 09/12/2012 07:50 AM, Lukasz Majewski wrote: This patch series provides a new command - gpt for eMMC partition table (in the GPT format) restoration. As a pre-work, some cleanup at the part_efi.c file was performed to remove custom macros and make GPT

[U-Boot] [PATCH v3 0/7] gpt: GUID Partition Table (GPT) restoration

2012-09-13 Thread Lukasz Majewski
Lukasz Majewski (6): vsprintf:fix: Change type returned by ustrtoul part:efi: Move part_efi.h file to ./include gpt:doc: GPT (GUID Partition Table) documentation gpt: Support for GPT (GUID Partition Table) restoration gpt: Support for new gpt command gpt: Enable support for GPT partition

[U-Boot] [PATCH v3 1/7] vsprintf:fix: Change type returned by ustrtoul

2012-09-13 Thread Lukasz Majewski
The ustrtoul shall convert string defined size (e.g. 1GiB) to unsigned long type (as its name implies). Up till now it had returned int, which might cause problems with large numbers (GiB range), when interpreted as U2 signed numbers. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed

[U-Boot] [PATCH v3 2/7] part:efi: Move part_efi.h file to ./include

2012-09-13 Thread Lukasz Majewski
This move is necessary to export gpt header and GPT partition entries to be used with other commands or subsystems (like DFU in the future) Additionally the part_efi.h file has been cleaned-up to supress checkpatch's warnings. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off

[U-Boot] [PATCH v3 3/7] gpt:doc: GPT (GUID Partition Table) documentation

2012-09-13 Thread Lukasz Majewski
Documentation of the GPT format. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - Typos correction. - Adding guidlines about GPT restoration. - Adding information about GUID generator Changes for v3: - None

[U-Boot] [PATCH v3 4/7] gpt: The leXX_to_int() calls replaced with ones defined at compiler.h

2012-09-13 Thread Lukasz Majewski
chchch.p...@samsung.com Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - Combining two commits regarding part_efi.{h|c} Changes for v3: - None --- disk/part_efi.c| 109

[U-Boot] [PATCH v3 5/7] gpt: Support for GPT (GUID Partition Table) restoration

2012-09-13 Thread Lukasz Majewski
The restoration of GPT table (both primary and secondary) is now possible. Simple GUID generation is supported. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - Move GPT Header and Page Table Entries generation

[U-Boot] [PATCH v3 6/7] gpt: Support for new gpt command

2012-09-13 Thread Lukasz Majewski
for entrophy pool. Moreover the pool address is used as crc32 seed. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - gpt command now accepts device medium and its number (e.g. gpt mmc 0) - UUIDs can be passed via u-boot

[U-Boot] [PATCH v3 7/7] gpt: Enable support for GPT partition table restoration at Samsung's Trats

2012-09-13 Thread Lukasz Majewski
Enable support for GPT partition table restoration at Samsung's Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - New format for default GPT partitions (key=value pairs) - replace size

Re: [U-Boot] [PATCH] gpio:fix: Proper handling of GPIO subsystem parts at Samsung devices

2012-09-13 Thread Lukasz Majewski
Hi Minkyu, Now proper GPIO parts numbering is handled at Samsung devices. This fix is necessary for code using GPIO located at other banks than first. Test HW: - Exynos4210 - Trats - S5PC110 - goni Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park

[U-Boot] [PATCH 00/16] pmic: Redesign PMIC framework to support multiple instances of devices

2012-09-14 Thread Lukasz Majewski
board http://patchwork.ozlabs.org/patch/181788/ Test HW: - Exynos4210 Trats development board Lukasz Majewski (16): pmic:i2c: Handle PMIC I2C transmission comprising of two bytes pmic:i2c: Add I2C byte order to PMIC framework pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

[U-Boot] [PATCH 01/16] pmic:i2c: Handle PMIC I2C transmission comprising of two bytes

2012-09-14 Thread Lukasz Majewski
This patch adds support for proper handling of a PMIC I2C transmission comprising of two bytes. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/misc/pmic_i2c.c |9 - 1 files changed, 8 insertions(+), 1 deletions

[U-Boot] [PATCH 02/16] pmic:i2c: Add I2C byte order to PMIC framework

2012-09-14 Thread Lukasz Majewski
Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. This commit adds the reverse (which is default) and normal byte order. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[U-Boot] [PATCH 03/16] pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

2012-09-14 Thread Lukasz Majewski
PMIC MAX8997 is now ready to work with single and multibus soft I2C implementation. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/misc/pmic_max8997.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff

[U-Boot] [PATCH 04/16] pmic: Extend PMIC framework to support multiple instances of PMIC devices

2012-09-14 Thread Lukasz Majewski
. This is a first of a series of patches - in the future pmic will be replaced with power. Two important issues: 1. The PMIC needs to be initialized just after malloc is configured 2. It uses list to hold information about available PMIC devices Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed

[U-Boot] [PATCH 06/16] pmic: Enable power_board_init() support at TRATS

2012-09-14 Thread Lukasz Majewski
Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- board/samsung/trats/trats.c | 15 +++ include/configs/trats.h |1 + 2 files changed, 12 insertions

[U-Boot] [PATCH 07/16] pmic:chrg: Common information about charger and battery (power_chrg.h)

2012-09-14 Thread Lukasz Majewski
New power_chrg.h file has been added to bind together common information about charging battery available in the system. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Stefano Babic sba...@denx.de --- include/power/power_chrg.h

[U-Boot] [PATCH 08/16] pmic:muic: Support for MUIC built into MAX8997 device

2012-09-14 Thread Lukasz Majewski
Support for MUIC (Micro USB Integrated Circuit) built into the MAX8997 power management device. The MUIC device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Stefano Babic sba...@denx.de

[U-Boot] [PATCH 05/16] pmic: Introduce power_board_init() method at ./lib/board.c file

2012-09-14 Thread Lukasz Majewski
malloc configuration. The arch_early_init_r() could be used instead, but it doesn't reflect that the power subsystem is going to be initialized. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/lib/board.c |4

[U-Boot] [PATCH 09/16] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-09-14 Thread Lukasz Majewski
Support for MAX17042 fuel-gauge (FG), which is built into the MAX8997 power management device. Special file - fg_battery_cell_params.h with cells characteristics added. The FG device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off

  1   2   3   4   5   6   7   8   9   10   >