uboot移植过程
1.修改Makefile
首先给要建立的S3C2410开发板取名为TE2410, 移植uboot时以smdk2410为模板, 修改Makefile
#tar xvjf u-boot-1.1.3.tar.bz2 #cd u-boot-1.1.3 #vi Makefile scb9328_config
: unconfig
@./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
unconfig
@./mkconfig $(@:_config=) arm arm925t sx1
@./mkconfig $(@:_config=) arm arm920t te2410 NULL s3c24x0
smdk2400_config : unconfig smdk2410_config : unconfig SX1_config :
te2410_config : unconfig
蓝色字体是添加的内容。其中,te2410_config : unconfig意思是为TE2410建立一个编译项,@./mkconfig $(@:_config=) arm arm920t te2410 NULL s3c24x0中的 arm表示CPU的架构是基于ARM体系结构的;arm920t表示CPU类型是arm920t;te2410是开发板的型号;NULL表示开发商或经销商的名称为空;s3c24x0表示是基于s3c24x0的片上系统。
2.在uboot的board目录下建立te2410开发板子目录 #cp –fr board/smdk2410 /board/te2410 #cd board/te2410
#mv smdk2410.c te2410.c
还要修改board/te2410/Makefile文件, OBJS
3.在include/configs目录下建立te2410.h头文件 #cd include/configs
#cp –fr smdk2410.h te2410.h
4.指定交叉编译器的路径
选择支持softfloatpoint的交叉编译器,在etc/bashrc文件中添加一行 export
PATH=/home/newdisk/toolchain/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin:$PATH
其中,
/home/newdisk/toolchain/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin是交叉编译器路径
:= smdk2410.o flash.o -------- OBJS := te2410.o flash.o
uboot移植总结_信息与通信_工程科技_专业资料。uboot移植uboot 移植过程 1.修改 Makefile 首先给要建立的 S3C2410 开发板取名为 TE2410, 移植 uboot 时以 smdk...
UBOOT在OK210开发板移植知识点总结_电子/电路_工程科技_专业资料。uboot在飞凌...1, 所以 BL1 烧写的起始块标号为 1,这也就是第二条烧写命令中 seek=1 ...
uboot移植总结1 15页 2下载券 最新Uboot移植步骤 1:初... 4页 免费喜欢...2011.03到S3C244...
31 1 / 31 VxWorks 的 bootrom 到 u-boot 的移植心得 tof@ustc_bbs 2006.3.27 VxWorks 的 bootrom 到 u-boot 的移植心得原因:Wind River 公司推出的 ...
移植uboot从H3512到Hi3520上的总结_计算机软件及应用_IT/计算机_专业资料。虽然...碰到的问题有: 1),编译问题。 以前用单片机开发项目,在 keil 等 IDE 上选好...
详细介绍了uboot1.2.0的移植过程详细介绍了uboot1.2.0的移植过程隐藏>> U...下面是总结的 一张流程图 .globl _start 1 _start: b reset 运行以后,先跳...
uboot中添加新命令 3页 2财富值 uboot环境变量总结 3页 1财富值 uboot移植总结1 15页 5财富值喜欢此文档的还喜欢 uBoot命令 9页 免费 uboot-命令 7页 2...
Uboot 移植比较好的一个流程 ATMEL 所提供光盘上的 U-Boot 版本为 1.1.5....推理型题分析与总结 78份文档 一起来学广场舞 广场舞活动方案 社区广场舞策划...
uboot移植记录之一_计算机软件及应用_IT/计算机_专业资料。uboot 移植记录之一...Stop. make[1]: Leaving directory `/work/src/u-boot-1.1.4/examples' ...
http://www.gec-lab.org >> 2 广州广嵌电子科技有限公司 u-boot移植要点 我们可以总结出bootloader的两大功能: 1 是下载功能,既通过网口、串口或者USB口下载...
热门文档