Professional Documents
Culture Documents
Nand Flash
Nor Flash
Amoi
Nand Flash PC Amoi
Boot
AMSS Boot Load
Nand Flash Block8K Boot Copy RAM
CPU SDRAM
CPU Cache
0xFFFF0000 Boot Boot
PC BIOS Boot
Boot AMSS
SDRAM AMSS Boot
Boot AMSS main(). mobile.c
Main()rex
rex_init()Rex_init()
1.timer
2.rex_idle_taskrex_dpc_task tmc_task
Idle dpc_task
tmc_task
() AMSS
tmc_task
AMSS tmc_task tmc_task
tmc_init() AMSS
tmc_define_tasks() AMSS slee_task
dog_taskcm_taskwms_taskui_task AL
Service Task
AMSS
OS Brew AEE
Qualcomm 5xxx
Brew ALApplication Layer
Service task API
65xx Qualcomm Brew
Service API Brew
Qualcomm Brew
Brew AEE ui_task() ui_task
ui_task AEE
1.
2. tmc_powerdown_handler
AMSS Stop rex_exit() Rex
3. Flash
Boot
Boot OEM C
,Boot Driver drivers/boot
Boot boot Boot_function_table.s
Boot
a)mmu_enable_instruction_cache;
Nand ARM Cache.
b)boot_hw_ctrl_init
(EBI1EBI2),
[]
OEM
C
OEM
c)boot_hw_tlmm_init
1.
2.
3.GPIO
4.Msm EBI2;
d)boot_rom_test
Rom .
e)boot_ram_test
Ram
f)boot_ram_init
1. Nand Flash SDRAM
a.Image__BB_RAM__Base:Core Code;
b.Image__APP_RAM__Base:App Code;
[]
Qualcomm Boot Load.
2. Image__ZI_REGION__ZI 0;
3. OEM Heap;
4. Image ();
g)boot_stack_initialize
ARM ,.
h)boot_cache_mmu_init
ARM Mmu
Boot AMSS main
ARM __rt_entry()
Ui_task
ui_task
ui_task
ui_task App
ui_task
1.ui_Init;
ui_task
a) Kick Watchdog WatchDog Kick
ui_task Timeout
b)
c) AL
task
d) Sound
e) wms_task wms IWms
[]
hs_task ui_task
h) ui_powerup True
i) IPC UI_IPC_SIG
j)bridle_InitSWITable
k) Rom
2) CoreApp Applet
2.ui_HandleSignals;
ui_task
a)
b)TASK_STOP_SIG Stop
c)TASK_OFFLINE_SIG
d)CoreAppHandleStopSig ui_task
CoreApp ui_task
tmc
tmc_powerdown_handler TASK_STOP_SIG
ui_task
Ok
App
Ok CoreApp
e) CoreApp
CoreApp
f)
i.
ii.;
iii.;
iv. AEE
[]
1. ui
Pin CoreApp
4.
CoreApp
CoreApp
a)
b) Logo
c)Sim Pin
d)
i.
ii.
iii.
e)IAnnunciator
f)
g)
h)
i)
CoreApp
1(CoreApp)
1Sim Pin
2 Logo
3WmsAppDialApp
4
NV App
NV Buffer App
Buffer Core NV
5
[]
CoreApp Idle Applet
ui_task Key Key Core Core
Key ui_task Key AEE AEE
Key Applet
2Idle
1
2
3
[]
Idle
3Polling
a.
b.
c.(C/G)
d.PLMN
e. Polling
f.USB
g.
4Menu
Menu
Ok
App
5 App
App
App
Qualcomm
Amoi CoreApp
Qualcomm
a)80-V1072-1_E_Boot_Block_Downloader.pdf
b)80-V5316-1_K_QCT_Ext_API_RG.pdf
c)driver/boot
d)service/tmc
e)app/core