2 University of Electronic Science Technology of China(UESTC) Chapter 3 s Software System Real-Time Systems Lab LIAO Yong
2 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) Chapter 3 Software System
3 1 Overview University of Electronic Science Technology of China(UESTC) Why Embedded Software System(ESS)? Running process of ESS Real-Time Systems Lab LIAO Yong
3 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) 1 Overview Why Embedded Software System (ESS) ? Running process of ESS
2 Why Embedded Software System (ESS)? University of Electronic Science Technology of China(UESTC) "Even a fly has its spleen" (x.k,x.M) >Bootloader:BSP(Board Support Package) ERTOS >Drivers >Application Real-time Dependability (Reliability,Availability,Safety,Security......) Integrated software Real-Time Systems Lab LIAO Yong
4 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) “Even a fly has its spleen” (x.k, x.M) Bootloader: BSP (Board Support Package) ERTOS Drivers Application Real-time Dependability (Reliability,Availability,Safety,Security……) Integrated software 2 Why Embedded Software System (ESS) ?
5 3 Running process of ESS (OS supported) University of Electronic Science Technology of China(UESTC) Power on Why...? RomInit.s Boot SysALib.s RomStar() Load SysInit() UsrInit() System Initialization UsrkernelInit() KernelInit() UsrRoot() Application Boot ARM11MPCORE in aCoral Initialization How does VxWorks begin to run on X86 Multi-tasks Application How to specify the BSP VxWorks Real-Time Systems Lab LIAO Yong
5 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) 3 Running process of ESS (OS supported) Multi-tasks Application Power on Boot Load System Initialization Application Initialization RomInit.s SysALib.s RomStar() SysInit() UsrInit() UsrkernelInit() KernelInit() UsrRoot() Why… ? How does VxWorks begin to run on X86 ? How to specify the BSP & VxWorks ? Boot ARM11MPCORE in aCoral ?
6 4 ESS RTOS University of Electronic Science Technology of China(UESTC) Uboot Vivi ..... 口Q&A Real-Time Systems Lab LIAO Yong
6 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) 4 ESS & RTOS Uboot & Vivi …… Q & A
7 4 ESS RTOS University of Electronic Science Technology of China(UESTC) Architecture of ESS Architecture of RTOS Monolithic kernel >Layered architecture >Micro-kernel Collaborative Computing on Multi-core Platform Heterogeneous OS on the ARM11MPCORE Boot 4 cores What's special? Address space allocation Real-Time Systems Lab LIAO Yong
7 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) 4 ESS & RTOS Architecture of ESS Architecture of RTOS Collaborative Computing on Multi-core Platform Monolithic kernel Layered architecture Micro-kernel Heterogeneous OS on the ARM11MPCORE • Boot 4 cores • Address space allocation What’s special?
8 4 ESS RTOS University of Electronic Science Technology of China(UESTC) >Heterogeneous OS on the ARM11MPCORE MiddleWare:aCoral-link (Linux driver aCoral driver) in charge of Booting aCoral,managing shared memory,coordinating task execution in Dual-OS √APIs for user ▣INT3(Send&receive) Data structures in common Registers in common FLAG,IPI .....(acoral_create_thread() 。Program design ·Example Collaborative Computing Real-Time Systems Lab LIAO Yong
8 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) 4 ESS & RTOS Heterogeneous OS on the ARM11MPCORE • MiddleWare: aCoral-link in charge of Booting aCoral, managing shared memory, coordinating task execution in Dual-OS APIs for user • Program design • Example • Collaborative Computing (Linux driver + aCoral driver) INT 3 (Send & receive) Data structures in common Registers in common : FLAG, IPI …… (acoral_create_thread())
9 4 ESS RTOS University of Electronic Science Technology of China(UESTC) >Heterogeneous OS on the ARM11MPCORE >Heterogeneous TI DM3730 (ARM DSP)? >x ARMs +y GPUs >Where to go..… Where is RTOS going on Real-Time Systems Lab LIAO Yong
9 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) Heterogeneous TI DM3730 (ARM + DSP)? x ARMs + y GPUs ? Where to go ….. Where is RTOS going on ? 4 ESS & RTOS Heterogeneous OS on the ARM11MPCORE
10 5 Others University of Electronic Science Technology of China(UESTC) Questions Real-Time Systems Lab LIAO Yong
10 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) 5 Others Questions ?
11 University of Electronic Science Technology of China(UESTC) Application APP 1 APP 2 APP n M/W CORBA JAVA DCOM os File TCP/IP Power System Kernel GUI Manage Driver BSP FLASH RTC SPI PPI LCD CAN e4。e“e H/W Real-Time Systems Lab LIAO Yong
11 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) H/W Application Driver BSP OS Kernel M/W FLASH RTC SPI PPI LCD CAN …… TCP/IP File System GUI Power Manage CORBA JAVA DCOM …… APP 1 APP 2 …… APP n