index.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <style type="text/css">
  7. @import url('../css/main.css');
  8. </style>
  9. <title>Maintaining libreboot</title>
  10. </head>
  11. <body>
  12. <div class="section">
  13. <h1 id="pagetop">Maintaining libreboot</h1>
  14. <p>
  15. This section relates to maintaining libreboot.
  16. </p>
  17. <p>
  18. Do not follow anything here to the letter; is it only a rough guide
  19. representing how libreboot is maintained (for reference).
  20. </p>
  21. <p>
  22. This section of the documentation applies mainly to the
  23. development version of libreboot, which is hosted in a git
  24. repository. It is not intended for the release versions of
  25. libreboot.
  26. </p>
  27. <ul>
  28. <li><a href="#overview">Overview</a></li>
  29. <li>
  30. <a href="#updating_coreboot">Updating coreboot-libre</a>
  31. <ul>
  32. <li><a href="#newboard_libreboot">Adding a new board to libreboot</a></li>
  33. <li><a href="#newpatch_libreboot">Add/remove/modify patches in coreboot-libre</a></li>
  34. </ul>
  35. </li>
  36. <li>
  37. <a href="#updating_grub">Updating GRUB</a>
  38. <ul>
  39. <li><a href="#altbuild_grub_payload">Change how the GRUB payload (grub.elf) is built (utility: grub-assemble)</a></li>
  40. <li><a href="#newconfig_grub">Modify the configuration used in GRUB</a></li>
  41. <li><a href="../grub/index.html">Other maintenance-related tasks in GRUB</a></li>
  42. </ul>
  43. </li>
  44. <li>
  45. <a href="#updating_depthcharge">Updating depthcharge</a>
  46. </li>
  47. <li>
  48. <a href="#updating_flashrom">Updating flashrom</a>
  49. </li>
  50. <li>
  51. <a href="#updating_bucts">Updating bucts</a>
  52. </li>
  53. <li>
  54. <a href="#updating_memtest86plus">Updating MemTest86+</a>
  55. </li>
  56. </ul>
  57. <p>
  58. Or <a href="../index.html">Back to main index</a>.
  59. </p>
  60. </div>
  61. <div class="section">
  62. <h1 id="overview">Overview</h1>
  63. <p>
  64. The way the libreboot project is run is very similar to how
  65. a GNU/Linux distribution project is run (but for the boot
  66. firmware, not your operating system). Thus, libreboot is
  67. a <i>coreboot distribution</i>.
  68. </p>
  69. <p>
  70. This page demonstrates on a high level how
  71. libreboot is maintained, how the project is run, how everything
  72. goes together, etc. For a more detailed guide, refer to each
  73. subsection for the various components/modules used in libreboot.
  74. </p>
  75. <p>
  76. <a href="#pagetop">Back to top of page</a>.
  77. </p>
  78. </div>
  79. <div class="section">
  80. <h1 id="updating_coreboot">Updating coreboot-libre</h1>
  81. <p>
  82. NOTE: it helps to own all libreboot-compatible systems here,
  83. or have reliable (and fast) access to a team of testers.
  84. </p>
  85. <p>
  86. Coreboot-libre is the name of the deblobbed coreboot sources
  87. used in libreboot. It is also the name of the collection
  88. of scripts used for deblobbing coreboot, on each new update.
  89. </p>
  90. <p>
  91. This section shows an example of how to update (re-base) to
  92. the latest version of coreboot, how to update the deblobbing
  93. scripts, and so on. <b>This does not teach you how to
  94. change what custom patches are used, nor does it tell
  95. you how to add new boards to libreboot. It assumes that you
  96. simply want to re-base to the latest version (for instance,
  97. there could be bug fixes that you want). For those things
  98. not listed in this section, you can refer to other sections
  99. on this page instead.</b>
  100. </p>
  101. <p>
  102. Open these files in your editor (you will most likely be editing them):
  103. </p>
  104. <ul>
  105. <li>resources/scripts/helpers/download/coreboot</li>
  106. <li>resources/scripts/helpers/build/module/coreboot</li>
  107. <li>resources/utilities/coreboot-libre/deblob</li>
  108. <li>resources/utilities/coreboot-libre/nonblobs</li>
  109. <li>resources/utilities/coreboot-libre/nonblobs_notes</li>
  110. <li>resources/scripts/helpers/build/roms/helper</li>
  111. <li>resources/scripts/helpers/build/roms/withgrub</li>
  112. </ul>
  113. <p>
  114. If you already had a coreboot/ directory in your libreboot
  115. tree, delete it:<br/>
  116. $ <b>rm -Rf coreboot/</b>
  117. </p>
  118. <p>
  119. Firstly, download coreboot. Do <b>not</b> use <b>./download coreboot</b>
  120. for this, just clone coreboot, as it does in that script, like so:<br/>
  121. $ <b>git clone http://review.coreboot.org/coreboot</b>
  122. </p>
  123. <p>
  124. $ <b>cd coreboot/</b><br/>
  125. Get the ID of the latest commit in this clone, by reading the commit ID using
  126. e.g.:<br/>
  127. $ <b>git log</b><br/>
  128. In <i>resources/scripts/helpers/download/coreboot</i> you will
  129. find a line that says <i><b>git reset --hard</b></i> and then
  130. a commit ID next to it. Replace this with the commit ID of the latest
  131. commit from the coreboot version that you just downloaded.
  132. </p>
  133. <p>
  134. You must also checkout the <i>vboot</i> submodule:<br/>
  135. $ <b>git submodule update --init --checkout -- 3rdparty/vboot/</b>
  136. </p>
  137. <p>
  138. Delete the .git* resources. For example:<br/>
  139. $ <b>rm -Rf .git* 3rdparty/*/.git*</b><br/>
  140. ...this is to avoid the deblobbing script from picking up files
  141. in there as blobs, which would be only false positives and
  142. increase the amount of time taken. Now come out of coreboot:<br/>
  143. $ <b>cd ../</b>
  144. </p>
  145. <p>
  146. Check all coreboot file names/paths in <i>deblob</i>; if any
  147. of them no longer exist at that name/path in the coreboot tree that you downloaded,
  148. delete the reference(s) in <i>deblob</i>.
  149. </p>
  150. <p>
  151. Check all coreboot file names/paths in <i>nonblobs</i>; if
  152. any of them no longer exist at that name/path in the coreboot tree that you downloaded,
  153. delete the reference in <i>nonblobs</i>.
  154. </p>
  155. <p>
  156. Now, back in the main root directory of libreboot (git repository),
  157. run the deblob script. This is to prevent the <i>findblobs</i>
  158. scripts from finding the blobs that are already deleted
  159. when running the <i>deblob</i> script. Like so:<br/>
  160. $ <b>./resources/utilities/coreboot-libre/deblob</b>
  161. </p>
  162. <p>
  163. Now search for new blobs:<br/>
  164. $ <b>cd resources/utilities/coreboot-libre/</b><br/>
  165. $ <b>./findblobs</b><br/>
  166. WARNING: this will take a <b>*long*</b> time. Be patient!
  167. What this will do is look through the coreboot source directory,
  168. looking for blobs. It will not find the blobs that you deleted
  169. before (because they no longer exist), and it will ignore any
  170. files listed in <i>nonblobs</i>.
  171. </p>
  172. <p>
  173. Once the <i>findblobs</i> script has finished, check the file
  174. <i>tocheck</i> (from the root, this will be <i>resources/utilities/coreboot-libre/tocheck</i>).
  175. These are the files detected as blobs; some might be blobs, some not.
  176. The <i>findblobs</i> script doesn't know how to determine between blobs
  177. and non-blobs, it only knows patterns. Distinguishing between blobs and
  178. non-blobs must be performed by you, the human being.
  179. </p>
  180. <ul>
  181. <li>
  182. Files in <i>tocheck</i> that you identify as blobs,
  183. should be added appropriately to <i>resources/utilities/coreboot-libre/deblob</i>
  184. </li>
  185. <li>
  186. Files in <i>tocheck</i> that you identify as non-blobs,
  187. should be added appropriately to <i>resources/utilities/coreboot-libre/nonblobs</i> -
  188. also, if you feel it necessary, add an explanation of it in
  189. <i>resources/utilities/coreboot-libre/nonblobs_notes</i>
  190. </li>
  191. </ul>
  192. <p>
  193. Now come back to the main libreboot root directory (root
  194. of the git clone). If you are still in resources/utilities/coreboot-libre/
  195. for instance, you would do something like:<br/>
  196. $ <b>cd ../../../</b>
  197. </p>
  198. <p>
  199. Now delete the coreboot directory:<br/>
  200. $ <b>rm -Rf coreboot/</b>
  201. </p>
  202. <p>
  203. Download coreboot again, only this time, using the download
  204. script. The download script also applies custom patches
  205. to coreboot (see resources/scripts/helpers/download/coreboot);
  206. if they do not apply anymore, you will have to re-base them
  207. and then update <i>resources/scripts/helpers/download/coreboot</i>
  208. accordingly. Anyway, download coreboot like so:<br/>
  209. $ <b>./download coreboot</b>
  210. </p>
  211. <p>
  212. If the custom patches no longer apply, and you have to re-base
  213. (or replace?) some patches, please do this in coreboot upstream,
  214. not in libreboot. Then re-include new patches from upstream,
  215. into libreboot. Here is coreboot's guide for contributing
  216. patches:<br/>
  217. <a href="http://www.coreboot.org/Git">http://www.coreboot.org/Git</a>.
  218. </p>
  219. <p>
  220. Update all configs:<br/>
  221. $ <b>./build config grubupdate</b><br/>
  222. $ <b>./build config dcupdate</b><br/>
  223. This simply takes all of the coreboot <b>.config</b> files from
  224. <i>resources/libreboot/config/</i> and does <b>make oldconfig</b>
  225. on them. It usually works. If it doesn't, you'll need to recreate
  226. those configs from scratch using <b>./build config grubreplace</b>
  227. or <b>./build config dcreplace</b> (optionally
  228. add a config name), or <b>./build config grubmodify</b>
  229. or <b>./build config dcmodify</b> (ditto)
  230. (see <a href="../git/index.html#config">../git/index.html#config</a>)
  231. </p>
  232. <p>
  233. Finally, build *all* ROM images using the instructions at
  234. <a href="../git/index.html">../git/index.html</a>, to verify
  235. that everything still builds.
  236. </p>
  237. <p>
  238. Once you've verified that building isn't broken, test *all*
  239. boards (you don't need to test all ROM images, only one
  240. vesafb and one txtmode image for each configuration). If you
  241. do not have all systems supported in libreboot, then you will
  242. need to get other testers for those boards.
  243. </p>
  244. <p>
  245. If you have established a build issue, or a board no longer
  246. works (booting issues, bugs during/after boot, etc), you'll
  247. need to fix it upstream:
  248. <a href="http://www.coreboot.org/Git">http://www.coreboot.org/Git</a>
  249. and then re-update coreboot (or apply patches from upstream).
  250. </p>
  251. <p>
  252. You should also test the resulting ROM images from building
  253. with the new or modified coreboot revision.
  254. </p>
  255. <p>
  256. <a href="#pagetop">Back to top of page</a>.
  257. </p>
  258. </div>
  259. <div class="section">
  260. <h1 id="newboard_libreboot">Adding a new board to libreboot</h1>
  261. <p>
  262. Make sure that the board is supported, and that the patches
  263. are included (if there are custom patches that you need).
  264. Add configs for it like so (for GRUB payload):<br/>
  265. $ <b>./build config grubreplace <i>payload</i>/<i>boardname</i></b><br/>
  266. Alternatively, for depthcharge payload:<br/>
  267. $ <b>./build config dcreplace <i>payload</i>/<i>boardname</i></b>
  268. </p>
  269. <p>
  270. This can also be used for replacing an existing config.
  271. </p>
  272. <p>
  273. Configure the board. Make sure to add the steps to the config section
  274. in <a href="../git/index.html">../git/index.html</a>.
  275. </p>
  276. <p>
  277. When you're done, the config will be stored in <i>resources/libreboot/config/</i>.
  278. Now build-test it and then check that it actually works.
  279. </p>
  280. <p>
  281. The following scripts may also need to be modified before building:
  282. <i>resources/scripts/helpers/build/roms/withgrub</i> and
  283. <i>resources/scripts/helpers/build/roms/helper</i>
  284. </p>
  285. <p>
  286. The following can be used when updating coreboot-libre (GRUB payload):<br/>
  287. $ <b>./build config grubupdate</b><br/>
  288. You must also do this for boards that use the depthcharge payload:<br/>
  289. $ <b>./build config dcupdate</b><br/>
  290. (adding a board name on the end is optional, for either of these)
  291. </p>
  292. <p>
  293. The following can be used if you want to modify an existing
  294. configuration (GRUB payload):<br/>
  295. $ <b>./build config grubmodify</b><br/>
  296. For those boards which use the depthcharge payload:<br/>
  297. $ <b>./build config dcmodify</b><br/>
  298. (adding a board name on the end is optional)
  299. </p>
  300. <p>
  301. Examples (GRUB payload):<br/>
  302. $ <b>./build config grubmodify x60</b><br/>
  303. $ <b>./build config grubreplace x60</b><br/>
  304. $ <b>./build config grubupdate x60</b><br/>
  305. $ <b>./build config grubmodify kfsn4-dre</b><br/>
  306. $ <b>./build config grubreplace kfsn4-dre</b><br/>
  307. $ <b>./build config grubupdate kfsn4-dre</b><br/>
  308. </p>
  309. <p>
  310. Examples (depthcharge payload):<br/>
  311. $ <b>./build config dcmodify veyron_speedy</b><br/>
  312. $ <b>./build config dcreplace veyron_speedy</b><br/>
  313. $ <b>./build config dcupdate veyron_speedy</b>
  314. </p>
  315. <p>
  316. <a href="#pagetop">Back to top of page</a>.
  317. </p>
  318. </div>
  319. <div class="section">
  320. <h1 id="newpatch_libreboot">Add/remove/modify patches in coreboot-libre</h1>
  321. <p>
  322. Under <b>resources/scripts/helpers/download/coreboot</b> you can find
  323. the instructions used for patching coreboot.
  324. </p>
  325. <p>
  326. Modify the commit ID on the <i>git reset --hard</i> line accordingly,
  327. and update the list of patches used accordingly. Do not cherry-pick
  328. from review.coreboot.org directly; instead, include the diff in
  329. resources/libreboot/patch/ and use <i>git am</i>
  330. (you can get the diff by using git-format-patch).
  331. </p>
  332. <p>
  333. When you're done, simply download coreboot again:<br/>
  334. $ <b>./download coreboot</b>
  335. </p>
  336. <p>
  337. Finally, re-build the parts from coreboot that are used
  338. by the build system (also builds GCC):<br/>
  339. $ <b>./build module coreboot</b>
  340. </p>
  341. <p>
  342. Before running the above command, you can save time
  343. by copying out the crossgcc that you compiled before
  344. (from coreboot/util/crossgcc/) and then putting it back.
  345. After you've done that, run everything in
  346. <i>resources/scripts/helpers/build/module/coreboot</i>
  347. except for the part that builds GCC.
  348. <b>Only do this if the version is correct.</b>
  349. </p>
  350. <p>
  351. You should also test the resulting ROM images from building
  352. with the new or modified coreboot revision.
  353. </p>
  354. <p>
  355. <a href="#pagetop">Back to top of page</a>.
  356. </p>
  357. </div>
  358. <div class="section">
  359. <h1 id="updating_grub">Updating GRUB</h1>
  360. <p>
  361. $ <b>rm -Rf grub/</b><br/>
  362. $ <b>git clone git://git.savannah.gnu.org/grub.git</b><br/>
  363. $ <b>cd grub/</b><br/>
  364. $ <b>git log</b>
  365. </p>
  366. <p>
  367. Open the file <i>resources/scripts/helpers/download/grub</i> and
  368. replace the commit ID on the line that performs <i>git reset --hard</i>
  369. with the commit ID of the GRUB revision that you just downloaded.
  370. </p>
  371. <p>
  372. $ <b>cd ../</b><br/>
  373. $ <b>./download grub</b>
  374. </p>
  375. <p>
  376. If it fails because of merge conflicts, you'll need to re-base
  377. or (as appropriate) remove the offending patch(es) in
  378. <i>resources/scripts/helpers/download/grub</i>.
  379. </p>
  380. <p>
  381. Finally, verify that it will build:<br/>
  382. $ <b>./build module grub</b>
  383. </p>
  384. <p>
  385. Since GRUB is the payload in libreboot, you should also
  386. build the ROM images and test them, with this different
  387. GRUB version that you have prepared.
  388. </p>
  389. <p>
  390. <a href="#pagetop">Back to top of page</a>.
  391. </p>
  392. </div>
  393. <div class="section">
  394. <h1 id="altbuild_grub_payload">Change how the GRUB payload (grub.elf) is built (utility: grub-assemble)</h1>
  395. <p>
  396. Look in <i>resources/utilities/grub-assemble/</i>.
  397. </p>
  398. <p>
  399. <i>gen.sh</i> creates ELF executables of GRUB with different configurations:
  400. text-mode or framebuffer mode in coreboot. Essentially,
  401. the text-mode version has no background nor any custom fonts,
  402. and contains MemTest86+. You probably don't need to modify these
  403. files at all.
  404. </p>
  405. <p>
  406. <i>modules.conf</i> defines which modules will be included in the GRUB
  407. ELF executable.
  408. </p>
  409. <p>
  410. Since GRUB is the payload in libreboot, you should also
  411. build the ROM images and test them, with this different
  412. GRUB version that you have prepared.
  413. </p>
  414. <p>
  415. <a href="#pagetop">Back to top of page</a>.
  416. </p>
  417. </div>
  418. <div class="section">
  419. <h1 id="newconfig_grub">Modify the configuration used in GRUB</h1>
  420. <p>
  421. Look in <i>resources/scripts/helpers/build/roms/withgrub</i> to
  422. see how the GRUB configuration files are generated.
  423. </p>
  424. <p>
  425. You might need to modify this. You can also modify the
  426. default configuration by making changes to the files
  427. under <i>resources/grub/config/</i>
  428. </p>
  429. <p>
  430. Since GRUB is the payload in libreboot, you should also
  431. build the ROM images and test them, with this different
  432. GRUB version that you have prepared.
  433. </p>
  434. <p>
  435. <a href="#pagetop">Back to top of page</a>.
  436. </p>
  437. </div>
  438. <div class="section">
  439. <h1 id="updating_depthcharge">Updating depthcharge</h1>
  440. <p>
  441. The script to download depthcharge is: <i>resources/scripts/helpers/download/depthcharge</i>.
  442. </p>
  443. <p>
  444. Patches are in <i>resources/depthcharge/patch/</i>.
  445. </p>
  446. <p>
  447. The configuration used for depthcharge is located in <i>depthcharge/board</i>.
  448. Each board has a <i>defconfig</i> Kconfig configuration and a </i>fmap.dts</i> FMAP device-tree configuration.
  449. Those shouldn't need much attention, but when needed, it's best to modify them in the depthcharge tree (with patches) to keep things in one place.
  450. </p>
  451. <p>
  452. <a href="#pagetop">Back to top of page</a>.
  453. </p>
  454. </div>
  455. <div class="section">
  456. <h1 id="updating_flashrom">Updating flashrom</h1>
  457. <p>
  458. Modify these files: <i>resources/scripts/helpers/download/flashrom</i>
  459. and <i>resources/scripts/helpers/build/module/flashrom</i>.
  460. </p>
  461. <p>
  462. Patches are in <i>resources/flashrom/patch/</i>
  463. </p>
  464. <p>
  465. <a href="#pagetop">Back to top of page</a>.
  466. </p>
  467. </div>
  468. <div class="section">
  469. <h1 id="updating_bucts">Updating bucts</h1>
  470. <p>
  471. bucts doesn't really need updating, but the patches are
  472. in <i>resources/bucts/patch</i>, the download script
  473. is <i>resources/scripts/helpers/download/bucts</i> and
  474. the build script is <i>resources/scripts/helpers/build/module/bucts</i>.
  475. </p>
  476. <p>
  477. <a href="#pagetop">Back to top of page</a>.
  478. </p>
  479. </div>
  480. <div class="section">
  481. <h1 id="updating_memtest86plus">Updating MemTest86+</h1>
  482. <p>
  483. MemTest86+ doesn't really need updating, but the patches are
  484. in <i>resources/memtest86plus/patch</i>, the download script
  485. is <i>resources/scripts/helpers/download/memtest86plus</i> and
  486. the build script is <i>resources/scripts/helpers/build/module/memtest86plus</i>.
  487. </p>
  488. <p>
  489. In the download script for memtest86plus, make sure to update the checksum that it matches
  490. for the downloaded source tarball.
  491. </p>
  492. <p>
  493. <a href="#pagetop">Back to top of page</a>.
  494. </p>
  495. </div>
  496. <div class="section">
  497. <p>
  498. Copyright &copy; 2015 Leah Rowe &lt;info@minifree.org&gt;<br/>
  499. Permission is granted to copy, distribute and/or modify this document
  500. under the terms of the GNU Free Documentation License, Version 1.3
  501. or any later version published by the Free Software Foundation;
  502. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  503. A copy of the license can be found at <a href="../gfdl-1.3.txt">../gfdl-1.3.txt</a>
  504. </p>
  505. <p>
  506. Updated versions of the license (when available) can be found at
  507. <a href="https://www.gnu.org/licenses/licenses.html">https://www.gnu.org/licenses/licenses.html</a>
  508. </p>
  509. <p>
  510. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
  511. EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
  512. AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
  513. ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
  514. IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
  515. WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
  516. PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
  517. ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
  518. KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
  519. ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
  520. </p>
  521. <p>
  522. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
  523. TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
  524. NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
  525. INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
  526. COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
  527. USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
  528. ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
  529. DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
  530. IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
  531. </p>
  532. <p>
  533. The disclaimer of warranties and limitation of liability provided
  534. above shall be interpreted in a manner that, to the extent
  535. possible, most closely approximates an absolute disclaimer and
  536. waiver of all liability.
  537. </p>
  538. </div>
  539. </body>
  540. </html>