Development of Mobile Linux Open Platform Development of ...
Upcoming SlideShare
Loading in...5
×
 

Development of Mobile Linux Open Platform Development of ...

on

  • 644 views

 

Statistics

Views

Total Views
644
Slideshare-icon Views on SlideShare
642
Embed Views
2

Actions

Likes
1
Downloads
16
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Development of Mobile Linux Open Platform Development of ... Development of Mobile Linux Open Platform Development of ... Presentation Transcript

    • Development of Mobile Linux Open Platform April 16, 2008 Jyunji Kondo Fujitsu Software Technologies Limited
    • Ideas Application Emulator Application Real Hardware package package (.apk) (.apk) extract extract Dalvik Dalvik Class Class byte code byte code libraries libraries (.dex) (.dex) convert convert convert convert CPU native CPU native CPU nativecode CPU nativecode code (ARMv5) code (ARMv5) (ARMv5) linkage (ARMv5) linkage Dalvik VM(ARMv5) Dalvik VM(ARMv5) Linux kernel Linux kernel (ARMv5+BSP) (ex. i.MX31) Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Main thesis “It's not so difficult to just enable functions of Android using well-maintained well- Linux BSP!” Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Real Hardwares i.MX31 Product Development Kit Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Topics 1. input device 2. sound 3. power management 4. telephony Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Input device “If Linux BSP supports keyboards, mice, and touch screens as input device, Android can handle those.” Facts: Android emulator supports keyboards and mice. Internals: Android watch all files under /dev/input/. Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Input device “If Linux BSP supports keyboards, mice, and touch screens as input device, Android can handle those.” Hypothesis: Touch screens can be handled with event interface of input device. Result: Achieved with small modification of input driver. Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Input device “If Linux BSP supports keyboards, mice, and touch screens as input device, Android can handle those.” How: • changing X-Y coordinate • X, Y direction • resolution • changing event type • EV_ABS/ABS_PRESSURE → EV_KEY/BTN_TOUCH Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Sound “If Linux BSP supports ALSA driver, Android can play musics.” musics.” Facts: Android emulator can play music on PC. Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Sound “If Linux BSP supports ALSA driver, Android can play musics.” musics.” Hypothesis: Internals: MP3/3GPP Android MediaPlayer API PCM PCM Linux EAC driver kernel PCM ALSA driver (ex. pcmC0D0p) PCM pseudo H/W (SDMA) Emulator real H/W (PMIC) Real Host PC’s sound driver Hardware Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Power management “If Linux BSP supports to control CPU clock and backlight brightness, brightness, power management of android can be supported.” Facts: Android provides 2 lock types • partial wake lock • full wake lock Android also control backlight brightness Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Power management “If Linux BSP supports to control CPU clock and backlight brightness, brightness, power management of android can be supported.” Internals: Android operates sysfs files •/sys/android_power/acquire_full_wake_lock •/sys/android_power/acquire_partial_wake_lock •/sys/class/leds/keyboard-backlight/brightness •/sys/class/leds/lcd-backlight/brightness •/sys/class/leds/button-backlight/brightness Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Power management “If Linux BSP supports to control CPU clock and backlight brightness, brightness, power management of android can be supported.” Hypothesis: Internals: wake lock acquire/release Android PowerManager API Linux android power driver DPM kernel leds class Real Emulator real H/W (CPU/IPU) Hardware Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Power management “If Linux BSP supports to control CPU clock and backlight brightness, brightness, power management of android can be supported.” How: • CPU freq • defines 4 OPs and policies • 532M, 399M, 266M, 133M • throttle down every 3 seconds during no activities • LCD backlight • become darker every 15 seconds. Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Telephony “If Linux BSP can control baseband with serial I/F, you can make a phone call with android.” Facts: • Android emulator supports a pseudo GSM modem device. •There is the rild (Radio I/F Layer Daemon). Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Telephony “If Linux BSP can control baseband with serial I/F, you can make a phone call with android.” Hypothesis: Internals: Android Android rild libreference-ril.so VT wsimd modem (GSM) Linux serial driver kernel android modem W-SIM Real Emulator (pseudo GSM) (PHS) Hardware Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Conclusion “It's not so difficult to just enable functions of Android using well-maintained well- Linux BSP!” Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED
    • Copyright 2008 FUJITSU SOFTWARE TECHNOGIES LIMITED