10年前文章_mpc8313的ltib安装以及u-boot重新编译

Linux系统下安装ltib(linux target image builder):

1.       下载光盘到本地

wget http://192.168.1.4/share/vendor/mpc8313/8313e_070831.iso

2.       加载光盘:

Sudo mkdir /mnt/cdrom

Sudo mount –o loop 8313e_070831.iso /mnt/cdrom

3.       安装ltib

在需要安装的目录下运行(默认安装在此目录)

/mnt/cdrom/install

4.       安装genext2fs.rpm

Rpm ivh genext2fs.rpmwhich genext2fs 有此命令不需要安装)

Sudo cp –f /usr/bin/genext2fs /opt/freescale/ltib/usr/bin/genext2fs

5.       运行安装目录下的ltib可执行文件

./ltib

 

重新编译u-boot

进入ltib安装目录

./ltib –m prep –p u-boot-1.1.6-mpc8313erdb.spec

./ltib –m scbuild –p u-boot-1.1.6-mpc8313erdb.spec

cd rpm/BUILD

find . –name “Makefile” | xargs grep –En “*8313*”

make MPC8313ERDB_config

cat include/config.mk

cat include/config.h

make CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.0.2-glibc-2.3.6-nptl-2/powerpc-e300c3-linux/bin/powerpc-e300c3-linux-

posted on   lydstory  阅读(192)  评论(0编辑  收藏  举报

编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示