redboot

学习一下,近期自己在弄redboot。

转载网址:http://blog.chinaunix.net/u/26749/showart_205853.html

(最先将i686-pc-linux-gnulibc2.2-x-xscale-elf.tar.Z  redboot-intel-xscale-031212.tar.gz   patch.256-16文件传到linux服务器上 )

第一步:安装交叉编译器

% tar zxpf i686-pc-linux-gnulibc2.2-x-xscale-elf.tar.Z  -C /opt/redhat/xscale-030422/

      % ./Install --tape=i686-pc-linux-gnulibc2.2-x-xscale-elf.tar.Z

      % cd /opt/redhat/xscale-030422/H-i686-pc-linux-gnulibc2.2/bin

      % install -s xscale-elf-gcc arm-elf-gcc

      % install -s xscale-elf-ar arm-elf-ar

% install  -s xscale-elf-objcopy arm-elf-objcopy

% export PATH=/opt/redhat/xscale-030422/H-i686-pc-linux-gnulibc2.2/bin:${PATH}

第二步:安装Redboot

配置的方式使用配置工具ecosconfig,

% tar vxzf redboot-intel-xscale-031212.tar.gz

% patch –p1 –d redboot-intel-xscale-030618 < patch.128-32

 

% cd redboot-intel-xscale-030618

       % export TOPDIR=$PWD

      % export ECOS_REPOSITORY=${TOPDIR}/packages

% export VERSION=current

% mkdir ${TOPDIR}/build

% cd  ${TOPDIR}/build

% ecosconfig new ixdp425 redboot

      % ecosconfig import /

${ECOS_REPOSITORY}/hal/arm/xscale/ixdp425/${VERSION}/misc/redboot_ROM.ecm

加上网卡驱动:

%../packages/ecosadmin.tcl add /root/npe-1.1.epk

%ecosconfig add intel_npe

%ecosconfig add ixdp425_npe

 

% ecosconfig tree

      % make

做好的redboot.bin 文件在redboot-intel-xscale-030618/build/install/bin目录下

 

第三步:烧写redboot(我们使用的是xice)

xice>fp 0 0x50000000  redboot.bin  t     (需要redboot.binxice放在同一目录下)

也可以:

fp 0 0x50000000 {redboot.bin 的目录}/redboot.bin  t

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值