Skip to content
Snippets Groups Projects
Commit 4e400ee5 authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

mv:mx8mp: Fix issues with running MV emission and immunity tests

parent e58319d0
No related branches found
No related tags found
1 merge request!278mv:mx8mp: fix emission and immunity tests for modular vision
......@@ -18,9 +18,8 @@
#-----------------------------------------------------------------------------#
Testimage_display bball_qml &
eMMC_umount for i in $(mount | grep mmcblk0 | awk '{print $1}'); do umount $i; done
uSD_umount for i in $(mount | grep mmcblk1 | awk '{print $1}'); do umount $i; done
USB_sticks_umount for i in $(grep /dev/sd /proc/mounts | awk '{print $1}'); do umount $i; done
USB_sticks_umount for i in $(grep /dev/sd /proc/mounts | awk '{print $1}'); do umount $i; done
Touchtest_remove_socket rm -f /touch_tst_socket
Touchtest_start touchmon -d -i /dev/input/event0 -s /touch_tst_socket -p 0
......@@ -31,10 +30,10 @@ Touchtest_start touchmon -d -i /dev/input/event0 -s /touch_tst_socke
# Modular Vision Carrier
Network_1 iptest -q -g 192.168.1.100 -n 1 -w 50
Play_wave_file aplay /opt/ltp/runtest/ding_48kHz_16bit_s.wav
RS485 rs485echo -d /dev/ttymxc2 -s 576000 -x 100 -b 32
RS485 rs485echo -d /dev/ttymxc2 -s 115200 -x 100 -b 32
CAN can -n 2 -o 500
uSD_write_25kB bwrite -q -n /dev/mmcblk1 -b 25000 -i 1
USB_stick_1_write_25kB bwrite -q -n /dev/sda -b 25000 -i 1 # USB-A
USB_stick_1_write_25kB bwrite -q -n /dev/sda -b 25000 -i 1
Touch touchmon -z -r /touch_tst_socket
Serial0 rs485echo -d /dev/ttymxc0 -s 115200 -x 100 -b 32
Serial1 rs485echo -d /dev/ttymxc1 -s 115200 -x 100 -b 32
......
......@@ -18,9 +18,8 @@
#-----------------------------------------------------------------------------#
Fingerpaint_start fingerpaint_sdl &
eMMC_umount for i in $(mount | grep mmcblk0 | awk '{print $1}'); do umount $i; done
uSD_umount for i in $(mount | grep mmcblk1 | awk '{print $1}'); do umount $i; done
USB_sticks_umount for i in $(grep /dev/sd /proc/mounts | awk '{print $1}'); do umount $i; done
USB_sticks_umount for i in $(grep /dev/sd /proc/mounts | awk '{print $1}'); do umount $i; done
Touchtest_remove_socket rm -f /touch_tst_socket
Touchtest_start touchmon -d -i /dev/input/event0 -s /touch_tst_socket -p 0
......@@ -31,10 +30,10 @@ Touchtest_start touchmon -d -i /dev/input/event0 -s /touch_tst_socke
# Modular Vision Carrier
Network_1 iptest -q -g 192.168.1.100 -n 1 -w 50
Play_wave_file aplay /opt/ltp/runtest/ding_48kHz_16bit_s.wav
RS485 rs485echo -d /dev/ttymxc2 -s 576000 -x 100 -b 32
RS485 rs485echo -d /dev/ttymxc2 -s 115200 -x 100 -b 32
CAN can -n 2 -o 500
uSD_write_25kB bwrite -q -n /dev/mmcblk1 -b 25000 -i 1
USB_stick_1_write_25kB bwrite -q -n /dev/sda -b 25000 -i 1 # USB-A
USB_stick_1_write_25kB bwrite -q -n /dev/sda -b 25000 -i 1
Touch touchmon -z -r /touch_tst_socket
Serial0 rs485echo -d /dev/ttymxc0 -s 115200 -x 100 -b 32
Serial1 rs485echo -d /dev/ttymxc1 -s 115200 -x 100 -b 32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment