[原创] LTIB介绍和安装(二)

bluehacker   2010-7-25 18:15 楼主
  • Supports preconfigs which allow developers to store different system configurations (e.g. toolchain selection, kernel selection, package selection etc).
  • Supports profiles this allows just the userspace package set to be re-configured. This is excellent for autobuilding or exchanging the non platform specific configuration between targets.
  • All packages are built as rpms and managed using rpm
  • Target image files managed using a private rpm database per LTIB instance on the host
  • Supports single package developer mode using prep/scbuild/scdeploy analogs
  • Provides a means of source capture (patches) and auto update of spec files
  • Shell mode available to run all commands in ltib's spec environment
  • Incremental deployment (over NFS) supported
  • RAMDISK and JFFS2 Flash image creation supported
  • Read-only root filesystem supported.
  • LTIB is meta-data only, all sources are pulled using http and locally cached in a common area per-host.
  • Remote source pulls support proxys
  • Support for glibc and uclibc
  • All meta-data formats are open source (rpm, Linux Kernel Config)
  • Modular BSP architecture (easy to add new BSPs)
  • Support batch mode and --continue for auto-builders
  • Support --dry to preview ltib's actions
  • Provides --dltest to check for availability of sources/patches
  • Provides listpkgs mode to show all available packages, whether selected and their individual licenses.
  • Provides a release mode, this encapsulates an LTIB project into an iso images that will not require network access.

-----------------------------------------------------------------------------------------

最近为了做mcf52277的板子,开始弄这个ltib,我觉得以后可以把所有的嵌入式linux开发都整合到ltib上来搞,以简化那些配置工作,应该能省很多精力。

我在fedora 7上安装m52277evb bsp,freescale的每个开发板都以ltib提供bsp包。下面记录下安装方法。

1. 把光盘或.iso文件(对于mcf52277evb来说就是M52277EVB_LTIB.ISO)mount到/mnt/cdrom:(注意用root身份)

mount /dev/cdrom /mnt/cdrom

2. 安装。先要切换到普通用户,因为ltib要求以普通用户安装,不要以root身份安装

su lzp

再安装:

cd /mnt/cdrom

./install

如果你顺利,这就完了,但我安装的时候出现了问题,报什么cp命令没有权限,但我检查了,确认所操作的目录我是有权限的rwx均有权限。实在奇怪,后来发现是fedora的那个selinux搞的鬼,在fedora的"系统”-》“管理”-》“SELinux Management”。把enforce mode从enforcing改成permissive。这样就ok了

回复评论

暂无评论,赶紧抢沙发吧
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复