Re: [U-Boot] [PATCH v1 1/1] lib/display_options: Fix print_freq

2015-08-24 Thread Suriyan Ramasami
Hello Heiko/Simon, On Sun, Aug 23, 2015 at 10:37 PM, Heiko Schocher h...@denx.de wrote: Hello Simon, Suriyan Ramasami, Am 22.08.2015 um 02:36 schrieb Simon Glass: Hi, On 18 August 2015 at 10:25, Suriyan Ramasami suriya...@gmail.com wrote: Build without CONFIG_SPL_SERIAL_SUPPORT does

[U-Boot] [PATCH v2 1/1] lib/display_options: Fix print_freq

2015-08-24 Thread Suriyan Ramasami
is not defined in an SPL build. Example board: smartweb Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- v2: * Get rid of variable 'n' altogether v1: * Remove #ifdef CONFIG_SPL_SERIAL_SUPPORT lib/display_options.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git

[U-Boot] Question regarding CONFIG_DM_USB

2015-08-18 Thread Suriyan Ramasami
Hi folks and Simon, After moving to the driver model for USB, I see that the call to board_usb_init() is not done anymore. This has the board specific initialisation sequence. It used to be called before the driver model existed by usb_lowlevel_init(). Without it, usb fails to work. I see

[U-Boot] [PATCH v1 1/1] lib/display_options: Fix print_freq

2015-08-18 Thread Suriyan Ramasami
variables when building with CONFIG_SPL_SERIAL_SUPPORT not being defined in an SPL build. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- lib/display_options.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/lib/display_options.c b/lib/display_options.c index df134cd..80316a4 100644

Re: [U-Boot] [PATCH] fs-test.sh: minor fixes

2015-08-12 Thread Suriyan Ramasami
Hi Stephen, Small nitpick, just to be consistent (for that particular line), we could use OUT_FILE=${OUT}.${1}.${fs}.out Acked-by: Suriyan Ramasami suriya...@gmail.com Best Regards On Mon, Aug 10, 2015 at 9:45 PM, Stephen Warren swar...@wwwdotorg.org wrote: - Re-direct stderr into the log

Re: [U-Boot] [PATCH] fs-test.sh: minor fixes

2015-08-12 Thread Suriyan Ramasami
On Aug 12, 2015 8:08 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/12/2015 08:29 AM, Suriyan Ramasami wrote: Hi Stephen, Small nitpick, just to be consistent (for that particular line), we could use OUT_FILE=${OUT}.${1}.${fs}.out I thought about that, but that would

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-02-25 Thread Suriyan Ramasami
, Suriyan Ramasami suriya...@gmail.com wrote: On Thu, Jan 22, 2015 at 9:51 AM, Kevin Hilman khil...@kernel.org wrote: Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin, On Wed, Jan 21, 2015 at 4:54 PM, Kevin Hilman khil...@kernel.org wrote: Hi Surijan, Suriyan Ramasami suriya...@gmail.com

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-22 Thread Suriyan Ramasami
On Thu, Jan 22, 2015 at 9:51 AM, Kevin Hilman khil...@kernel.org wrote: Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin, On Wed, Jan 21, 2015 at 4:54 PM, Kevin Hilman khil...@kernel.org wrote: Hi Surijan, Suriyan Ramasami suriya...@gmail.com writes: Hello Sjoerd Simons

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-21 Thread Suriyan Ramasami
Hello Kevin, On Wed, Jan 21, 2015 at 4:54 PM, Kevin Hilman khil...@kernel.org wrote: Hi Surijan, Suriyan Ramasami suriya...@gmail.com writes: Hello Sjoerd Simons, A signed BL2 which allows unsigned BL2 chain load is already available for experimentation. Refer this link: http

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
Hello Kevin, On Tue, Jan 20, 2015 at 3:38 PM, Suriyan Ramasami suriya...@gmail.com wrote: Hello Kevin, On Tue, Jan 20, 2015 at 3:29 PM, Suriyan Ramasami suriya...@gmail.com wrote: Hello Kevin, On Tue, Jan 20, 2015 at 2:43 PM, Kevin Hilman khil...@kernel.org wrote: Suriyan Ramasami suriya

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
Hello Kevin, On Tue, Jan 20, 2015 at 3:29 PM, Suriyan Ramasami suriya...@gmail.com wrote: Hello Kevin, On Tue, Jan 20, 2015 at 2:43 PM, Kevin Hilman khil...@kernel.org wrote: Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin, These are the changes that would be necessary in uboot

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
of the Samsung docs, hence, one solution was to copy over HKs ddr init function, and then the mainline SPL runs. Regards - Suriyan On Tue, Jan 20, 2015 at 1:30 PM, Kevin Hilman khil...@kernel.org wrote: Hello Suriyan, Suriyan Ramasami suriya...@gmail.com writes: Hello Sjoerd Simons, A signed BL2

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
Hello Kevin, On Tue, Jan 20, 2015 at 2:43 PM, Kevin Hilman khil...@kernel.org wrote: Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin, These are the changes that would be necessary in uboot mainline for SPL: arch/arm/cpu/armv7/exynos/Kconfig - select OF_CONTROL

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
can share? Separately i do wonder if getting a (very basic?) signed BL2 to chainload an unsigned SPL might not be the best way forward here. Would allow us to fix SPL issues in u-boot without having to ask hardkernel to sign every time ? :/ On Fri, 2014-12-19 at 15:45 -0800, Suriyan Ramasami

