Report the cause of the failure when we are unable to open the .mrom payload. There are two possible failure cases: - Unable to find a suitable memory BAR to borrow (e.g. if the NIC doesn't have a memory BAR that is at least as large as the expansion ROM BAR, or if the memory BAR has been assigned a 64-bit address which won't fit into the 32-bit expansion ROM BAR). This will be reported as "BABABABA". - Unable to find correct ROM image within the BAR. This will be reported as the address (within the borrowed BAR) at which we first fail to find a valid 55AA signature. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
| 98 |
|
98 |
|
| 99 |
|
99 |
|
| 100 |
|
100 |
|
|
101 |
|
|
| 101 |
|
102 |
|
| 102 |
|
103 |
|
| 103 |
|
104 |
|
|
|
||
| 157 |
|
158 |
|
| 158 |
|
159 |
|
| 159 |
|
160 |
|
| 160 |
|
|
|
| 161 |
|
|
|
| 162 |
|
|
|
| 163 |
|
161 |
|
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
| 164 |
|
167 |
|
| 165 |
|
168 |
|
| 166 |
|
169 |
|
| 167 |
|
170 |
|
| 168 |
|
|
|
|
171 |
|
|
| 169 |
|
172 |
|
| 170 |
|
173 |
|
| 171 |
|
174 |
|