打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
How to setup LTib and compile packages in Ubuntu 11.10
二.) LTIB
----------------------------------------------------------------

Intially update and upgrade your host


I.) What is LTIB
------------------
The LTIB (Linux Target Image Builder) project is a tool that can be used to develop and deploy BSPs (Board Support Packages) for a number of embedded target platforms including PowerPC, ARM, Coldfire.

II.) LTIB used:
---------------
Freescale provided L2.6.35_11.05.01_ER_source_bundle.tar.gz bundle. It can be donwloaded freely from the below path:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX53SABRETAB&fpsp=1&tab=Design_Tools_Tab

III.) Ltib build host setup:
---------------------------
1. Untar the package L2.6.35_11.05.01_ER_source_bundle.tar.gz.
2. Goto L2.6.35_11.05.01_ER_docs dir.
3. Downlaod and install required packages in host to support ltib build setup as mentioned in ltib_build_host_setup.pdf doc.
4. Make sure all the required packages are available on host system.
Or else you can download a script file and run it from here
  http://download.csdn.net/detail/dragon101788/4322656
   ./reqPackages.sh or sh reqPackages.sh

IV.) Installing ltib :
---------------------------
1. Go to "Linux 1105 patchs" folder extracted from L2.6.35_11.05.01_ER_source_bundle.tar.gz.
2. To Apply patches reside in "Linux 1105 patchs" folder (go through Readme file in the same folder)
3. Go to L2.6.35_11.05.01_ER_source folder.
4. Run 'install' script.
$ ./install
5. Follow the procedure given by 'install' script and give the appropriate path to build LTIB.
6. Goto ltib build path, as given during the 'install' script.
7. Run ./ltib (when you are running this command for 1st time it prompts for platform etc..)
To reconfigure ltib use ./ltib -m config
   Please refer to Section VII if faced any difficulties
Select your required platform, boot loader, kernel and target file systems when prompted.
8. Done!! Enjoy with your own ltib generated images!

V.) Boot loader binaries:
---------------------------
On successfule installation,
1. u-boot bin can be found at, <ltib-build-path>/rootfs/boot/u-boot.bin

VI.) Linux kernel source:
---------------------------
On successfull installation,
1. Kernel source can be found at, <ltib-build-path>/rpm/BUILD/linux-2.6.35.3
2. uImage/zImage can be found at, <ltib-build-path>/rpm/BUILD/linux-2.6.35.3/arch/arm/boot/

VII.) Issues faced :
---------------------
Following are the issues faced by which Ltib failed to build
if you are facing any of these errors please download this tar file from here
http://download.csdn.net/detail/dragon101788/4322662
please go through the Readme file inside the folder


1.) following packages are not installed
   Package        Minimum ver    Installed info
   -------                -----------             ---------------
   glibc-devel            0              not installed
   zlib                        0              not installed
   --->> build failed

 Resolve this by running : ./glibzlib.sh <give your ltib path>


2.) rpmdb: --force-debian: unknown option
   ......
   ----->>> build failed
 
  Resolve this by running : ./rpmdb.sh <give your ltib path>


3.)  These packages failed to build:
      mtd-utils
      Build failed

  Resolve this by running : ./mtd-utils.sh <give your ltib path>


4.) These packages failed to build:
      lkc
      Build failed

  Resolve this by running : ./lkc.sh <give your ltib path>


5.) These packages failed to build:
      sparse
      Build failed

  Resolve this by running : ./sparse.sh <give your ltib path>


 6.) These packages failed to build:
      mux_server
      Build failed

  Resolve this by running : ./mux_server.sh <give your ltib path>



7.)  These packages failed to build:
      e2fsprogs
      Build failed

  Resolve this by running : ./e2fsprogs.sh <give your ltib path>

8.)  These packages failed to build:
      fontconfig
      Build failed

  Resolve this by running : ./fontconfig.sh <give your ltib path>


9.)  These packages failed to build:
      libxcb
      Build failed

  Resolve this by running : ./libxcb.sh <give your ltib path>

10.)  These packages failed to build:
      imx-lib
      Build failed

   Resolve this by running : ./imx-lib <give your ltib path>


11.) These Packages Failed to builD:
       elftosb
       Build Failed.

    Resolve this by running : ./elftosb <give your ltib path>

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
LTIB介绍和安装
How to build matplotlib on Cygwin, undaunted ...
LTIB
Failedtoresolve:junit:junit:4.12的解决办法
Install Software From Source Code on Linux
apt-get update更新源时,出现“Hash Sum mismatch”问题
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服