How to setup LTib and compile packages in Ubuntu 11.10
2013-06-06 11:32
423 查看
二.) 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>
附件脚本在文件中下载,包名如下:
----------------------------------------------------------------
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>
附件脚本在文件中下载,包名如下:
reqPackages.rar VJ.rar
相关文章推荐
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)?
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)
- How to Compile and Run C/C++ program on Ubuntu 11.10
- How to Setup and Use Github in Ubuntu
- How to Copy and Paste in the Ubuntu Gnome Terminal
- How to setup django, python environment in ubuntu
- How to install Ruby on Rails in Ubuntu 11.10
- How to install, compile, and utilize Rebar in Windows
- how to mount and unmount ISO file in Ubuntu
- How to Setup NFS (Network File System) on RHEL/CentOS/Fedora and Debian/Ubuntu
- Java: How to compile and run Java application in command line(在命令行中编译运行java程序)
- How to Manage and Use LVM (Logical Volume Management) in Ubuntu In our previous article we told you
- How to compile and run a simple java file in jenkins on Windows
- How to Setup NFS (Network File System) on RHEL/CentOS/Fedora and Debian/Ubuntu
- how to setup telnet in ubuntu
- How to compile Andriod in Ubuntu 64 bit system
- HOWTO Setup Dual Authentication in CAS - SSL Client Auth and LDAP
- How to "enalbe mouse integration" and make screen display fully in Oracle VM VirtualBox in Ubuntu
- How to Install And Configure Apache In Ubuntu
- FFmpeg Understanding(4. How to compile and run testing files utilizing FFMPEG in VC?)