Info

Easy Driver Pro

PC Driver Downloader and Updater Software

Get Instant Access

^Google' AflTa^^Android Emulator^# Android^f5f.i£l — ^i4#'^#^Linux device driver Android library A Android itry and error side effects

Afll — Embedded Linux System > Android

Runtime System Android

&—[email protected]^4lP«Jfi£'^^f—^Mtoolchain^cross compilelf^'$/i£.

' Embedded Linux System^#^

' Aflf^fi Embedded Linux System t—S^Ml 7 M ' f^^^Embedded Linux System l building block > — ^Embedded

Linux System > Embedded Linux System^^^Af - -

^#lbootloader^i^&^; 0 j|bootloader^£Mt4a#^HWH± '

t'^—^^^-l&Linux kerneltttf^&bootloader#^l architecture number ^ ^ l M i T a I ^ 3.2 ' # &

linux-2.6.25-android-1.0_r1/arch/arm/kernel/head.S (P#i£J) tCPU register r1 Ha # ^ linux-2.6.25-android-1.0_r1/arch/arm/tools/mach-types l ^ ' ffq & ^ & bootloader#^l Architecure Number °

13 PXA270 ift^ft

^^oC^Fedora - CentOS - Debian - Ubuntu^^^l Linux distribution ) faffe

2. Linux kernel TC^ii^ device driver °

3. Linux kernel - Linux device model -Linux device driver - Linux Linux

— ^Embedded Linux System

1. Linux kernel

2. Library

3. Application

1. Linux kernel

1 2008 ^ 9 Linux 2.6.25 for Android 1.0 SDK, Release 1 :

linux-2.6.25-android-1.0_r114 'S^linux-2.6.25-android-1.0_r1

& ' m « ^ tt * ^ ' If fe # ^ tt^llf^ ^ ^ # tt £

ffq 2 ' Linux kernel ' fi Linux device driver >

Android Library > Application Framework A Application —

14 f^- http://code.google.com/p/android/downloads/list http://android.googlecode.com/files/linux-2.6.25-android-1.0_r1.tar.gz Tft

Android

B 4-3 Android

4.3 ^^Linux kernel atlMPXA270 2006 ~2007 ^^ > #H^MM^#1Linux kernel % linux-2.6.15.3 ' ° ^^Android f^Linux kernel 1 Ff'J ' linux-2.6.25-android-1.0_r1 > 0%linux-2.6.15.3

^linux-2.6.25-android-1.0_r1 ' ^«^^^fflAipatchl^^ '

& http://www.kernel.org 1 linux-2.6.15.3 ^ tb & ' # ^ ^ 1 # M ^ linux-2.6.25-android-1.0_r1 t ' & SOP ( Standard

kernel kernel dependent)

Linux Kernel Android
B 4-4 Linux kernel Ml^IB

Linux kernel

2. Android library l Android application

'^fftâtt^ifffAf^ttefct^i^'Steffi diff fxÄ^^^^ff^ifi^iMf ' ä^a^ft^tiÄ^^^f diff diff

1. Windows : WinMerge[25]

^aWindows^P«5fi£'T^^WinMerge T^^fflMeld source software '^^^^^^WinMerge ° B 4-5^WinMerge ° B 4-6^Meld °

$ WinMerge -

[ucblxOO-core.c - ucblxOO-core.cl

mm

3 MIKE) m

IKE) «00 ^fi(M) XI(D mm Ü

mm) IMH)

/include <1inu«/kernel.h> /include <1 inux/slab.h> /include <1inux/init.h> /include <1 inuK/erriio.h> / n^^^^^inux/ interrupt.h>

l/include <1inux/device.h>

/include <asi/dma.h> /include <asi/hardware.h> /include <asi/irq.h>

/include "ucblxQO.h"

:\. .androicWinuï-2.6.15.3\drivers\mfd\ucblxOO-core.c

/include <1 inux/kernel.h> /include <1inux/slab.h> /include <1inux/init.h> /include <1inux/errno.h> /include <1inux/interrupt.h> #include <1 inux/kthread.h>

#include <1inux/device.h> ///include <1inux/iutex.h>

/include <asin/dia.h> /include <asm/hardware.h> /include <asm/irq.h>

/include "ucblxOO.h"

