Lines Matching full:-
7 Created: 19-Nov-2019
41 Detailed password handling design -TBD(will be resolve using ARM TrustZone)
52 +--------------------------------------------------------------------------------------------------…
56 | +-------------+ +-------------+ +--------------------------------+ +-------+ …
57 … | | | | RBC daemon | | | +----------+ |
58 | | NET/ Tools +<-LAN->+ LAN-IPMID/ +<Dbus->+ | | | …
60 | +-------------+ +-------------+ | -SetAttribute() | | | …
61 | | -GetAttribute() | | | …
62 | +-------------+ +-------------+ | -VerifyPassword() | | | …
63 | | | | | | -ChangePassword() | | | …
64 | | HOST/ BIOS +<-KCS->+ HOST-IPMID +<Dbus->+ | |Redfish| …
66 | +-----+-------+ +-------------+ | -BaseBIOSTable | | +<-->…
67 … | | -PendingAttributes | | | +---…
68 | | | -ResetBIOSSettings | | | …
69 | | | -IsPasswordInitDone | | | …
70 … | | | | +----V-----+ |
74 … | +----^-----------------+---------+ +-------+ +…
78 | | +----V-----------------V---------+ …
81 | +---------MCTP----------------------->| into native D-bus format and | …
83 | +--------------------------------+ …
84 +--------------------------------------------------------------------------------------------------…
90 two types of proprietary XML format files in BIOS configuration. Type-0 contain
91 full BIOS variables in XML format. (Generated by BIOS) Type-1 contain modified
98 interface should convert the XML Type 0 into native to D-bus format and send to
109 BIOS have default BIOS settings in BIOS non-volatile memory. BIOS can restore
115 non-volatile storage. Pending attributes list will be cleared whenever new
120 …+-------------------------------------------------------------------------------------------------…
122 …| +-----------------------+ +---------------------------------------------------------…
124 … | | +-------------------------------+ +----------------…
126 …| | | | | -Responsible for send /recv | |-Responsible …
128 …| | | | | | | -AllBaseAttr…
129 …| | | | | | | -Pending Att…
130 …| | | | | | | -FactoryDefa…
131 …| | | | | | | -BIOSPwdHash…
132 … | | +-------------------------------+ +----------------…
133 …| +-----------------------+ | +-------------------------------+ +------------…
134 …| | Set BIOS capability |<---Req-/Res--> | Set the BIOS capability | | …
136 …| |Set BIOS Pwd hash/Seed |<---Req-/Res--> | Forward to the RBC daemon |--dbus-->| Set BIOSPwd…
139 …| |Check factory settings |<---Req-/Res--> | Get the FactoryDefault prop |<-dbus-- | Send Factor…
142 …| |Get the XML Type0 info |<---Req-/Res--> | Provide the XML Type 0 Info | | …
145 …| | | | | Unzip the XML Type 0 |--dbus-->| AllBaseAttr…
146 …| | Send the XML Type 0 |<---Req-/Res--->| Convert into D-bus format | …
150 …| +-----------------------+ | +-------------------------------+ +------------…
151 … +------------------------------------------------------------…
152 …+---------------------------------------+---------------------------------------------------------…
157 …+-------------------------------------------------------------------------------------------------…
159 …| +-----------------------+ +---------------------------------------------------------…
161 … | | +-------------------------------+ +----------------…
163 …| | | | | -Responsible for send /recv | |-Responsible …
165 …| | | | | | | -AllBaseAttr…
166 …| | | | | | | -Pending Att…
167 …| | | | | | | -FactoryDefa…
168 …| | | | | | | -BIOSPwdHash…
169 … | | +-------------------------------+ +----------------…
170 …| +-----------------------+ | +-------------------------------+ +------------…
171 …| |Set BIOS capability |<---Req-/Res--> | Set the BIOS capability | | …
173 …| |Set BIOS Pwd hash/Seed |<---Req-/Res--> | Forward to the RBC daemon |--dbus-->| Set BIOSPwd…
176 …| |Check factory settings |<---Req-/Res--> | Get the FactoryDefault prop |<-dbus-- | Send Factor…
179 …| |Get the XML Type 0 info|<---Req-/Res--> | Provide the XML Type 0 Info | | …
182 …| |Check XML file Chksum. | | | Validate the XML Type 0 |--dbus-->| BaseBIOSTab…
183 …| |If Chksum mismatch |<---Req-/Res--->| Unzip XML Type 0 & convert | | …
184 …| |then send the payload | | | into D-bus format and send to | | …
187 …| +-----------------------+ | +-------------------------------+ +------------…
188 … +------------------------------------------------------------…
189 …+---------------------------------------+---------------------------------------------------------…
194 …+-------------------------------------------------------------------------------------------------…
196 …| +-----------------------+ +---------------------------------------------------------…
198 … | | +-------------------------------+ +----------------…
201 …| | | | | -Responsible for send /recv | |-Responsible …
203 …| | | | | | | -AllBaseAttr…
204 …| | | | | | | -Pending Att…
205 …| | | | | | | -FactoryDefa…
206 …| | | | | | | -BIOSPwdHash…
207 … | | +-------------------------------+ +----------------…
208 …| +-----------------------+ | +-------------------------------+ +------------…
209 …| |Set BIOS capability |<---Req-/Res--> | Set the BIOS capability | | …
211 …| |Set BIOS Pwd hash/Seed |<---Req-/Res--> | Forward to the RBC daemon |---dbus->| Set BIOSPwd…
214 …| |Check factory settings |<---Req-/Res--> | Get the FactoryDefault prop |<--dbus--| Send Factor…
217 …| |Get the XML Type 0 info|<---Req-/Res--> | Provide the XML Type 0 Info | | …
221 …| |If Chksum match |<---Req-/Res--->| Provide the XML Type 0 | | …
225 …| |via GetPayload command.|<---Req-/Res--->| Provide the XML Type 1 | | …
228 …| |and new chksum in |<---Req-/Res--->| Get new XML Type 0 & convert |--dbus-->| Collect the…
229 …| |BIOS. | | | into native to D-bus format | | AllBaseAttr…
231 …| +-----------------------+ | +-------------------------------+ +------------…
232 … +------------------------------------------------------------…
233 …+---------------------------------------+---------------------------------------------------------…
239 BIOS should update the BIOS settings via Set BIOS table PLDM command- BIOS
247 set attribute D-bus call. PLDM should Wait for PendingAttributesUpdated signal
253 non-volatile storage. PLDM daemon should preserve BIOS tables in non-volatile
260 …+-------------------------------------------------------------------------------------------------…
261 …| +-----------------------+ +---------------------------------------------------------…
263 … | | +-------------------------------+ +---------------…
265 …| | | | | -Responsible for send /recv | |-Responsible…
267 …| | | | | | | -AllBaseAtt…
268 …| | | | | | | -Pending At…
269 …| | | | | | | -FactoryDef…
270 …| | | | | | | -BIOSPwdHas…
271 …+ +-----------------------+ | +-------------------------------+ +------------…
272 …| |Get the table info |<---Req-/Res--> | Provide the table information | | …
276 …| |Set BIOS string table |<---Req-/Res--> | Get the string table | | …
278 …| |SetBIOSAttribute table |<---Req-/Res--> | Get the attributes table | | …
279 …| |SetBIOSAttributeValue |<---Req-/Res--> | Get the attributes value table| | …
283 …| |Based on value. | | | native to D-bus format |--dbus-->| AllBaseAttr…
287 …| +-----------------------+ | +-------------------------------+ +------------…
288 … +-----------------------------------------------------------…
289 …+---------------------------------------+---------------------------------------------------------…
293 …+-------------------------------------------------------------------------------------------------…
294 …| +-----------------------+ +---------------------------------------------------------…
296 … | | +-------------------------------+ +---------------…
298 …| | | | | -Responsible for send /recv | |-Responsible…
300 …| | | | | | | -AllBaseAtt…
301 …| | | | | | | -Pending At…
302 …| | | | | | | -FactoryDef…
303 …| | | | | | | -BIOSPwdHas…
304 …| +-----------------------+ | +-------------------------------+ +------------…
305 …| |Get the table info |<---Req-/Res--> | Provide the table information | | …
309 …| | Get the Pending table |<---Req-/Res--> | Provide the Pending attributes| | …
312 …| |SetBIOSAttributeValue |<---Req-/Res--> | Get the attributes table | | …
317 …| | | | | native to D-bus format by |--dbus-->| AllBaseAttr…
319 …| +-----------------------+ | +-------------------------------+ +------------…
320 … +-----------------------------------------------------------…
321 …+---------------------------------------+---------------------------------------------------------…
328 +----------------------------------------+ +------------------------------------…
331 | +----------------------------------+ | | +----------------------------------…
332 | | Send the BIOS capability Support| |--------KCS-------->| |1.Get the complete atttributes dat…
333 | | Send the compressed BIOS file(or)| |-MCTP/KCS/Redfish-->| |2.Validate and convert into …
334 | | Send PLDM data via MCTP (or) | | | | native to D-bus format. …
335 | | Send the Redfish host interface | | | |3.Expose the D-bus interface …
336 | +----------------------------------+ | | +----------------------------------…
338 | +----------------------------------+ | | …
339 | | Get the file info & config status| <-Get config status-| …
340 | | - Any config changed or not | | | …
341 | | - File checksum in BMC | | | …
342 | | - New attribute values exist | | | …
343 | +----------------------------------+ | | …
344 … | | +-----------------------------------+ |
345 | +----------------------------------+ | | | …
346 | | If new attribute value exist |<-|-----------------------| Send the new value attributes …
348 | | Get & Update the BIOS variables | -| -----+ | | …
349 … | | | | +-----------------------------------+ |
350 | +---------------+------------------+ | | | …
353 … | | | | +----------------------------------+ |
354 | +--------------V------------------+ | | | | …
356 | | |------------------------->| (BaseBIOSTable) …
357 | +---------------------------------+ | | | +---------------------------------…
360 | +---------------------------------+ | | | …
363 | +---------------------------------+ | | | …
365 | +----------------------------------+ | | | …
366 | | Continue the BIOS boot | <-------+ | …
367 | +----------------------------------+ | | …
368 +----------------------------------------+ +------------------------------------…
374 +----------------------------------------+ +------------------------------------…
377 | +----------------------------------+ | | +----------------------------------…
378 | | Send the BIOS capability Support| |--------KCS-------->| |1.Get the complete atttributes dat…
379 | | Send the compressed BIOS file(or)| |-MCTP/KCS/Redfish-->| |2.Validate and convert into …
380 | | Send PLDM data via MCTP (or) | | | | native to D-bus format. …
381 | | Send the Redfish host interface | | | |3.Expose the D-bus interface …
382 | +----------------------------------+ | | +----------------------------------…
384 … | | +------------------------------------+ |
386 | | | | & send the native to D-bus format…
388 … | | +------------------------------------+ |
389 … | | +------------------------------------+ |
395 … | | +------------------------------------+ |
396 | +----------------------------------+ | | +----------------------------------…
397 | | Read the new Atributes value |<-|----------------------| Send new Pending attributes table…
399 …Update in the BIOS structure | | | +------------------------------------+ |
400 | +---------------+------------------+ | | …
403 … | | | +-----------------------------------+ |
404 | +--------------V------------------+ | | | Update the BIOS atrributes data. …
406 | | |------------------------>| table …
407 | +---------------------------------+ | | +----------------------------------…
409 +----------------------------------------+ +------------------------------------…
421 …+-------------------------------------------------------------------------------------------------…
422 …| +-------------------------+ +-------------------------------------------------------…
423 …| | RBC Web tool - POSTMAN | | BMC …
424 …| | (Please refer the | | +-----------------------+ +--------------------…
426 …| | for each request) | | |-Responsible for handle| |-Parse Bios Data,con…
428 …| | | | +-----------------------+ +--------------------…
429 …| +-------------------------+ | +-----------------------+ +--------------------…
431 …| |1.Get Current attributes |<---Req-/Res--> | Read BaseBIOSTable |<-dbus-| BaseBIOSTable …
434 …| |2.Get Attribute Registry |<---Req-/Res--> | Read BaseBIOSTable |<-dbus-| BaseBIOSTable …
436 …| |3.Change BIOS Password |<---Req-/Res--> | Call RBC D-bus Method |-dbus->| ChangePassword() …
438 …| |4.Reset To default |<---Req-/Res--> | Set ResetBIOSSettings |-dbus->| ResetBiosSettings …
439 …| | settings | | | | | -ResetFlag …
440 …| |5.Update new BIOS setting|<---Req-/Res--->| Call RBC D-bus Method |-dbus->| SetAttribute() …
443 …| |6.Get Pending attributes |<---Req-/Res--->| Get PendingAttributes |<-dbus-| PendingAttributes …
445 …| |7.Update new BIOS setting|<---Req-/Res--->| Set PendingAttributes |<-dbus-| PendingAttributes …
448 …| +-------------------------+ | +-----------------------+ +--------------------…
449 …| +-------------------------------------------------------…
450 …+-----------------------------------------+-------------------------------------------------------…
454 attribute name and value pair list. GET Method -
459 GET Method - "https://<BMC IP address>/redfish/v1/Registries/Bios"
461 3. Change BIOS password: ACTION -
464 4. Reset To default settings: ACTION -
468 particular attribute or list of attributes. PATCH Method -
473 GET Method -
474 "https://<BMC IP address>/redfish/v1/Systems/system/Bios/Settings" -Valid
479 particular attribute or list of attributes. PATCH Method -
488 phosphor-settingsd is not optimal.