Skip to content

Commit c6ce810

Browse files
committed
Add iotgates to MQ
Signed-off-by: Peter Chubb <Peter.Chubb@unsw.edu.au>
1 parent 7ac2ff6 commit c6ce810

4 files changed

Lines changed: 268 additions & 0 deletions

File tree

scripts/systems/iotgate3

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#!/bin/sh
2+
#
3+
# Copyright 2021 UNSW, Sydney
4+
#
5+
# SPDX-License-Identifier: GPL-2.0-only
6+
7+
if [ "${SCRIPT_PATH}" = "" ]; then
8+
echo "This script should not be called directly! Please use mq.sh"
9+
exit -1
10+
fi
11+
12+
SystemNumFiles_iotgate3() {
13+
if [ "$1" = '-L' ]
14+
then
15+
echo 2
16+
else
17+
echo 1
18+
fi
19+
}
20+
21+
SystemName_iotgate3() {
22+
echo "iotgate3"
23+
}
24+
25+
SystemPowerOff_iotgate3() {
26+
RebootShutdown iotgate3
27+
}
28+
29+
Arch_iotgate3() {
30+
echo "arm"
31+
}
32+
33+
ISA_iotgate3() {
34+
echo "armv8-a"
35+
}
36+
37+
SOC_iotgate3() {
38+
echo "imx8mp"
39+
}
40+
41+
CPU_iotgate3() {
42+
echo "cortex-a53"
43+
}
44+
45+
Cores_iotgate3() {
46+
echo "4"
47+
}
48+
49+
RAM_iotgate3() {
50+
echo "4GB"
51+
}
52+
53+
MaxCLK_iotgate3() {
54+
echo "1.8Ghz"
55+
}
56+
57+
Sel4Plat_iotgate3() {
58+
echo "iotgate"
59+
}
60+
61+
PXELinux_iotgate3() {
62+
echo "yes"
63+
}
64+
65+
DTB_iotgate3() {
66+
echo "yes"
67+
}

scripts/systems/iotgate4

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#!/bin/sh
2+
#
3+
# Copyright 2021 UNSW, Sydney
4+
#
5+
# SPDX-License-Identifier: GPL-2.0-only
6+
7+
if [ "${SCRIPT_PATH}" = "" ]; then
8+
echo "This script should not be called directly! Please use mq.sh"
9+
exit -1
10+
fi
11+
12+
SystemNumFiles_iotgate4() {
13+
if [ "$1" = '-L' ]
14+
then
15+
echo 2
16+
else
17+
echo 1
18+
fi
19+
}
20+
21+
SystemName_iotgate4() {
22+
echo "iotgate4"
23+
}
24+
25+
SystemPowerOff_iotgate4() {
26+
RebootShutdown iotgate4
27+
}
28+
29+
Arch_iotgate4() {
30+
echo "arm"
31+
}
32+
33+
ISA_iotgate4() {
34+
echo "armv8-a"
35+
}
36+
37+
SOC_iotgate4() {
38+
echo "imx8mp"
39+
}
40+
41+
CPU_iotgate4() {
42+
echo "cortex-a53"
43+
}
44+
45+
Cores_iotgate4() {
46+
echo "4"
47+
}
48+
49+
RAM_iotgate4() {
50+
echo "4GB"
51+
}
52+
53+
MaxCLK_iotgate4() {
54+
echo "1.8Ghz"
55+
}
56+
57+
Sel4Plat_iotgate4() {
58+
echo "iotgate"
59+
}
60+
61+
PXELinux_iotgate4() {
62+
echo "yes"
63+
}
64+
65+
DTB_iotgate4() {
66+
echo "yes"
67+
}

scripts/systems/iotgate5

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#!/bin/sh
2+
#
3+
# Copyright 2021 UNSW, Sydney
4+
#
5+
# SPDX-License-Identifier: GPL-2.0-only
6+
7+
if [ "${SCRIPT_PATH}" = "" ]; then
8+
echo "This script should not be called directly! Please use mq.sh"
9+
exit -1
10+
fi
11+
12+
SystemNumFiles_iotgate5() {
13+
if [ "$1" = '-L' ]
14+
then
15+
echo 2
16+
else
17+
echo 1
18+
fi
19+
}
20+
21+
SystemName_iotgate5() {
22+
echo "iotgate5"
23+
}
24+
25+
SystemPowerOff_iotgate5() {
26+
RebootShutdown iotgate5
27+
}
28+
29+
Arch_iotgate5() {
30+
echo "arm"
31+
}
32+
33+
ISA_iotgate5() {
34+
echo "armv8-a"
35+
}
36+
37+
SOC_iotgate5() {
38+
echo "imx8mp"
39+
}
40+
41+
CPU_iotgate5() {
42+
echo "cortex-a53"
43+
}
44+
45+
Cores_iotgate5() {
46+
echo "4"
47+
}
48+
49+
RAM_iotgate5() {
50+
echo "4GB"
51+
}
52+
53+
MaxCLK_iotgate5() {
54+
echo "1.8Ghz"
55+
}
56+
57+
Sel4Plat_iotgate5() {
58+
echo "iotgate"
59+
}
60+
61+
PXELinux_iotgate5() {
62+
echo "yes"
63+
}
64+
65+
DTB_iotgate5() {
66+
echo "yes"
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#!/bin/sh
2+
#
3+
# Copyright 2021 UNSW, Sydney
4+
#
5+
# SPDX-License-Identifier: GPL-2.0-only
6+
7+
if [ "${SCRIPT_PATH}" = "" ]; then
8+
echo "This script should not be called directly! Please use mq.sh"
9+
exit -1
10+
fi
11+
12+
SystemNumFiles_iotgate2() {
13+
if [ "$1" = '-L' ]
14+
then
15+
echo 2
16+
else
17+
echo 1
18+
fi
19+
}
20+
21+
SystemName_iotgate2() {
22+
echo "iotgate2"
23+
}
24+
25+
SystemPowerOff_iotgate2() {
26+
RebootShutdown iotgate2
27+
}
28+
29+
Arch_iotgate2() {
30+
echo "arm"
31+
}
32+
33+
ISA_iotgate2() {
34+
echo "armv8-a"
35+
}
36+
37+
SOC_iotgate2() {
38+
echo "imx8mp"
39+
}
40+
41+
CPU_iotgate2() {
42+
echo "cortex-a53"
43+
}
44+
45+
Cores_iotgate2() {
46+
echo "4"
47+
}
48+
49+
RAM_iotgate2() {
50+
echo "4GB"
51+
}
52+
53+
MaxCLK_iotgate2() {
54+
echo "1.8Ghz"
55+
}
56+
57+
Sel4Plat_iotgate2() {
58+
echo "iotgate"
59+
}
60+
61+
PXELinux_iotgate2() {
62+
echo "yes"
63+
}
64+
65+
DTB_iotgate2() {
66+
echo "yes"
67+
}

0 commit comments

Comments
 (0)