/define DEBUG /ifdef DEBUG /define MSG(string, /else

/include <1 iriux/kthread.h>

H 4-5 WinMerge

[2009.4.17-cdma-import] Settings.java : [4.17-release-1.0... Qlj^®

File Edit Settings Help

0 IH

New Save Undo Redo

Down Up

|/duster/3/ho me/mask/an droid/4.17/200 9.4.17-cdma-import/f rame | y | | Browse.

2009.4.17-cdma-import] Settings.java : [4.17-release-1.0] Settings.java

|/duster/3/ho me/mask/an droid/4.17/200 9.4.17-cdma-import/f rame | y | | Browse.

1098

public

static final String 50UND_EFFECTS_ENABLED = "sound.

effe

1099

1100

/**

1101

* The preferred network mode 7 = Global, CDMA default

1102

*

4 = CDT1A only

1103

*

3 = GSM/UMTS only

1104

1105

public

static final String PREFERREDNETWORKHODE =

1106

" p r ef e r redn etwo rkmode";

1107

1108

1109

* CCMA Cell Broadcast SMS

1110

*

0 = COTA Cell Broadcast SMS

disc

1111

*

1 = CDMA Cell Broadcast SMS

en at

1112

*/

1113

public

static final String CCMA_CELL_BRQADCAST_SMS =

1114

"cdma_cell_brQadca5t_sm5";

1115

1116

/**

1117

* The

cdma subscription 0 = Subscription from RUIM, when

avai

1118

*

1 = Subscription from NV

1119

*/

1120

public

static final String PREFERREDCDMASUBSCRIPTION =

1121

"preferredcdmasubscription";

1122

1123

1124

* Whether the enhanced voice privacy mode is enabled,

1125

* 0 =

normal voice privacy

1126

* 1 =

enhanced voice privacy

1127

*/

1128

public

static final String ENHANCED_VOICE_PRIVACY_ENABLED

"en

1129

1130

/**

1131

* Whether the TTY mode mode is enabled,

1132

* 0 =

disabled

1133

* 1 =

enabled

1134

*/

1135

public

static final String TTYMODEENABLED = "tty_mode_enablec

1136

}

TITÏ

l<l IM

duster/3/ho me/mask/an droid/4.17/4.17-re I ease-l.Q/frameworks/t

1059

1060 1061 1052

1063

1064

1065

1066

1067

1068

1069

1070

1071

1072

1073

1074

1075

1076

1077

1078

1079

1080 1081 1082

1083

1084

1085

1086

1087

1088

1089

1090

1091

1092

1093

1094

1095

1096

1097

1098

public static final String PARENTAL_CONTROL_LAST_UPDATE = " pa rent al_cont rol_last_u pdate" :

* Whether ADB is enabled.

public static -final String ADB_ENABLED = "adb_enabled"; /**

* Whether the audible DTHF tones are played by the dialer whe

public static final String DTMF_TONE_WHEN_DIALINj = "dtmf_tone

* Whether the sounds effects (key clicks, lid open ,,.) are e

public static final String SOUND_EFFECTS_ENABLED = "sound_effe

* Gservices settings, containing the network names for Google's

* various services. This table holds simple name/addr pairs.

* Addresses can be accessed through the getString() method.

public static final class Gservices extends NameValueTable ■[

public static final String SYS PROP SETTING VERSION = "sys.set private static volatile NameValueCache mNameValueCache = null; private static final Object mNameValueCacheLock = new Object()

* Look up a name in the database.

* @param resolver to access the database with

* @param name to look up in the table

* ^return the corresponding value, or null if not present

H 4-6 Meld

PXA270

2. linux-2.6.15.3 M http://www.kernel.org # linux-2.6.15.3

Mainstone

2. Init Section device driver device driver

' fö^^Ätfl^ linux-2.6.15.3 & http://www.kernel.org ^ linux-2.6.15.3 ' ffä^^^^ffll^^t ' redefine >

undefine - function renamed - function prototype modified

5. kernel config (.config ' Linux kernel kernel konfig :

• make pxa270_old_defconfig : defconfig M pxa270_old_defconfig defconfig ' linux-2.6.25-android-1.0_r1/arch/arm/configs/ T°

4.3.3 Linux kernel toolchain ' open sour ce software ' atl^'J^M« ' '

a^lS^l toolchain: http://www.codesourcery.com/sgpp/lite/arm/portal/package3397 /public/arm-none-linux-gnueabi/arm-2008q3-41-arm-none-linux-gnueabi-i686-pc-linux -gnu.tar.bz2 °

4.3.4 Linux kernel

^f kernel image fAEtMtltfr'^fflAFlash ROM t°

printk ai^ifi^tlt^^'fe^Afi'f^t&i^ift disable

^P«#i|>^iA^NFS[28]#h^root file system root file system file system

^#kernelltoolchain^#Busybox '#^#^^lbusyboxM^root file system t'

Was this article helpful?

0 0

Post a comment