2012年4月11日

VIC流程

摘要: 一共64个中断向量,内置硬件中断优先级,默认优先级为0,软件可置0-15号优先级,0级最低,每个中断向量对应一个 VICVECTPRIO­_XX寄存器来设置相应的优先级。中断服务函数入口地址组成一张中断服务程序表,该表的地址为浮动,表的基地址由 VECT_IRQ_BASE设置,64个中断服务函数入口地址按各自的中断号填入表中,每次执行irq或者fiq时中断服务函数入口地址自动载入 VECT_IRQ_ADDR或者VECT_FIQ_ADDR中,pc载入其中内容跳到中断服务函数开始执行。 阅读全文

posted @ 2012-04-11 10:14 阿加 阅读(182) 评论(0) 推荐(0) 编辑

dd

摘要: 因为hex软件不能向SD开中写入大量数据,所以用另外linux下的dd命令dd if=system.img of=/dev/... bs=512 seek=8200 conv=notruncNAMEdd - convert and copy a fileSYNOPSISdd [operand ...]DESCRIPTION Theddutility will copy the specified input file to the specified output file with possible conversions using specific input and output b. 阅读全文

posted @ 2012-04-11 10:06 阿加 阅读(539) 评论(0) 推荐(0) 编辑

2012年4月9日

GUN as 使用

摘要: mipsel-linux-as –target-help 显示指定汇编器的特殊选项并退出。 This manual is intended to describe what you need to know to use gnu as. We cover the syntax expected in source files, including notation for symbols, constants, and expressions; the directives that as understands; and of course how to invoke as.Depende. 阅读全文

posted @ 2012-04-09 15:02 阿加 阅读(1461) 评论(0) 推荐(0) 编辑

2012年4月8日

objcopy

摘要: objcopy的作用是拷贝一个目标文件的内容到另一个目标文件中。objcopy使用GNU BFD库去读或写目标文件。objcopy可以使用不同于源目标文件的格式来写目的目标文件(也即是说可以将一种格式的目标文件转换成另一种格式的目标文件)。objcopy在进行目标文件的转换时,将生成一个临时文件,转换完成后就将这个临时文件删掉。objcopy使用BFD做转换工作。如果没有明确地格式要求,则objcopy将访问所有在BFD库中已经描述了的并且它可以识别的格式。请注意objcopy 所能支持的机器架构,及目标文件格式。mipsel-linux-objcopy –-info显示出该objcopy所支 阅读全文

posted @ 2012-04-08 10:29 阿加 阅读(7747) 评论(0) 推荐(0) 编辑

2012年4月7日

S-record & Intel hex

摘要: s-record 文件格式+------------------//-------------------//-----------------------+ | type | count | address | data | checksum +------------------//-------------------//-----------------------+其中type指明记录类型(head record:S0、0x5330;data record:S1、0X5331,S2、0X5332,S3、0X5333;count record:S5、0X5335,termination 阅读全文

posted @ 2012-04-07 20:47 阿加 阅读(924) 评论(0) 推荐(0) 编辑

2012年4月4日

mips 纯二进制反汇编(bin文件)

摘要: Usage: mipsel-linux-objdump <option(s)> <file(s)> Display information from object <file(s)>. At least one of the following switches must be given: -a, --archive-headers Display archive header information -f, --file-headers Display the contents of the overall file header -p, --priva 阅读全文

posted @ 2012-04-04 14:47 阿加 阅读(5398) 评论(0) 推荐(0) 编辑

ldconfig

摘要: ldconfig所做的仅与程序运行时相关,与链接没有关系,因此链接时仍应加 -L选项。ldconfig是动态链接库的管理命令。该命令主要是在默认搜寻目录(/lib和/usr/lib)以及动态库配置文件/etc/ld.so.conf内所列的目录下,搜索出可共享的动态链接库,进而创建/跟新ld.so所需的链接和缓存文件。缓存文件默认为/etc/ld.so.cache,此文件保存已排好序的动态链接库名字列表。ldconfigconfigure dynamic linker run-time bindings/lib/ld-linux.so.x: execution time linker/loade 阅读全文

posted @ 2012-04-04 10:54 阿加 阅读(581) 评论(0) 推荐(0) 编辑

ldd

摘要: ldd print shared library dependencies 显示共享库间的依赖关系。 打印出程序的依赖库,以及依赖库所需的依赖库。引述自:http://www.360doc.com/content/10/1230/21/1378815_82757146.shtml1、-v 或 --verbose指示ldd输出关于所依赖的动态库的尽可能详细的信息。2、-d 或 --data-relocs该选项执行重定位,并且显示不存在的函数。3、-r 或 --function-relocs该选项执行数据对象与函数的重定位,同时显示不存在的对象。4、--version打印ldd的版本号 阅读全文

posted @ 2012-04-04 10:53 阿加 阅读(344) 评论(0) 推荐(0) 编辑

ar

摘要: ar-d 从archive删除modules 加上-v参数后显示最终删除了哪些module-m移动archive文件中的成员(默认是将指定的成员移到最后) -a xxx 将成员移到xxx之后 -b xxx 将成员移到xxx之前 -i xxx 同-b xxx-p 将archive指定的member显示到标准输出文件。-q 将文件成员加入到archive的最后-r 将文件成员加入最后,若有相同则将源文件删除 -U 只把时间戳最新的文件才加入-t 显示archive指定文件的信息或所有文件信息-x 从archive中extract members-c 创建archive-s write an obj 阅读全文

posted @ 2012-04-04 10:52 阿加 阅读(234) 评论(0) 推荐(0) 编辑

ranlib

摘要: ranlib 产生archive文件的索引 The index lists each symbol defined by a member of an archive that is a relocatable object file. 阅读全文

posted @ 2012-04-04 10:52 阿加 阅读(152) 评论(0) 推荐(0) 编辑

导航