Porting/Kernel

(Update info)
Line 7: Line 7:
  /sbin/getbootstate
  /sbin/getbootstate
  /sbin/bsi-read
  /sbin/bsi-read
 +
/etc/X11/Xsession.d/10hildon_welcome
 +
/etc/init.d/fb-progress.sh
 +
/usr/sbin/bme_RX-51
   
   
  TODO: finish new version of package getbootstate in cssu
  TODO: finish new version of package getbootstate in cssu
 +
 +
old paths:
 +
/proc/bootreason
 +
/dev/twl4030-adc
   
   
  =====================
  =====================
Line 18: Line 25:
  /etc/init.d/softupd.rcS
  /etc/init.d/softupd.rcS
  /etc/init.d/rcS
  /etc/init.d/rcS
 +
/sbin/preinit
 +
/usr/bin/testserver
 +
/usr/lib/apt/methods/http
 +
/usr/lib/apt/methods/https
 +
/usr/lib/hildon-desktop/ham-notifier-status-menu-item.so
 +
/usr/lib/hildon-desktop/ham-updates-status-menu-item.so
 +
/usr/lib/libossoproductinfo.so.0.7.3
 +
/usr/lib/libsysinfo.so.0
 +
/usr/lib/mce/modules/*
 +
/usr/lib/microb-engine/libxul.so
 +
/usr/sbin/hald
   
   
  old paths:
  old paths:
Line 56: Line 74:
  /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
 +
/usr/bin/testserver
 +
/usr/lib/testserver/modules/handlers/*
   
   
  old paths:
  old paths:
Line 75: Line 97:
  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 85: Line 109:
  LUN0='lun0'
  LUN0='lun0'
  LUN1='lun1'
  LUN1='lun1'
 +
 +
looks like gadget path is changing, maybe /sys/bus is stable?
 +
GADGETPATH='/sys/bus/platform/devices/musb-hdrc.0.auto/gadget'
   
   
  TODO: Need to RE usb_plugin.so library
  TODO: Need to RE usb_plugin.so library
Line 94: Line 121:
  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:
-
  possibly use request_firmware in kernel driver for asking for mac address
+
  bluetooth subsystem has its own mechanism for setting mac address (need to backport new bluez tools)
   
   
  =====================
  =====================
Line 110: Line 138:
  * 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 115: Line 145:
  =====================
  =====================
   
   
-
  /sys/kernel/reboot_mode
+
  /sys/kernel/reboot_mode (used by /usr/sbin/softupd)
  /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)

Revision as of 23:17, 25 December 2015

=====================
bootreason, twl4030-adc
=====================

files:
/sbin/preinit
/sbin/getbootstate
/sbin/bsi-read
/etc/X11/Xsession.d/10hildon_welcome
/etc/init.d/fb-progress.sh
/usr/sbin/bme_RX-51

TODO: finish new version of package getbootstate in cssu

old paths:
/proc/bootreason
/dev/twl4030-adc

=====================
component_version
=====================

files:
/etc/event.d/sgx
/etc/init.d/softupd.rcS
/etc/init.d/rcS
/sbin/preinit
/usr/bin/testserver
/usr/lib/apt/methods/http
/usr/lib/apt/methods/https
/usr/lib/hildon-desktop/ham-notifier-status-menu-item.so
/usr/lib/hildon-desktop/ham-updates-status-menu-item.so
/usr/lib/libossoproductinfo.so.0.7.3
/usr/lib/libsysinfo.so.0
/usr/lib/mce/modules/*
/usr/lib/microb-engine/libxul.so
/usr/sbin/hald

old paths:
/proc/component_version

new paths:
/proc/cpuinfo

FIXME: bootmode is available only in raw /proc/atags when bootloader suppors OMAP atag table

=====================
hal
=====================

files:
usr/lib/hildon-desktop/bluetooth_headset_status_menu_item.so
usr/lib/librtcom-call-ui.so.0.0.0
usr/lib/mafw-plugin/mafw-gst-renderer.so
usr/lib/telepathy/telepathy-stream-engine
usr/sbin/fmtxd

old paths:
/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input

new paths:
/org/freedesktop/Hal/devices/platform_rx51_audio_sound_card_0_logicaldev_input
(FIXME: will above path not chaning??)

=====================
gpio-switch
=====================

files:
/sbin/mce
/etc/event.d/cmt-act-dead
/usr/lib/mce/modules/libcamera.so
/usr/sbin/softupd
/usr/sbin/sscd
/usr/share/hal/fdi/policy/10osvendor/10-omap-gpio.fdi
/opt/lib/qt4/plugins/mediaservice/libqtmedia_v4lengine.so
/sbin/preinit
/usr/bin/testserver
/usr/lib/testserver/modules/handlers/*

old paths:
/sys/devices/platform/gpio-switch/

new paths:
/sys/class/gpio/

FIXME: For sscd and softupd we need some LD_PRELOAD library

=====================
musb_hdrc
=====================

files:
sbin/mce
usr/lib/dsme/libstate.so.0.0.0
usr/lib/hal/hald-addon-usb-cable
usr/lib/hildon-desktop/usb_plugin.so
usr/sbin/fmtxd
usr/lib/testserver/modules/handlers/sos_usb.so.0.0.0
usr/sbin/bme_RX-51

old paths:
GADGETPATH='/sys/devices/platform/musb_hdrc/gadget'
LUN0='gadget-lun0'
LUN1='gadget-lun1'

new paths:
GADGETPATH='/sys/devices/platform/musb-omap2430/musb-hdrc.0.auto/gadget'
LUN0='lun0'
LUN1='lun1'

looks like gadget path is changing, maybe /sys/bus is stable?
GADGETPATH='/sys/bus/platform/devices/musb-hdrc.0.auto/gadget'

TODO: Need to RE usb_plugin.so library

=====================
hci_h4p
=====================

files:
etc/event.d/bluetooth-sysinfo
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

TODO:
bluetooth subsystem has its own mechanism for setting mac address (need to backport new bluez tools)

=====================
wl12xx
=====================

* Renamed to wl1251
* Replace /usr/bin/wl1251-cal
* Fix configuring bt coex
* Fix process of configuring permament mac address (maybe request_firmware ?)

* bt_coex_mode is used only in /usr/sbin/wlancond

=====================
others
=====================

/sys/kernel/reboot_mode (used by /usr/sbin/softupd)
/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)