资源简介
qcom高通lk(bootloader)层代码msm8953系列,对分析aboot和Lk有很大帮助,从高通开源拉下来的代码,直接下载用source insight就可以查看,很方便。
代码片段和文件信息
/*
* Copyright (c) 2009 Travis Geiselbrecht
*
* Permission is hereby granted free of charge to any person obtaining
* a copy of this software and associated documentation files
* (the “Software“) to deal in the Software without restriction
* including without limitation the rights to use copy modify merge
* publish distribute sublicense and/or sell copies of the Software
* and to permit persons to whom the Software is furnished to do so
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
* EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM DAMAGES OR OTHER LIABILITY WHETHER IN AN ACTION OF CONTRACT
* TORT OR OTHERWISE ARISING FROM OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include
#include
#include
extern const struct app_descriptor __apps_start;
extern const struct app_descriptor __apps_end;
static void start_app(const struct app_descriptor *app);
/* one time setup */
void apps_init(void)
{
const struct app_descriptor *app;
/* call all the init routines */
for (app = &__apps_start; app != &__apps_end; app++) {
if (app->init)
app->init(app);
}
/* start any that want to start on boot */
for (app = &__apps_start; app != &__apps_end; app++) {
if (app->entry && (app->flags & APP_FLAG_DONT_START_ON_BOOT) == 0) {
start_app(app);
}
}
}
static int app_thread_entry(void *arg)
{
const struct app_descriptor *app = (const struct app_descriptor *)arg;
app->entry(app NULL);
return 0;
}
static void start_app(const struct app_descriptor *app)
{
thread_t *thr;
printf(“starting app %s\n“ app->name);
thr = thread_create(app->name &app_thread_entry (void *)app DEFAULT_PRIORITY DEFAULT_STACK_SIZE);
if(!thr)
{
return;
}
thread_resume(thr);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-01-12 22:57 bootable\
目录 0 2019-01-12 22:57 bootable\recovery\
目录 0 2019-01-12 22:57 bootable\recovery\boot_control\
文件 1123 2018-11-05 14:17 bootable\recovery\boot_control\Android.mk
文件 15115 2018-11-05 14:17 bootable\recovery\boot_control\boot_control.cpp
文件 19243 2018-11-05 14:17 bootable\recovery\ui.cpp
目录 0 2019-01-12 22:57 bootable\recovery\otautil\
文件 1183 2018-11-05 14:17 bootable\recovery\otautil\cache_location.cpp
文件 6298 2018-11-05 14:17 bootable\recovery\otautil\SysUtil.cpp
目录 0 2019-01-12 22:57 bootable\recovery\otautil\include\
目录 0 2019-01-12 22:57 bootable\recovery\otautil\include\otautil\
文件 1975 2018-11-05 14:17 bootable\recovery\otautil\include\otautil\error_code.h
文件 2287 2018-11-05 14:17 bootable\recovery\otautil\include\otautil\cache_location.h
文件 1418 2018-11-05 14:17 bootable\recovery\otautil\include\otautil\SysUtil.h
文件 924 2018-11-05 14:17 bootable\recovery\otautil\include\otautil\ThermalUtil.h
文件 5812 2018-11-05 14:17 bootable\recovery\otautil\include\otautil\rangeset.h
文件 1393 2018-11-05 14:17 bootable\recovery\otautil\include\otautil\DirUtil.h
文件 1440 2018-11-05 14:17 bootable\recovery\otautil\include\otautil\print_sha1.h
文件 3355 2018-11-05 14:17 bootable\recovery\otautil\DirUtil.cpp
文件 8434 2018-11-05 14:17 bootable\recovery\otautil\rangeset.cpp
文件 2348 2018-11-05 14:17 bootable\recovery\otautil\ThermalUtil.cpp
文件 1048 2018-11-05 14:17 bootable\recovery\otautil\Android.bp
文件 1735 2018-11-05 14:17 bootable\recovery\asn1_decoder.h
文件 170 2018-11-05 14:17 bootable\recovery\PREUPLOAD.cfg
文件 5209 2018-11-05 14:17 bootable\recovery\recovery-persist.cpp
文件 2439 2018-11-05 14:17 bootable\recovery\fuse_sdcard_provider.cpp
文件 2651 2018-11-05 14:17 bootable\recovery\recovery-refresh.cpp
文件 1965 2018-11-05 14:17 bootable\recovery\stub_ui.h
目录 0 2019-01-12 22:57 bootable\recovery\tools\
文件 32 2018-11-05 14:17 bootable\recovery\tools\Android.mk
目录 0 2019-01-12 22:57 bootable\recovery\tools\recovery_l10n\
............此处省略3751个文件信息
相关资源
- 基于S32K144的CANbootloader
- ARM7TDMI-S在嵌入式系统中的Bootloader代码
- 基于Arduino和Machtalk的温棚环境监测系
- Temperature dependence of electron-spin cohere
- STM32的IAP-Bootloader程序
- STM32例程之Bootloader
- Channel waveguides fabrication in bulk Lithium
- Microsoft_Toolkit_2.4.1_XiaZaiBa.zip
- 3. BizTalk企业应用集成方案深度演绎
- segger j-flash
- depend walker (dependency walker) DLL 查看
- SoapToolkit30 安装包
- ISO 11270-2014 Intelligent transport systems)
- USB2.0芯片cy68013高速bulk传输slave fifo模
- AjaxControlToolkit4.5
- suricata+elk+kibana+logstash安装手册.docx
- S32K144的boot可修改普通CAN
- QXDM user guide
- solkane 9.1制冷剂参数软件
- ISO 11270车道保持辅助LKA ISO标准
- STM32F105RC_U盘升级bootloader.7z
- 任意串口BootLoader程序升级
- S32KCANbootloader上位机及下位机源码
- 6416bootloader.rar
- STM32 BOOTLOADER IAP 自动跳转
- krypton toolkit 4.2破解版
- LKT-K100开发板使用说明
- Chilkat9.5.0.75(x86+x64)ActiveX+注册机
- 英国TalkTalk SNU5630NS/05 的无线网卡驱动
- Walktour 便携式网络测试系统
评论
共有 条评论