Compile L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compile L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS

Compile L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS

This is the procedure and patch to set up Ubuntu 13.10 64bit Linux Host PC and building i.MX6x L3.0.35_4.1.0. It has been tested to build GNOME profile and with FSL Standard MM Codec for i.MX6Q SDB board.

A) Basic Requirement:

  • Set up the Linux Host PC using ubuntu-13.10-desktop-amd64.iso
  • Make sure the previous LTIB installation and the /opt/freescale have been removed

B) Installed the needed packages to the Linux Host PC

$ sudo apt-get update

$ sudo apt-get install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev

$ sudo apt-get install libdbus-glib-1-dev liborbit2-dev intltool

$ sudo apt-get install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool

$ sudo apt-get install uuid-dev liblzo2-dev

$ sudo apt-get install tcl dpkg

$ sudo apt-get install asciidoc texlive-latex-base dblatex xutils-dev

$ sudo apt-get install texlive texinfo

$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

$ sudo apt-get install libc6-dev-i386

$ sudo apt-get install u-boot-tools

$ sudo apt-get install scrollkeeper

$ sudo apt-get install gparted

$ sudo apt-get install nfs-common nfs-kernel-server

$ sudo apt-get install git-core git-doc git-email git-gui gitk

$ sudo apt-get install meld atftpd

$ sudo ln -s /usr/lib/x86_64-linux-gnu/librt.so   /usr/lib/librt.so

C) Unpack and install the LTIB source package and assume done on the home directory:

$ cd ~

$ tar -zxvf L3.0.35_4.1.0_130816_source. tar.gz

$ ./L3.0.35_4.1.0_130816_source/install

     After that, you will find ~/ltib directory created

D) Apply the patch to make L3.0.35_4.1.0 could be installed and compiled on Ubuntu 13.10 64bit OS

$ cd ~/ltib

$ git apply 0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_13.10_64bit_OS.patch

What the patch is doing:

a) The patch modifies the following files:

    •    dist/lfs-5.1/base_libs/base_libs.spec
    •    dist/lfs-5.1/m4/m4.spec
    •    dist/lfs-5.1/ncurses/ncurses.spec

b) Add the following files to the pkgs directory:

    •    pkgs/m4-1.4.16-1383761043.patch
    •    pkgs/m4-1.4.16-1383761043.patch.md5

E) Then, it is ready to proceed the rest of the LTIB env setup process:


$ cd ~/ltib

$ ./ltib -m config

$ ./ltib

Reference:

1. https://github.com/hashdist/hashstack/commit/f6be2a58de62327d05e052d89c9aa931d4c926b3

2. https://github.com/hashdist/hashstack/issues/81

NOTE:

When compiling gstreamer, this warning was pop up.  Just ignore it seems okay.

panel.jpg

panel2.jpg

Labels (2)
Attachments
No ratings
Version history
Last update:
‎12-09-2013 04:15 AM
Updated by: