![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uboot
橙忆辉
坚持,每天进步一点点……
展开
-
查看uboot的汇编代码
查看uboot的汇编代码,使用以下命令:arm-none-linux-gnueabi-objdump -d u-boot > dump_u-boot.txt由于汇编内容比较多,直接显示在屏幕上不好查找相关内容,可以把汇编内容输入dump_u-boot.txt文件内,然后使用文本工具查看。原创 2013-03-06 19:08:40 · 797 阅读 · 0 评论 -
高通平台修改LK(bootloader)开机logo
a) Read the splash image data from splash .h file.b) Get the splash image data from Splash Partition. for a): 1 首先得拿到图片,格式要求是png, 色深8bit, 且不带alpha(透明色)通道的2 将 png文件转换成raw文件convert android.png -depth转载 2016-08-24 18:44:18 · 5114 阅读 · 0 评论 -
ubuntu下vim + ctags + taglist配置和使用
ctags安装ctags可以建立源码树的索引,使程序员在编程时能迅速定位函数、变量、宏定义等位置去查看原形以下是在ubuntu下ctags的下载安装和配置过程:下载并安装ctags,终端输入命令sudo apt-get install ctags建立源码索引,比如我经常需要查阅Linux的内核代码,而这些代码放在/home/hjw951/arm/linux-2.6.12转载 2013-08-12 21:25:47 · 545 阅读 · 0 评论 -
git-gui:使用终端打开以后出现错误提示 Spell checking is unavable
安装了git-gui,打开以后出现以下提示:Spell checking is unavable:error:No word lists can be found for the language "zh_CN" 原因:打开的时候会进行拼写检查。 解决方法:gedit ~/.gitconfig,然后在文件末尾追加以下内容:[gui] spelli原创 2013-08-12 10:12:35 · 3033 阅读 · 0 评论 -
读取arm mpu的MIDR寄存器
使用如下命令可以读取arm cpu的midr寄存器:MRC p15, 0, , c0, c0, 0; Read MIDR into Rt在c语言中可以使用如下语句把midr寄存器的值读取到变量i中:asm ("mrc p15, 0, %0, c0, c0, 0" : "=r" (i));然后返回i即可,根据该寄存器的值可以识别mpu的版本。 midr寄存器的定义如下:原创 2013-08-01 15:45:16 · 11690 阅读 · 0 评论 -
查看汇编代码
arm-inux-objdump –d u-boot > dump_u-boot.txt 可以得到dump_u-boot.txt文件。该文件就是中,包含了u-boot中的程序的可执行的汇编代码, 其中我们可以看到C诧言的凼数的源代码,到底对应着那些汇编代码原创 2013-07-30 18:25:39 · 635 阅读 · 0 评论 -
在linux下编译 adb 和 fastboot
现在进行android开发必然会使用到fastboot模式升级image,fastboot的源码在android源码的 /system/core/fastboot 文件下adb的源码在android源码的 /system/core/adb 文件下。介绍fastboot协议的文件是fastboot_protocol.txt,在android源码的 /bootable/bootlo原创 2013-05-08 17:21:35 · 3092 阅读 · 0 评论 -
uboot 编译过程
Uboot 编译过程Uboot编译命令:1. source env_ut.sh // set build enviroment source env_ut.sh // set build enviroment2. ./build_uboot.shBuild_uboot.sh脚本的内容如下:原创 2013-02-26 18:36:28 · 1222 阅读 · 0 评论 -
uboot官方网站
uboot源码所有版本的u-boot源代码压缩包都可以在ftp://ftp.denx.de/pub/u-boot/下载。关于u-boot源代码的信息,看http://www.denx.de/wiki/U-Boot/转载 2013-02-25 17:12:19 · 2646 阅读 · 0 评论 -
u-boot.lds文件诠释
u-boot.lds文件诠释 网上大部分u-boot.lds文件的分析大部分都是千遍一律,例如下面就是本人在网上找到的关于u-boot.lds的资料。OUTPUT_FORMAT("elf32-littlearm","elf32-littlearm","elf32-littlearm")/*指定输出可执行文件是elf格式,32位ARM指令,小端*/OUTPUT_ARCH(arm)转载 2013-02-26 10:05:46 · 267 阅读 · 0 评论 -
对u-boot.lds的分析
原文地址:http://zqwt.012.blog.163.com/blog/static/120446842010320101137932/对u-boot.lds的分析Linker Script FormatLinker scripts are text files.You write a linker script as a series of commands.Each co转载 2013-02-26 10:02:12 · 382 阅读 · 0 评论 -
MSM平台RPM
Software Component Block DiagramRPM(Resource Power Manager)是高通MSM平台另外加的一块芯片,虽然与AP芯片打包在一起,但其是一个独立的ARM Core。之所以加这个东西,就是要控制整个电源相关的shared resources,比如ldo,clock。负责与SMP,MPM交互进入睡眠或者唤醒整个系统。 以下是高通文档中对各个功能模块的说明转载 2017-04-12 15:38:21 · 1498 阅读 · 0 评论