Forum Discussion

AKuma128's avatar
AKuma128
Icon for New Contributor rankNew Contributor
7 years ago

Building SoC EDS Linux kernel with Linaro Toolchain version 6.3.1

Hi,

I am using Altera Cyclone V SoC development board with SoC EDS V18.0, which has Linaro Toolchain version 4.8.3. I want to build the Linux kernel with Linaro Toolchain 6.3.1.

I am having following doubts before going ahead with this process.

  1. Is it fine to build the Socfpga Linux kernel with Linaro toolchain V6.3.1 ?
  2. what could be the dependency i may need to resolve while building with Linaro Toolchain 6.3.1?
  3. Is there any specific reason of releasing SoC EDS 18.0 with Linaro Toolchain version 4.8.3 while we are having latest version available of Linaro toolchain ?
  4. Latest release of SoC EDS 18.1 states Linux compiler 4.8.3 (Linaro* GCC Snapshot 7.2-2017.11) 7.2.1 20171116. Does it mean it got released with Linaro Toolchain version 7.2 ? if yes, then "4.8.3" stands here for what ?

Thanks & Regards

Abhishek Kumar

2 Replies

  • FawazJ_Altera's avatar
    FawazJ_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hello sir,

    The 4.8.3 refers to the GCC compiler, and 7.2 is the Linaro version.

    For linux kernel, you can select any Linaro version and compile it. its not requiring SoC EDS environment.

    You can refer to this link:

    https://rocketboards.org/foswiki/Documentation/GSRDCompilingLinux

    It shows you the two methods of creating Linux kernel:

    1- Build kernel and Rootfs using Angstrom (bitbake approach).

    2- Building kernel and U-boot Separately. (which will build only the zImage).

    Hope that can help.

    Thanks

  • Glen's avatar
    Glen
    Icon for New Contributor rankNew Contributor

    I'm afraid that the linaro gcc version in EDS release note is not correct.

    I've just execute "arm-linux-gnueabihf-gcc --version" under EDS 19.3PRO, and gotten below information:

    arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) 4.8.3 20140401 (prerelease)

    Copyright (C) 2013 Free Software Foundation, Inc.

    This is free software; see the source for copying conditions. There is NO

    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    I guess it's "linaro gcc 4.8-2014.04" inside EDS 19.3PRO, not the same as EDS user guide described 4.8.3 (Linaro* GCC 7.2-2017.11).

    I've sent IPS request for this question.

    Best regards,

    Glen