GSoC

From coreboot
Jump to navigation Jump to search

The wiki is being retired!

Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to https://doc.coreboot.org/. Contributions welcome!

Google Summer of Code 2011

http://1.bp.blogspot.com/-61a6mHfP1bU/TWbmtb5TAAI/AAAAAAAAABo/w56YXLjXDGY/s400/GSOC_2011_300x200px.png

Welcome to the Google Summer of Code(tm) page of the coreboot project.

Apply for a coreboot GSoC project at: http://www.google-melange.com/gsoc/org/show/google/gsoc2011/coreboot

This year, coreboot also tries to host some flashrom projects.


Deadlines

Make sure you check the https://socghop.appspot.com/document/show/gsoc_program/google/gsoc2011/timeline


Why work for coreboot

Why would you like to work for coreboot?

  • coreboot offers you the opportunity to work with modern technology "right on the iron".
  • Your application will be available to users worldwide and promoted along with all other coreboot projects.
  • We are a very passionate team - so you will interact directly with the project initiators and project leaders.
  • We have a large, helpful community. Over 100 experts in hardware and firmware lurk on our mailing list, many of them waiting to help you.


Summer of Code Application

Please complete the standard Google SoC 2011 application. Prospective corebot GSoC student should provide the following information as part of their application.

Name:
Email:
IM/IRC/Skype/other contact:
Country/Timezone:
School:
Degree Program:
Year:
Most students have some time off planned during GSoC. Do you have any vacations? When and how long?


coreboot welcomes students from all backgrounds and levels of experience. To be seriously consider for coreboot GSoC, we recommend joining the mailing list and IRC channel. Introduce yourself and mention that you are a prospective GSoC student. Ask questions and discuss the project that you are considering. Community involvement is a key component of coreboot development. By the time you have submitted your application, you should have downloaded, built a and booted coreboot in QEMU, SimNow, or on real hardware. Please, email your serial output results to the mailing list.
The following information will help coreboot match students with mentors and projects.
Please comment on your software and firmware experience.
Have you participated in the coreboot community before?
Have you contributed to an open source project? Which one? What was your experience?
Have you built and run coreboot? Did you have problems?
Bonus, Did you find and fix a coreboot bug? Did you send a patch to the email list?


Please provide an overview of your project and a break down your project in small specific goals. Explain what risks or potential problems your project might experience. What would you expect as a minimum level of success? Do you have a stretch goal?


Feel free to keep your application short. A 15 page essay is no better than a 2 page summary. If you wish to write 15 pages, you are of course welcome to do so, and we will gladly put your paper up on the web page. But it is not required for the application.


How to apply

The Drupal project has a great page on How to write an SOC application.

Please also read Google's Advice for Students.


Some Caveats

  • Google Summer-of-Code projects are a full (day-) time job. This means we expect roughly 30-40 hours per week on your project, during the three months of coding. Obviously we have flexibility, but if your schedule (exams, courses) does not give you this amount of spare time, then maybe you should not apply.
  • Getting paid by Google requires that you meet certain milestones. First, you must be in good standing with the community before the official start of the program. We suggest you post some design emails to the mailing list, and get feedback on them, both before applying, and during the "community bonding period" between acceptance and official start. Also, you must have made progress and committed significant code before the mid-term point.
  • We require accepted students to have a blog, where you will write about your project on a regular basis. This is so that the community at large can be involved and help you. SoC is not a private contract between your mentor and you. http://blogs.coreboot.org/

Note that "regular basis" in the last item does _not_ mean "3 days before evaluation deadlines". You should be "around" all the time (reporting your feedback, sending in partial successes). We don't expect our students to be experts in our problem domain, but we don't want you to fail because some basic misunderstanding was in your way of completing the task.


Time Frame

DEADLINE FOR STUDENT APPLICATIONS: Students who are interested in working on a coreboot-related GSoC project must apply between March 28, 2011 and April 8, 2011! If you want to apply, please get in contact with us right away, not just when you send your application!


Student requirements

