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
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!
> >
: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
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
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
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.
>
&
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
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
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/
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.
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
>&
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.
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
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
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
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
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
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
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
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.
>>
>>
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
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
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
>>
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
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:
>>>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |
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
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
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
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
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
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
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
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
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:
>
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
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
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
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
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
(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
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
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
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
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}
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
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
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
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(
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
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
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
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
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
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
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
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
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
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
>&
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
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
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
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
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
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
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
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
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
>>
>> ---
>>
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
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,
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:
>
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
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
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
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 - 100 of 137 matches
Mail list logo