- 1
- 0
- 约5.83千字
- 约 33页
- 2017-05-17 发布于江苏
- 举报
LINUX BOOT PROCEDURE AND BOOTLOADER.ppt
LINUX BOOT PROCEDURE AND BOOTLOADER LAB 6 OUTLINE Introduction Boot loader U-Boot Kernel INIT Lab Introduction An embedded linux system is typically consist of some software below : Boot loader Kernel Init program Your application BOOT LOADER Boot loader is a program that : Execute when board power on Detect hareware (if necessary) Initialize hardware Copy first program, might be : A simple program Bootloader stage N OS kernel Transfer control to it and go Boot loader is varied from different CPU, different board. BOOT LOADER Execute when board power on Any CPU will execute a program at specified address when power on Boot loader always be placed there BOOT LOADER Detect Hardware Search for attached device Filesystem on storage Mouse on USB …etc Use detected device if need Read configure file in filesystem BOOT LOADER Initialize Hardware Some hardware require default value Stop interrupt Set CPU clock Configure RAM or MMU Reset other processor such as DSP BOOT LOADER Copy First Program A simple program Non-OS program Bootloader stage N Boot loader might have multiple stages, multiple modes OS kernel Linux WinCE …etc BOOT LOADER Copy First ProgramStage N Typical 2 stages in embedded system Stage 1 Write in assembly language to speed up Initialize hardware Copy Stage 2 to RAM Prepare stack for Stage 2 Jump to Stage 2 Stage 2 Write in C for more feature Initialize hardware Load kernel Send parameter to kernel Start kernel BOOT LOADER Copy First ProgramMultiple modes In order to provide more feature, boot loader might have multiple modes Mode 1: Boot program or kernel Copy program only Mode 2: Update utility Read filesystem or kernel via : RS232 : xmodem protocol (Very Slow) Network : FTP protocol Earse flash and overwrite it with new data BOOT LOADER Example BOOT LOADER Transfer Control to It and Go Copy next program to RAM Sometimes might execute on ROM Setup stack for it Set PC (or jump) to its start address U-Boot U-Boot : Universal Bootloader
您可能关注的文档
最近下载
- 2024-2025学年上海市普陀区六年级下学期数学期末试题含详解.pdf VIP
- 制造业企业员工高离职率分析.pdf VIP
- GB50461-2024:石油化工静设备安装工程施工质量验收规范.pptx VIP
- 三江A116火灾报警控制器简易操作规程.docx
- (新版)社会体育指导员理论知识考试题库(含答案).docx VIP
- DB31T 1104-2018 城市轨道交通导向标识系统设计规范.docx VIP
- 2023年浙江省军队转业干部录用考试试题.docx VIP
- 口渴了-朋友帮你.ppt VIP
- Xikong西莱克低温机控制板SHXK814用户手册.pdf
- 爱迪生牛顿大发明攻略.doc VIP
原创力文档

文档评论(0)