Forum Discussion

JoshuaWillson's avatar
JoshuaWillson
Icon for New Contributor rankNew Contributor
3 years ago

Arria 10 Linux Kernel

Hi All,

I am trying to boot (linux-socfpga) linux kernel on the Arria 10 SoC.

Does any one have any knowledge on which tools chains need to be used for which versions of kernel.

When I build ACDS20.1 (https://github.com/altera-opensource/linux-socfpga/tree/ACDS20.1_REL_GSRD_PR) with tool chain gcc-linaro-7.5.0-2019.12 (arm-linux-gnueabihf) I can get my build to boot.

When I build ACDS21.1 (https://github.com/altera-opensource/linux-socfpga/tree/ACDS21.1_REL_GSRD_PR) with tool chain gcc-linaro-7.5.0-2019.12 (arm-linux-gnueabihf) I can NOT get my build to boot.

Do I need to change the following compatible line in the DTS?

model = "Altera SOCFPGA Arria 10";
compatible = "altr,socfpga-arria10", "altr,socfpga";
Does anyone have any info on this?
Thanks!
-JW

10 Replies

  • Hi Joshua,


    I will check your request on compatible line in the DTS.

    I will come back to you soon.


    Thank you,

    Aliff


  • HI Joshua,


    May i have the following item:-


    1 What board are your use (Intel dev of Arrow dev, custom board)

    2 What design are using (GSRD, ref design)

    3 Any hardware modification

    4 Software modification(uboot, linux kernel)

    5 do you have error log ?


    Thank you,

    Aliff


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

      1 What board are your use (Intel dev of Arrow dev, custom board)

      Answer: Terasic HAN Pilot Platfrom Arria 10 SoC

      2 What design are using (GSRD, ref design)

      Answer: GHRD that Terasic points too in following link https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=216&No=1133&PartNo=4#contents REVF

      3 Any hardware modification

      Answer: Adding in soft IP TSE design, w/ MSGDMA, HPS i2C, and pio for connecting a design w/ SFP modules

      4 Software modification(uboot, linux kernel)

      Answer:

      uboot: v2023.10

      linux kernel: Linux version 6.1.38

      5 do you have error log ?

      Answer:

      No error log: Could not even get the kernel to boot. But this is where it stops:

      Starting kernel ...

      Deasserting all peripheral resets

      Please note:

      For any one with the same problem it came down to the DTB. Im not sure what part exactly from the DTB the kernel did not like but I had different versions of a DTB from example designs and the one that worked was the DTS from a10s_tse_example_design from rocketboards. I was using the DTS from the compiled DTB from terasic that came with the development board and that one was causing issues.

      MY assumption is there was some peripheral that the kernel could not talk too (i2C, spi, etc) that was hanging the kernel.

      • mabdrahi's avatar
        mabdrahi
        Icon for Contributor rankContributor

        Hi Joshua,

        Can you share all your booting log?, it might have information's there.

        Thank you,

        Aliff

  • Hi Joshua,


    can i have update from the work around?


    Thank you,

    Aliff


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

      I had to go through my DTS and make sure there was no peripherals that were instantiated that the Kernel could not connect/talk too. When it attempted to "Dessert All Peripherals" it would just hang.

  • Hi Joshua,


    Apologize for being lates as im sick leave.

    Can you share your DTS here?.

    Hang issue also can cause from hardware side.


    Thank you,

    Aliff


  • Hi Joshua,


    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’, 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.


    Thank you,

    Aliff