-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsw-description
More file actions
executable file
·122 lines (116 loc) · 3.14 KB
/
Copy pathsw-description
File metadata and controls
executable file
·122 lines (116 loc) · 3.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
software =
{
version = "1.1.0.65";
description = "Firmware update for T113 Project";
stable = {
/* now in systemA, we need to upgrade systemB(bootB, rootfsB, dspxB) */
now_A_next_B = {
images: (
{
filename = "kernel";
device = "/dev/by-name/bootB";
installed-directly = true;
},
{
filename = "rootfs";
device = "/dev/by-name/rootfsB";
installed-directly = true;
},
{
filename = "uboot";
type = "awuboot";
},/*
{
filename = "boot0";
type = "awboot0";
}*/
);
bootenv: (
{
name = "swu_mode";
value = "";
},
{
name = "boot_partition";
value = "bootB";
},
{
name = "root_partition";
value = "rootfsB";
},
{
name = "swu_next";
value = "reboot";
},
{
name = "version";
value = "1.1.0.65";
}
);
};
/* now in systemB, we need to upgrade systemA(bootA, rootfsA, dspxA) */
now_B_next_A = {
images: (
{
filename = "kernel";
device = "/dev/by-name/bootA";
installed-directly = true;
},
{
filename = "rootfs";
device = "/dev/by-name/rootfsA";
installed-directly = true;
},
{
filename = "uboot";
type = "awuboot";
},/*
{
filename = "boot0";
type = "awboot0";
}*/
);
bootenv: (
{
name = "swu_mode";
value = "";
},
{
name = "boot_partition";
value = "bootA";
},
{
name = "root_partition";
value = "rootfsA";
},
{
name = "swu_next";
value = "reboot";
},
{
name = "version";
value = "1.1.0.65";
}
);
};
};
/* when not call with -e xxx,xxx just clean */
bootenv: (
{
name = "swu_param";
value = "";
},
{
name = "swu_software";
value = "";
},
{
name = "swu_mode";
value = "";
},
{
name = "swu_version";
value = "";
}
);
}