OpenmokoFramework/ru

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Tools)
(Scripts)
Line 90: Line 90:
 
* [[OpenmokoFramework/mickeyterm|mickeyterm]] -- MUXer-aware эмулятор консоли.
 
* [[OpenmokoFramework/mickeyterm|mickeyterm]] -- MUXer-aware эмулятор консоли.
  
==Scripts==
+
==Скрипты==
* Example [[OpenmokoFramework/scripts|Scripts]] that work over dbus
+
* [[OpenmokoFramework/scripts|Scripts]]-примеры работающие через dbus
 +
 
 
==How to debug==
 
==How to debug==
 
# log in via ssh
 
# log in via ssh

Revision as of 06:02, 24 June 2009

Key pages on:
FSO

(Other distributions)


Openmoko базируется на программной прослойке freesmartphone.org (FSO). Дистрибутив Om 2009 будет базироваться на FSO. Подробности смотрте на http://www.freesmartphone.org, http://docs.freesmartphone.org, и http://trac.freesmartphone.org. Openmoko is working on a stable system services back-end. Focus is on stable highlevel services that you can access from whatever language or UI that supports dbus. FSO is all about middleware, but if one stacks a bootloader+kernel under it and telephony applications on top, one gets a functional distribution. These are made available as FSO-image milestones.

Contents

Q/A

Фазы разработки

  1. Фаза I - создание рабочего API.
  2. Фаза II - увеличение скорости работы API.

События (Фаза I)

События (Фаза II)

... to be defined ...

Цели

  • Создать архитектру для создания мощных и функциональных приложений.
  • Поддержка конкуренции между различными UI для их развития.
  • Поддержка пользователей фреймворка (н.р. разработчики) для его развития.

Requirements

  • Make it simple
  • Concentrate on core services
  • Be programming language agnostic
  • Be UI toolkit agnostic
  • Try to reuse existing technologies as much as possible, but not at the cost of a bad API

How to achieve that technically

  • Choose D-Bus as the collaboration line. Below dbus, we can work together. Above dbus, we can differentiate
  • Expose features through dbus APIs implemented by UI-agnostic and language-agnostic services (daemons)
  • Optimize for Openmoko devices, but support multiple architectures and purposes through plugin interfaces and suitable hardware abstraction mechanisms
  • By not being afraid of reinventing the wheel for a wheelbarrow if all the existing wheels are made for sports cars

Mandatory Reading

What this is NOT about

This initiative does not cover low level services such as

  • Bootloader, Kernel, or System Init.

This initiative does not cover high level services such as

  • X-Window-System, Window Manager, UI Toolkits,
  • Application Launchers, Applications, or Fancy UIs.

Architectural Overview

frontside

Software Components

Please see the description at http://www.freesmartphone.org/index.php/Architecture

Проекты, использующие FSO

Инструменты

  • mdbus -- a dbus introspection and interaction utility,
  • cli-framework -- командная оболочка dbus на python.
  • mickeyterm -- MUXer-aware эмулятор консоли.

Скрипты

  • Scripts-примеры работающие через dbus

How to debug

  1. log in via ssh
  2. killall python
  3. edit /etc/frameworkd.conf and add to the frameworkd section:
    1. log_level = DEBUG
    2. log_to = file
    3. log_destination = /somewhere/where/you/have/space (preferably SD or NFS, etc.)
  4. Read our documented frameworkd.conf configuration file to learn about the other options.
  5. relaunch frameworkd (/etc/init.d/frameworkd stop; /etc/init.d/frameworkd start)
  6. log in via ssh (yes, again)
  7. export DISPLAY=:0.0
  8. run your favourite client (zhone, cli-framework, ...)

Attach the logs to the tickets, please.

The role of Python

Where we write new code, we will use Python to implement the dbus services. The reason for that being the rapid prototyping nature of Python and the emphasis on the D-Bus APIs. Using Python, the turnaround times to experiment with APIs are incredibly faster than for using a compiled language such as C or C++.

Once the APIs have been used by application programmers, we can start profiling and possibly reimplement some of the services with daemons written in Vala, if necessary. We might as well succeed in improving performance by using Pyrex/Cython/Ctypes to keep the benefits of Python.

Team & Roadmap

Team

