index.html 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053
  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>Building libreboot from source</title>
  10. </head>
  11. <body>
  12. <div class="section">
  13. <h1 id="pagetop">Building libreboot from source</h1>
  14. <p>
  15. This section relates to building libreboot from source, and
  16. working with the git repository.
  17. </p>
  18. <p>
  19. Or <a href="../index.html">Back to main index</a>.
  20. </p>
  21. <ul>
  22. <li><a href="#build_dependencies">Install build dependencies</a></li>
  23. <li><a href="#build_meta">Get the full source code from metadata (git clone)</a></li>
  24. <li><a href="#build_bucts">How to build &quot;bucts&quot; (for LenovoBIOS X60/X60S/X60T/T60)</a></li>
  25. <li><a href="#build_flashrom">How to build &quot;flashrom&quot;</a></li>
  26. <li>
  27. <a href="#config">Configuring libreboot</a>
  28. <ul>
  29. <li><a href="#config_dmidecode">dmidecode</a></li>
  30. <li>
  31. <a href="#configgrub">GRUB payload</a>
  32. <ul>
  33. <li><a href="#config_kfsn4-dre">ASUS KFSN4-DRE</a></li>
  34. <li><a href="#config_x60">ThinkPad X60, X60S and X60 Tablet</a></li>
  35. <li><a href="#config_t60">ThinkPad T60</a></li>
  36. <li><a href="#config_x200">ThinkPad X200</a></li>
  37. <li><a href="#config_r400">ThinkPad R400</a></li>
  38. <li><a href="#config_r500">ThinkPad R500</a></li>
  39. <li><a href="#config_t400">ThinkPad T400</a></li>
  40. <li><a href="#config_t500">ThinkPad T500</a></li>
  41. <li><a href="#config_macbook21">MacBook2,1</a></li>
  42. <li><a href="#config_qemu_i440fx_piix4">QEMU (x86 i440fx/piix4)</a></li>
  43. <li><a href="#config_qemu_q35_ich9">QEMU (x86 q35/ich9)</a></li>
  44. </ul>
  45. </li>
  46. </ul>
  47. </li>
  48. <li><a href="#build">How to build the ROM images</a></li>
  49. </ul>
  50. </div>
  51. <div class="section">
  52. <h1 id="build_dependencies">Install build dependencies</h1>
  53. <p>
  54. Before doing anything, you need the dependencies first. This is true if
  55. you want to build libreboot from source, with either libreboot_src.tar.xz or git.
  56. <b>If you are using libreboot_util.tar.xz (binary archive) then you can ignore this, because
  57. ROM images and statically compiled executables for the utilities are included.</b>
  58. </p>
  59. <div class="important">
  60. <p>
  61. For Trisquel 7, you can run the following command:<br/>
  62. $ <b>sudo ./build dependencies trisquel7</b>
  63. </p>
  64. <p>
  65. For Parabola, you can run the following command:<br/>
  66. $ <b>sudo ./build dependencies parabola</b><br/>
  67. or:<br/>
  68. # <b>./build dependencies parabola</b>
  69. </p>
  70. </div>
  71. <p>
  72. For other GNU/Linux distributions, you can adapt the existing scripts.
  73. </p>
  74. <p><a href="#pagetop">Back to top of page</a></p>
  75. </div>
  76. <div class="section">
  77. <h1 id="build_meta">Get the full source code from metadata (git clone)</h1>
  78. <p>
  79. If you downloaded libreboot from git, then there are some steps to download and patch
  80. the source code for all relevant dependencies. The archive in the git repository used to be
  81. available as a tarball called 'libreboot_meta.tar.gz'. It contains 'metadata' (scripts)
  82. which define how the source was created (where it came from).
  83. </p>
  84. <p>
  85. You can use the scripts included to download everything.
  86. </p>
  87. <p>
  88. First, <a href="#build_dependencies">install the build dependencies</a>.
  89. </p>
  90. <p>
  91. Since libreboot makes extensive use of git, you need to configure git properly. If you have not yet configured
  92. git, then the minimum requirement is:<br/>
  93. $ <b>git config --global user.name "Your Name"</b><br/>
  94. $ <b>git config --global user.email your@emailaddress.com</b><br/>
  95. This is what will also appear in git logs if you ever commit your own changes to a given repository. For
  96. more information, see <a href="http://git-scm.com/doc">http://git-scm.com/doc</a>.
  97. </p>
  98. <p>
  99. Another nice config for you (optional, but recommended):<br/>
  100. $ <b>git config --global core.editor nano</b><br/>
  101. $ <b>git config --global color.status auto</b><br/>
  102. $ <b>git config --global color.branch auto</b><br/>
  103. $ <b>git config --global color.interactive auto</b><br/>
  104. $ <b>git config --global color.diff auto</b>
  105. </p>
  106. <p>
  107. After that, run the script:<br/>
  108. $ <b>./download all</b>
  109. </p>
  110. <p>
  111. What this did was download everything (grub, coreboot, memtest86+, bucts, flashrom)
  112. at the versions last tested for this release, and patch them. Read the script
  113. in a text editor to learn more.
  114. </p>
  115. <p>
  116. To build the ROM images, see <a href="#build">#build</a>.
  117. </p>
  118. <p><a href="#pagetop">Back to top of page.</a></p>
  119. </div>
  120. <div class="section">
  121. <h1 id="build_bucts">How to build &quot;bucts&quot; (for LenovoBIOS X60/X60S/X60T/T60)</h1>
  122. <p>
  123. <b>This is for Lenovo BIOS users on the ThinkPad X60/X60S, X60 Tablet and T60. If you have coreboot or libreboot running already, ignore this.</b>
  124. </p>
  125. <p>
  126. BUC.TS isn't really specific to these laptops, but is a bit inside the a register in the chipset on some Intel systems.
  127. </p>
  128. <p>
  129. Bucts is needed when flashing in software the X60/X60S/X60T/T60 ROM while Lenovo BIOS is running;
  130. external flashing will be safe regardless.
  131. Each ROM contains identical data inside the two final 64K region in the file*.
  132. This corresponds to the final two 64K regions in the flash chip. Lenovo BIOS will prevent you from writing the
  133. final one, so running &quot;<b>bucts 1</b>&quot; will set the system to boot from the other block instead (which
  134. is writeable along with everything beneath it when using a patched flashrom. see <a href="#build_flashrom">#build_flashrom</a>).
  135. After shutting down and booting up after the first flash of libreboot,
  136. the final 64K block is writeable so you flash the ROM again with an unpatched flashrom and run "<b>bucts 0</b>" to
  137. make the system boot from the normal (highest) block again.
  138. </p>
  139. <p>
  140. *Libreboot ROM images have identical data in those two 64KiB regions because dd is used to do that, by the build system.
  141. If you're building from upstream (coreboot), you have to do it manually.
  142. </p>
  143. <p>
  144. BUC.TS is backed up (powered) by the NVRAM battery (or CMOS battery, as some people call it). On thinkpads,
  145. this is typically in a yellow plastic package with the battery inside, connected via power lines to the
  146. mainboard. Removing that battery removes power to BUC.TS, resetting the bit back to 0 (if you previously set
  147. it to 1).
  148. </p>
  149. <p>
  150. BUC.TS utility is included in libreboot_src.tar.xz and libreboot_util.tar.xz.<br/>
  151. <b>If you downloaded from git, follow <a href="#build_meta">#build_meta</a> before you proceed.</b>
  152. </p>
  153. <p>
  154. &quot;BUC&quot; means &quot;<b>B</b>ack<b>u</b>p <b>C</b>ontrol&quot; (it's a register) and &quot;TS&quot; means &quot;<b>T</b>op <b>S</b>wap&quot;
  155. (it's a status bit). Hence &quot;bucts&quot; (BUC.TS). TS 1 and TS 0 corresponds to bucts 1 and bucts 0.
  156. </p>
  157. <p>
  158. If you have the binary release archive, you'll find executables under ./bucts/. Otherwise if you need to build from source, continue reading.
  159. </p>
  160. <p>
  161. First, <a href="#build_dependencies">install the build dependencies</a>.
  162. </p>
  163. <p>
  164. To build bucts, do this in the main directory:<br/>
  165. $ <b>./build module bucts</b>
  166. </p>
  167. <p>
  168. To statically compile it, do this:<br/>
  169. $ <b>./build module bucts static</b>
  170. </p>
  171. <p>
  172. The &quot;builddeps&quot; script in libreboot_src also makes use of builddeps-bucts.
  173. </p>
  174. <p><a href="#pagetop">Back to top of page.</a></p>
  175. </div>
  176. <div class="section">
  177. <h1 id="build_flashrom">How to build &quot;flashrom&quot;</h1>
  178. <p>
  179. Flashrom is the utility for flashing/dumping ROM images. This is what you will use to install libreboot.
  180. </p>
  181. <p>
  182. Flashrom source code is included in libreboot_src.tar.xz and libreboot_util.tar.xz.<br/>
  183. <b>If you downloaded from git, follow <a href="#build_meta">#build_meta</a> before you proceed.</b>
  184. </p>
  185. <p>
  186. If you are using the binary release archive, then there are already binaries included
  187. under ./flashrom/. The flashing scripts will try to choose the correct one for you. Otherwise
  188. if you wish to re-build flashrom from source, continue reading.
  189. </p>
  190. <p>
  191. First, <a href="#build_dependencies">install the build dependencies</a>.
  192. </p>
  193. <p>
  194. To build it, do the following in the main directory:<br/>
  195. $ <b>./build module flashrom</b>
  196. </p>
  197. <p>
  198. To statically compile it, do the following in the main directory:<br/>
  199. $ <b>./build module flashrom static</b>
  200. </p>
  201. <p>
  202. After you've done that, under ./flashrom/ you will find the following executables:
  203. </p>
  204. <ul>
  205. <li>
  206. <b>flashrom</b>
  207. <ul>
  208. <li>For flashing while coreboot or libreboot is running.</li>
  209. </ul>
  210. </li>
  211. <li>
  212. <b>flashrom_lenovobios_sst</b>
  213. <ul>
  214. <li>This is patched for flashing while Lenovo BIOS is running on an X60 or T60 with the SST25VF016B (SST) flash chip.</li>
  215. </ul>
  216. </li>
  217. <li>
  218. <b>flashrom_lenovobios_macronix</b>
  219. <ul>
  220. <li>This is patched for flashing while Lenovo BIOS is running on an X60 or T60 with the MX25L1605D (Macronix) flash chip.</li>
  221. </ul>
  222. </li>
  223. </ul>
  224. <p>
  225. The &quot;builddeps&quot; script in libreboot_src also makes use of builddeps-flashrom.
  226. </p>
  227. <p><a href="#pagetop">Back to top of page.</a></p>
  228. </div>
  229. <div class="section">
  230. <h1 id="config">Configuring libreboot</h1>
  231. <p>
  232. Before building a ROM in libreboot (or coreboot, for that matter), you need to configure it.
  233. Configuration files should already be included, so you don't need to do anything. This information
  234. is only for reference. If you are updating or modifying coreboot-libre, and need to update the configs
  235. in any way, refer to <a href="../maintain/index.html#newboard_libreboot">../maintain/index.html#newboard_libreboot</a>.
  236. </p>
  237. <p>
  238. If you've already built a kernel before, you know how to use this interface.
  239. </p>
  240. <div class="subsection">
  241. <h2 id="config_dmidecode">
  242. dmidecode
  243. </h2>
  244. <p>
  245. There is certain information that can be useful to enter in particular:
  246. </p>
  247. <ul>
  248. <li>Local version string</li>
  249. <li>SMBIOS Serial Number</li>
  250. <li>SMBIOS Manufacturer</li>
  251. <li>SMBIOS Version</li>
  252. <li>SMBIOS Product name</li>
  253. </ul>
  254. <p>
  255. This information can be obtained using:<br/>
  256. <b>$ sudo dmidecode</b><br/>
  257. <b># dmidecode</b>
  258. </p>
  259. <p>
  260. Specifically, it's good practise to enter the same information for libreboot that you found when running this
  261. with the original BIOS or firmware. <b>libreboot has already done this for you. This information is for reference,
  262. in the hope that it will be useful.</b>
  263. </p>
  264. <p>
  265. In practise, this information is useless and you can
  266. just leave it on the defaults that coreboot uses (this
  267. is what libreboot does, on most boards).
  268. </p>
  269. </div>
  270. <h2 id="configgrub">GRUB payload</h2>
  271. <p>
  272. GRUB is one of the payloads that libreboot targets.
  273. </p>
  274. <p>
  275. Configurations are then saved as files called <b>&quot;.config&quot;</b>. Copies of each configuration used
  276. for each system type by the libreboot build scripts are stored in resources/libreboot/config/grub/
  277. </p>
  278. <div class="subsection">
  279. <h3 id="config_kfsn4-dre">
  280. ASUS KFSN4-DRE configuration (file: resources/libreboot/config/grub/kfsn4-dre/config)
  281. </h3>
  282. <ul>
  283. <li>General setup / Expert mode = <i>enable</i></li>
  284. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  285. <li>Mainboard / Mainboard vendor = <i>ASUS</i></li>
  286. <li>Mainboard / Mainboard model = <i>KFSN4-DRE</i></li>
  287. <li>Mainboard / ROM chip size = <i>1024 KB (1 MB)</i></li>
  288. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  289. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  290. <li>
  291. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  292. <ul>
  293. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  294. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  295. </ul>
  296. </li>
  297. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  298. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  299. <li>Generic Drivers / Type of dongle = <i>Net20DC or compatible</i></li>
  300. <li>Generic Drivers / Digitizer = <i>Present</i></li>
  301. <li>Console / USB dongle console output = <i>enable</i></li>
  302. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  303. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  304. </ul>
  305. <p>
  306. Now go back into Devices:
  307. </p>
  308. <ul>
  309. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  310. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  311. </ul>
  312. <p>
  313. The resulting .config file was saved as resources/libreboot/config/<b>grub/kfsn4-dre/config</b> and is used by the build
  314. scripts for this system.
  315. </p>
  316. </div>
  317. <div class="subsection">
  318. <h3 id="config_x60">
  319. ThinkPad X60, X60S and X60 Tablet configuration (file: resources/libreboot/config/grub/x60/config)
  320. </h3>
  321. <ul>
  322. <li>General setup / Expert mode = <i>enable</i></li>
  323. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  324. <li>Mainboard / Mainboard vendor = <i>Lenovo</i></li>
  325. <li>Mainboard / Mainboard model = <i>ThinkPad X60 / X60s / X60t</i></li>
  326. <li>Mainboard / ROM chip size = <i>2048 KB (2 MB)</i></li>
  327. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  328. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  329. <li>
  330. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  331. <ul>
  332. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  333. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  334. </ul>
  335. </li>
  336. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  337. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  338. <li>Generic Drivers / Type of dongle = <i>Net20DC or compatible</i></li>
  339. <li>Generic Drivers / Digitizer = <i>Present</i></li>
  340. <li>Console / USB dongle console output = <i>enable</i></li>
  341. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  342. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  343. </ul>
  344. <p>
  345. Now go back into Devices:
  346. </p>
  347. <ul>
  348. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  349. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  350. </ul>
  351. <p>
  352. The resulting .config file was saved as resources/libreboot/config/<b>grub/x60/config</b> and is used by the build
  353. scripts for this system.
  354. </p>
  355. <p>
  356. This configuration is used on all variants: X60, X60S and X60 Tablet.
  357. </p>
  358. </div>
  359. <div class="subsection">
  360. <h3 id="config_t60">
  361. ThinkPad T60 configuration (file: resources/libreboot/config/grub/t60/config)
  362. </h3>
  363. <ul>
  364. <li>General setup / Expert mode = <i>enable</i></li>
  365. <li>General setup / Local version string = <i>79ETE7WW (2.27 )</i></li>
  366. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  367. <li>Mainboard / Mainboard vendor = <i>Lenovo</i></li>
  368. <li>Mainboard / Mainboard model = <i>ThinkPad T60 / T60p</i></li>
  369. <li>Mainboard / ROM chip size = <i>2048 KB (2 MB)</i></li>
  370. <li>System tables / SMBIOS Serial Number = <i>L3DKE06</i></li>
  371. <li>System tables / SMBIOS Version Number = <i>ThinkPad T60</i></li>
  372. <li>System tables / SMBIOS Manufacturer = <i>LENOVO</i></li>
  373. <li>System tables / SMBIOS Product name = <i>1951FEG</i></li>
  374. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  375. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  376. <li>
  377. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  378. <ul>
  379. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  380. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  381. </ul>
  382. </li>
  383. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  384. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  385. <li>Generic Drivers / Type of dongle = <i>Net20DC or compatible</i></li>
  386. <li>Console / USB dongle console output = <i>enable</i></li>
  387. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  388. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  389. </ul>
  390. <p>
  391. Go back into Devices:
  392. </p>
  393. <ul>
  394. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  395. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  396. </ul>
  397. <p>
  398. The resulting .config file was saved as resources/libreboot/config/<b>grub/t60/config</b> and is used by the build
  399. scripts for this system.
  400. </p>
  401. <p>
  402. It is believed that the motherboards on 14.1&quot; and 15.1&quot; T60s are the same, so the same configuration is used
  403. on both the 14.1&quot; and 15.1&quot; T60s.
  404. </p>
  405. </div>
  406. <div class="subsection">
  407. <h3 id="config_x200">
  408. ThinkPad X200 configuration (file: resources/libreboot/config/grub/x200_4mb/config and resources/libreboot/config/grub/x200_8mb/config)
  409. </h3>
  410. <p>
  411. These are saved as two configs, because there are 2 size flash chips: 4MB or 8MB.
  412. </p>
  413. <ul>
  414. <li>General / Expert mode = <i>enable</i></li>
  415. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  416. <li>Mainboard / Mainboard vendor = <i>Lenovo</i></li>
  417. <li>Mainboard / Mainboard model = <i>ThinkPad X200</i></li>
  418. <li>Mainboard / ROM chip size = <i>4096 KB (4 MB)</i> or <i>8192 KB (8 MB)</i> depending on flash chip size</li>
  419. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  420. <li>Chipset / Size of CBFS filesystem in ROM = byte size <i>0x7FD000</i> (for 8MB flash chip) or <i>3FD000</i> (for 4MB flash chip)</li>
  421. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  422. <li>
  423. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  424. <ul>
  425. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  426. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  427. </ul>
  428. </li>
  429. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  430. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  431. <li>Generic Drivers / Type of dongle = <i>Net20DC or compatible</i></li>
  432. <li>Generic Drivers / Digitizer = <i>Present</i></li>
  433. <li>Console / USB dongle console output = <i>enable</i></li>
  434. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  435. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  436. </ul>
  437. <p>
  438. Go back and disable option ROMs:
  439. </p>
  440. <ul>
  441. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  442. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  443. </ul>
  444. <p>
  445. The resulting .config file was saved as resources/libreboot/config/<b>grub/x200_8mb/config</b> and
  446. resources/libreboot/config/<b>grub/x200_4mb/config</b> and is used by the build
  447. scripts for this system.
  448. </p>
  449. </div>
  450. <div class="subsection">
  451. <h3 id="config_r400">
  452. ThinkPad R400 configuration (file: resources/libreboot/config/grub/r400_4mb/config and resources/libreboot/config/grub/r400_8mb/config)
  453. </h3>
  454. <p>
  455. These are saved as two configs, because there are 2 size flash chips: 4MB or 8MB.
  456. </p>
  457. <ul>
  458. <li>General / Expert mode = <i>enable</i></li>
  459. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  460. <li>Mainboard / Mainboard vendor = <i>Lenovo</i></li>
  461. <li>Mainboard / Mainboard model = <i>ThinkPad R400</i></li>
  462. <li>Mainboard / ROM chip size = <i>4096 KB (4 MB)</i> or <i>8192 KB (8 MB)</i> depending on flash chip size</li>
  463. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  464. <li>Chipset / Size of CBFS filesystem in ROM = byte size <i>0x7FD000</i> (for 8MB flash chip) or <i>3FD000</i> (for 4MB flash chip)</li>
  465. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  466. <li>
  467. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  468. <ul>
  469. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  470. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  471. </ul>
  472. </li>
  473. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  474. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  475. <li>Generic Drivers / Type of dongle = <i>Net20DC or compatible</i></li>
  476. <li>Console / USB dongle console output = <i>enable</i></li>
  477. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  478. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  479. </ul>
  480. <p>
  481. Go back and disable option ROMs:
  482. </p>
  483. <ul>
  484. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  485. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  486. </ul>
  487. <p>
  488. The resulting .config file was saved as resources/libreboot/config/<b>grub/r400_8mb/config</b> and
  489. resources/libreboot/config/<b>grub/r400_4mb/config</b> and is used by the build
  490. scripts for this system.
  491. </p>
  492. </div>
  493. <div class="subsection">
  494. <h3 id="config_r500">
  495. ThinkPad R500 configuration (file: resources/libreboot/config/grub/r500_4mb/config)
  496. </h3>
  497. <ul>
  498. <li>General / Expert mode = <i>enable</i></li>
  499. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  500. <li>Mainboard / Mainboard vendor = <i>Lenovo</i></li>
  501. <li>Mainboard / Mainboard model = <i>ThinkPad R500</i></li>
  502. <li>Mainboard / ROM chip size = <i>4096 KB (4 MB)</i></li>
  503. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  504. <li>Chipset / Size of CBFS filesystem in ROM = <i>0x3FF000</i></li>
  505. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  506. <li>
  507. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  508. <ul>
  509. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  510. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  511. </ul>
  512. </li>
  513. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  514. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  515. <li>Generic Drivers / Type of dongle = <i>Net20DC or compatible</i></li>
  516. <li>Console / USB dongle console output = <i>enable</i></li>
  517. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  518. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  519. </ul>
  520. <p>
  521. Go back and disable option ROMs:
  522. </p>
  523. <ul>
  524. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  525. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  526. </ul>
  527. <p>
  528. The resulting .config file was saved as resources/libreboot/config/<b>grub/r500_4mb/config</b> and is used by the build
  529. scripts for this system.
  530. </p>
  531. </div>
  532. <div class="subsection">
  533. <h3 id="config_t400">
  534. ThinkPad T400 configuration (file: resources/libreboot/config/grub/t400_4mb/config and resources/libreboot/config/grub/t400_8mb/config)
  535. </h3>
  536. <p>
  537. These are saved as two configs, because there are 2 size flash chips: 4MB or 8MB.
  538. </p>
  539. <ul>
  540. <li>General / Expert mode = <i>enable</i></li>
  541. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  542. <li>Mainboard / Mainboard vendor = <i>Lenovo</i></li>
  543. <li>Mainboard / Mainboard model = <i>ThinkPad T400</i></li>
  544. <li>Mainboard / ROM chip size = <i>4096 KB (4 MB)</i> or <i>8192 KB (8 MB)</i> depending on flash chip size</li>
  545. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  546. <li>Chipset / Size of CBFS filesystem in ROM = byte size <i>0x7FD000</i> (for 8MB flash chip) or <i>3FD000</i> (for 4MB flash chip)</li>
  547. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  548. <li>
  549. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  550. <ul>
  551. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  552. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  553. </ul>
  554. </li>
  555. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  556. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  557. <li>Generic Drivers / Type of dongle = <i>Net20DC or compatible</i></li>
  558. <li>Console / USB dongle console output = <i>enable</i></li>
  559. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  560. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  561. </ul>
  562. <p>
  563. Go back and disable option ROMs:
  564. </p>
  565. <ul>
  566. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  567. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  568. </ul>
  569. <p>
  570. The resulting .config file was saved as resources/libreboot/config/<b>grub/t400_8mb/config</b> and
  571. resources/libreboot/config/<b>grub/t400_4mb/config</b> and is used by the build
  572. scripts for this system.
  573. </p>
  574. </div>
  575. <div class="subsection">
  576. <h3 id="config_t500">
  577. ThinkPad T500 configuration (file: resources/libreboot/config/grub/t500_4mb/config and resources/libreboot/config/grub/t500_8mb/config)
  578. </h3>
  579. <p>
  580. These are saved as two configs, because there are 2 size flash chips: 4MB or 8MB.
  581. </p>
  582. <ul>
  583. <li>General / Expert mode = <i>enable</i></li>
  584. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  585. <li>Mainboard / Mainboard vendor = <i>Lenovo</i></li>
  586. <li>Mainboard / Mainboard model = <i>ThinkPad T500</i></li>
  587. <li>Mainboard / ROM chip size = <i>4096 KB (4 MB)</i> or <i>8192 KB (8 MB)</i> depending on flash chip size</li>
  588. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  589. <li>Chipset / Size of CBFS filesystem in ROM = byte size <i>0x7FD000</i> (for 8MB flash chip) or <i>3FD000</i> (for 4MB flash chip)</li>
  590. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  591. <li>
  592. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  593. <ul>
  594. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  595. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  596. </ul>
  597. </li>
  598. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  599. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  600. <li>Generic Drivers / Type of dongle = <i>Net20DC or compatible</i></li>
  601. <li>Console / USB dongle console output = <i>enable</i></li>
  602. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  603. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  604. </ul>
  605. <p>
  606. Go back and disable option ROMs:
  607. </p>
  608. <ul>
  609. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  610. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  611. </ul>
  612. <p>
  613. The resulting .config file was saved as resources/libreboot/config/<b>grub/t500_8mb/config</b> and
  614. resources/libreboot/config/<b>grub/t500_4mb/config</b> and is used by the build
  615. scripts for this system.
  616. </p>
  617. </div>
  618. <div class="subsection">
  619. <h3 id="config_macbook21">
  620. MacBook2,1 configuration (file: resources/libreboot/config/grub/macbook21/config)
  621. </h3>
  622. <ul>
  623. <li>General / Expert mode = <i>enable</i></li>
  624. <li>General / Local version string = <i>&quot;&nbsp;&nbsp;&nbsp;&nbsp;MB21.88Z.00A5.B07.0706270922&quot;</i> (without the quotes)</li>
  625. <li>General / Use CMOS for configuration values = <i>enable</i></li>
  626. <li>Mainboard / Mainboard vendor = <i>Apple</i></li>
  627. <li>Mainboard / Mainboard model = <i>Macbook2,1 ICH7 TESTING</i></li>
  628. <li>Mainboard / ROM chip size = <i>2048 KB (2 MB)</i></li>
  629. <li>System tables / SMBIOS Serial Number = <i>W8724XXXXXX</i></li>
  630. <li>System tables / SMBIOS Version Number = <i>1.0</i></li>
  631. <li>System tables / SMBIOS Manufacturer = <i>Apple Inc.</i></li>
  632. <li>System tables / SMBIOS Product Name = <i>MacBook2,1</i></li>
  633. <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li>
  634. <li>Devices / Use native graphics initialization = <i>enable</i></li>
  635. <li>
  636. Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  637. <ul>
  638. <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time
  639. to enable coreboot framebuffer for a separate set of ROM images, in each system.</li>
  640. </ul>
  641. </li>
  642. <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li>
  643. <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li>
  644. <li>Generic Drivers / Type of dongle = <i></i></li>
  645. <li>Console / USB dongle console output = <i>enable</i></li>
  646. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  647. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  648. </ul>
  649. <p>
  650. Go back and disable option ROMs:
  651. </p>
  652. <ul>
  653. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  654. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  655. </ul>
  656. <p>
  657. The resulting .config file was saved as resources/libreboot/config/<b>grub/macbook21/config</b> and is used by the build
  658. scripts for this system. <b>This config is also used for the MacBook1,1</b>.
  659. </p>
  660. </div>
  661. <div class="subsection">
  662. <h3 id="config_qemu_i440fx_piix4">
  663. QEMU (x86 i440fx/piix4) configuration (file: resources/libreboot/config/grub/qemu_i440fx_piix4/config)
  664. </h3>
  665. <ul>
  666. <li>General / Expert mode = <i>enable</i></li>
  667. <li>Mainboard / Mainboard vendor = <i>Emulation</i></li>
  668. <li>Mainboard / Mainboard model = <i>QEMU x86 i440fx/piix4 (aka qemu -M pc)</i></li>
  669. <li>Mainboard / ROM chip size = <i>8192 KB (8 MB)</i></li>
  670. <li>Devices / Use native graphics initialization = <i>enable</i> (should already be enabled)</li>
  671. <li>
  672. Display / Keep VESA framebuffer = <i>enable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  673. <ul>
  674. <li>Libreboot provides this with framebuffer enabled by default, but it automatically patches a copy of the config at build time
  675. to enable coreboot text-mode for a separate set of ROM images, in each system.</li>
  676. </ul>
  677. </li>
  678. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  679. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  680. </ul>
  681. <p>
  682. Go back and disable option ROMs:
  683. </p>
  684. <ul>
  685. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  686. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  687. </ul>
  688. <p>
  689. The resulting .config file was saved as resources/libreboot/config/<b>grub/qemu_i440fx_piix4/config</b> and is used by the build
  690. scripts for this system.
  691. </p>
  692. </div>
  693. <div class="subsection">
  694. <h3 id="config_qemu_q35_ich9">
  695. QEMU (x86 q35/ich9) configuration (file: resources/libreboot/config/grub/qemu_q35_ich9/config)
  696. </h3>
  697. <ul>
  698. <li>General / Expert mode = <i>enable</i></li>
  699. <li>Mainboard / Mainboard vendor = <i>Emulation</i></li>
  700. <li>Mainboard / Mainboard model = <i>QEMU x86 q35/ich9 (aka qemu -M q35)</i></li>
  701. <li>Mainboard / ROM chip size = <i>8192 KB (8 MB)</i></li>
  702. <li>Devices / Use native graphics initialization = <i>enable</i> (should already be enabled)</li>
  703. <li>
  704. Display / Keep VESA framebuffer = <i>enable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer)
  705. <ul>
  706. <li>Libreboot provides this with framebuffer enabled by default, but it automatically patches a copy of the config at build time
  707. to enable coreboot text-mode for a separate set of ROM images, in each system.</li>
  708. </ul>
  709. </li>
  710. <li>Payload / Add a payload = <i>An ELF executable payload</i></li>
  711. <li>Payload / Payload path and filename = <i>grub.elf</i></li>
  712. </ul>
  713. <p>
  714. Go back and disable option ROMs:
  715. </p>
  716. <ul>
  717. <li>Devices / Run VGA Option ROMs = <i>disable</i></li>
  718. <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li>
  719. </ul>
  720. <p>
  721. The resulting .config file was saved as resources/libreboot/config/<b>grub/qemu_q35_ich9/config</b> and is used by the build
  722. scripts for this system.
  723. </p>
  724. </div>
  725. <p><a href="#pagetop">Back to top of page.</a></p>
  726. </div>
  727. <div class="section">
  728. <h1 id="build">How to build the ROM images</h1>
  729. <p>You don't need to do much, as there are scripts already written for you that can build everything automatically.</p>
  730. <p>
  731. You can build libreboot from source on a 32-bit (i686) or 64-bit (x86_64) system. Recommended (if possible): x86_64.
  732. ASUS KFSN4-DRE has 64-bit CPUs.
  733. On a ThinkPad T60, you can replace the CPU (Core 2 Duo T5600, T7200 or T7600. T5600 recommended) for 64-bit support.
  734. On an X60s, you can replace the board with one that has a Core 2 Duo L7400 (you could also use an X60 Tablet board with the same CPU).
  735. On an X60, you can replace the board with one that has a Core 2 Duo T5600 or T7200 (T5600 is recommended). All MacBook2,1 laptops
  736. are 64-bit, as are all ThinkPad X200, X200S, X200 Tablet, R400, T400 and T500 laptops. Warning: MacBook1,1 laptops are all 32-bit only.
  737. </p>
  738. <p>
  739. First, <a href="#build_dependencies">install the build dependencies</a>.
  740. </p>
  741. <p>
  742. If you downloaded libreboot from git, refer to <a href="#build_meta">#build_meta</a>.
  743. </p>
  744. <p>
  745. Build all of the components used in libreboot:<br/>
  746. $ <b>./build module all</b>
  747. </p>
  748. <p>
  749. You can also build each modules separately, using <i>./build module modulename</i>.
  750. To see the possible values for <i>modulename</i>, use:<br/>
  751. $ <b>./build module list</b>
  752. </p>
  753. <p>
  754. NOTE: crossgcc is included in <i>coreboot/util/crossgcc/tarballs/</i> in the release archives,
  755. but the build system for libreboot does not automatically download/build it.
  756. If you are using libreboot from the git repository, make sure to do the following:<br/>
  757. $ <b>cd coreboot/</b><br/>
  758. $ <b>make crossgcc-i386</b><br/>
  759. $ <b>cd ../</b><br/>
  760. This will download coreboot's reference cross-compile toolchain,
  761. which is highly recommended by the coreboot project.
  762. </p>
  763. <p>
  764. After that, build the ROM images (for all boards):<br/>
  765. $ <b>./build roms withgrub</b><br/>
  766. Alternatively, you can build for a specific board or set of boards.
  767. For example:<br/>
  768. $ <b>./build roms withgrub x60</b><br/>
  769. $ <b>./build roms withgrub x200_8mb</b><br/>
  770. $ <b>./build roms withgrub x60 x200_8mb</b><br/>
  771. The list of board options can be found by looking at the directory
  772. names in <b>resources/libreboot/config/grub/</b>.
  773. </p>
  774. <p>
  775. To clean (reverse) everything, do the following:<br/>
  776. $ <b>./build clean all</b>
  777. </p>
  778. <p>
  779. The ROM images will be stored under <b>bin/<i>payload</i>/</b>,
  780. where <i>payload</i> could be <i>grub</i>, <i>seabios</i>, or
  781. whatever other payload those images were built for.
  782. </p>
  783. <div class="subsection">
  784. <h2>Preparing release archives (optional)</h2>
  785. <p>
  786. <b>This is only confirmed to work (tested) in Trisquel 7. Parabola *fails* at this stage
  787. (for now). For all other distros, YMMV.</b>
  788. </p>
  789. <p>
  790. This is mainly intended for use with the git repository.
  791. These commands will work in the release archive (_src), unless otherwise noted below.
  792. </p>
  793. <p>
  794. The archives will appear under <i>release/${version}/</i>;
  795. ${version} will either be set using <i>git describe</i> or,
  796. if a <i>version</i> file already exists (_src release archive),
  797. then it will simply re-use that.
  798. </p>
  799. <p>
  800. Tag the current commit, and that version will appear in both the ${version}
  801. string on the directory under <i>release/</i>, and in the file names of the
  802. archives. Otherwise, whatever git uses for <i>git describe --tags HEAD</i>
  803. will be used.
  804. </p>
  805. <p>
  806. Utilities (static executables):<br/>
  807. $ <b>./build release util</b>
  808. </p>
  809. <p>
  810. Archive containing flashrom and bucts source code:<br/>
  811. $ <b>./build release tobuild</b>
  812. </p>
  813. <p>
  814. Documentation archive (<b>does not work on _src release archive, only git</b>):<br/>
  815. $ <b>./build release docs</b>
  816. </p>
  817. <p>
  818. ROM image archives:<br/>
  819. $ <b>./build release roms</b>
  820. </p>
  821. <p>
  822. Source code archive:<br/>
  823. $ <b>./build release src</b>
  824. </p>
  825. <p>
  826. SHA512 sums of all other release archives that have been generated:<br/>
  827. $ <b>./build release sha512sums</b>
  828. </p>
  829. <p>
  830. If you are building on an i686 host, this will build statically linked 32-bit binaries in
  831. the binary release archive that you created,
  832. for: <b>nvramtool, cbfstool, ich9deblob, cbmem</b>.
  833. </p>
  834. <p>
  835. If you are building on an x86_64 host, this will build statically linked 32- *and* 64-bit binaries for
  836. <b>cbmem</b>, <b>ich9deblob</b>, <b>cbfstool</b> and <b>nvramtool</b>.
  837. </p>
  838. <p>
  839. <b>To include statically linked i686 and x86_64 binaries for bucts and flashrom,
  840. you will need to build them on a chroot, a virtual system or a real
  841. system where the host uses each given architecture. These packages are difficult
  842. to cross-compile, and the libreboot project is still figuring out how to deal
  843. with them.</b>
  844. </p>
  845. <p>
  846. The same applies if you want to include statically linked flashrom binaries for ARM.
  847. </p>
  848. <p>
  849. armv7l binaries (tested on a BeagleBone Black) are also included in libreboot_util, for:
  850. </p>
  851. <ul>
  852. <li>cbfstool</li>
  853. <li>ich9gen</li>
  854. <li>ich9deblob</li>
  855. <li>flashrom</li>
  856. </ul>
  857. <p>
  858. If you are building binaries on a live system or chroot (for flashrom/bucts), you can use the following to statically link them:<br/>
  859. $ <b>./build module flashrom static</b><br/>
  860. $ <b>./build module bucts static</b>
  861. </p>
  862. <p>
  863. The same conditions as above apply for ARM (except, building bucts on ARM is pointless, and for flashrom
  864. you only need the normal executable since the lenovobios_sst and _macronix executables are meant
  865. to run on an X60/T60 while lenovo bios is present, working around the security restrictions).
  866. </p>
  867. <p>
  868. The command that you used for generating the release archives will also run the following command:<br/>
  869. $ <b>./build release tobuild</b><br/>
  870. The archive <b>tobuild.tar.xz</b> will have been created under <b>release/</b>, containing bucts, flashrom and all other required
  871. resources for building them.
  872. </p>
  873. <p>
  874. You'll find that the files libreboot_util.tar.xz and libreboot_src.tar.xz have been created, under <b>release/</b>.
  875. </p>
  876. <p>
  877. The ROM images will be stored in separate archives for each system, under <b>release/rom/</b>.
  878. </p>
  879. </div>
  880. <p><a href="#pagetop">Back to top of page</a></p>
  881. </div>
  882. <div class="section">
  883. <p>
  884. Copyright &copy; 2014, 2015 Francis Rowe &lt;info@gluglug.org.uk&gt;<br/>
  885. Permission is granted to copy, distribute and/or modify this document
  886. under the terms of the GNU Free Documentation License, Version 1.3
  887. or any later version published by the Free Software Foundation;
  888. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  889. A copy of the license can be found at <a href="../gfdl-1.3.txt">../gfdl-1.3.txt</a>
  890. </p>
  891. <p>
  892. Updated versions of the license (when available) can be found at
  893. <a href="https://www.gnu.org/licenses/licenses.html">https://www.gnu.org/licenses/licenses.html</a>
  894. </p>
  895. <p>
  896. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
  897. EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
  898. AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
  899. ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
  900. IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
  901. WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
  902. PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
  903. ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
  904. KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
  905. ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
  906. </p>
  907. <p>
  908. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
  909. TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
  910. NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
  911. INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
  912. COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
  913. USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
  914. ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
  915. DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
  916. IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
  917. </p>
  918. <p>
  919. The disclaimer of warranties and limitation of liability provided
  920. above shall be interpreted in a manner that, to the extent
  921. possible, most closely approximates an absolute disclaimer and
  922. waiver of all liability.
  923. </p>
  924. </div>
  925. </body>
  926. </html>