[U-Boot] Porting ehci-exynos.c to handle exynos4412 (odroid-u2)

2013-07-07 Thread Suriyan Ramasami
Hi wonderful folks! I own an odroid-u2 and the u-boot that comes with it does not have usb support. Its configuration is smdk4412 and I do not find that in the u-boot sources. I see it in the arndale and harkernel branches. I do see that usb support was added to the arndale platform - whic

Re: [U-Boot] Porting ehci-exynos.c to handle exynos4412 (odroid-u2)

2013-07-08 Thread Suriyan Ramasami
checked the TRATS2 patch and it too does not have any code that touches the USB part of things. Thanks - Suriyan On Sun, Jul 7, 2013 at 11:56 PM, Lukasz Majewski wrote: > On Sun, 07 Jul 2013 02:15:17 -0700, Suriyan Ramasami wrote: > > Hi Suriyan, > > > Hi wonderful folks! > >

Re: [U-Boot] Porting ehci-exynos.c to handle exynos4412 (odroid-u2)

2013-07-11 Thread Suriyan Ramasami
:05 -0700 > Suriyan Ramasami wrote: > > > Hello Lukasz, > >Thanks for your response. I guess I was not very clear with my > > question. > > > >u-boot code already exists for the odroid-u2 (that is what it > > uses). > > So I assume that the

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

2014-10-02 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 Behera (Linaro) for the function set_usb_ethaddr(). Signed-off-by: Suriyan Ramasami --- arch/arm/cpu/armv7/exynos

[U-Boot] [PATCH v1 1/2] odroid: pmic77686: allow bucket voltage settings

2014-10-02 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 --- drivers/power/pmic/pmic_max77686.c | 48 +- include/power/max77686_pmic.h | 3 +++ 2 files changed

Re: [U-Boot] [PATCH v1 1/2] odroid: pmic77686: allow bucket voltage settings

2014-10-02 Thread Suriyan Ramasami
On Thu, Oct 2, 2014 at 2:03 PM, Albert ARIBAUD wrote: > Hi Suriyan, > > On Thu, 2 Oct 2014 06:45:58 -0700, 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. > &

Re: [U-Boot] [PATCH v1 1/2] odroid: pmic77686: allow bucket voltage settings

2014-10-02 Thread Suriyan Ramasami
Regards - Suriyan > > On 10/02/2014 03:45 PM, 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. >> >> Sign

