码迷,mamicode.com
首页 > 其他好文 > 详细

移植u-boot-2012.4到Tiny6410_1G_Nandflash

时间:2015-05-13 21:46:15      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:

1、打开根目录下的Makefile文件

smdk6400_noUSB_config    smdk6400_config    :    unconfig
    @mkdir -p $(obj)include $(obj)board/samsung/smdk6400
    @mkdir -p $(obj)nand_spl/board/samsung/smdk6400
    @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
    @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
    @if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then                    echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6400/config.tmp;    else                                                echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6400/config.tmp;    fi
    @$(MKCONFIG) smdk6400 arm arm1176 smdk6400 samsung s3c64xx
#    @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk  
//注释掉这一项,这涉及到nandflash启动问题,具体说明请看u-boot-2010.3移植到Tiny6410问题总结的问题一;我习惯让CPU直接从start.s处开始执行

 

移植u-boot-2012.4到Tiny6410_1G_Nandflash

标签:

原文地址:http://www.cnblogs.com/cxd2014/p/4501612.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!