Skip to content

Commit

Permalink
script: support two monitors in UOS
Browse files Browse the repository at this point in the history
When connecting three monitors to MRB, we will assign the first one to
SOS and assign remaining ones to UOS.

Signed-off-by: Min He <min.he@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
  • Loading branch information
Min He authored and jren1 committed Jun 6, 2018
1 parent 24d2b92 commit 862c878
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions devicemodel/samples/apl-mrb/launch_uos.sh
Expand Up @@ -377,36 +377,36 @@ echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages

case $launch_type in
1) echo "Launch clearlinux UOS"
launch_clearlinux 1 3 "64 448 8" 0x000C00 clearlinux 0
launch_clearlinux 1 3 "64 448 8" 0x070F00 clearlinux 0
;;
2) echo "Launch android UOS"
launch_android 1 3 "64 448 8" 0x000C00 android 0
launch_android 1 3 "64 448 8" 0x070F00 android 0
;;
3) echo "Launch clearlinux UOS + android UOS"
launch_android 1 2 "64 448 4" 0x00000C android 0 &
sleep 5
launch_clearlinux 2 1 "64 448 4" 0x000C00 clearlinux 0
launch_clearlinux 2 1 "64 448 4" 0x070F00 clearlinux 0
;;
4) echo "Launch two clearlinux UOSs"
launch_clearlinux 1 1 "64 448 4" 0x00000C clearlinux 0 &
sleep 5
launch_clearlinux 2 1 "64 448 4" 0x000C00 clearlinux_dup 0
launch_clearlinux 2 1 "64 448 4" 0x070F00 clearlinux_dup 0
;;
5) echo "Launch clearlinux UOS"
launch_clearlinux 1 3 "64 448 8" 0x000C00 clearlinux 1 $debug
launch_clearlinux 1 3 "64 448 8" 0x070F00 clearlinux 1 $debug
;;
6) echo "Launch android UOS"
launch_android 1 3 "64 448 8" 0x000C00 android 1 $debug
launch_android 1 3 "64 448 8" 0x070F00 android 1 $debug
;;
7) echo "Launch clearlinux UOS + android UOS"
launch_android 1 2 "64 448 4" 0x00000C android 1 $debug &
sleep 5
launch_clearlinux 2 1 "64 448 4" 0x000C00 clearlinux 1 $debug
launch_clearlinux 2 1 "64 448 4" 0x070F00 clearlinux 1 $debug
;;
8) echo "Launch two clearlinux UOSs"
launch_clearlinux 1 1 "64 448 4" 0x00000C clearlinux 1 $debug &
sleep 5
launch_clearlinux 2 1 "64 448 4" 0x000C00 clearlinux_dup 1 $debug
launch_clearlinux 2 1 "64 448 4" 0x070F00 clearlinux_dup 1 $debug
;;
esac

Expand Down

0 comments on commit 862c878

Please sign in to comment.