[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 thin

[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
d. The return value of the *_size function is then only used to determine error conditions. Signed-off-by: Suriyan Ramasami --- arch/sandbox/cpu/os.c| 14 +-- arch/sandbox/cpu/state.c | 6 ++--- common/board_f.c | 6 ++--- fs/ext4/ext4_common.c| 13 +-- fs/

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 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.

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 wrote: > Hi Suriyan, > > On 8 October 2014 14:23, 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 >&

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 wrote: > Hi, > > On 8 October 2014 07:07, Suriyan Ramasami 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 --- 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 --- a/board/samsung/odroid

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 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: >> Thi

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 wrote: > +Tom for the question below re return values > > Hi, > > On 8 October 2014 15:54, Suriyan Ramasami wrote: >> >> On Wed, Oct 8, 2014 at 1:44 PM, Simon Glass wrote: >> > Hi Suriyan, >&g

[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 --- drivers/power/pmic/pmic_max77686.c | 48 +- include/power/max77686_pmic.h | 3 +++ 2 files changed

[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 --- arch/arm/cpu/armv7/exynos/power.c| 26 ++ arch/arm/include/asm/arch-exynos/power.h | 7 +++ 2 files changed, 33 insertions

[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 --- v2: * Removed an unneeded header file

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 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 LAN973

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 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. >> >>

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

2014-10-26 Thread Suriyan Ramasami
d. The return value of the fs functions are used for error contitions. Signed-off-by: Suriyan Ramasami --- 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/sandbo

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

2014-10-26 Thread Suriyan Ramasami
d. The return value of the functions are solely used for error contitions. Signed-off-by: Suriyan Ramasami --- 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() for buffe

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 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 >>

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 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 >> w

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 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 wrote: >>>

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 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 wrote: >>> Dear Suriyan Ra

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 wrote: > Hello Suriyan, > > On Sun, 26 Oct 2014 21:42:52 -0700, Suriyan Ramasami > 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
ch is then populated. The return value of the fs functions are used only for error contitions. Signed-off-by: Suriyan Ramasami --- 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 testcase to t

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 wrote: > Hi Suriyan, > > On 27 October 2014 13:48, Suriyan Ramasami wrote: >> The commands fatls/ext4ls give negative values when dealing with files >> greater than 2GB. >> The commands fatsize/ext4size

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

2014-10-29 Thread Suriyan Ramasami
ch is then populated. The return value of the fs functions are used only for error conditions. Signed-off-by: Suriyan Ramasami --- 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 to document

[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 --- Changes in v3: * Correct ldo and buck validation logic * Jaehoon/Przemyslaw - Use negative errno values for error condistions * Albert - its

[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 --- 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 arch/arm/cpu

[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 --- Changes in v3: * removed set_usb_ethaddr() and related code as the GUID registers do not seem to be

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 wrote: > Hi Suriyan, > > On 28 October 2014 17:00, Suriyan Ramasami wrote: >> The commands fatls/ext4ls give negative values when dealing with files >> greater than 2GB. >> The commands fatsize/ext4size

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 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 contro

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 wrote: > Hello Jaehoon Chung, > > On Wed, Oct 29, 2014 at 6:17 PM, Jaehoon Chung wrote: >> On 10/30/2014 01:22 AM, Suriyan Ramasami wrote: >>> This change adds support for enabling the USB host features of the boar

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 wrote: > Hi Suriyan, > > On 29 October 2014 13:29, Suriyan Ramasami wrote: >> Hello Simon, >> >> On Wed, Oct 29, 2014 at 12:20 PM, Simon Glass wrote: >>> Hi Suriyan, >>> >>> On 28

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 wrote: > Hi Suriyan, > > On 28 October 2014 17:00, Suriyan Ramasami wrote: >> The commands fatls/ext4ls give negative values when dealing with files >> greater than 2GB. >> The commands fatsize/ext4size

[U-Boot] [PATCH 0/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Most of the files except goflexhomemenu.c are direct copies of the dockstar files with minor modifications. goflexhomemenu.c has code which uses the menu functionality of u-boot and present the user with an option to choose the various bootable options. Suriyan Ramasami (8): Add Seagate

[U-Boot] [PATCH 2/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Signed-off-by: Suriyan Ramasami --- boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index 5fc70be..d6f8593 100644 --- a/boards.cfg +++ b/boards.cfg @@ -184,6 +184,7 @@ rd6281a arm arm926ejs

[U-Boot] [PATCH 1/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Signed-off-by: Suriyan Ramasami --- MAINTAINERS |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1614b91..6292a58 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -847,6 +847,10 @@ Sricharan R omap4_sdp4430 ARM ARMV7 (OMAP4xx SoC

[U-Boot] [PATCH 3/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/Makefile | 51 + 1 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/Makefile diff --git a/board

[U-Boot] [PATCH 6/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/kwbimage.cfg | 168 + 1 files changed, 168 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/kwbimage.cfg diff --git a/board

[U-Boot] [PATCH 5/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/goflexhome.h | 50 + 1 files changed, 50 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/goflexhome.h diff --git a/board

[U-Boot] [PATCH 7/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- include/configs/goflexhome.h | 140 ++ 1 files changed, 140 insertions(+), 0 deletions(-) create mode 100644 include/configs/goflexhome.h diff --git a/include

[U-Boot] [PATCH 4/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/goflexhome.c | 187 + 1 files changed, 187 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/goflexhome.c diff --git a/board

[U-Boot] [PATCH 8/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Give the user a choosable menu of probable bootables to boot from. Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/goflexhomemenu.c | 381 + 1 files changed, 381 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/goflexhomemenu.c

[U-Boot] [PATCH v2 0/8] ARM: Add Seagate GoFlexHome support

2013-04-10 Thread Suriyan Ramasami
or v3! This adds support for the Seagate GoFlexHome. It is based on the dockstar files for the most part. Suriyan Ramasami (8): Add maintainer for the Seagate GoFlexHome Add a board entry for the Seagate GoFlexHome Present the user with a menu of bootable options on boot MAINTA

[U-Boot] [PATCH v2 1/8] ARM: Add maintainer for the Seagate GoFlexHome

2013-04-10 Thread Suriyan Ramasami
Create an entry for the Seagate GoFlexHome as goflexhome Signed-off-by: Suriyan Ramasami --- Changes for v2: - Coding style changes MAINTAINERS |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1614b91..6292a58 100644 --- a

[U-Boot] [PATCH v2 2/8] ARM: Add a board entry for the Seagate GoFlexHome

2013-04-10 Thread Suriyan Ramasami
Create an entry for the Seagate GoFlexHome as goflexhome Its exactly like the dockstar entry. Signed-off-by: Suriyan Ramasami --- Changes for v2: - Coding style changes boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index

[U-Boot] [PATCH v2 3/8] ARM: Add Seagate GoFlexHome support

2013-04-10 Thread Suriyan Ramasami
FFSET to default address present in ArchLinuxArm install (/etc/fw_env.config) Add #define CONFIG_MENU to enable u-boot MENU Add #define CONFIG_MENU_SHOW to show the menu on boot Signed-off-by: Suriyan Ramasami --- Changes for v2: - Coding style changes include/configs/goflexhome.h |

[U-Boot] [PATCH v2 4/8] ARM: Add Seagate GoFlexHome support

2013-04-10 Thread Suriyan Ramasami
Start with the Dockstar Makefile Add the two object files goflexhome.o and goflexhomemenu.o that need to be compiled Signed-off-by: Suriyan Ramasami --- Changes for v2: - Coding style changes board/Seagate/goflexhome/Makefile | 51 + 1 files

[U-Boot] [PATCH v2 5/8] ARM: Add Seagate GoFlexHome support

2013-04-10 Thread Suriyan Ramasami
Start with the Dockstar kwbimage.cfg Absolutely no change from the dockstar file Signed-off-by: Suriyan Ramasami --- Changes for v2: - Coding style changes board/Seagate/goflexhome/kwbimage.cfg | 168 + 1 files changed, 168 insertions(+), 0 deletions

[U-Boot] [PATCH v2 6/8] ARM: Add Seagate GoFlexHome support

2013-04-10 Thread Suriyan Ramasami
Start with the dockstar file. In all the #defines cosmetically change DOCKSTAR to GOFLEXHOME Signed-off-by: Suriyan Ramasami --- Changes in v2: - Coding style changes board/Seagate/goflexhome/goflexhome.h | 47 + 1 files changed, 47 insertions(+), 0

[U-Boot] [PATCH v2 7/8] ARM: Add Seagate GoFlexHome support

2013-04-10 Thread Suriyan Ramasami
Start with the dockstar file. Include goflexhome.h instead of dockstar.h Change #define DOCKSTAR_* to #define GOFLEXHOME_* Change the MACH_TYPE_DOCKSTAR to MACH_TYPE_GOFLEXHOME to reflect that its a GoFlexHome. Signed-off-by: Suriyan Ramasami --- Changes in v2: Coding style changes

[U-Boot] [PATCH v2 8/8] ARM: Present a menu of bootable options on boot

2013-04-10 Thread Suriyan Ramasami
option chosen by the user the last time If no such default option exists, boot from the first possible bootable option. Signed-off-by: Suriyan Ramasami --- Changes in v2: - Coding style changes board/Seagate/goflexhome/goflexhomemenu.c | 415 + 1 files changed

[U-Boot] [PATCH v3 1/1] ARM: Add support for Seagate GoFlexHome

2013-04-10 Thread Suriyan Ramasami
supporting ext4 FS Change CONFIG_SYS_PROMPT to be GoFlex specific Change CONFIG_ENV_ADDR and CONFIG_ENV_OFFSET to the default address present in ArchLinuxArm install (/etc/fw_env.config) Signed-off-by: Suriyan Ramasami --- Changes in v3: Squash the board support in one file Remove

Re: [U-Boot] [PATCH v2 8/8] ARM: Present a menu of bootable options on boot

2013-04-10 Thread Suriyan Ramasami
I shall probably move it to a generic location with a more generic name. Any reocmmendations? - Suriyan On Wed, Apr 10, 2013 at 6:43 PM, Rob Herring wrote: > On Wed, Apr 10, 2013 at 8:12 AM, Suriyan Ramasami > wrote: > > Initialize usb and ide. > > Scan through the usb fo

[U-Boot] [PATCH v4 1/1] ARM: Add Seagate GoFlex Home support

2013-04-11 Thread Suriyan Ramasami
Add Seagate GoFlex Home support Start with dockstar configuration define support for RTC, DATE, SATA and EXT4FS Signed-off-by: Suriyan Ramasami --- Changes in v4: Remove board/Seagate/goflexhome/goflexhome.h from patch and merge it in configs/include/goflexhome.h Snip

Re: [U-Boot] [PATCH v2 8/8] ARM: Present a menu of bootable options on boot

2013-04-11 Thread Suriyan Ramasami
Sounds good to me. I shall attempt a generic version and call it cmd_bootscan.c in the common directory. - Suriyan On Thu, Apr 11, 2013 at 6:02 AM, Mike Dunn wrote: > On 04/10/2013 06:43 PM, Rob Herring wrote: > > On Wed, Apr 10, 2013 at 8:12 AM, Suriyan Ramasami > wrote: >

[U-Boot] - Help with usb3503 hub enumeration

2013-09-14 Thread Suriyan Ramasami
Hello All and especially Dan Murphy, Reading thru the mailing list Dan seems to have worked on usb3503a + LAN9730 enumeration wrt the OMAP5. Hence, I seek his help and anyone else! This is with regards to an odroid-u2. It is Exynos 4412 prime based. It has a usb3503a hub and also a LAN 9730

Re: [U-Boot] - Help with usb3503 hub enumeration

2013-09-24 Thread Suriyan Ramasami
Thanks Vivek for your response! On Tue, Sep 24, 2013 at 2:10 AM, Vivek Gautam wrote: > Hi, > > > On Sun, Sep 15, 2013 at 4:55 AM, Suriyan Ramasami wrote: >> Hello All and especially Dan Murphy, >> Reading thru the mailing list Dan seems to have worked on usb3503a

[U-Boot] [Patch v1 1/1] usb:smsx95xx LED activity for USB net driver

2013-10-07 Thread Suriyan Ramasami
Add LED activity for SMSX95XX USB Ether driver. Signed-off-by: “Suriyan Ramasami" --- drivers/usb/eth/smsc95xx.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index 15fd9a9..7bf0a34 100644

[U-Boot] [Patch v1 1/1] jffs2: change U_BOOT_CMD ls to fsls

2013-10-09 Thread Suriyan Ramasami
multiple definitions of `_u_boot_list_2_cmd_2_ls' if CONFIG_CMD_JFFS2 and CONFIG_CMD_FS_GENERIC are defined. Signed-off-by: Suriyan Ramasami --- common/cmd_jffs2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c index bc

Re: [U-Boot] [Patch v1 1/1] jffs2: change U_BOOT_CMD ls to fsls

2013-10-13 Thread Suriyan Ramasami
Hello Wolfgang Denk, On Sat, Oct 12, 2013 at 11:38 AM, Wolfgang Denk wrote: > Dear Suriyan Ramasami, > > In message <1381366918-17590-1-git-send-email-suriya...@gmail.com> you wrote: >> multiple definitions of `_u_boot_list_2_cmd_2_ls' if CONFIG_CMD_JFFS2 >> and C

[U-Boot] [PATCH v1 1/1] netconsole loses 2nd character of input

2013-10-16 Thread Suriyan Ramasami
(which contains the first character of line to be displayed as output). As part of reaping the arp request, the second character is consumed. We protect this by making the call to NetLoop(NETCONS) between input_recursion. Signed-off-by: Suriyan Ramasami --- drivers/net/netconsole.c |2 ++ 1

[U-Boot] Help - Exynos4412 - enabling XCLKOUT with XUSBXTI clock

2013-08-26 Thread Suriyan Ramasami
Hi folks, I have an odroid u2 board. I am trying to enable usb on this device in u-boot. In the scematics, I see that the XCLKOUT is used as input REFCLK for the USB3503A controller. The Exynos4412 user manual is missing details on enabling this other than a nice picture in section 5-20 figur

Re: [U-Boot] fw_(printenv/setenv) and serial console have different env variables

2014-04-13 Thread Suriyan Ramasami
On Sat, Apr 12, 2014 at 5:57 AM, Andrei Mihut wrote: > Greetings everyone, > > I stumbled over something worth telling. > > It started as the bad crc using defaults issue when I tried to use > fw_printenv on my debian iconnect box. I tought it was the fw_env.config. > it wasn't. After hours of res

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 Best Regards On Mon, Aug 10, 2015 at 9:45 PM, Stephen Warren wrote: > - Re-direct stderr into the log files, so any errors U-B

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

2015-08-12 Thread Suriyan Ramasami
On Aug 12, 2015 8:08 AM, "Stephen Warren" 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}

[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 --- 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 --- a/lib

[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 t

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 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 wrote: >> >>> Build without CON

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

2015-08-24 Thread Suriyan Ramasami
SUPPORT is not defined in an SPL build. Example board: smartweb Signed-off-by: Suriyan Ramasami --- 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(

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

2015-02-25 Thread Suriyan Ramasami
Hello Kevin, Sorry to have put this in the back burner. Life knocked me over the head seeking attention. I shall focus back on this soon. Sorry, once again, - Suriyan On Wed, Feb 25, 2015 at 1:38 PM, Kevin Hilman wrote: > Hi Suriyan, > > On Thu, Jan 22, 2015 at 5:46 PM, Suriyan

[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 --- 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 constants in lower

[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 --- Changes in v6: * Simon - Split this into

[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 --- Changes in v6: * Simon - Split this into a sepa

[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 --- Changes in v6: * Simon - Split this into a separate patch Changes in v5: None common/cmd_md5sum.c

[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 --- Changes in v6: * Simon - Split this into

[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 --- Changes in v6: * Simon - Split this into

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

2014-11-04 Thread Suriyan Ramasami
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 * 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

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 wrote: > (trimming the CC list a bit) > > Hi Suriyan, > > On 3 November 2014 19:49, Suriyan Ramasami wrote: >> >> The commands fatls/ext4ls give negative values when dealing with files >> greater

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 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 >&

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 wrote: > Hi, > > On 3 November 2014 18:49, Suriyan Ramasami wrote: >> Test size/read/write commands in a sandbox environment. >> >> Signed-off-by: Suriyan Ramasami >> >> --- >> >> Chan

[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 Acked-by: Simon Glass --- Changes in v7: * No changes common/cmd_md5sum.c | 12

[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 --- Changes in v7: * Split it so that its bisectable. common/cmd_fat.c | 9 ++-- common/env_fat.c | 4 +- fs/fat/fat.c | 133 +++-- fs

[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 --- Changes in v7: * Split it so that its bisectable. common/cmd_ext4.c | 61 +++ fs/ext4/ext4_common.c | 24 ++-- fs/ext4

[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 --- 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/sandboxfs.c | 78

[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
of the fs fucntions are used only for error conditions. Signed-off-by: Suriyan Ramasami --- 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 --- 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 + 1 file

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

2014-11-10 Thread Suriyan Ramasami
mkfs - fs/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 fil

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 wrote: > Hi, > > On 10 November 2014 13:17, Suriyan Ramasami wrote: >> Change the internal fat functions to use loff_t for offsets. >> >> Signed-off-by: Suriyan Ramasami >> >> --- >>

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 wrote: > On 10 November 2014 13:17, Suriyan Ramasami wrote: >> Change the internal ext4 functions to use loff_t for offsets. >> >> Signed-off-by: Suriyan Ramasami > > Acked-by: Simon Glass > > (BTW you could

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 wrote: > On 10 November 2014 13:17, Suriyan Ramasami 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 this,

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 wrote: > On 10 November 2014 13:17, Suriyan Ramasami wrote: >> Test size/read/write commands in a sandbox environment. >> >> Signed-off-by: Suriyan Ramasami >> >> >> --- >> >> Changes in v7: >

[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 Acked-by: Simon Glass --- Changes in v8: - No changes. Changes in v7: - Add Ack Changes in v6

[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 Acked-by: Simon Glass --- 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 in v6: - Update expected results in

[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 Acked-by: Simon Glass --- Changes in v8: - Simon - indentation fixes Changes in v7: - Separate this patch out Changes in v6: None Changes in v5: None common/cmd_fat.c | 9 ++-- 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 Acked-by: Simon Glass --- Changes in v8: - None Changes in v7: - Split this patch for bisectability. Changes in v6: None Changes in v5: None common/cmd_ext4.c | 61

  1   2   >