tasks.html 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  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>Libreboot task list</title>
  10. </head>
  11. <body>
  12. <div class="section" id="pagetop">
  13. <h1>Libreboot task list</h1>
  14. <p>
  15. Back to <a href="index.html">index.html</a>.
  16. </p>
  17. </div>
  18. <div class="section">
  19. <h1 id="tasks">
  20. Important tasks for the libreboot project
  21. </h1>
  22. <p>
  23. This page is part of the git repository, so feel free to submit patches
  24. adding to or removing from this list. (adapting the HTML should be simple enough)
  25. </p>
  26. </div>
  27. <div class="section">
  28. <h1 id="specialnews">Special news that affects libreboot</h1>
  29. <ul>
  30. <li>
  31. Coreboot (upstream) is adopting a new release model. See
  32. <a href="http://www.coreboot.org/pipermail/coreboot/2015-July/080120.html">http://www.coreboot.org/pipermail/coreboot/2015-July/080120.html</a>
  33. - TODO: think about how this affects libreboot, and see what can be done to make effective use of this policy change.
  34. </li>
  35. </ul>
  36. <h1 id="board_ports">Board ports</h1>
  37. <ul>
  38. <li>
  39. Someone linked to
  40. <a href="https://www.phoronix.com/scan.php?page=news_item&px=XGI-Coreboot-FB-Port">this news post</a>
  41. about a PCI-E graphics card for which a free VBIOS replacement exists. This card uses the same
  42. chipset as the onboard GPU in the ASUS KFSN4-DRE mainboard, which is already supported in libreboot.
  43. This graphics card will allow certain desktop motherboards to be viable in libreboot.
  44. </li>
  45. <li>
  46. <a href="https://lkml.org/lkml/2014/9/4/172">patch for linux (kernel) to add coreboot framebuffer support</a>
  47. </li>
  48. <li>
  49. Libreboot has so far been biased towards Intel. This needs to end (the sooner, the better). A nice start:
  50. <ul>
  51. <li>
  52. <b>ASUS KGPE-D16</b>: this is a very modern board. It has support for both Fam10h and Fam15h AMD CPUs. The board is still
  53. new, and still in production. See
  54. these coreboot mailing list posts:<br/>
  55. <a href="http://www.coreboot.org/pipermail/coreboot/2015-April/079773.html">post 1</a> and
  56. <a href="http://www.coreboot.org/pipermail/coreboot/2015-April/079773.html">post 2</a><br/><br/>
  57. The board is fully functional (blobs not required), and will be an instant addition to libreboot.
  58. See <a href="https://raptorengineeringinc.com/coreboot/kgpe-d16-status.php">https://raptorengineeringinc.com/coreboot/kgpe-d16-status.php</a><br/><br/>
  59. <a href="http://raptorengineeringinc.com/content/base/main.htm">Raptor Engineering Inc</a> (USA) has ported
  60. this board to coreboot, and is using the port internally on their computing cluster, for
  61. the research that they do. This is the same company that ported
  62. the <a href="hcl/kfsn4-dre.html">ASUS KFSN4-DRE</a> which is supported in libreboot.
  63. The owner (and the
  64. person who ported the board to coreboot), Timothy Pearson (tpearson on freenode IRC) has reached out to the community,
  65. in request for funding. This funding will pay for the many months of work (at least 4-5 months, for over 10000
  66. lines of code any many patches that will need to be split up) to get the code
  67. upstreamed into coreboot. This is not as simple as just releasing the code; coreboot has a very strict code
  68. review process (in place to ensure quality control). The patches will have to be split up, with people's
  69. concerns and comments addressed over a long period, with patches constantly rebased to keep up with the
  70. latest coreboot master branch. In order to get this done in a decent enough time frame, Raptor Engineering will need
  71. to work on a more-or-less full-time basis. The funding amounts that he has asked for, are as follows:
  72. <ul>
  73. <li>35K USD - This pays for basic support (Fam10h), plus upstreaming. Minifree Ltd (Francis Rowe's company, sometimes known as Gluglug) will pay for this.</li>
  74. <li>
  75. The following will be crowd-funded:<br/>
  76. 15K USD - pays for S3 (suspend/resume), stable text-mode graphics initialization and Fam15h CPU support
  77. <ul>
  78. <li>20K USD stretch goal - upstreaming (crowd funded)</li>
  79. </ul>
  80. Excess funding from the crowd funding campaign (when started) will be used to subsidize Minifree's costs, and will support the libreboot project.
  81. </li>
  82. </ul>
  83. Although Raptor would be working for many months to get this upstreamed (merged in coreboot's master branch
  84. in the git repository), libreboot would merge it more or less instantly, probably in the same week that the
  85. code is released for review. Raptor would also of course be rebasing the patches on a regular basis, as part
  86. of the review process, so even if it takes longer for the patches to be merged in coreboot, libreboot would have
  87. support for this board.<br/><br/>
  88. This is a <b>very</b> high-end board, making for a powerful server or workstation (desktop) system
  89. that should easily be more than powerful enough for almost everyone. Timothy has replaced the AGESA
  90. source in coreboot with native initialization code for AMD. The work that he has done can easily be
  91. extended to support more hardware, so getting this code out and upstreamed is very important.<br/><br/>
  92. Francis Rowe (lead developer of libreboot) is working with Timothy to get a crowd funding campaign started,
  93. and trying to get as many people as possible interested in pledging towards the campaign.<br/><br/>
  94. If you are interested in donating towards the campaign (once it begins), register your interest by contacting
  95. Francis Rowe, using the information on the <a href="../contrib/">maintainers page</a>.
  96. <ul>
  97. <li>
  98. TYAN S8230 is very similar, and could probably be ported based on the KGPE-D16. Same GPU too.
  99. <a href="http://tyan.com/product_SKU_spec.aspx?ProductType=MB&pid=665&SKU=600000194">http://tyan.com/product_SKU_spec.aspx?ProductType=MB&amp;pid=665&amp;SKU=600000194</a>
  100. <ul>
  101. <li>
  102. W83627 (SuperIO) might have a public datasheet.
  103. Board-specific wiring (PCI interrupts, DIMM voltage selection). etc.
  104. Board seems to use socketed SOIC-8 SPI flash according to tpearson, based on photos available online - looks like a ZIF socket or something else, a clip retaining the chip.
  105. </li>
  106. <li>
  107. tpearson says: Tyan seems to have done the same thing as Asus did and built a whole lot of custom power control circuitry out of FETs.
  108. According to him, this will take much effort to reverse engineer.
  109. </li>
  110. <li>
  111. IPMI firmware is non-free but optional (for iKVM feature, remote management like Intel ME). Not sure if add-on module or baked in.
  112. In either case, it might be removed or otherwise excluded because it's a HUGE backdoor. Unlike Intel ME, this isn't signed so can be
  113. removed, and also replaced theoretically. Is the protocol standard public? If so, might be easy/feasible to replace with free code.
  114. <a href="https://github.com/facebook/openbmc">https://github.com/facebook/openbmc</a> - also linked from
  115. <a href="https://raptorengineeringinc.com/coreboot/kgpe-d16-status.php">https://raptorengineeringinc.com/coreboot/kgpe-d16-status.php</a>
  116. - might be possible adapt this.
  117. - You
  118. might need to use the vendor tools running from under the proprietary BIOS to wipe the Flash chip holding the IPMI firmware,
  119. if it's baked in. (on KGPE-D16, it's an <a href="http://www.servethehome.com/wp-content/uploads/2013/03/ASUS-ASMB6-iKVM-Module.png">add-on card</a> so just don't add the add-on card - also SOIC-16 according to tpearson. but not sure what form factor used on S8230 - it better not be bl***y WSON).
  120. </li>
  121. <li>
  122. SAS controller requires firmware, but optional. (same thing on KGPE-D16). Board also has SATA, so it's fine.
  123. NOTE: SAS firmware is already flashed onto the SAS controller, to a dedicated chip. Not uploaded/handled by coreboot or linux kernel.
  124. </li>
  125. <li>
  126. tpearson says: power control circuits are a potential issue, not a definite one. it all depends on how Tyan decided to wire things up
  127. if they engineered things properly, it should actually be transparent.
  128. ASUS did not, and required work to get it going (see the notes document)
  129. </li>
  130. </ul>
  131. </li>
  132. </ul>
  133. </li>
  134. <li>
  135. Lenovo G505S (works without CPU microcode updates).
  136. Videos BIOS is not yet fully replaced (openatom doesn't have a working framebuffer, yet, but
  137. it can draw a bitmap in user space, using a special utility) -
  138. <a href="https://github.com/alterapraxisptyltd/openatom">openatom in github</a>.
  139. SMU needs replacing (ruik/funfuctor/patrickg/mrnuke might be able to help).
  140. </li>
  141. <li>
  142. F2A85-M and E350M1 (libreboot_*_headless.rom). Test openatom (video BIOS replacement). SMU firmware is a problem. XHCI firmware is a problem.
  143. </li>
  144. <li>
  145. <ul>
  146. <li>Look into the <i>rockchip</i> (rk3288. note: mali gpu. one or two blobs might need replacing.
  147. see <a href="http://blogs.coreboot.org/blog/2015/05/26/report-on-chrome-os-upstreaming/">this page</a>
  148. for example) and <i>IBM 'POWER8' platforms</i> - NOTE: ARM systems use the <i>depthcharge</i> payload
  149. which afaik is free-sw. For GRUB, see <a href="https://wiki.linaro.org/LEG/Engineering/Grub2">https://wiki.linaro.org/LEG/Engineering/Grub2</a></li>
  150. <li>
  151. asus chromebook c201. paulk is working on it. See libreboot mailing list post
  152. <a href="https://lists.nongnu.org/archive/html/libreboot/2015-08/msg00009.html">https://lists.nongnu.org/archive/html/libreboot/2015-08/msg00009.html</a> for
  153. details<br/>
  154. <a href="http://review.coreboot.org/#/c/11112/">http://review.coreboot.org/#/c/11112/</a>(merged)<br/>
  155. <a href="http://review.coreboot.org/#/c/11113/">http://review.coreboot.org/#/c/11113/</a><br/>
  156. <a href="http://review.coreboot.org/#/c/11114/">http://review.coreboot.org/#/c/11114/</a><br/>
  157. <a href="http://review.coreboot.org/#/c/11116/">http://review.coreboot.org/#/c/11116/</a><br/>
  158. <a href="http://review.coreboot.org/#/c/11115/">http://review.coreboot.org/#/c/11115/</a>(merged)<br/>
  159. <a href="http://review.coreboot.org/#/c/11117/">http://review.coreboot.org/#/c/11117/</a><br/>
  160. <a href="http://review.coreboot.org/#/c/11119/">http://review.coreboot.org/#/c/11119/</a><br/>
  161. <a href="http://review.coreboot.org/#/c/11118/">http://review.coreboot.org/#/c/11118/</a>(merged)<br/>
  162. <a href="http://git.code.paulk.fr/gitweb/?p=depthcharge.git;a=shortlog;h=refs/heads/next">http://git.code.paulk.fr/gitweb/?p=depthcharge.git;a=shortlog;h=refs/heads/next</a><br/>
  163. <a href="http://git.code.paulk.fr/gitweb/?p=depthcharge.git;a=commit;h=5ca76d1cb8fda74c93a6c65dab8a776d72e1f61a">http://git.code.paulk.fr/gitweb/?p=depthcharge.git;a=commit;h=5ca76d1cb8fda74c93a6c65dab8a776d72e1f61a</a><br/>
  164. <a href="http://git.code.paulk.fr/gitweb/?p=depthcharge.git;a=commit;h=01c61f3c0ca96d49c2d33e0bf93e1d4779664011">http://git.code.paulk.fr/gitweb/?p=depthcharge.git;a=commit;h=01c61f3c0ca96d49c2d33e0bf93e1d4779664011</a><br/>
  165. <a href="http://git.paulk.fr/gitweb/?p=embedded-freedom-scripts.git;a=summary">http://git.paulk.fr/gitweb/?p=embedded-freedom-scripts.git;a=summary</a>
  166. <a href="http://www.chromium.org/chromium-os/chromiumos-design-docs/firmware-boot-and-recovery">http://www.chromium.org/chromium-os/chromiumos-design-docs/firmware-boot-and-recovery</a><br/>
  167. <a href="http://www.chromium.org/chromium-os/chromiumos-design-docs/verified-boot">http://www.chromium.org/chromium-os/chromiumos-design-docs/verified-boot</a><br/>
  168. <a href="http://www.chromium.org/chromium-os/chromiumos-design-docs/verified-boot-crypto">http://www.chromium.org/chromium-os/chromiumos-design-docs/verified-boot-crypto</a>
  169. </li>
  170. <li>There may be others</li>
  171. </ul>
  172. </li>
  173. <li><b>This list needs to expand!</b></li>
  174. </ul>
  175. </li>
  176. <li>
  177. That doesn't mean Intel is off the table just yet:
  178. <ul>
  179. <li>
  180. Intel D510MO motherboard (desktop), pineview chipset. damo22 got raminit working, and is working on finishing the port for coreboot.
  181. southbridge NM10 (basically rebranded ich7).
  182. not sure about video init (does it have native graphics initialization?). TODO: review it for libreboot once damo22 pushes
  183. the code to coreboot for review. damo22 says it should work with several CPUs (Atom D510 D525 N5x etc - but he's unsure).
  184. TODO: find other boards similar that could be ported. damo22's one has an Intel Atom D510 CPU.
  185. </li>
  186. <li>
  187. ThinkPad W500: they all use switchable graphics (ATI+Intel). Unknown if PM45 is compatible with GM45.
  188. </li>
  189. <li>
  190. ThinkPad X61: ICH8, i965
  191. lubko in #coreboot. <a href="https://github.com/lkundrak/coreboot/tree/x61">https://github.com/lkundrak/coreboot/tree/x61</a>
  192. - raminit still isn't done, there might be other parts that need to be finished (probably EC).
  193. This system comes with a ME, but it's optional like in GM45, and can be removed.
  194. <ul>
  195. <li>T61: <a href="http://review.coreboot.org/#/c/8482/">http://review.coreboot.org/#/c/8482/</a></li>
  196. </ul>
  197. </li>
  198. <li>
  199. ThinkPad R60, Z61 - probably very similar to X60/T60, with few modifications required
  200. (probably only the changes based on logs acquired by following
  201. <a href="http://www.coreboot.org/Motherboard_Porting_Guide">http://www.coreboot.org/Motherboard_Porting_Guide</a>)
  202. </li>
  203. <li>
  204. Non-lenovo GM45 laptops:
  205. <ul>
  206. Dell Latitude E6400 - quite a few of these online. This is a good laptop to target in coreboot and libreboot.
  207. NOTE: EC support. ALSO: DDR2 memory (coreboot raminit for GM45 currently only supports DDR3)</li>
  208. </ul>
  209. </li>
  210. <li>
  211. <b>Desktop</b> system: Dell Optiplex 755. There are <b>lots</b> of these available online.
  212. ICH9. DDR2 RAM (needs work in coreboot). No EC (it's a desktop). It will require
  213. quite a bit of work in coreboot, but this is a very good candidate.
  214. The ME can probably be removed and disabled, using ich9gen without any modifications
  215. (or with few modifications). Where are the datasheets? Schematics?
  216. </li>
  217. </ul>
  218. </li>
  219. </ul>
  220. <p><a href="#pagetop">Back to top of page.</a></p>
  221. </div>
  222. <div class="section">
  223. <h1>Platform-specific bugs</h1>
  224. <ul>
  225. <li>
  226. Several serious bugs exist on the ThinkPad R500, which makes
  227. the system virtually unusable. See <a href="hcl/r500/index.html#issues">hcl/r500/index.html#issues</a>.
  228. </li>
  229. <li>
  230. GM45: investigate S3/raminit on all models (CPU stepping/cpuid).
  231. See <a href="hcl/x200.html#ram_s3_microcode">hcl/x200.html#ram_s3_microcode</a>
  232. </li>
  233. <li>
  234. all thinkpads: When the system is running, plugging in an ethernet cable
  235. doesn't always work (no network), you have to try several times. Booting with
  236. an ethernet cable attached is reliable. Debug this and fix it.
  237. </li>
  238. <li>
  239. KFSN4-DRE: investigate the 30 second bootblock delay.
  240. <a href="hcl/kfsn4-dre.html#issues">More info</a>
  241. </li>
  242. <li>
  243. KFSN4-DRE: jittery text-mode graphics.
  244. <a href="hcl/kfsn4-dre.html#issues">More info</a>
  245. </li>
  246. <li>
  247. Fix these issues on GM45/GS45 targets:
  248. <ul>
  249. <li>
  250. X200: text-mode is broken. only framebuffer graphics work. Git-bisect is needed.
  251. </li>
  252. <li>
  253. X60: on the latest coreboot-libre update lately (during June 2015), keyboard works intermittently.
  254. Bisect and fix.
  255. </li>
  256. <li>
  257. X200/X60: battery drained even while system is "off" on some systems. investigate.
  258. Could just be the Ethernet controller waiting for a Wake-on-LAN frame.
  259. 'ethtool -s net0 wol d' disables wake on lan until the next boot. There are a lot of ways to make it permanent: netctl. systemd, udev, cron
  260. - wake on lan was tested, and isn't the issue. It is probably how coreboot handles power off state
  261. (see the code that handles power_on_after_fail)
  262. </li>
  263. <li>
  264. Sound (internal speaker) broken on T500 (works in lenovobios). external speaker/headphones work.
  265. - probably a different hda_verb
  266. - <b>different HDA verbs are now used, test this again</b>
  267. - worked while system was disassambled, but booted (loose), stopped working when re-assembling. Not sure what's going on here.
  268. </li>
  269. <li>
  270. Fix remaining incompatible LCD panels in native graphics on T500 and T400.
  271. See <a href="hcl/gm45_lcd.html">hcl/gm45_lcd.html</a>.
  272. - EDID related, or difference in how VGA ROM does init. Investigate.
  273. </li>
  274. <li>
  275. T400/T500/R400 (tested on T400): UART (serial port) doesn't work. Investigate.
  276. (already tried enabling early h8 dock option. some RE with superiotool is needed).
  277. - kmalkki has an R400. He says he can be contracted for it. (try to DIY first)
  278. </li>
  279. </ul>
  280. </li>
  281. <li>
  282. <b>Finish all work listed in <a href="future/index.html">future/index.html</a></b>
  283. </li>
  284. <li>
  285. Fix these issues on i945 targets (X60/T60/macbook21)
  286. <ul>
  287. <li>
  288. i945: fix VRAM size (currently 8MB. should be 64MB).
  289. See <a href="future/index.html#i945_vram_size">future/index.html#i945_vram_size</a>.
  290. </li>
  291. <li>
  292. Fix remaining incompatible LCD panels in native graphics on T60.
  293. See <a href="future/index.html#lcd_i945_incompatibility">future/index.html#lcd_i945_incompatibility</a>.
  294. - EDID related, or difference in how VGA ROM does init. Investigate.
  295. </li>
  296. <li>
  297. i945: the intel video driver used to initialize the display without native graphics initialization
  298. and without the extracted video BIOS. It no longer does, so investigate why it does not, and fix
  299. the regression (fix has to be done in the kernel, Linux).
  300. See <a href="http://www.coreboot.org/pipermail/coreboot/2014-June/078104.html">http://www.coreboot.org/pipermail/coreboot/2014-June/078104.html</a> and
  301. <a href="http://www.coreboot.org/pipermail/coreboot/2014-June/078105.html">http://www.coreboot.org/pipermail/coreboot/2014-June/078105.html</a>
  302. </li>
  303. <li>
  304. Add fake_vbt tables on i945 systems (also GM45).
  305. </li>
  306. <li>
  307. Commit 26ca08caf81ad2dcc9c8246a743d82ffb464c767 in coreboot, see the while (1) loop that
  308. waits for the panel to power up on i945. This is an infinite loop if the panel doesn't power up.
  309. Fix it. Also, are there panels that don't power up? Test this, and fix it.
  310. </li>
  311. </ul>
  312. </li>
  313. <li>
  314. Look into the notes an <a href="http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises">http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises</a>
  315. </li>
  316. </ul>
  317. <p><a href="#pagetop">Back to top of page.</a></p>
  318. </div>
  319. <div class="section">
  320. <h1>
  321. Flashing from lenovobios to libreboot (and vice versa)
  322. </h1>
  323. <ul>
  324. <li>
  325. mtjm says: francis7: please add this issue to your current tasks list (inspired by what GNUtoo-irssi wrote): have the script for flashing from Lenovo BIOS verify that the image is swapped (i.e. last 64 KiB is just 0xff bytes, second to last 64 KiB isn't) and fail before writing to flash if it isn't
  326. </li>
  327. <li>
  328. Implement everything outlined in
  329. <a href="hcl/gm45_remove_me.html#demefactory">hcl/gm45_remove_me.html#demefactory</a>
  330. and test it.
  331. </li>
  332. </ul>
  333. <p><a href="#pagetop">Back to top of page.</a></p>
  334. </div>
  335. <div class="section">
  336. <h1>Payloads</h1>
  337. <ul>
  338. <li>
  339. Add ProteanOS payload to systems with big enough flash chips. (eg X200/R400).
  340. This page (outdated, but still useful according to the maintainer) has some info:
  341. <a href="http://www.proteanos.com/doc/plat/porting/">http://www.proteanos.com/doc/plat/porting/</a>.
  342. pehjota says that once the port is done, prokit can be modified to generate the entire
  343. distribution as a vmlinuz and initrd.img file.
  344. </li>
  345. </ul>
  346. <p><a href="#pagetop">Back to top of page.</a></p>
  347. </div>
  348. <div class="section">
  349. <h1>Build system</h1>
  350. <ul>
  351. <li>Patch the coreboot build system, so that version information is still reliably generated
  352. (e.g. in the logs), which is currently lacking because libreboot deletes the .git directory
  353. (because the git history contains the deleted blobs, so libreboot has to delete it). It could
  354. just be a small patch that hardcodes the coreboot version information, for that coreboot version,
  355. each time libreboot rebases on a new version of coreboot.<br/><br/>
  356. patrickg says: francis7: we have you covered: have your libreboot script add a file ".coreboot-version" to the top-level directory, containing the appropriate version number information. that will be used if git describe doesn't work (eg. because .git is missing)
  357. </li>
  358. <li>Make memtest86+ build using coreboot's own crossgcc toolchain. Currently,
  359. memtest86+ doesn't even work at all when cross-compiled using the toolchain in x86-64 trisquel7</li>
  360. <li>
  361. Make libreboot (all of it!) build reproducibly. This is very important.
  362. <ul>
  363. <li>Talk to h01ger in coreboot about the coreboot part (he did reproducible.debian.net/coreboot/coreboot.html</li>
  364. <li>
  365. h01ger says ------ fchmmr: please keep the reproducible-builds@lists.alioth.debian.org mailing list posted - i'm aware of http://projects.mtjm.eu/work_packages/16 :-)
  366. </li>
  367. <li><a href="https://reproducible.debian.net/coreboot/coreboot.html">https://reproducible.debian.net/coreboot/coreboot.html</a></li>
  368. <li>
  369. check coreboot mailing list, eg:
  370. <a href="http://www.coreboot.org/pipermail/coreboot/2015-June/079994.html">http://www.coreboot.org/pipermail/coreboot/2015-June/079994.html</a>
  371. </li>
  372. <li>
  373. Check GRUB in Debian (or GRUB upstream) for how to make that reproducible
  374. if Debian has done this already (they are working on reproducible builds)
  375. - <b>h01ger says reproducible.debian.net/grub2</b>
  376. </li>
  377. <li>
  378. <a href="https://wiki.debian.org/ReproducibleBuilds">https://wiki.debian.org/ReproducibleBuilds</a>
  379. </li>
  380. <li>
  381. Join #debian-reproducible on OFTC IRC.
  382. </li>
  383. <li>
  384. merged in master (coreboot) - pay attention to these, especially
  385. the fact that the reproducibility relies on git (libreboot uses coreboot without git,
  386. and the reason makes this unavoidable):
  387. <a href="http://review.coreboot.org/#/c/8616/">http://review.coreboot.org/#/c/8616/</a>
  388. <a href="http://review.coreboot.org/#/c/8617/">http://review.coreboot.org/#/c/8617/</a>
  389. <a href="http://review.coreboot.org/#/c/8618/">http://review.coreboot.org/#/c/8618/</a>
  390. <a href="http://review.coreboot.org/#/c/8619/">http://review.coreboot.org/#/c/8619/</a>
  391. </li>
  392. <li>
  393. not yet merged in master (coreboot:
  394. <a href="http://review.coreboot.org/#/c/10515/">http://review.coreboot.org/#/c/10515/</a> --
  395. not really relevant yet, but will be in the future. (libreboot currently ignores SeaBIOS)
  396. </li>
  397. </ul>
  398. </li>
  399. </ul>
  400. <p><a href="#pagetop">Back to top of page.</a></p>
  401. </div>
  402. <div class="section">
  403. <h1>Improvements to the utilities</h1>
  404. <ul>
  405. <li>
  406. Make ich9gen/ich9deblob portable. They both rely extensively on bitfields, and they assume
  407. little-endian; for instance, mapping a little endian file directly to a struct, instead
  408. of serializing/deserializing. Re-factor both utilities and make them fully portable.
  409. </li>
  410. <li>
  411. Make ich9gen/ich9deblob/demefactory show GPL license info via <i>--version</i> argument.
  412. </li>
  413. <li>
  414. Adapt linux-libre deblob scripts for use with coreboot. Libreboot is already deblobbed
  415. using its own script, but updating it is still a bit too manual. linux-libre's deblob
  416. scripts do an excellent job and (adapted) will make it much easier to maintain coreboot-libre.
  417. </li>
  418. </ul>
  419. <p><a href="#pagetop">Back to top of page.</a></p>
  420. </div>
  421. <div class="section">
  422. <h1>
  423. BeagleBone Black
  424. </h1>
  425. <ul>
  426. <li>Get libre distros ported to it. Eg proteanos, trisquel, parabola, librecmc and so on.</li>
  427. <li>See <a href="https://coreboot.org/BBB_screwdriver">BBB screwdriver</a> - from the coreboot
  428. project, this is an openwrt-based image for the BBB that comes with EHCI enabled out of the box.
  429. Look into re-basing that on librecmc (librecmc is a deblobbed version of openwrt).</li>
  430. </ul>
  431. <p><a href="#pagetop">Back to top of page.</a></p>
  432. </div>
  433. <div class="section">
  434. <h1>Documentation improvements</h1>
  435. <ul>
  436. <li>
  437. Next release after 20150518, relating to the ASUS KFSN4-DRE:
  438. <ul>
  439. <li>Remove the notes in docs/release.html that say <i>NOTE: not in libreboot 20150518. Only in git, for now.</i></li>
  440. <li>Remove the note in docs/hcl/kfsn4-dre.html that says <i> NOTE: This board is unsupported in libreboot 20150518. To use it in libreboot, for now, you must build for it from source using the libreboot git repository. </i></li>
  441. <li>Remove the note in docs/hcl/r500.html that says <i> NOTE: This board is unsupported in libreboot 20150518. To use it in libreboot, for now, you must build for it from source using the libreboot git repository. </i></li>
  442. </ul>
  443. </li>
  444. <li>
  445. Next release after 20150518: note, mention that ACPI brightness methods for X60/T60 work again.
  446. </li>
  447. <li>
  448. Get /proc/ioports for all hw logs. (this was added to Motherboard Porting Guide recently)
  449. - other instructions were also added there. basically, get whatever extra logs are
  450. desirable, for all systems.
  451. </li>
  452. <li>
  453. Add info about FTDI FT232H usbdebug (BBB could be used for this):
  454. <a href="http://review.coreboot.org/#/c/10063">http://review.coreboot.org/#/c/10063</a>
  455. </li>
  456. <li>
  457. Add information from hw registers on all boards.
  458. Get them for the following remaining boards: X60, T60, macbook21, R400
  459. </li>
  460. <li>
  461. Add guides for GM45 laptops in docs/security/
  462. </li>
  463. <li>
  464. Add guides for GM45 laptops in docs/hardware/
  465. </li>
  466. <li>
  467. Convert documentation to use Latex (or whatever the GNU project requires) as source.
  468. </li>
  469. <li>
  470. LPC (eg PLCC socket) flashing guide is needed:
  471. <a href="http://blogs.coreboot.org/files/2013/07/vultureprog_shuttle_sbs.jpg">image</a>,
  472. <a href="http://blogs.coreboot.org/files/2013/08/vultureprog_probing.jpg">image</a>,
  473. <a href="http://blogs.coreboot.org/files/2013/06/superboosted2.jpg">image</a> -
  474. work with mrnuke on getting info about vultureprog PLCC flashing into libreboot. Libreboot needs
  475. server boards. <a href="https://github.com/mrnuke/vultureprog">https://github.com/mrnuke/vultureprog</a>,
  476. <a href="https://github.com/mrnuke/qiprog">https://github.com/mrnuke/qiprog</a>,
  477. <a href="https://github.com/mrnuke/vultureprog-hardware">https://github.com/mrnuke/vultureprog-hardware</a>.
  478. He also uses the sigrok logic analyzer (free/libre):
  479. <a href="http://www.dx.com/p/logic-analyzer-w-dupont-lines-and-usb-cable-for-scm-black-148945">http://www.dx.com/p/logic-analyzer-w-dupont-lines-and-usb-cable-for-scm-black-148945</a>
  480. </li>
  481. </ul>
  482. <p><a href="#pagetop">Back to top of page.</a></p>
  483. </div>
  484. <div class="section">
  485. <h1>Project (institutional) improvements</h1>
  486. <ul>
  487. <li>
  488. Add proper guidelines for contributions,
  489. like <i>Development Guidelines</i> on the coreboot wiki. For instance, require
  490. <i>Sign-off-by</i> in all commits for libreboot. Consulting with the FSF about this
  491. (licensing@fsf.org).
  492. </li>
  493. <li>
  494. <b>Libreboot needs to be factory firmware, not the replacement. It needs to be *the* firmware.
  495. Consult with the openlunchbox project (and maybe others) on getting hardware manufactured
  496. with libreboot support (out of the box, from the factory).</b>
  497. - rhombus tech might be interesting to contact (also projects like novena, and so on).
  498. eg <a href="http://rhombus-tech.net/community_ideas/laptop_15in/news/">http://rhombus-tech.net/community_ideas/laptop_15in/news/</a>
  499. - also see <a href="http://elinux.org/Embedded_Open_Modular_Architecture/EOMA-68">http://elinux.org/Embedded_Open_Modular_Architecture/EOMA-68</a>
  500. </li>
  501. <li>
  502. Set up a routine (project-wise) for testing each system with the latest kernel version.
  503. </li>
  504. <li>
  505. Define properly how to maintain libreboot (things to look out for, things to do on a release). It's somewhat
  506. documented now, but it's not perfect. Delegate tasks (to people that are reliable).
  507. </li>
  508. </ul>
  509. <p><a href="#pagetop">Back to top of page.</a></p>
  510. </div>
  511. <div class="section">
  512. <h1>EC firmware</h1>
  513. <p>
  514. <a href="http://www.coreboot.org/Embedded_controller">http://www.coreboot.org/Embedded_controller</a>
  515. Replace this on all libreboot targets. Some laptops use an extra SPI flash chip for the EC, some
  516. have EC in the main chip, some don't use SPI flash at all but have the firmware inside the EC chip itself.
  517. If the EC has integrated flash then you need to be able to get to the pins on the chip or be able to program them over LPC or SPI (if they have that feature).
  518. The lenovo laptops currently supported in libreboot all use H8 EC chips (contains flash inside the chip).
  519. Read the datasheets on how to externally flash the EC. Chromebooks seem to have free EC
  520. (<a href="https://chromium.googlesource.com/chromiumos/platform/ec/+/master/chip/">https://chromium.googlesource.com/chromiumos/platform/ec/+/master/chip/</a>).
  521. - see
  522. <a href="http://blogs.coreboot.org/blog/2015/05/28/progress-gsoc-week-1/">http://blogs.coreboot.org/blog/2015/05/28/progress-gsoc-week-1/</a> (H8S EC, applies to thinkpads)
  523. </p>
  524. <p>
  525. <a href="https://github.com/lynxis/h8s-ec">https://github.com/lynxis/h8s-ec</a>
  526. <a href="https://events.ccc.de/congress/2010/Fahrplan/events/4174.en.html">https://events.ccc.de/congress/2010/Fahrplan/events/4174.en.html</a>
  527. </p>
  528. <p>
  529. <a href="https://archive.org/details/27c3-4174-en-the_hidden_nemesis">https://archive.org/details/27c3-4174-en-the_hidden_nemesis</a>
  530. </p>
  531. <p><a href="#pagetop">Back to top of page.</a></p>
  532. </div>
  533. <div class="section">
  534. <p>
  535. Copyright &copy; 2014, 2015 Francis Rowe &lt;info@gluglug.org.uk&gt;<br/>
  536. Permission is granted to copy, distribute and/or modify this document
  537. under the terms of the GNU Free Documentation License, Version 1.3
  538. or any later version published by the Free Software Foundation;
  539. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  540. A copy of the license can be found at <a href="gfdl-1.3.txt">gfdl-1.3.txt</a>
  541. </p>
  542. <p>
  543. Updated versions of the license (when available) can be found at
  544. <a href="https://www.gnu.org/licenses/licenses.html">https://www.gnu.org/licenses/licenses.html</a>
  545. </p>
  546. <p>
  547. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
  548. EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
  549. AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
  550. ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
  551. IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
  552. WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
  553. PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
  554. ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
  555. KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
  556. ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
  557. </p>
  558. <p>
  559. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
  560. TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
  561. NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
  562. INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
  563. COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
  564. USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
  565. ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
  566. DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
  567. IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
  568. </p>
  569. <p>
  570. The disclaimer of warranties and limitation of liability provided
  571. above shall be interpreted in a manner that, to the extent
  572. possible, most closely approximates an absolute disclaimer and
  573. waiver of all liability.
  574. </p>
  575. </div>
  576. </body>
  577. </html>