31
ROM-7510 User Manual
Chapter 5
S
oftware
Functionality
Step 3: Write and check.
5.4
eMMC Test
Step 1: When booting from SD, you should see the directories below:
Step 2: Erase and check.
Step 3: Write and check.
5.5
GPIO Test
ROM-7510 GPIO default setting
# echo -n "0123456789ABCDEF" | dd of=/dev/sda bs=1024 count=1 seek=25118
0+1 records in
0+1 records out
# hexdump -C /dev/sda -s 25720832 -n 16
01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF|
Note!
This operation may damage the data stored in the USB flash disk.
Please make sure there is no critical data on the USB flash disk being
used for this test. If your USB disk size is small, the seek value needs to
be small.
# ls /dev/mmcblk*
/dev/mmcblk0 /dev/mmcblk0p2 /dev/mmcblk1boot0 /dev/mmcblk1p1
/dev/mmcblk0p1 /dev/mmcblk1 /dev/mmcblk1boot1 /dev/mmcblk1p2
# dd if=/dev/zero of=/dev/mmcblk1 bs=1024 count=1 seek=25118
1+0 records in
1+0 records out
# hexdump -C /dev/mmcblk1 -s 25720832 -n 16
01887800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
# echo -n "0123456789ABCDEF" | dd of=/dev/mmcblk1 bs=1024 count=1 seek=25118
0+1 records in
0+1 records out
# hexdump -C /dev/mmcblk1 -s 25720832 -n 16
01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF|
Note!
Please make sure parameter “seek” is equal to 25118 as indicated in
red in above codes. If you create the file to a wrong sector, that may
damage the system.
ROM-7510
Linux OS/sys/class/gpio/
Default direction
GPIO0
gpio97
in
GPIO1
gpio218
in
GPIO2
gpio98
in
GPIO3
gpio219
in
GPIO4
gpio100
in
Содержание ROM-7510
Страница 1: ...User Manual ROM 7510 RISC based Qseven 2 0 Module with TI Sitara AM5728 ARM Cortex A15 Processor ...
Страница 6: ...ROM 7510 User Manual vi ...
Страница 13: ...5 ROM 7510 User Manual Chapter 1 General Introduction ...
Страница 14: ...ROM 7510 User Manual 6 ...
Страница 18: ...ROM 7510 User Manual 10 ...
Страница 19: ...Chapter 3 3 Pin Definitions This chapter details the Pin defini tions of ROM 7510 ...
Страница 35: ...27 ROM 7510 User Manual Chapter 4 System Recovery sleep sleep_sec return 0 ...
Страница 36: ...ROM 7510 User Manual 28 ...
Страница 37: ...Chapter 5 5 Software Functionality This chapter details the software programs on the ROM 7510 plat form ...
Страница 48: ...ROM 7510 User Manual 40 ...