Latest revision |
Your text |
Line 1: |
Line 1: |
- | == Upstream kernel with Maemo 5 ==
| |
- |
| |
- | 1. Kernel patches from https://github.com/pali/linux-n900
| |
- |
| |
- | 2. CSSU-Devel from http://talk.maemo.org/showthread.php?t=84292
| |
- |
| |
- | 3. BME-Replacement from http://talk.maemo.org/showthread.php?t=93183
| |
- |
| |
- | 4. Fixup for wifi firmware:
| |
- |
| |
- | mkdir -p /lib/firmware/ti-connectivity
| |
- | ln -s ../wl1251-fw.bin /lib/firmware/ti-connectivity/wl1251-fw.bin
| |
- | ln -s ../wl1251-nvs.bin /lib/firmware/ti-connectivity/wl1251-nvs.bin
| |
- |
| |
- | 5. Fixup for Dialer application (rtcom-call-ui):
| |
- |
| |
- | Create new file /etc/event.d/userspace-fixes with content:
| |
- |
| |
- | start on started hildon-desktop
| |
- | service
| |
- | console none
| |
- | script
| |
- | if ! hal-device /org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input 2> /dev/null; then
| |
- | hal-device --add /org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input < /dev/null
| |
- | hal-set-property --udi /org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input --key input.jack.type --strlist-pre "a"
| |
- | hal-set-property --udi /org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input --key input.jack.type --strlist-rem "a"
| |
- | fi
| |
- | end script
| |
- |
| |
- | == Porting ==
| |
- |
| |
| ===================== | | ===================== |
- | bootreason, twl4030-adc (done) | + | bootreason, twl4030-adc |
| ===================== | | ===================== |
| | | |
| files: | | files: |
- | /sbin/preinit (done) | + | /sbin/preinit |
- | /sbin/getbootstate (done) | + | /sbin/getbootstate |
- | /sbin/bsi-read (not finished, not used) | + | /sbin/bsi-read |
- | /etc/X11/Xsession.d/10hildon_welcome (done)
| + | |
- | /etc/init.d/fb-progress.sh (done)
| + | |
- | /usr/sbin/bme_RX-51 (done)
| + | |
- |
| + | |
- | old paths:
| + | |
- | /proc/bootreason
| + | |
- | /dev/twl4030-adc
| + | |
| | | |
- | new paths: | + | TODO: finish new version of package getbootstate in cssu |
- | /proc/atags
| + | |
- | /sys/class/power_supply/rx51-battery/charge_full_design
| + | |
| | | |
| ===================== | | ===================== |
Line 55: |
Line 15: |
| | | |
| files: | | files: |
- | /etc/event.d/sgx (not needed?) | + | /etc/event.d/sgx |
| /etc/init.d/softupd.rcS | | /etc/init.d/softupd.rcS |
| /etc/init.d/rcS | | /etc/init.d/rcS |
- | /sbin/preinit (done)
| |
- | /usr/bin/testserver (not used)
| |
- | /usr/lib/apt/methods/http (done)
| |
- | /usr/lib/apt/methods/https (done)
| |
- | /usr/lib/hildon-desktop/ham-notifier-status-menu-item.so (done)
| |
- | /usr/lib/hildon-desktop/ham-updates-status-menu-item.so (done)
| |
- | /usr/lib/libossoproductinfo.so.0.7.3 (done)
| |
- | /usr/lib/libsysinfo.so.0
| |
- | /usr/lib/mce/modules/* (done)
| |
- | /usr/lib/microb-engine/libxul.so (done)
| |
- | /usr/sbin/hald
| |
| | | |
| old paths: | | old paths: |
Line 107: |
Line 56: |
| /usr/sbin/sscd | | /usr/sbin/sscd |
| /usr/share/hal/fdi/policy/10osvendor/10-omap-gpio.fdi | | /usr/share/hal/fdi/policy/10osvendor/10-omap-gpio.fdi |
- | /opt/lib/qt4/plugins/mediaservice/libqtmedia_v4lengine.so
| |
- | /sbin/preinit (done)
| |
- | /usr/bin/testserver
| |
- | /usr/lib/testserver/modules/handlers/*
| |
| | | |
| old paths: | | old paths: |
Line 130: |
Line 75: |
| usr/lib/hildon-desktop/usb_plugin.so | | usr/lib/hildon-desktop/usb_plugin.so |
| usr/sbin/fmtxd | | usr/sbin/fmtxd |
- | usr/lib/testserver/modules/handlers/sos_usb.so.0.0.0
| |
- | usr/sbin/bme_RX-51
| |
| | | |
| old paths: | | old paths: |
Line 143: |
Line 86: |
| LUN1='lun1' | | LUN1='lun1' |
| | | |
- | looks like gadget path is changing, maybe /sys/bus is stable? | + | TODO: Need to RE usb_plugin.so library |
- | GADGETPATH='/sys/bus/platform/devices/musb-hdrc.0.auto/gadget'
| + | |
- |
| + | |
- | =====================
| + | |
- | twl4030_usb
| + | |
- | =====================
| + | |
- |
| + | |
- | files:
| + | |
- | /etc/event.d/bme
| + | |
- | /sbin/mce
| + | |
- | /usr/sbin/bme_RX-51
| + | |
- | /usr/sbin/fmtxd
| + | |
- | /usr/lib/hal/hald-addon-usb-cable
| + | |
- | /usr/lib/testserver/modules/handlers/sos_usb.so.0.0.0
| + | |
- |
| + | |
- | old paths:
| + | |
- | /sys/class/i2c-adapter/i2c-1/1-0048/twl4030_usb/vbus
| + | |
- |
| + | |
- | new paths:
| + | |
- | /sys/class/i2c-adapter/i2c-1/1-0048/48070000.i2c:twl@48:twl4030-usb/vbus
| + | |
- | (FIXME: will above path not chaning??)
| + | |
| | | |
| ===================== | | ===================== |
Line 171: |
Line 94: |
| files: | | files: |
| etc/event.d/bluetooth-sysinfo | | etc/event.d/bluetooth-sysinfo |
| + | etc/event.replace.d/bluetooth-sysinfo |
| etc/modprobe.d/maemo.conf | | etc/modprobe.d/maemo.conf |
- | usr/bin/testserver
| |
- | usr/lib/testserver/modules/handlers/phone_info.so.0.0.0
| |
| | | |
| /sys/devices/platform/hci_h4p/bdaddr | | /sys/devices/platform/hci_h4p/bdaddr |
| | | |
| TODO: | | TODO: |
- | bluetooth subsystem has its own mechanism for setting mac address (need to backport new bluez tools) | + | possibly use request_firmware in kernel driver for asking for mac address |
| | | |
| ===================== | | ===================== |
Line 188: |
Line 110: |
| * Fix configuring bt coex | | * Fix configuring bt coex |
| * Fix process of configuring permament mac address (maybe request_firmware ?) | | * Fix process of configuring permament mac address (maybe request_firmware ?) |
- |
| |
- | * bt_coex_mode is used only in /usr/sbin/wlancond
| |
| | | |
| ===================== | | ===================== |
Line 195: |
Line 115: |
| ===================== | | ===================== |
| | | |
- | /sys/kernel/reboot_mode (used by /usr/sbin/softupd) | + | /sys/kernel/reboot_mode |
| /proc/cpuinfo (board info not available when using DT boot) | | /proc/cpuinfo (board info not available when using DT boot) |
- |
| |
- | Upstream kernel should set reboot_mode so NOLO will know correct boot reason
| |
- |
| |
- | * touchscreen "disable" sysfs node is missing in upstream kernel
| |
- | * problem with default poll mask on sysfs (broke commit http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1af3557abdef34ee036a6de4cb79e24468544b8d)
| |
- |
| |
- | hulda-child[2119]: setup_sysfs_poll:366: g_io_channel_new_file() for /sys/kernel/high_watermark failed: No such file or directory
| |
- | hulda-child[2119]: setup_sysfs_poll:366: g_io_channel_new_file() for /sys/kernel/low_watermark failed: No such file or directory
| |
- |
| |
- | See also N900 kernel usage audit: https://talk.maemo.org/showthread.php?t=93938
| |