Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create a new folder in a known existing folder via mkdir software
  • Change into the new folder via cd software
  • Clone the git repository via git clone https://github.com/altera-opensource/linux-sodfpga.git
  • Change into the new folder via cd linux-socfpga
  • Look into the tags inside the repository via git tag -l rel*
  • Select one of the tags and check it out via git checkout rel_socfpga-<selection>
  • Load the default configuration for the kernel via make ARCH=arm socfpga_defconfig
  • Install packages for kernel configuration via sudo apt-get install libncurses5-dev
  • Open the kernel configuration dialogue via make ARCH=arm menuconfig
  • Configure the kernel according its needs or close the kernel configuration if no configuration should be done.in this window:
    • General Setup → Disable Automatically append version information to the version string
    • Enable the block layer → Support for large (2TB+) block devices and files
  • Generate the kernel via make ARCH=arm LOCALVERSION= zImage
  • If the previous command does not work, try to use this one: make ARCH=arm CROSS-COMPILE=arm-linux-gnueabihf LOCALVERSION= zImage
  • After compilation, which can can last a longer time, the kernel should be in folder arch/arm/boot

...