Difference between revisions of "Kernel status"
(NAND finished) |
(→missing stuff) |
||
Line 26: | Line 26: | ||
== missing stuff == | == missing stuff == | ||
− | * Charging (TWL4030 BCI). | + | * Charging (TWL4030 BCI) (can't [http://linux.omap.com/pub/kernel/3430sdp/patches-applicable-over-linux-omap-2.6.git/arch_omap_ldp_add_battery_charging_support_20080415.patch this link] help ?). |
* Bluetooth. 2.6.27 has rather old Nokia code (not mainlined), Nokia device/maemo kernels need to be checked and later versions integrated from there. There is alternative to this: expose UART port and try to use userspace bluez drivers, but this could result in less efficient power saving (if any). | * Bluetooth. 2.6.27 has rather old Nokia code (not mainlined), Nokia device/maemo kernels need to be checked and later versions integrated from there. There is alternative to this: expose UART port and try to use userspace bluez drivers, but this could result in less efficient power saving (if any). | ||
* wl1251 complete powerdown/suspend (2.6.27 does it with hacks). | * wl1251 complete powerdown/suspend (2.6.27 does it with hacks). |
Revision as of 09:39, 15 July 2010
Contents
Introduction
The first firmware release is based on heavily patched linux-2.6.27-omap1 kernel. linux-omap used to be OMAP community kernel fork, nowadays it's code was either merged to mainline or dropped. Further OMAP development continues on mainline kernels, linux-omap tree is mainly used to queue developed code to mainline. So most interesting features that 2.6.27 lacks (like sleep modes) are available there, but development effort is needed to port all drivers first.
Status
This is mostly about pandora specific support for 2.6.35 or newer. Things that are already in mainline and come "for free" (like SD card support) are not mentioned.
merged code (already in mainline)
- board support (enables UART, I2C, SPI, RTC, MMC{1,2,3}, regulators, most other peripherals)
- sound: ALSA ASoC machine driver
- bq27500 fuel gauge
- LCD panel driver
- wl1251 wifi driver glue (SDIO core parts missing)
this doesn't list various bugfix patches to get above working :)
finished code, but not merged (now in openpandora.org GIT)
(mainline merge status in brackets)
- wl1251 board data (merging in progress)
- remaining wl1251 wifi driver glue (in progress?)
- NAND (merging in progress)
- nubs (aka vsense, needs rework for mainline)
- backlight driver (needs rework)
- gpio-keys update (pending)
- keypad fn handling (not allowed in mainline)
- PWM LEDs (needs rework)
missing stuff
- Charging (TWL4030 BCI) (can't this link help ?).
- Bluetooth. 2.6.27 has rather old Nokia code (not mainlined), Nokia device/maemo kernels need to be checked and later versions integrated from there. There is alternative to this: expose UART port and try to use userspace bluez drivers, but this could result in less efficient power saving (if any).
- wl1251 complete powerdown/suspend (2.6.27 does it with hacks).
- low power modes. This requires lots of testing, support in drivers and board files.
- DSP mess: gateway, bridge or link ?
- more things that I forgot
openpandora.org git structure
Support for various kernels is available in pandora-XX branches or tags, XX corresponds to last part of kernel version number. 2.6.27 is an exception, it's in pandora-27-omap1 branch.
Branches based on pre-release -rc kernels will be often rebased. This means you can't do 'git pull' on them, use 'git fetch; git reset --hard origin/pandora-XX' instead. Warning: this will destroy all your changes (even if they are commited), backup them first!
Contributing
Help is always welcome, usually in form of testing or writing patches. In most cases it's best to file a bug report or feature request in the bug tracker so that things don't get lost.
Submitting patches
It's best to send formal GIT-generated patch so that you get proper credit for your work and to make applying the patch easier. You also should add 'Signed-off-by' line ('-s' on 'git commit' will do it for you), which has the same meaning as for mainline Linux.
So basic workflow would be:
<make changes>
git config --global user.name "My Name"
git config --global user.email "myname@domain.com"
git add <changed files>
git commit -s
git format-patch -o /somewhere/ -1
Then create a new feature request in bugtracker and attach the generated file(s).