uboot-2011.12移植到S3C2440(二)——点亮LED灯,the very beginning。
2012-02-21 12:54
429 查看
一般的,在初始的时候,u-boot没有任何调试手段。为了得到u-boot的内部运行状态,使能LED是一个最好的选择。这里不包括使用仿真器。
ldr r0, =GPBUP #设置为上拉 ldr r1, [r0] orr r1, r1, #0xe0 str r1, [r0] ldr r0, =GPBCON #设置为IO功能 ldr r1, [r0] orr r1, r1, #0x5400 str r1, [r0] ldr r0, =GPBDAT #输出全部为1 ldr r1, =0xffffffff str r1, [r0]
相关文章推荐
- uboot-2011.12移植到S3C2440(序四)—— uboot.lds分析与解析
- uboot-2011.12移植到S3C2440(序二)—— binutils二进制工具集与u-boot
- uboot-2011.12移植到S3C2440(序一)——ELF可执行文件及其组成
- uboot-2011.12移植到S3C2440(序五)——ARM寄存器说明
- uboot-2011.12移植到S3C2440(四序)——SDRAM分析
- 从0移植uboot (四) _点亮调试LED
- uboot-2011.12移植到S3C2440(三序)——MMU Cache/TLB/etc on/off functions
- uboot-2011.12移植到S3C2440(序三)—— Makefile之参考文献
- uboot-2011.12移植到S3C2440(四)——SDRAM初始化之后,卡在board.c的memset不动
- Uboot在S3C2440上的移植
- 汇编+C点亮led-以替代uboot的方式执行
- x210v3开发板u-boot-2012.10移植之五---点亮led进行调试
- A train ticket to Brisbane - the very beginning
- tiny210(s5pv210)移植u-boot(基于 2014.4 版本)——移植u-boot-spl.bin(点亮led灯)
- uboot-2011.12移植到S3C2440(一)—— 简单修改使u-boot能够编译
- Wrote At The Very Beginning
- Concept Neural Network — the very beginning
- STM32移植contiki入门之二:简单编程点亮LED灯
- 【XML码农】【Error】The XML declaration may only appear at the very beginning of the document.
- 05-S3C2440学习之内核(移植)linux3.4.2移植(4)支持LED驱动、按键驱动