We will only accept your proposal if you have demonstrated that you can work with our codebase. For that, you have to send a patch to the list which is acceptable. Just ask for simple tasks on the mailing list or on IRC.


Contact

If you are interested in becoming a GSoC student, please contact Marc Jones.

There is also an IRC channel on irc.freenode.net: #coreboot


coreboot GSoC Mentor

Please add you name to this list and follow the coreboot mentor link to apply to be a coreboot mentor

http://www.google-melange.com/gsoc/profile/mentor/google/gsoc2011?org=coreboot


Possible ideas

The following are some ideas that have come up in the community. Some are more or less suitable for GSoC and prospective students' application should expand on some ideas and pair back others.


flashrom

Note: The list below is an idea collection. Individual list items are simple enough to serve only as partial GSoC task, but they are grouped to reasonable tasks. If you're interested, please talk to us on the flashrom mailing list and/or on IRC irc://irc.freenode.net/#flashrom

http://www.flashrom.org/GSoC/2010 has more flashrom ideas and suggestions.

Multiple UIs for flashrom

  • flashrom TUI (text mode user interface) (for command line and flashrom-as-payload)
  • flashrom GUI (graphics mode user interface) (should be cross-platform, Sean Nelson has preliminary code you can base this on)

Recovery of dead boards and onboard flash updates

  • flashrom as payload
  • flashrom remote flashing for coreboot panic room mode
  • flashrom remote flashing with modified SerialICE