Re: [U-Boot] [PATCH v11 0/3] Adds support for Exynos5422 odroid xu3 board

2014-12-09 Thread Suriyan Ramasami
Hello Hyungwon Hwang, On Tue, Dec 9, 2014 at 4:58 PM, Hyungwon Hwang human.hw...@samsung.com wrote: Dear Kevin, On Tue, 09 Dec 2014 15:36:00 -0800 Kevin Hilman khil...@kernel.org wrote: Hyungwon Hwang human.hw...@samsung.com writes: This is v11 of the patchset adding support Odroud XU3

Re: [U-Boot] [PATCH v11 0/3] Adds support for Exynos5422 odroid xu3 board

2014-12-09 Thread Suriyan Ramasami
Hello Hyungwon Hwang, On Tue, Dec 9, 2014 at 7:52 PM, Hyungwon Hwang human.hw...@samsung.com wrote: Dear Suriyan, On Tue, 09 Dec 2014 18:29:56 -0800 Suriyan Ramasami suriya...@gmail.com wrote: Hello Hyungwon Hwang, On Tue, Dec 9, 2014 at 4:58 PM, Hyungwon Hwang human.hw...@samsung.com

Re: [U-Boot] [PATCH v2] odroid-XU3: Add entry for DTS EHCI GPIO

2014-12-08 Thread Suriyan Ramasami
Hello Hyungwon Hwang, On Mon, Dec 8, 2014 at 7:01 PM, Hyungwon Hwang human.hw...@samsung.com wrote: Dear Sjoerd, On Fri, 05 Dec 2014 21:26:10 +0100 Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Add samsung,vbus-gpio information for the XU3. This allows the usage of the EHCI controller

Re: [U-Boot] exynos: snow: external SD/MMC broken

2014-12-04 Thread Suriyan Ramasami
Hello Jaehoon Chung, Guillaume GARDET, On Thu, Dec 4, 2014 at 1:11 AM, Guillaume Gardet guillaume.gar...@free.fr wrote: Le 04/12/2014 09:00, Jaehoon Chung a écrit : Hi, GUillaume On 12/04/2014 09:18 AM, Minkyu Kang wrote: + Jaehoon Chung On 04/12/14 00:23, Guillaume Gardet wrote: Hi,

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Suriyan Ramasami
bytes, and also I did not want to waste my time to make it fit for that restriction, because the discussion about this issue is in progress in malining list. I used BL2 by Suriyan Ramasami suriya...@gmail.com which the restriction is removed for testing. If you need the BL2 for testing, please

Re: [U-Boot] [PATCH v1] tools/kwboot: Allow just -t to function

2014-12-03 Thread Suriyan Ramasami
Just a gentle ping to see if this can be commented on/Acked/Merged ? Thanks - Suiryan On Tue, Nov 25, 2014 at 1:59 PM, Suriyan Ramasami suriya...@gmail.com wrote: When kwboot is invoked with -t tty the code implicitly assumes that one of -b (boot message) or -d (debug message) with an image

Re: [U-Boot] [PATCH v9 2/2] Odroid-XU3: Add documentation for Odroid-XU3

2014-12-02 Thread Suriyan Ramasami
Hello Simon, Lukasz, On Tue, Dec 2, 2014 at 2:29 PM, Lukasz Majewski l.majew...@majess.pl wrote: Hi Simon, Hi, On 28 November 2014 at 06:46, Lukasz Majewski l.majew...@majess.pl wrote: Hello Javier, Hello Lukasz, On Fri, Nov 28, 2014 at 9:39 AM, Lukasz Majewski

[U-Boot] [PATCH v2] fdt: Allow non-FDT kernels to boot when CONFIG_OF_LIBFDT is defined

2014-11-27 Thread Suriyan Ramasami
by making the third parameter to the bootm/bootz optional. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v2: - Simon: take care of real non error cases by introducing a no_fdt label to jump to instead of piggy backing on the error label. Also, use !select instead of argc = 2

Re: [U-Boot] [PATCH v1] fdt: Allow non-FDT kernels to boot when CONFIG_OF_LIBFDT is defined

