Editing Porting/Kernel

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
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/X11/Xsession.d/10hildon_welcome
-
  /etc/init.d/fb-progress.sh (done)
+
  /etc/init.d/fb-progress.sh
-
  /usr/sbin/bme_RX-51 (done)
+
  /usr/sbin/bme_RX-51
-
 
+
 +
TODO: finish new version of package getbootstate in cssu
 +
  old paths:
  old paths:
  /proc/bootreason
  /proc/bootreason
  /dev/twl4030-adc
  /dev/twl4030-adc
-
 
-
new paths:
 
-
/proc/atags
 
-
/sys/class/power_supply/rx51-battery/charge_full_design
 
   
   
  =====================
  =====================
Line 55: Line 22:
   
   
  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)
+
  /sbin/preinit
-
  /usr/bin/testserver (not used)
+
  /usr/bin/testserver
-
  /usr/lib/apt/methods/http (done)
+
  /usr/lib/apt/methods/http
-
  /usr/lib/apt/methods/https (done)
+
  /usr/lib/apt/methods/https
-
  /usr/lib/hildon-desktop/ham-notifier-status-menu-item.so (done)
+
  /usr/lib/hildon-desktop/ham-notifier-status-menu-item.so
-
  /usr/lib/hildon-desktop/ham-updates-status-menu-item.so (done)
+
  /usr/lib/hildon-desktop/ham-updates-status-menu-item.so
-
  /usr/lib/libossoproductinfo.so.0.7.3 (done)
+
  /usr/lib/libossoproductinfo.so.0.7.3
  /usr/lib/libsysinfo.so.0
  /usr/lib/libsysinfo.so.0
-
  /usr/lib/mce/modules/* (done)
+
  /usr/lib/mce/modules/*
-
  /usr/lib/microb-engine/libxul.so (done)
+
  /usr/lib/microb-engine/libxul.so
  /usr/sbin/hald
  /usr/sbin/hald
   
   
Line 108: Line 75:
  /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
  /opt/lib/qt4/plugins/mediaservice/libqtmedia_v4lengine.so
-
  /sbin/preinit (done)
+
  /sbin/preinit
  /usr/bin/testserver
  /usr/bin/testserver
  /usr/lib/testserver/modules/handlers/*
  /usr/lib/testserver/modules/handlers/*
Line 146: Line 113:
  GADGETPATH='/sys/bus/platform/devices/musb-hdrc.0.auto/gadget'
  GADGETPATH='/sys/bus/platform/devices/musb-hdrc.0.auto/gadget'
   
   
-
  =====================
+
  TODO: Need to RE usb_plugin.so library
-
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 202: Line 152:
  * touchscreen "disable" sysfs node is missing in upstream kernel
  * 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)
  * 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
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)