SPI bitbanging hardware support

  • flashrom support for Nvidia SPI chipset hardware
  • flashrom support for RayeR SPIPGM hardware
  • flashrom support for Paraflasher hardware
  • flashrom support for Willem hardware
  • flashrom support for some-yet-uninvented cheap universal LPC/FWH/SPI flasher hardware
  • flashrom support for bitbanging LPC/FWH (code exists, Uwe Hermann
  • flashrom support for bitbanging Parallel

Generic flashrom infrastructure improvements

  • flashrom support for automatic recovery in case something goes wrong
  • flashrom support for partial reflashing
  • flashrom support for bytewise flashing (similar to the point above)

Linux Firmware Kit, BITS

There are various test suites for firmware aspects, esp. those that interacts with the operating systems. Unfortunately, some of these projects are dead, some seem to be forked and developed semi-publically, and having all that stuff in lots of different places is a big hassle.

The goal of this project is to pick up the pieces, and create a single tool (most likely a bootable CD/USB drive image) that can be booted on vendor BIOS (for the Red Hat and Canonical developers that work on these) as well as coreboot (preferably seabios and FILO to improve testability - is an issue created/fixed by coreboot or seabios?). This can then be improved in various ways.

When applying for this task, please state in your proposal what you think might be worthy extensions to the existing tests.

Required knowledge for this task: Not so much coreboot/firmware level, but you should have some idea of the boot process of a Linux system (as these test suites are mostly Linux based). GSoC probably won't provide enough time to learn all that (Linux boot process, firmware interfaces such as ACPI) and still develop the tools in some useful way.

Infrastructure for automatic code checking

We already have a build bot that builds various configurations of coreboot. It would be nice to extend it with various code validation routines, for example:

  • Validate that there's no regression in doxygen documentation (eg. are all arguments to functions still explained in @param tags, eg. after new arguments were added?)
  • Make code lint clean (and maybe extend lint to not fall into our traps), and run lint over the tree. Report regressions
  • Use LLVM's static code checking facilities, report regressions.
  • Work on code coverage support for coreboot code (dump data into ram, or via serial. Provide tools to fetch it). Analyse that data.

Links

Mentors


coreboot test suite

Create a test suite to gather and report coreboot mainboard and payload settings. This project may leverage libpayload, coreinfo, memtest86, BITS, and other tools. The suite should gather result and report them at summary and detailed levels. The goal is to help coreboot developers identify problems and to test coreboot features. This project should work closely with the testing rig and test reporting projects. It is important the the student considers how testing and reporting can be extended as features and tests are added in the future.

Links

http://www.coreboot.org/Supported_Motherboards

Mentor

coreboot cheap testing rig

The goal of this project is to create a cheap testing rig which works with the existing board test infrastructure. We have a hardware test system since 2006:

The initial version of our testing rig used a remote power switch and was rather expensive. With cheaper technologies such as X10, it's possible to drop the testing costs per board significantly.

Links

Mentors


coreboot mainboard test result reporting

One of the biggest challenges in coreboot is support many systems in the same codebase. As systems age and coreboot continues to develop, the condition of mainboards becomes unknown. This project would define a coreboot test results reporting mechanism, gather data, and report passing and failing systems on a webpage. This project would work closely with the coreboot test suite project and/or the hardware test rig project. A good example of test results gathering and reporting is done by the Phoronix/Openbenchmark. The student should investigate other test and reporting solutions to leverage the best options for coreboot. It is important the the student considers how testing and reporting can be extended as features and tests are added in the future.

Links

Mentor


coreboot ports for Family14 mainboards

Identify potential mainboards to port based on the recently released AMD Family 14 support. The goal would be to support publicly available plaftorms with a number of payloads and operating systems.

Mentor


coreboot ACPI/S3/power managment

coreboot has support for ACPI tables and S3 support for some platforms, but it is very mainboard specific. Create a generic solution for ACPI table generation and S3 support.

Mentor


coreboot port to Marvell ARM SOC's with PCIe

Marvell Processors These ARM SOC's with PCIe will become popular in netbooks later this year. These systems can take advantage of coreboot's strength in properly configuring PCI devices, fast boot time and payload support.

Note that coreboot has in the past supported three different CPUs (x86, Alpha, PPC), so the structure is there for adding in a new processor family. We will need to find the right platform to do the work, but I (Ron) can provide a board and JTAG debugger if needed.

Mentors

coreboot panic room

Create a safe boot solution for coreboot to easily and cheaply recover the system in case of a panic().

Ron would like to base this solution around SerialICE. The basic idea is that the system always boots to SerialICE. There is a test in CMOS for 'last boot worked' and, if this is set, SerialICE finds a coreboot in cbfs and runs it. If 'last boot worked' is not set, or the user hits some magic keyboard sequence, SerialICE takes control.

SerialICE needs to be extended (not much) to make this work. Having this capability would make it possible for Ron to get some very hard ports working that are just not possible today. At the same time, there are lots of hardware boards to test this idea on, so it should be easy to get it working.

It might be possible to integrate this into the coreboot build as a bootblock option (in the same spot as the fallback/normal switch and the simple loader).

Mentors


Board config infrastructure

Design data structures that host information about the board layout so coreboot can better initialize components and generate all kinds of tables (mptable, pirq, acpi, ...) from that dynamically (at build or runtime, as appropriate). Adapt boards to use that instead of the current hardcodes.

Links

  • ?

Mentors

  • ?


Refactor AMD code

AMD K8 and AMD Fam10 are different enough to have their own code. This is unfortunate, as you have to decide which CPU type you use in a given mainboard. Refactor AMD code so a single image can support both chip types on a given board. Also move tables from get_bus_conf and the like to the device tree or kconfig options (or runtime detection), as appropriate.

Links

  • ?

Mentors


Laptop support

This one is really HARD. If you're lucky and if you have datasheets, you can do it in maybe 1 month. If you're unlucky, it can take the whole GSoC or more. If there is interest, we'll try to find an embedded controller which won't cause you to give up in frustration. Still, it might be beneficial if you're willing to solder.

  • flashrom support for embedded controllers (ECs) in laptops


Links

Mentors

  • ?


Your own Project Ideas

We have come up with some ideas for cool Summer of Code projects here. These are projects that we think can be managed in the short period of GSoC, and they cover areas where coreboot is trying to reach new users and new use cases.

But of course your application does not need to be based on any of the ideas listed below. The opposite: Maybe you have a great idea that we just didn't think of yet. Please let us know!

Feel free to contact us at the email address above, and don't hesitate to suggest whatever you have in mind.

Previous Summer of Code projects

We successfully participated in Google's Summer of Code in 2007, 2008, 2009, and 2010. See our list of previous GSoC projects.