Monday, November 28, 2011

Running Ltlib in Ubuntu 11.10:-

Let us see how to configure ltib to create linux image for m5485 board.
  1. Mount the iso file downloaded from Freescale.
  2. You can easily mount it in ubuntu graphically using Furious ISO mount tool
  3. Install ltib using the command <mount point>/install
  4. Now the various dependencies need to be satisfied as shown when ./ltib is run for the first time
  5. Most of it can be found in the Synaptic repository
  6. the install 'build-essentials' package.
  7. Now usually dependencies for 2 packages 'glibc-devel' and 'zlib' needs to be satisfied but is already installed.
  8. Us this post as an example to edit 'Ltibutils.pm' in /bin folder of installation.
  9. Now add the folowing line to '/usr/sbin/visudo'                                              paul ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
  10. Now run ./ltib --configureUpdate:-    But here you will be in for a shock as some rpms cannot be created on Ubuntu and running of ltib fails. to go ahead i had to copy prebuild rpms from an RedHat machine and complete kernel compilation. But this defeats the purpose of compilation in Ubuntu and hence i am stopping it for the time being... 

No comments:

Post a Comment