10 years ago, the article _mpc8313 of ltib installation and recompile u-boot

Linux installation system ltib (linux target image builder):

1.        Download the CD to a local

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

2.        Load CD :

Sudo mkdir /mnt/cdrom

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

3.        Installation ltib

In the directory needs to be installed to run (installed by default in this directory)

/mnt/cdrom/install

4.        Installation genext2fs.rpm

IVH genext2fs.rpm RPM ( Which genext2fs  there is no need to install this command)

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

5.        Run the installation directory ltib executable file

./ltib

 

Recompile u-boot

Enter ltib installation directory

./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-

Guess you like

Origin www.cnblogs.com/hshy/p/10927754.html