Description: 基于keil4和mini2440环境下的启动程序
可以了解启动过程和配置要领-Environment based on keil4 and mini2440 start program can understand the boot process and configuration essentials Platform: |
Size: 4992000 |
Author:GuoQiang |
Hits:
Description: 基于android2.2的fota功能。 升 级 整 个 流 程 概 述 : 从 用 户 点 击 APK , 然 后 上 层 将 命 令 写 入
recovery/command,然后 kernel 检测到信号重启,将开机原因写入共享内存,
开机进入 appboot 检测到 arm9 传递过来的开机原因,然后进入 recovery 模式,
执行 sbin/recovery。进入 install_package 函数,然后建立管道执行升级包解
析出来的脚本, cache 分区进行比较解析。
在
升级完毕重启,
写入 FLAG。 Oemsbl
在
阶段检测到 FLAG 会对 MODEM 端 IMG 进行升级,升级完毕后重置 FLAG。然后重启
后正常开机,整个升级过程完毕
-Upgrade the entire process Overview: APK, then the user clicks on the upper command will write
recovery/command, and then the kernel detected signal to restart write boot reasons to shared memory,
Boot to enter appboot is detected the arm9 pass over the boot reasons, and then into recovery mode,
Execution sbin/recovery. Into install_package function, and then build the pipeline to perform the upgrade package solution
Analysis of the script, the cache partition comparison resolve.
In
The upgrade is complete restart,
Write the FLAG. Oemsbl
In
Stage detected FLAG will MODEM side IMG upgrade after upgrade reset the FLAG. And then restart
After the normal boot, the entire upgrade process is completed Platform: |
Size: 55296 |
Author:1111 |
Hits:
Description: STM32启动过程解析
1、 通过boot引脚设置可以将中断向量表定位于SRAM区,即起始地址为0x2000000,同时复位后PC指针位于0x2000000处;
2、 通过boot引脚设置可以将中断向量表定位于FLASH区,即起始地址为0x8000000,同时复位后PC指针位于0x8000000处;
3、 通过boot引脚设置可以将中断向量表定位于内置Bootloader区,本文不对这种情况做论述;
而Cortex-M3内核规定,起始地址必须存放堆顶指针,而第二个地址则必须存放复位中断入口向量地址,这样在Cortex-M3内核复位后,会自动从 起始地址的下一个32位空间取出复位中断入口向量,跳转执行复位中断服务程序。对比ARM7/ARM9内核,Cortex-M3内核则是固定了中断向量表 的位置而起始地址是可变化的。
有了上述准备后,下面以STM32的2.02固件库提供的启动文件“stm32f10x_vector.s”为模板,对STM32的启动过程做一个简要而全面的解析。-STM32 resolve a boot process, the boot pin set interrupt vector table can be located in the SRAM area, namely the start address is 0x2000000, while the post-PC pointer is reset at 0x2000000 2, through the boot pin settings can be FLASH interrupt vector table located in the area, namely the start address is 0x8000000, while the pointer is reset PC 0x8000000 place 3, through the boot pin set interrupt vector table can be located in the built-in Bootloader district, this paper does not do this discourse while Cortex-M3 core provides the starting address must be kept top of the heap pointer, while the second addresses must be stored reset interrupt vector address entry, so that the Cortex-M3 core is reset, it will automatically starting address of the next 32 Remove the reset interrupt entry vector space, Jump perform a reset interrupt service routine. Contrast ARM7/ARM9 core, Cortex-M3 core is fixed interrupt vector table start address of the position can be varied. With these preparat Platform: |
Size: 90112 |
Author:song |
Hits:
Description: STM32启动过程解析
1、 通过boot引脚设置可以将中断向量表定位于SRAM区,即起始地址为0x2000000,同
时复位后PC指针位于0x2000000处;
2、 通过boot引脚设置可以将中断向量表定位于FLASH区,即起始地址为0x8000000,同
时复位后PC指针位于0x8000000处;
3、 通过boot引脚设置可以将中断向量表定位于内置Bootloader区,本文不对这种情况做
论述;
而Cortex-M3内核规定,起始地址必须存放堆顶指针,而第二个地址则必须存放复位中
断入口向量地址,这样在Cortex-M3内核复位后,会自动从 起始地址的下一个32位空间取
出复位中断入口向量,跳转执行复位中断服务程序。对比ARM7/ARM9内核,Cortex-M3
内核则是固定了中断向量表 的位置而起始地址是可变化的。
有了上述准备后,下面以STM32的2.02固件库提供的启动文件“stm32f10x_vector.s”为
模板,对STM32的启动过程做一个简要而全面的解析。
-STM32 resolve a boot process, the boot pin set interrupt vector table can be located in the SRAM area, namely the start address is 0x2000000, while the post-PC pointer is reset at 0x2000000 2, through the boot pin set interrupt vector table can be positioned in the FLASH area, namely the start address is 0x8000000, while the pointer is reset PC 0x8000000 place 3, through the boot pin set interrupt vector table can be located in the built-in Bootloader area, this article discusses the right to do this while the Cortex-M3 kernel provides the starting address must be kept top of the heap pointer, while the second addresses must be stored reset interrupt vector address entry, so that the Cortex-M3 core is reset, it will automatically start the next 32-bit address space out reset interrupt entry vector, Jump perform a reset interrupt service routine. Contrast ARM7/ARM9 core, Cortex-M3 core is fixed interrupt vector table start address of the position can be varied. With these preparation Platform: |
Size: 4096 |
Author:song |
Hits: