/
Cross Development Environment: Dependency on Host Components

Cross Development Environment: Dependency on Host Components

The cross development environment distribution has the following dependencies on Linux-host software components:

  • The U-Boot, busybox and Linux kernel build systems require that certain host packages be installed on the development host to function correctly. These packages are: make, gcc, perl and some others. Please refer to linux/Documentation/Changes for a list of host tools required to build the Linux kernel. The same set of tools is required for the U-Boot and busybox build.

  • On the 64-bit Linux, install the following packages:

    • On the Ubuntu or Debian distribution:

    $ sudo dpkg --add-architecture i386 $ sudo apt-get update $ sudo apt-get install ia32-libs libc6-dev gcc-multilib
    • On the Fedora or CentOS distribution:

    $ sudo yum install glibc.i686
  • The Linux Cortex-M GNU debugger (tools/bin/arm-buildroot-uclinuxfdpiceabi_sdk-buildroot/bin/arm-buildroot-uclinuxfdpiceabi-gdb) and the configuration scripts require that the following dynamically-linked libraries to be installed on the host:

    • libz.so.1 (the zlib1g-dev package);

    • libtinfo.so.5 (the libtinfo5 package);

    • libexpat.so.1 (the expat package);

    • liblzma.so.5 (the liblzma5 package);

    • libgmp.so.10 (the libgmp10 package);

    • For example, to be able to run arm-buildroot-uclinuxfdpiceabi-gdb you'll have to do the following (once):

      • On Ubuntu-10.04 (x32):

      $ sudo vim /etc/apt/sources.list # Add the following lines to the begin of the file: deb http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu lucid main deb-src http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu lucid main $ sudo apt-key adv --keyserver http://keyserver.ubuntu.com \ --recv-keys DB82666C $ sudo apt-get update $ sudo apt-get install libncurses5 python2.7 python2.7-dev $ sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5
      • On CentOS 7 (x64):

  • The tools/bin/mkimage utility. It is expected that the utility will work as is on most of today's Linux distributions. If it fails to run on a certain host, you can build it for your specific Linux host from the sources included in the Linux Cortex-M distribution by running make tools from the top of the U-Boot tree.

  • To build the run-time projects included to the distribution, you need to install the following host packages:

    • NFS server;

    • TFTP server;

    • Terminal emulator (picocom, minicom, kermit or PuTTY).

  • If your target board uses USB for the serial console connection you might need to install the FTDI USB-UART driver fromhttp://www.ftdichip.com/Drivers/VCP.htm for your host.

Related content

Cross Development Environment: Dependency on Host Components (uClinux)
Cross Development Environment: Dependency on Host Components (uClinux)
More like this
Building Linux Userspace Applications
Building Linux Userspace Applications
More like this
STM32MP1-Old-Kits: Building Linux Userspace Applications
STM32MP1-Old-Kits: Building Linux Userspace Applications
More like this
Installing and Activating Cross Development Environment (uClinux)
Installing and Activating Cross Development Environment (uClinux)
More like this
Installing and Activating Cross Development Environment
Installing and Activating Cross Development Environment
More like this
Cross Development Environment: Distribution Tree
Cross Development Environment: Distribution Tree
More like this