From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] fat: scripts for prepare and test read fat files
Date: Fri, 12 Dec 2014 16:54:37 +0100 [thread overview]
Message-ID: <548B0FBD.8070308@samsung.com> (raw)
In-Reply-To: <1418399532-13502-1-git-send-email-p.marczak@samsung.com>
Hello,
On 12/12/2014 04:52 PM, Przemyslaw Marczak wrote:
> ---------------------------------------------------------
> mktest_files: script for generating random size long name files
> ---------------------------------------------------------
> Usage:
> ./1_mktest_files.sh count
>
> count - number of files to be generated
>
> The output directory is: "./test_files"
>
> ---------------------------------------------------------
> copy_files: copy the test_files/* into test partition mount point
> ---------------------------------------------------------
> Usage:
> ./2_copy_files.sh mount_point
>
> -----------------------------------------------------------
> fat_test.sh: test fat read by write commands to the device console
> ----------------------------------------------------------
> This script send commands to U-Boot console.
> First specify few script variables, e.g:
> - TTY="/dev/ttyS0"
> - MMCDEV=0
> - PARTITION=2
> - LOAD_ADDR="0x40000000"
>
> usage:
> 1. Target:
> run: ums 0 mmc 0
> 2. Run script 1 and 2 to make and copy the test files
> onto the test partition by UMS
> 3. This script:
> - set test device $PARTITION and other variables in the script,
> which is required for sending proper commands
> - set $TTY in the script
> run: ./3_fat_test.sh
> 4. Compare the crc results on the target and device consoles
> (sorry for the mess on the console)
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> ---
> 1_mktest_files.sh | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2_copy_files.sh | 20 ++++++++++++++
> 3_fat_test.sh | 38 ++++++++++++++++++++++++++
> 3 files changed, 140 insertions(+)
> create mode 100755 1_mktest_files.sh
> create mode 100755 2_copy_files.sh
> create mode 100755 3_fat_test.sh
>
This is just for some quick test.
I will add something more pretty to the sandbox.
Best regards,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com
next prev parent reply other threads:[~2014-12-12 15:54 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-11 12:01 [U-Boot] [PATCH] fs: fat: read: fix fat16 ls/read issue Przemyslaw Marczak
2014-12-12 0:32 ` Simon Glass
2014-12-12 15:30 ` Przemyslaw Marczak
2014-12-12 15:52 ` [U-Boot] [PATCH] fat: scripts for prepare and test read fat files Przemyslaw Marczak
2014-12-12 15:54 ` Przemyslaw Marczak [this message]
2014-12-16 20:41 ` Simon Glass
2014-12-17 8:53 ` Przemyslaw Marczak
2014-12-16 22:26 ` [U-Boot] [PATCH] fs: fat: read: fix fat16 ls/read issue Simon Glass
2014-12-17 8:53 ` Przemyslaw Marczak
2014-12-17 9:03 ` Przemyslaw Marczak
2014-12-18 3:39 ` Simon Glass
2014-12-18 10:26 ` Przemyslaw Marczak
2014-12-18 13:14 ` Simon Glass
2014-12-18 13:31 ` Przemyslaw Marczak
2014-12-18 13:36 ` Simon Glass
2014-12-18 13:41 ` Przemyslaw Marczak
2014-12-18 13:47 ` Simon Glass
2014-12-18 14:06 ` Przemyslaw Marczak
2014-12-18 14:32 ` Przemyslaw Marczak
2014-12-18 14:34 ` Simon Glass
2014-12-18 14:40 ` Przemyslaw Marczak
2014-12-18 14:56 ` Simon Glass
2014-12-18 15:12 ` Przemyslaw Marczak
2014-12-18 15:21 ` [U-Boot] [PATCH v2] " Przemyslaw Marczak
2014-12-18 16:14 ` [U-Boot] [PATCH v3] " Przemyslaw Marczak
2015-01-07 15:12 ` [U-Boot] [U-Boot,v3] " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=548B0FBD.8070308@samsung.com \
--to=p.marczak@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.