RSB-4221 User Manual
26
3.1
Test Tools
All test tools must be verified on RSB-4221, please prepare required test fixtures
before verifying each specified I/O. If you have any problem to get the test fixture,
please contact your Advantech contact window for help.
3.2
eMMC Test
1.
Check the space of NAND flash
root@am335x-evm:~# fdisk -l /dev/mmcblk1
Disk /dev/mmcblk1: 3909 MB, 3909091328 bytes
4 heads, 16 sectors/track, 119296 cylinders, total 7634944 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb7e5e6db
Device Boot Start End Blocks Id System
/dev/mmcblk1p1 2048 22527 10240 83 Linux
/dev/mmcblk1p2 22528 63487 20480 83 Linux
2.
Run program to read/write NAND flash.
root@am335x-adv:/unit_tests# ./AutoRun_eMMC.sh mmcblk1
==============================================================
========Test Read/write and operation of filesystem for eMMC===============
==============================================================
10240+0 records in
10240+0 records out
10240+0 records in
10240+0 records out
10240+0 records in
10240+0 records out
=================MMC Read/Write test pass================
=================MMC fdisk test pass====================
mke2fs 1.42.1 (17-Feb-2012)
5+0 records in
5+0 records out
===============MMC FS test passes==========================
mke2fs 1.42.1 (17-Feb-2012)
================MMC MKFS test pass========================
==============all MMC function test PASS==================
Summary of Contents for RSB-4221
Page 6: ...RSB 4221 User Manual vi...
Page 10: ...RSB 4221 User Manual x...
Page 14: ...RSB 4221 User Manual 4...
Page 33: ...23 RSB 4221 User Manual Chapter 2 H W Installation 2 3 2 Board Dimension...
Page 48: ...RSB 4221 User Manual 38...