2014-11-27 Thread Suriyan Ramasami
Hello Simon, Thanks for the review! and happy Thanksgiving :-) On Thu, Nov 27, 2014 at 7:58 AM, Simon Glass s...@chromium.org wrote: Hi Suriyan, On 20 November 2014 at 16:55, Suriyan Ramasami suriya...@gmail.com wrote: The boot commands - bootz/bootm mandate a third argument which

Re: [U-Boot] [PATCH v1] exynos: Fix file system defines

2014-11-26 Thread Suriyan Ramasami
Hello Ian. On Wed, Nov 26, 2014 at 1:38 AM, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-11-25 at 09:41 -0800, Suriyan Ramasami wrote: On the odroid, files in an ext4 file system were not being accessed. Correct the #defines to take care of this. In u-boot-samsung.git#master

[U-Boot] [PATCH v1] exynos: Fix file system defines

2014-11-25 Thread Suriyan Ramasami
On the odroid, files in an ext4 file system were not being accessed. Correct the #defines to take care of this. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v1: - First try include/configs/exynos-common.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH] spl: Fix SPL EXT support

2014-11-25 Thread Suriyan Ramasami
). Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Tom Rini tr...@ti.com Cc: Suriyan Ramasami suriya...@gmail.com --- common/spl/spl_ext.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c index 5ff9bc5

[U-Boot] [PATCH v1] tools/kwboot: Allow just -t to function

2014-11-25 Thread Suriyan Ramasami
When kwboot is invoked with -t tty the code implicitly assumes that one of -b (boot message) or -d (debug message) with an image file is specified. This is not necessarily true. This allows kwboot -t tty to function. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v1: - First

[U-Boot] [PATCH v3] odroid: Turn blue LED on

2014-11-23 Thread Suriyan Ramasami
To indicate that U-Boot is active, turn on the blue LED. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com --- Changes in v3: - Minkyu Kang, Rebase Changes in v2: - Przemyslaw Marczak, Add gpio_request call. Changes in v1: - First try

Re: [U-Boot] [PATCH v1 2/2] odroid: usbhost - Add missing gpio_request call

2014-11-20 Thread Suriyan Ramasami
Hello Minkyu Kang, On Thu, Nov 20, 2014 at 12:41 AM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Suriyan Ramasami, On 20/11/14 01:21, Suriyan Ramasami wrote: The USB host code was missing gpio_request() calls before using the gpio functions, causing errors to be printed out. Signed-off

[U-Boot] BUG: bootz/bootm command mandates a fdt blob

2014-11-20 Thread Suriyan Ramasami
Hello Simon, This mail is addressed to you as the FDT support was added by you. I am not sure who else to address it to. I find that if CONFIG_OF_LIBFDT is defined then the user is forced to provide a FDT blob. In most of the cases it makes sense. However, this removes the ability to

Re: [U-Boot] BUG: bootz/bootm command mandates a fdt blob

2014-11-20 Thread Suriyan Ramasami
Hello Simon, On Nov 20, 2014 8:38 AM, Simon Glass s...@chromium.org wrote: Hi, On 20 November 2014 16:04, Hans de Goede hdego...@redhat.com wrote: Hi Suriyan, On 11/20/2014 04:16 PM, Suriyan Ramasami wrote: Hello Simon, This mail is addressed to you as the FDT support was added

[U-Boot] [PATCH v1] fdt: Allow non-FDT kernels to boot when CONFIG_OF_LIBFDT is defined

2014-11-20 Thread Suriyan Ramasami
by making the third parameter to the bootm/bootz optional. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v1: - First try common/image-fdt.c | 4 1 file changed, 4 insertions(+) diff --git a/common/image-fdt.c b/common/image-fdt.c index a39ae1b..1a02166 100644 --- a/common

[U-Boot] [PATCH v2 1/2] odroid: Update README with USB host usage

2014-11-20 Thread Suriyan Ramasami
Add information wrt using the USB host interface for loading kernel over ethernet and/or usb mass storage. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v2: - Make updates to be of use from a user's perspective Series-changes: 1 - Add USB host notes for the Odroid doc

[U-Boot] [PATCH v2 2/2] odroid: usbhost - Add missing gpio_request call

2014-11-20 Thread Suriyan Ramasami
and there is a ENB8 pin in PMIC package. This pin allows steering BUCK8 ON/OFF by the hardware. If ENB8 is set to low then you can do on/off. If high, then you cannot change its state by I2C write, which seems to be the case with the Odroids. Signed-off-by: Suriyan Ramasami suriya...@gmail.com

[U-Boot] [PATCH v1 1/2] odroid: Update README with USB host information

2014-11-19 Thread Suriyan Ramasami
Add information wrt the USB host side of things for the Odroid-U2/U3 and the Odroid-X/X2 Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v1: - Add USB host notes for the Odroid doc/README.odroid | 48 1 file changed, 48

[U-Boot] [PATCH v1 2/2] odroid: usbhost - Add missing gpio_request call

