Porting/Kernel

(Created page with "===================== bootreason, twl4030-adc ===================== files: /sbin/preinit /sbin/getbootstate /sbin/bsi-read TODO: finish new version of package getbootstate in cā€¦")
Line 1: Line 1:
-
=====================
+
=====================
-
bootreason, twl4030-adc
+
bootreason, twl4030-adc
-
=====================
+
=====================
-
 
+
-
files:
+
files:
-
/sbin/preinit
+
/sbin/preinit
-
/sbin/getbootstate
+
/sbin/getbootstate
-
/sbin/bsi-read
+
/sbin/bsi-read
-
 
+
-
TODO: finish new version of package getbootstate in cssu
+
TODO: finish new version of package getbootstate in cssu
-
 
+
-
=====================
+
=====================
-
component_version
+
component_version
-
=====================
+
=====================
-
 
+
-
files:
+
files:
-
/etc/event.d/sgx
+
/etc/event.d/sgx
-
/etc/init.d/softupd.rcS
+
/etc/init.d/softupd.rcS
-
/etc/init.d/rcS
+
/etc/init.d/rcS
-
 
+
-
old paths:
+
old paths:
-
/proc/component_version
+
/proc/component_version
-
 
+
-
new paths:
+
new paths:
-
/proc/cpuinfo
+
/proc/cpuinfo
-
 
+
-
FIXME: bootmode is available only in raw /proc/atags when bootloader suppors OMAP atag table
+
FIXME: bootmode is available only in raw /proc/atags when bootloader suppors OMAP atag table
-
 
+
-
=====================
+
=====================
-
hal
+
hal
-
=====================
+
=====================
-
 
+
-
files:
+
files:
-
usr/lib/hildon-desktop/bluetooth_headset_status_menu_item.so
+
usr/lib/hildon-desktop/bluetooth_headset_status_menu_item.so
-
usr/lib/librtcom-call-ui.so.0.0.0
+
usr/lib/librtcom-call-ui.so.0.0.0
-
usr/lib/mafw-plugin/mafw-gst-renderer.so
+
usr/lib/mafw-plugin/mafw-gst-renderer.so
-
usr/lib/telepathy/telepathy-stream-engine
+
usr/lib/telepathy/telepathy-stream-engine
-
usr/sbin/fmtxd
+
usr/sbin/fmtxd
-
 
+
-
old paths:
+
old paths:
-
/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input
+
/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input
-
 
+
-
new paths:
+
new paths:
-
/org/freedesktop/Hal/devices/platform_rx51_audio_sound_card_0_logicaldev_input
+
/org/freedesktop/Hal/devices/platform_rx51_audio_sound_card_0_logicaldev_input
-
(FIXME: will above path not chaning??)
+
(FIXME: will above path not chaning??)
-
 
+
-
=====================
+
=====================
-
gpio-switch
+
gpio-switch
-
=====================
+
=====================
-
 
+
-
files:
+
files:
-
/sbin/mce
+
/sbin/mce
-
/etc/event.d/cmt-act-dead
+
/etc/event.d/cmt-act-dead
-
/usr/lib/mce/modules/libcamera.so
+
/usr/lib/mce/modules/libcamera.so
-
/usr/sbin/softupd
+
/usr/sbin/softupd
-
/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
-
 
+
-
old paths:
+
old paths:
-
/sys/devices/platform/gpio-switch/
+
/sys/devices/platform/gpio-switch/
-
 
+
-
new paths:
+
new paths:
-
/sys/class/gpio/
+
/sys/class/gpio/
-
 
+
-
FIXME: For sscd and softupd we need some LD_PRELOAD library
+
FIXME: For sscd and softupd we need some LD_PRELOAD library
-
 
+
-
=====================
+
=====================
-
musb_hdrc
+
musb_hdrc
-
=====================
+
=====================
-
 
+
-
files:
+
files:
-
sbin/mce
+
sbin/mce
-
usr/lib/dsme/libstate.so.0.0.0
+
usr/lib/dsme/libstate.so.0.0.0
-
usr/lib/hal/hald-addon-usb-cable
+
usr/lib/hal/hald-addon-usb-cable
-
usr/lib/hildon-desktop/usb_plugin.so
+
usr/lib/hildon-desktop/usb_plugin.so
-
usr/sbin/fmtxd
+
usr/sbin/fmtxd
-
 
+
-
old paths:
+
old paths:
-
GADGETPATH='/sys/devices/platform/musb_hdrc/gadget'
+
GADGETPATH='/sys/devices/platform/musb_hdrc/gadget'
-
LUN0='gadget-lun0'
+
LUN0='gadget-lun0'
-
LUN1='gadget-lun1'
+
LUN1='gadget-lun1'
-
 
+
-
new paths:
+
new paths:
-
GADGETPATH='/sys/devices/platform/musb-omap2430/musb-hdrc.0.auto/gadget'
+
GADGETPATH='/sys/devices/platform/musb-omap2430/musb-hdrc.0.auto/gadget'
-
LUN0='lun0'
+
LUN0='lun0'
-
LUN1='lun1'
+
LUN1='lun1'
-
 
+
-
TODO: Need to RE usb_plugin.so library
+
TODO: Need to RE usb_plugin.so library
-
 
+
-
=====================
+
=====================
-
hci_h4p
+
hci_h4p
-
=====================
+
=====================
-
 
+
-
files:
+
files:
-
etc/event.d/bluetooth-sysinfo
+
etc/event.d/bluetooth-sysinfo
-
etc/event.replace.d/bluetooth-sysinfo
+
etc/event.replace.d/bluetooth-sysinfo
-
etc/modprobe.d/maemo.conf
+
etc/modprobe.d/maemo.conf
-
 
+
-
/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
+
possibly use request_firmware in kernel driver for asking for mac address
-
 
+
-
=====================
+
=====================
-
wl12xx
+
wl12xx
-
=====================
+
=====================
-
 
+
-
* Renamed to wl1251
+
* Renamed to wl1251
-
* Replace /usr/bin/wl1251-cal
+
* Replace /usr/bin/wl1251-cal
-
* 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 ?)
-
 
+
-
=====================
+
=====================
-
others
+
others
-
=====================
+
=====================
-
 
+
-
/sys/kernel/reboot_mode
+
/sys/kernel/reboot_mode
-
/proc/cpuinfo (board info not available when using DT boot)
+
/proc/cpuinfo (board info not available when using DT boot)

Revision as of 14:06, 5 September 2014

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

files:
/sbin/preinit
/sbin/getbootstate
/sbin/bsi-read

TODO: finish new version of package getbootstate in cssu

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

files:
/etc/event.d/sgx
/etc/init.d/softupd.rcS
/etc/init.d/rcS

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

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

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'

TODO: Need to RE usb_plugin.so library

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

files:
etc/event.d/bluetooth-sysinfo
etc/event.replace.d/bluetooth-sysinfo
etc/modprobe.d/maemo.conf

/sys/devices/platform/hci_h4p/bdaddr

TODO:
possibly use request_firmware in kernel driver for asking for mac address

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

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

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

/sys/kernel/reboot_mode
/proc/cpuinfo (board info not available when using DT boot)