Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
567 Discussions

Linux kernel source for SoC FPGA Intel

ihsan28
Beginner
1,485 Views

Hi,


I notice that there are two sources for building a Linux kernel for SoC FPGA. First is https://github.com/altera-fpga/linux-socfpga, and the second is https://github.com/altera-fpga/gsrd-socfpga . Could anyone give an easy explanation about the differences? And when should I use one of those?

Thank you.

Labels (2)
0 Kudos
4 Replies
sstrell
Honored Contributor III
1,301 Views

The first one looks like straight Linux while the second includes the GSRD to configure the FPGA and HPS for running Linux on particular dev kits.  You can use either.  The second one obviously works best with dev kits and is more complete but can also be used as a starting point for building a hardware design for a custom board.

0 Kudos
ScottW_Altera
Employee
1,164 Views

Hi @ihsan28 ,

 

The first (linux-socfpga) is the actual Linux kernel source for SoC FPGA devices.

The second (gsrd-socfpga) is a set of metadata and scripts to build a Yocto based Linux distribution for a given devkit (i.e. an image you can use to boot a board).

If you just want to build a Linux kernel from source the first repo is enough. If you want to build a full Linux image for a devkit use the second.

0 Kudos
Jeet14
Employee
1,027 Views

Hi,


Please let us know if there is any further query on this?


Regards

Tiwari


0 Kudos
Jeet14
Employee
791 Views

As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
Reply