2014-11-19 Thread Suriyan Ramasami
The USB host code was missing gpio_request() calls before using the gpio functions, causing errors to be printed out. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v1: - Added gpio_request() call in board_gpio_init() board/samsung/odroid/odroid.c | 13 +++-- 1

Re: [U-Boot] [PATCH v1 1/2] odroid: Update README with USB host information

2014-11-19 Thread Suriyan Ramasami
Hello Przemyslaw, On Wed, Nov 19, 2014 at 9:39 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 11/19/2014 05:21 PM, Suriyan Ramasami wrote: Add information wrt the USB host side of things for the Odroid-U2/U3 and the Odroid-X/X2 Signed-off-by: Suriyan Ramasami suriya

Re: [U-Boot] [PATCH v1 1/2] odroid: Update README with USB host information

2014-11-19 Thread Suriyan Ramasami
Hello Przemyslaw, On Wed, Nov 19, 2014 at 10:40 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Hi, On 11/19/2014 07:29 PM, Suriyan Ramasami wrote: Hello Przemyslaw, On Wed, Nov 19, 2014 at 9:39 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 11/19/2014 05:21 PM

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-18 Thread Suriyan Ramasami
Hello Przemyslaw, On Tue, Nov 18, 2014 at 3:09 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Suriyan, On 11/18/2014 04:30 AM, Suriyan Ramasami wrote: Hello Minkyu Kang/Przemyslaw and of course anyone else who can direct me, Thanks for the commit. I just realized

[U-Boot] [PATCH v8 1/6] sandbox: Use md5sum and fatwrite to enable testing of fs commands

2014-11-17 Thread Suriyan Ramasami
Enable md5sum to obtain the MD5 of the read and written files to check their contents for validity. Use map_sysmem() to map buffer in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v8: - No changes. Changes

