Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21174 Discussions

Arria 10 Linux Kernel

JoshuaWillson
Beginner
1,834 Views

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
0 Kudos
10 Replies
mabdrahi
Employee
1,792 Views

Hi Joshua,


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

I will come back to you soon.


Thank you,

Aliff


0 Kudos
mabdrahi
Employee
1,769 Views

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


0 Kudos
JoshuaWillson
Beginner
1,741 Views

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.

0 Kudos
mabdrahi
Employee
1,728 Views

Hi Joshua,

 

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

 

Thank you,

Aliff

0 Kudos
mabdrahi
Employee
1,670 Views

Hi Josua,


Currently I tried the https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10#Cyclone_V_SoC_45_Boot_from_QSPI


but what i encounter is the error during linux compilation.

After I manage to compile successfully I encounter the board is no boot.


I still working on it, give me some time


Thank you,

Aliff


0 Kudos
mabdrahi
Employee
1,632 Views
0 Kudos
mabdrahi
Employee
1,606 Views

Hi Joshua,


can i have update from the work around?


Thank you,

Aliff


0 Kudos
JoshuaWillson
Beginner
1,596 Views

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. 

 

0 Kudos
mabdrahi
Employee
1,521 Views

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


0 Kudos
mabdrahi
Employee
1,471 Views

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


0 Kudos
Reply