CELF Project Proposal/Refactor the Qi lightweight bootloader
- Refactor the Qi lightweight bootloader.
- Matt Hsu
Qi (named by Alan Cox on Openmoko kernel list) is a minimal bootloader that "breathes life" into Linux. Its goal is to stay close to the minimum needed to "load" and then "boot" Linux -- no boot menus, additional peripheral init or private states.
Qi currently supports Samsung s3c24xx series, s3c6410, TI omap3530, and Freescale i.MX31. The more support platforms are planned to add on. The purpose of this project would be to improve Qi's maintainability, portability. Ideally, this would make people spend less time on bootloader development but be more focused on Linux system.
- Make the hierarchy of source files more sensible and clean
- Generalize components which could be used in common such as I2C drivers.
- Example: platform specific I2C driver -> GPIO bitbang driver.
- Remove duplicated, unused code, header definition. Keep Qi as minimum as needed.
Development branches are hosted here:
QUESTION: why Qi and not Barebox (u-boot-v2) or APEX?