[U-Boot] [PATCH v8 6/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-17 Thread Suriyan Ramasami
Test size/read/write commands in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v8: None Changes in v7: - Simon comments - take care of fat/vfat in mkfs - fs/nonfs test code repeats, put it in function Changes

[U-Boot] [PATCH v8 2/6] fat: Prepare API change for files greater than 2GB

2014-11-17 Thread Suriyan Ramasami
Change the internal FAT functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v8: - Simon - indentation fixes Changes in v7: - Separate this patch out Changes in v6: None Changes in v5: None common

[U-Boot] [PATCH v8 3/6] ext4: Prepare API change for files greater than 2GB

2014-11-17 Thread Suriyan Ramasami
Change the internal EXT4 functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v8: - None Changes in v7: - Split this patch for bisectability. Changes in v6: None Changes in v5: None common/cmd_ext4.c

[U-Boot] [PATCH v8 4/6] sandbox: Prepare API change for files greater than 2GB

2014-11-17 Thread Suriyan Ramasami
Change the internal sandbox functions to use loff_t for file offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v8: - Simon, use variable size consistently across all changes. Changes in v7: - Simon, split this as a separate

[U-Boot] [PATCH v8 5/6] fs: API changes enabling extra parameter to return size of type loff_t

2014-11-17 Thread Suriyan Ramasami
functions are used only for error conditions. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s...@chromium.org series-changes: 6 - (Simon) update fs.h with comments for fs_read/fs_write/fs_size --- Changes in v8: - (Simon) ext4_read_file(), return ext4fs_read() at end

[U-Boot] [PATCH v2] odroid: Turn blue LED on

2014-11-17 Thread Suriyan Ramasami
To indicate that U-Boot is active, turn on the blue LED. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v2: - Przemyslaw Marczak, Add gpio_request call. Changes in v1: - First try board/samsung/odroid/odroid.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-17 Thread Suriyan Ramasami
? Thanks and regards, - Suriyan On Mon, Nov 17, 2014 at 6:02 AM, Minkyu Kang mk7.k...@samsung.com wrote: On 30/10/14 01:22, Suriyan Ramasami wrote: This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet controller

[U-Boot] [PATCH v8 0/6] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-11-17 Thread Suriyan Ramasami
it - Generate output in a sandbox environment - Add one line comments on shell variables used - Avoid camel case through out - Path to UBOOT is variable at top - Print PASSED or FAILED at end, and set return code, 0 if OK, 1 otherwise Suriyan Ramasami (6): sandbox: Use md5sum and fatwrite

Re: [U-Boot] [PATCH v7 2/6] fat: prepare for API change for files greater than 2GB

2014-11-14 Thread Suriyan Ramasami
Hello Simon, On Tue, Nov 11, 2014 at 4:27 PM, Simon Glass s...@chromium.org wrote: Hi, On 10 November 2014 13:17, Suriyan Ramasami suriya...@gmail.com wrote: Change the internal fat functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes

Re: [U-Boot] [PATCH v7 4/6] sandbox: prepare for API change for files greater than 2GB

2014-11-14 Thread Suriyan Ramasami
On Tue, Nov 11, 2014 at 4:50 PM, Simon Glass s...@chromium.org wrote: On 10 November 2014 13:17, Suriyan Ramasami suriya...@gmail.com wrote: Change the internal ext4 functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s

Re: [U-Boot] [PATCH v7 5/6] fs: API changes to enable extra parameter to return size of type loff_t

2014-11-14 Thread Suriyan Ramasami
On Tue, Nov 11, 2014 at 4:55 PM, Simon Glass s...@chromium.org wrote: On 10 November 2014 13:17, Suriyan Ramasami suriya...@gmail.com wrote: The sandbox/ext4/fat/generic fs commands do not gracefully deal with file greater than 2GB. Negative values are returned in such cases. To handle

Re: [U-Boot] [PATCH v7 6/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-14 Thread Suriyan Ramasami
On Tue, Nov 11, 2014 at 4:58 PM, Simon Glass s...@chromium.org wrote: On 10 November 2014 13:17, Suriyan Ramasami suriya...@gmail.com wrote: Test size/read/write commands in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Simon - take

[U-Boot] [PATCH v7 1/6] sandbox: Use md5sum and fatwrite to enable testing of fs commands

2014-11-10 Thread Suriyan Ramasami
Enable md5sum to check the MD5 of the read and written files to check their contents for validity. Use map_sysmem() to map buffer in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v7: * No changes common

[U-Boot] [PATCH v7 2/6] fat: prepare for API change for files greater than 2GB

2014-11-10 Thread Suriyan Ramasami
Change the internal fat functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Split it so that its bisectable. common/cmd_fat.c | 9 ++-- common/env_fat.c | 4 +- fs/fat/fat.c | 133

[U-Boot] [PATCH v7 3/6] ext4: prepare for API change for files greater than 2GB

2014-11-10 Thread Suriyan Ramasami
Change the internal ext4 functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Split it so that its bisectable. common/cmd_ext4.c | 61 +++ fs/ext4/ext4_common.c | 24

[U-Boot] [PATCH v7 4/6] sandbox: prepare for API change for files greater than 2GB

2014-11-10 Thread Suriyan Ramasami
Change the internal ext4 functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Split it so that its bisectable. arch/sandbox/cpu/os.c| 13 arch/sandbox/cpu/state.c | 8 ++--- common/board_f.c | 8 ++--- fs/sandbox

[U-Boot] [PATCH v7 5/6] fs: API changes to enable extra parameter to return size of type loff_t

2014-11-10 Thread Suriyan Ramasami
fucntions are used only for error conditions. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Simon - API change in separate patch common/cmd_fs.c| 17 +++ fs/ext4/ext4fs.c | 22 --- fs/fat/fat.c | 20 - fs/fs.c

[U-Boot] [PATCH v7 6/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-10 Thread Suriyan Ramasami
Test size/read/write commands in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Simon - take care of fat/vfat in mkfs - fs/nonfs test code repeats, put it in function test/fs/fs-test.sh | 561

[U-Boot] [PATCH v7 0/6] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-11-10 Thread Suriyan Ramasami
/nonfs test code repeats, put it in function Suriyan Ramasami (6): sandbox: Use md5sum and fatwrite to enable testing of fs commands fat: prepare for API change for files greater than 2GB ext4: prepare for API change for files greater than 2GB sandbox: prepare for API change for files greater

Re: [U-Boot] [PATCH v6 1/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-05 Thread Suriyan Ramasami
Hello Simon, On Tue, Nov 4, 2014 at 5:04 PM, Simon Glass s...@chromium.org wrote: Hi, On 3 November 2014 18:49, Suriyan Ramasami suriya...@gmail.com wrote: Test size/read/write commands in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v6

[U-Boot] [PATCH v6 0/6] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-11-04 Thread Suriyan Ramasami
through out * Path to UBOOT is variable at top * Print PASSED or FAILED at end, and set return code, 0 if OK, 1 otherwise * Simon - update fs.h with comments for fs_read/fs_write/fs_size Suriyan Ramasami (6): sandbox: script for testing sandbox/ext4/fat/fs commands fs: interface changes

Re: [U-Boot] [PATCH v6 0/6] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-11-04 Thread Suriyan Ramasami
Hello Simon, On Mon, Nov 3, 2014 at 10:26 PM, Simon Glass s...@chromium.org wrote: (trimming the CC list a bit) Hi Suriyan, On 3 November 2014 19:49, Suriyan Ramasami suriya...@gmail.com wrote: The commands fatls/ext4ls give negative values when dealing with files greater than 2GB

Re: [U-Boot] [PATCH v6 2/6] fs: interface changes to accomodate files greater than 2GB

2014-11-04 Thread Suriyan Ramasami
Hello Pavel, On Tue, Nov 4, 2014 at 11:26 AM, Pavel Machek pa...@denx.de wrote: On Mon 2014-11-03 18:49:58, Suriyan Ramasami wrote: Change the interface for the generic FS functions to take in an extra parameter of type loff_t * to return the size. The return values of these funtions now

[U-Boot] [PATCH v6 1/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-03 Thread Suriyan Ramasami
Test size/read/write commands in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v6: * Update expected results in comments * Simon comments - * Remove README file and add it in start of script * Drop blank lines in top of functions * Put repeating

[U-Boot] [PATCH v6 2/6] fs: interface changes to accomodate files greater than 2GB

2014-11-03 Thread Suriyan Ramasami
Change the interface for the generic FS functions to take in an extra parameter of type loff_t * to return the size. The return values of these funtions now serve as an indicator of error conditions alone. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v6: * Simon - Split

[U-Boot] [PATCH v6 3/6] fat: interface changes to accomodate files greater than 2GB

2014-11-03 Thread Suriyan Ramasami
Change the interface for the fat functions to take in an extra parameter of type loff_t * to return the size. The return values of these funtions now serve as an indicator of error conditions alone. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v6: * Simon - Split

[U-Boot] [PATCH v6 5/6] sandbox: Use md5sum and fatwrite to enable testing of fs commands

2014-11-03 Thread Suriyan Ramasami
Enable md5sum to check the MD5 of the read and written files to check their contents for validity. Use map_sysmem() to map buffer in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v6: * Simon - Split this into a separate patch Changes in v5: None

[U-Boot] [PATCH v6 4/6] ext4: interface changes to accomodate files greater than 2GB

2014-11-03 Thread Suriyan Ramasami
Change the interface for the ext4 functions to take in an extra parameter of type loff_t * to return the size. The return values of these funtions now serve as an indicator of error conditions alone. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v6: * Simon - Split

[U-Boot] [PATCH v6 6/6] sandbox: interface changes to accomodate files greater than 2GB

2014-11-03 Thread Suriyan Ramasami
Change the interface for the sandbox functions to take in an extra parameter of type loff_t * to return the size. The return values of these funtions now serve as an indicator of error conditions alone. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v6: * Simon - Split

Re: [U-Boot] [PATCH v5] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-10-31 Thread Suriyan Ramasami
Hello Simon, On Thu, Oct 30, 2014 at 7:01 PM, Simon Glass s...@chromium.org wrote: Hi Suriyan, On 28 October 2014 17:00, Suriyan Ramasami suriya...@gmail.com wrote: The commands fatls/ext4ls give negative values when dealing with files greater than 2GB. The commands fatsize/ext4size do

[U-Boot] [PATCH v5] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-10-29 Thread Suriyan Ramasami
is then populated. The return value of the fs functions are used only for error conditions. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v5: * Simon - update fs.h with comments for fs_read/fs_write/fs_size * Simon - test/fs/fs-test.sh. Many changes as listed under * Add README file

[U-Boot] [PATCH v3 1/3] arm: odroid: pmic77686: allow buck voltage settings

2014-10-29 Thread Suriyan Ramasami
Allow to set the buck voltage for the max77686. This will be used to reset the SMC LAN9730 ethernet on the odroids. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v3: * Correct ldo and buck validation logic * Jaehoon/Przemyslaw - Use negative errno values for error

[U-Boot] [PATCH v3 2/3] arm: odroid: enable/disable usb host phy for exynos4412

2014-10-29 Thread Suriyan Ramasami
Enable/disable the usb host phy on the odroid U/X2 boards which are based on the Exynos4412 SOC. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v3: * Minkyu - do not mix cpu_is... and proid_is... Changes in v2: * Jaehoon - separate this patch out Changes in v1: * First try

[U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-29 Thread Suriyan Ramasami
This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet controller as well. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v3: * removed set_usb_ethaddr() and related code as the GUID registers do

Re: [U-Boot] [PATCH v5] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-10-29 Thread Suriyan Ramasami
Hello Simon, On Wed, Oct 29, 2014 at 12:20 PM, Simon Glass s...@chromium.org wrote: Hi Suriyan, On 28 October 2014 17:00, Suriyan Ramasami suriya...@gmail.com wrote: The commands fatls/ext4ls give negative values when dealing with files greater than 2GB. The commands fatsize/ext4size do

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-29 Thread Suriyan Ramasami
Hello Jaehoon Chung, On Wed, Oct 29, 2014 at 6:17 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: On 10/30/2014 01:22 AM, Suriyan Ramasami wrote: This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet controller

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-29 Thread Suriyan Ramasami
On Wed, Oct 29, 2014 at 9:40 PM, Suriyan Ramasami suriya...@gmail.com wrote: Hello Jaehoon Chung, On Wed, Oct 29, 2014 at 6:17 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: On 10/30/2014 01:22 AM, Suriyan Ramasami wrote: This change adds support for enabling the USB host features

Re: [U-Boot] [PATCH v5] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-10-29 Thread Suriyan Ramasami
Hello Simon, On Wed, Oct 29, 2014 at 12:31 PM, Simon Glass s...@chromium.org wrote: Hi Suriyan, On 29 October 2014 13:29, Suriyan Ramasami suriya...@gmail.com wrote: Hello Simon, On Wed, Oct 29, 2014 at 12:20 PM, Simon Glass s...@chromium.org wrote: Hi Suriyan, On 28 October 2014 17:00

Re: [U-Boot] [PATCH v4 1/1] fs: fat/ext4/sandbox: Deal with files greater than 2GB

2014-10-28 Thread Suriyan Ramasami
Hello Simon, On Mon, Oct 27, 2014 at 4:55 PM, Simon Glass s...@chromium.org wrote: Hi Suriyan, On 27 October 2014 13:48, Suriyan Ramasami suriya...@gmail.com wrote: The commands fatls/ext4ls give negative values when dealing with files greater than 2GB. The commands fatsize/ext4size do

[U-Boot] [PATCH v2 1/1] fs: fat/ext4/sandbox: Deal with files 2GB

2014-10-27 Thread Suriyan Ramasami
value of the fs functions are used for error contitions. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- v2: * Added test case for fat/ext4 in test/fs/testfs.sh * md5sum: call map_sysmem() for buffer that md5_wd will work on v1: * First try. --- arch/sandbox/cpu/os.c | 11 +- arch

[U-Boot] [PATCH v3 1/1] fs: fat/ext4/sandbox: Deal with files 2GB

2014-10-27 Thread Suriyan Ramasami
of the functions are solely used for error contitions. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- v3: * Added testcase to test writes * Correct function set_contents() in fs/fat/fat_write.c v2: * Added test case for fat/ext4 in test/fs/testfs.sh * md5sum: call map_sysmem

Re: [U-Boot] [PATCH v1 1/1] odroid: Turn blue LED on in u-boot

2014-10-27 Thread Suriyan Ramasami
Hello Przemyslaw Marczak, On Mon, Oct 27, 2014 at 4:35 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Suriyan, On 10/10/2014 12:20 AM, Suriyan Ramasami wrote: To indicate that u-boot is active turn on the blue LED. Signed-off-by: Suriyan Ramasami suriya...@gmail.com

Re: [U-Boot] [PATCH v2 1/3] arm: odroid: pmic77686: allow bucket voltage settings

2014-10-27 Thread Suriyan Ramasami
Hello Przemyslaw Marczak, On Mon, Oct 27, 2014 at 4:08 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Suriyan, On 10/24/2014 05:53 PM, Suriyan Ramasami wrote: Hello Jaehoon Chung, On Thu, Oct 23, 2014 at 11:52 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi. On 10/21

Re: [U-Boot] [PATCH v2 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-27 Thread Suriyan Ramasami
Hello Przemyslaw Marczak, On Mon, Oct 27, 2014 at 4:08 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Suriyan, On 10/24/2014 06:08 PM, Suriyan Ramasami wrote: Hello Minkyu Kang, On Thu, Oct 23, 2014 at 9:58 PM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Suriyan Ramasami

Re: [U-Boot] [PATCH v2 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-27 Thread Suriyan Ramasami
Hello Minkyu Kang, On Mon, Oct 27, 2014 at 6:03 AM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Suriyan Ramasami, On 25/10/14 01:08, Suriyan Ramasami wrote: Hello Minkyu Kang, On Thu, Oct 23, 2014 at 9:58 PM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Suriyan Ramasami, On 21/10/14

Re: [U-Boot] [PATCH v3 1/1] fs: fat/ext4/sandbox: Deal with files 2GB

2014-10-27 Thread Suriyan Ramasami
Hello Albert, On Sun, Oct 26, 2014 at 11:35 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Suriyan, On Sun, 26 Oct 2014 21:42:52 -0700, Suriyan Ramasami suriya...@gmail.com wrote: Subject: [PATCH v3 1/1] fs: fat/ext4/sandbox: Deal with files 2GB Could you repost using the full

[U-Boot] [PATCH v4 1/1] fs: fat/ext4/sandbox: Deal with files greater than 2GB

2014-10-27 Thread Suriyan Ramasami
is then populated. The return value of the fs functions are used only for error contitions. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- v4: * Support generic fs write commands * Sync up behavior of fs load vs fatload and ext4load * albert - change -ve to negative in commit message v3: * Added

Re: [U-Boot] [PATCH v2 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-26 Thread Suriyan Ramasami
Hello Minkyu Kang, On Thu, Oct 23, 2014 at 9:58 PM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Suriyan Ramasami, On 21/10/14 02:52, Suriyan Ramasami wrote: This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet

Re: [U-Boot] [PATCH v2 1/3] arm: odroid: pmic77686: allow bucket voltage settings

2014-10-26 Thread Suriyan Ramasami
Hello Jaehoon Chung, On Thu, Oct 23, 2014 at 11:52 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi. On 10/21/2014 02:52 AM, Suriyan Ramasami wrote: Allow to set the bucket voltage for the max77686. This will be used to reset the SMC LAN9730 ethernet on the odroids. Signed-off

[U-Boot] [PATCH v2 1/3] arm: odroid: pmic77686: allow bucket voltage settings

2014-10-20 Thread Suriyan Ramasami
Allow to set the bucket voltage for the max77686. This will be used to reset the SMC LAN9730 ethernet on the odroids. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- drivers/power/pmic/pmic_max77686.c | 48 +- include/power/max77686_pmic.h | 3

[U-Boot] [PATCH v2 2/3] arm: odroid: enable/disable usb host phy for exynos4412

2014-10-20 Thread Suriyan Ramasami
Enable/disable the usb host phy on the odroid U/X2 boards which are based on the Exynos4412 SOC. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- arch/arm/cpu/armv7/exynos/power.c| 26 ++ arch/arm/include/asm/arch-exynos/power.h | 7 +++ 2 files

[U-Boot] [PATCH v2 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-20 Thread Suriyan Ramasami
This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet controller as well. Credit goes to Tushar Berara for the function set_usb_ethaddr(). Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- v2: * Removed

Re: [U-Boot] [PATCH v1 2/2] odroid: usb: add support for usb host including ethernet

2014-10-17 Thread Suriyan Ramasami
Hello Jaehoon, On Fri, Oct 17, 2014 at 1:52 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi, Suriyan. This patch can be separated. OK, I shall separate out the power.c/power.h changes for enabling and disabling the usbhost phy. On 10/02/2014 10:45 PM, Suriyan Ramasami wrote

Re: [U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files 2GB in ls and size commands

2014-10-17 Thread Suriyan Ramasami
Hello Simon, On Thu, Oct 9, 2014 at 8:42 AM, Simon Glass s...@chromium.org wrote: +Tom for the question below re return values Hi, On 8 October 2014 15:54, Suriyan Ramasami suriya...@gmail.com wrote: On Wed, Oct 8, 2014 at 1:44 PM, Simon Glass s...@chromium.org wrote: Hi Suriyan

Re: [U-Boot] [FAT/EXT4/SANDBOX] files 2GB

2014-10-09 Thread Suriyan Ramasami
Hello Simon, On Wed, Oct 8, 2014 at 11:16 PM, Simon Glass s...@chromium.org wrote: Hi, On 8 October 2014 07:07, Suriyan Ramasami suriya...@gmail.com wrote: Hello, I recently saw a post about fat commands such as fatls returning -ve values under u-boot for files whose sizes are =2GB

[U-Boot] [PATCH v1 1/1] odroid: Turn blue LED on in u-boot

2014-10-09 Thread Suriyan Ramasami
To indicate that u-boot is active turn on the blue LED. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- board/samsung/odroid/odroid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c index fd5d2d2..391a287 100644

[U-Boot] [FAT/EXT4/SANDBOX] files 2GB

2014-10-08 Thread Suriyan Ramasami
Hello, I recently saw a post about fat commands such as fatls returning -ve values under u-boot for files whose sizes are =2GB. fatsize would also not set up filesize in this case. This also effects ext4/sandbox commands. I just looked at the ones which are handled by fs/fs.c I am

[U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files 2GB in ls and size commands

2014-10-08 Thread Suriyan Ramasami
value of the *_size function is then only used to determine error conditions. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- arch/sandbox/cpu/os.c| 14 +-- arch/sandbox/cpu/state.c | 6 ++--- common/board_f.c | 6 ++--- fs/ext4/ext4_common.c| 13 +-- fs/ext4

Re: [U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files 2GB in ls and size commands

2014-10-08 Thread Suriyan Ramasami
On Wed, Oct 8, 2014 at 1:35 PM, Pavel Machek pa...@denx.de wrote: On Wed 2014-10-08 13:23:48, Suriyan Ramasami wrote: The commands fatls/ext4ls give -ve values when dealing with files 2GB. The commands fatsize/ext4size do not update the variable filesize for these files. To deal

Re: [U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files 2GB in ls and size commands

2014-10-08 Thread Suriyan Ramasami
On Wed, Oct 8, 2014 at 1:44 PM, Simon Glass s...@chromium.org wrote: Hi Suriyan, On 8 October 2014 14:23, Suriyan Ramasami suriya...@gmail.com wrote: The commands fatls/ext4ls give -ve values when dealing with files 2GB. The commands fatsize/ext4size do not update the variable filesize

  1   2   >