From 9f18cf0d30d7e63b955e5e3b32e51d70955bf2bf Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 05 Apr 2015 22:06:52 -0400 Subject: docs/release.html: Split tasks into docs/tasks.html --- (limited to 'docs/tasks.html') diff --git a/docs/tasks.html b/docs/tasks.html new file mode 100644 index 0000000..fd94a85 --- /dev/null +++ b/docs/tasks.html @@ -0,0 +1,453 @@ + + + + + + + + + Libreboot task list + + +
+

Libreboot task list

+

+ Back to index.html. +

+
+ +
+ +
+ +

+ Important tasks for the libreboot project +

+

Board ports

+
    +
  • + Port to as many GM45 laptops as possible +
      +
    • + HIGH^2 PRIORITY! Lenovo G505S (works without CPU microcode updates). Video BIOS is an issue (unfinished replacement: openatom), as + is the SMU firmware (ruik will know more). Other non-essential blobs may also still be present (but possible + to remove). http://projects.mtjm.eu/work_packages/44 + - It's AMD, so no ME either! +
        +
      • funfunctor (afaik) in the coreboot IRC channel is the person who ported this laptop, + he might be able to help
      • +
      • mrnuke in the coreboot IRC channel is the person responsible for openatom
      • +
      +
    • +
    • + HP Pavillion 1035DX (same chipset as G505S. See notes above) +
    • +
    • + add roda rk9 support (contact nico to ask for more details about hw). + This is GM45 but these machines do not have a descriptor (no ME), should be easy +
        +
      • This board lacks native graphics initialization (it should be easy to add in Kconfig files, + but it has to be tested beforehand)
      • +
      +
    • +
    • + ThinkPad R500: http://projects.mtjm.eu/work_packages/43 +
    • +
    • + ThinkPad W500: they all use switchable graphics (ATI+Intel), the native init code in coreboot (for Intel) + needs to disable the ATI chip and use Intel (this isn't done yet) +
    • +
    • + port acer aspire 5738 to coreboot (gm45)? (and then libreboot). EC is the main blocker (no support in coreboot yet). + ME isn't an issue, because its GM45 so it could be removed (it looks like this machine might also be shipped in + non-descriptor mode by default, like the roda rk9). + Search jv50 block diagram filetype:pdf for schematics. + (jv50 is written on the board); noone seems to have found any documentation for the EC chip, but + maybe it could be sufficiently reverse engineered via serialice and ectool. +
    • +
    • + Thinkpad E135 and Thinkpad E145 - port to coreboot. Apparently, the CPU used is based on the E350 (zacate) + CPU used is the ASrock E350M1 which is in coreboot, and already a libreboot candidate. + Blob situation is unknown, though it will probably rely on AGESA if ported and will probably need SMU firmware + or Video BIOS (which must be replaced). It is unknown what other blobs may exist when ported, and whether + or not this system will work reliably without the CPU microcode updates. +
        +
      • Difficulty: unknown
      • +
      +
    • +
    • + T400S and X301. These both seem to be GS45. X301 uses only the low-performance mode CPUs, so raminit + is the main blocker there. They both probably use WSON-8 flash chips. +
    • +
    • + Add proper GS45 raminit for enabling all X200S and X200 Tablets to work properly. (maybe other machines) + See hcl/x200.html#x200s_raminit +
    • +
    • + ThinkPad X201 - ME ignition is an issue. 30min reset watchdog for ME is an issue. Might be possible to disable watchdog in the flash descriptor + (soft straps) - sgsit in the libreboot or coreboot IRC channel is interested in this. +
    • +
    • + T410S is supported but not yet merged. This uses the same chipset as the X201. + http://review.coreboot.org/#/c/7975/ + has the patch. This should be tested by someone and should ideally be merged in coreboot. pecg has one. help him. +
    • +
    • + This page contains a list of basically every thinkpad that would ever be a candidate for libreboot: + http://psref.lenovo.com/WithdrawnBook - + take a look at this PDF. +
    • +
    • + F2A85-M and E350M1 (libreboot_*_headless.rom). Test openatom (video BIOS replacement). SMU firmware is a problem. XHCI firmware is a problem. +
    • +
    +
  • +
+ +

Platform-specific bugs

+
    +
  • + HIGH PRIORITY! Fix these issues on GM45/GS45 targets: +
      +
    • + X200: text-mode is broken. only framebuffer graphics work. + Commit bde6d309dfafe58732ec46314a2d4c08974b62d4 in coreboot is what + broke it. Investigate. +
    • +
    • + Sound (internal speaker) worked on the T500, but stopped after all subsequent boots. + (might just be this machine). investigate. (external speaker works) +
    • +
    • + HIGH PRIORITY! T400/T500/R400/R500: make switchable graphics work + (disable the ATI chip, enable the Intel GPU, make it work with the native graphics initialization + that already exists and works (on the systems that only have an Intel GPU)) +
    • +
    +
  • +
  • + X200: when undocking, the beep persists and never stops. Beep beep beep. Fix it (EC-related. fix should be done in coreboot and + added to libreboot afterwards) - might also affect T400/T500/R400/R500 +
  • +
  • + X200/T400/T500/R400/R500: when system is powered down, connecting the AC adapter + automatically turns it on. This should be configurable, but disabled by default. + power_on_after_fail is the nvramtool option for this (should be disabled by default) + but no option for it exists on the X200 (it does on the X201). Add this option to cmos.layout/cmos.default + for these systems, and then disable it by default to fix it. +
  • +
  • + Finish all work listed in future/index.html +
  • +
  • + Fix these issues on i945 targets (X60/T60/macbook21) +
      +
    • + HIGH PRIORITY! i945: Linux 3.19 doesn't boot. + UPDATE: Patch to fix it is on linux bug tracker (see below), we are waiting + for it to merge in linux upstream/mainline. For now, we are getting + this patch into the GNU/Linux distros typically used with libreboot. + (also affects T60/macbook21). + Preliminary bug report (kernel, linux) + pstuge said http://biosbits.org/ + patricg says https://wiki.ubuntu.com/HardwareEnablementTeam/Documentation/FirmwareTestSuiteLive +
        +
      • It's commit aaecdf61 (drm/i915: Stop gathering error states for CS error interrupts) + in linux that introduced the regression
      • +
      • + This patch linked on the bug report page above: + https://bugzilla.kernel.org/attachment.cgi?id=172941 + - fixes the problem, and makes the i945 laptops boot up again. +
          +
        • + Parabola has temporarily merged it in a kernel update + - when it's merged upstream, let Emulatorman know (#parabola on IRC freenode) +
        • +
        • + So has Guix + - when it's merged upstream, let mark_weaver know (#guix on IRC freenode) +
        • +
        • + So has freesh (for Trisquel) + - when it's merged upstream, let jxself and lxo know (#linux-libre on IRC freeode) +
        • +
        +
      • +
      • + Since 3.19, there are still some warning messages now, after applying the patch. + See Mono's comments on the bug report page + - https://bugzilla.kernel.org/show_bug.cgi?id=93171#c27 + +
      • +
      • + TODO: this fix in linux is a workaround, the real bug is in coreboot. (without the patch, + 3.19/higher doesn't boot on coreboot/libreboot i945 with native graphics, but does boot + on lenovobios with 3.19/higher - it probably also boots with coreboot+vgarom, since + the bug is in the video init code. +
      • +
      +
    • +
    • + i945: fix VRAM size (currently 8MB. should be 64MB). + See future/index.html#i945_vram_size. +
    • +
    • + Fix remaining incompatible LCD panels in native graphics on T60. + See future/index.html#lcd_i945_incompatibility. +
    • +
    • + i945: the intel video driver used to initialize the display without native graphics initialization + and without the extracted video BIOS. It no longer does, so investigate why it does not, and fix + the regression (fix has to be done in the kernel, Linux). + See http://www.coreboot.org/pipermail/coreboot/2014-June/078104.html and + http://www.coreboot.org/pipermail/coreboot/2014-June/078105.html +
    • +
    • + Add fake_vbt tables on i945 machines (also GM45). +
    • +
    • + Commit 26ca08caf81ad2dcc9c8246a743d82ffb464c767 in coreboot, see the while (1) loop that + waits for the panel to power up on i945. This is an infinite loop if the panel doesn't power up. + Fix it. Also, are there panels that don't power up? Test this, and fix it. +
    • +
    +
  • +
+ +

Payloads

+
    +
  • + Add ProteanOS payload to machines with big enough flash chips. (eg X200/R400). + This page (outdated, but still useful according to the maintainer) has some info: + http://www.proteanos.com/doc/plat/porting/. + pehjota says that once the port is done, prokit can be modified to generate the entire + distribution as a vmlinuz and initrd.img file. +
  • +
  • + Related to MemTest86+: + +
  • +
+ +

Build system

+
    +
  • + HIGH PRIORITY! All parts of libreboot that download + non-intergrated parts (coreboot/grub/memtest/bucts/flashrom) rely on only a single + repository link, which means single-point-of-failure. Make them fall back on alternative + (backup) repositories if the main ones are down. +
      +
    • The coreboot one also cherry picks patches from review.coreboot.org (gerrit), but coreboot.org + is sometimes down. When that happens, libreboot cannot be built from git. + The solution is to directly include those patches that are used, as patch/diff files + under resources/libreboot/patch/, instead of cherry picking from gerrit + (but still include a commented-out link to the gerrit patch that the diff file came from)
    • +
    +
  • +
  • HIGH PRIORITY! Make memtest86+ build using coreboot's own crossgcc toolchain. Currently, + memtest86+ doesn't even work at all when cross-compiled using the toolchain in x86-64 trisquel7
  • +
  • + HIGH PRIORITY GRUB does not display any text at all when using EHCI debug. Investigate. +
  • +
  • + HIGH PRIORITY Confirm that the EHCI debug options enabled in coreboot menuconfig are correct + for the current versions of the BBB (rev. C or higher). Search EHCI debug on + install/bbb_setup.html +
  • +
  • + Make libreboot (all of it!) build reproducibly. This is very important. + See http://projects.mtjm.eu/work_packages/16. +
  • +
  • + build/release/archives currently fails on Parabola (it only works well in Trisquel). + That script is buggy, and full of ugly hacks anyway, + so re-write it and make it modular/portable this time. +
  • +
  • + Reduce the size of libreboot releases. + See http://projects.mtjm.eu/work_packages/19 + +
  • +
  • Make GRUB build using coreboot's own crossgcc toolchain
  • +
  • + Delete all parts of coreboot that libreboot doesn't use. + For instance, delete boards that aren't used in libreboot. + This will reduce the size of the source tarballs considerably. +
  • +
+ +

Improvements to the utilities

+
    +
  • + Make ich9gen/ich9deblob portable. They both rely extensively on bitfields, and they assume + little-endian; for instance, mapping a little endian file directly to a struct, instead + of serializing/deserializing. Re-factor both utilities and make them fully portable. + See http://projects.mtjm.eu/work_packages/18 +
  • +
  • + Adapt linux-libre deblob scripts for use with coreboot. Libreboot is already deblobbed + using its own script, but updating it is still a bit too manual. linux-libre's deblob + scripts do an excellent job and (adapted) will make it much easier to maintain coreboot-libre. +
  • +
  • + Add a whitelist entry to board_enable.c in flashrom, for the ThinkPad R400 and T400 +
  • +
  • + Improve the deblobbing scripts (see http://projects.mtjm.eu/work_packages/40) +
      +
    • + .spd.hex files. These aren't blobs? Don't remove them? (in coreboot). See deblob script. + Categorize blobs and non-blobs more clearly, explaining what they are for + and why they are (or are not) blobs. +
    • +
    +
  • +
+ +

Documentation improvements

+ + +

Project (institutional) improvements

+
    +
  • + HIGH PRIORITY! Libreboot needs to be factory firmware, not the replacement. It needs to be *the* firmware. + Consult with the openlunchbox project (and maybe others) on getting hardware manufactured + with libreboot support (out of the box, from the factory). +
  • +
  • + Look into the possibility of expanding libreboot to support non-coreboot systems. (u-boot, for instance). + Currently, libreboot presents itself as a deblobbed coreboot distribution. There are other systems out there + that use other firmware, such as u-boot, which libreboot could theoretically support. This would mean that + the build scripts know how to build things other than just coreboot/grub. +
      +
    • Allwinner A10 (ARM) SoCs
    • +
    • PMON?
    • +
    • barebox (u-boot derivative)
    • +
    • etc
    • +
    • + http://zedboard.org/product/zedboard + might be a candidate, according to the main developer of openlunchbox. +
    • +
    +
  • +
  • + Set up a routine (project-wise) for testing each machine with the latest kernel version. + See http://projects.mtjm.eu/work_packages/22 + and http://projects.mtjm.eu/work_packages/21 +
  • +
+ +

EC firmware

+

+ http://www.coreboot.org/Embedded_controller + Replace this on all libreboot targets. Some laptops use an extra SPI flash chip for the EC, some + have EC in the main chip, some don't use SPI flash at all but have the firmware inside the EC chip itself. + 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). + The lenovo laptops currently supported in libreboot all use H8 EC chips (contains flash inside the chip). + Read the datasheets on how to externally programme the EC. Chromebooks seem to have free EC + (https://chromium.googlesource.com/chromiumos/platform/ec/+/master/chip/). +

+ +
+ +

Back to top of page.

+ +
+ +
+ +

+ Copyright © 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+ This document is released under the Creative Commons Attribution-ShareAlike 4.0 International Public License and all future versions. + A copy of the license can be found at license.txt. +

+ +

+ This document is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See license.txt for more information. +

+ +
+ + + -- cgit v0.9.1