Roadmap

The milestone releases are combined Openmoko Framework and Zhone releases. Remember: A feature that isn't visible, working, and tested in our framework testing application (Zhone) does not exist. Until Framework 1.0.0 (early 2009), we will not use any versioning in components. Afterwards, individual components may see individual releases.

Note: The milestones and tasks moved over to our issue tracker.

Download and see also

Personal tools
Key pages on:
FSO

(Other distributions)


Openmoko базируется на программной прослойке freesmartphone.org (FSO). Дистрибутив Om 2009 будет базироваться на FSO. Подробности смотрте на http://www.freesmartphone.org, http://docs.freesmartphone.org, и http://trac.freesmartphone.org. Openmoko is working on a stable system services back-end. Focus is on stable highlevel services that you can access from whatever language or UI that supports dbus. FSO is all about middleware, but if one stacks a bootloader+kernel under it and telephony applications on top, one gets a functional distribution. These are made available as FSO-image milestones.

Q/A

Фазы разработки

  1. Фаза I - создание рабочего API.
  2. Фаза II - увеличение скорости работы API.

События (Фаза I)

События (Фаза II)

... to be defined ...

Цели

  • Создать архитектру для создания мощных и функциональных приложений.
  • Поддержка конкуренции между различными UI для их развития.
  • Поддержка пользователей фреймворка (н.р. разработчики) для его развития.

Requirements

  • Make it simple
  • Concentrate on core services
  • Be programming language agnostic
  • Be UI toolkit agnostic
  • Try to reuse existing technologies as much as possible, but not at the cost of a bad API

How to achieve that technically

  • Choose D-Bus as the collaboration line. Below dbus, we can work together. Above dbus, we can differentiate
  • Expose features through dbus APIs implemented by UI-agnostic and language-agnostic services (daemons)
  • Optimize for Openmoko devices, but support multiple architectures and purposes through plugin interfaces and suitable hardware abstraction mechanisms
  • By not being afraid of reinventing the wheel for a wheelbarrow if all the existing wheels are made for sports cars

Mandatory Reading

What this is NOT about

This initiative does not cover low level services such as

  • Bootloader, Kernel, or System Init.

This initiative does not cover high level services such as

  • X-Window-System, Window Manager, UI Toolkits,
  • Application Launchers, Applications, or Fancy UIs.

Architectural Overview

frontside

Software Components

Please see the description at http://www.freesmartphone.org/index.php/Architecture

Проекты, использующие FSO

Инструменты

  • mdbus -- a dbus introspection and interaction utility,
  • cli-framework -- командная оболочка dbus на python.
  • mickeyterm -- MUXer-aware эмулятор консоли.

Scripts

  • Example Scripts that work over dbus

How to debug

  1. log in via ssh
  2. killall python
  3. edit /etc/frameworkd.conf and add to the frameworkd section:
    1. log_level = DEBUG
    2. log_to = file
    3. log_destination = /somewhere/where/you/have/space (preferably SD or NFS, etc.)
  4. Read our documented frameworkd.conf configuration file to learn about the other options.
  5. relaunch frameworkd (/etc/init.d/frameworkd stop; /etc/init.d/frameworkd start)
  6. log in via ssh (yes, again)
  7. export DISPLAY=:0.0
  8. run your favourite client (zhone, cli-framework, ...)

Attach the logs to the tickets, please.

The role of Python

Where we write new code, we will use Python to implement the dbus services. The reason for that being the rapid prototyping nature of Python and the emphasis on the D-Bus APIs. Using Python, the turnaround times to experiment with APIs are incredibly faster than for using a compiled language such as C or C++.

Once the APIs have been used by application programmers, we can start profiling and possibly reimplement some of the services with daemons written in Vala, if necessary. We might as well succeed in improving performance by using Pyrex/Cython/Ctypes to keep the benefits of Python.

Team & Roadmap

Team

Roadmap

The milestone releases are combined Openmoko Framework and Zhone releases. Remember: A feature that isn't visible, working, and tested in our framework testing application (Zhone) does not exist. Until Framework 1.0.0 (early 2009), we will not use any versioning in components. Afterwards, individual components may see individual releases.

Note: The milestones and tasks moved over to our issue tracker.

Download and see also