摘要: 执行make x210ii_qt_defconfi时进入根目录Makefile匹配%config目标,该目标的依赖关系链如下: %config(1) scripts_basic(1.1)outputmakefile(1.2)FORCE(1.3) 开始执行1.1,$(Q)$(MAKE) $(build 阅读全文
posted @ 2019-07-17 02:36 根叔~ 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 总体来说做了初始化gd结构变量,初始化网卡,timer4,打印一些cpu时钟,uboot版本等信息 一。 init_sequence[]函数指针数组位于lib_arm/board.c 二。 cpu_init 位于cpu/s5pc11x/cpu.c 这里什么也没做 三。 board_init 位于bo 阅读全文
posted @ 2019-07-05 00:45 根叔~ 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 主Makefile1~130为变量定义,第130行(ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk)))这句是判断在include是否有config.mk存在, 若存在则130~454会被编译进makefile中,co 阅读全文
posted @ 2019-07-02 17:12 根叔~ 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 一。执行顶层目录下的mkconfig脚本: 1. include/asm->asm_arm 2. include/asm-arm/arch->s5pc11x 3. include/regs.h->s5pc110.h 4. include/asm-arm/proc->proc-armv 5. 创建in 阅读全文
posted @ 2019-07-02 15:54 根叔~ 阅读(262) 评论(0) 推荐(0) 编辑