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

Arria10 SoC U-boot: How to configure DDRAM memory from 1GB to 4GB in version 23.2 PRO

ALT3224
Beginner
2,796 Views
Hi everyone,
 
I executed the tutorial Building Bootloader for cyclone V and Arria 10
on the evaluation board successful
Now, I need to modified the u-boot for my customer board.
My environment is Arria 10 SoC, intelPro FPGA version 23.2  and I have a question
 
Which changes are required in the u-boot software for configure the default DDRAM memory from 1GB to 4GB?
 
I changed the memory node in the file xx.dtsi
memory {
#address-cells = <2>;
#size-cells = <2>;
reg = <0 0x00000000 0 0x80000000>, /* 2GB */
      <1 0x80000000 0 0x80000000>; /* 2GB */
};
 
After built and loaded the u-boot I received a warning message about mismatch in the memory size
There are 2 possibilities, the node definition is incorrect or I'm missing other changes.
your help will be appreciated
 
 
Thanks in advance.
Regards

Nora

Labels (1)
0 Kudos
1 Solution
JingyangTeh
Employee
2,631 Views

Hi


Any update on this case?


Regards

Jingyang, Teh


View solution in original post

0 Kudos
9 Replies
JingyangTeh
Employee
2,744 Views

Hi Nora


The changes in the device tree looks good at the moment.

Did you increase the DDR size in the Hardware Design too?


Regards

Jingyang, Teh


0 Kudos
ALT3224
Beginner
2,715 Views

Hi Jingyang,

yes, I increased the DDR size in the Hardware Design 

If my memory node definition is ok , I assume that I'm missing some change

How to configuring DDR in u-boot ? 

Best regards,

Nora

 

 

0 Kudos
JingyangTeh
Employee
2,703 Views

Hi Nora


Is it ok if you could share with us your quartus project?

Could you also share with us the error message that you are seeing?


Regards

Jingyang, Teh


0 Kudos
ALT3224
Beginner
2,612 Views

Hi Jingyang,

Currently, I'm checking a new quartus project, probably it wil resolve the problem

Which tool can I use to create the device tree in version 23.2 ?

 

Best regards,

Nora

 

0 Kudos
JingyangTeh
Employee
2,632 Views

Hi


Any update on this case?


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
2,592 Views

Hi Nora


There are no specific tool to generate the device tree for the Arria10 Soc.

One method to make the changes is to edit the GSRD available for the Arria10 Soc.

You could get the GSRD from the link below:

https://www.rocketboards.org/foswiki/Documentation/Arria10SoCGSRD


The device tree for uboot are in the location:

https://github.com/altera-opensource/u-boot-socfpga/tree/socfpga_v2023.07/arch/arm/dts


The linux device tree is located in the location below:

https://github.com/altera-opensource/linux-socfpga/tree/socfpga-6.1.55-lts/arch/arm/boot/dts


Regards

Jingyang, Teh


0 Kudos
ALT3224
Beginner
2,561 Views

Hi Jingyang,

Thanks for your fast answer

Regards,

Nora

 

0 Kudos
JingyangTeh
Employee
2,484 Views

Hi Nora


Any follow up question regarding this case?


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
2,410 Views

Hi


Since there are no feedback for this thread, I shall set this thread to close pending. 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.


If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 4 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.


Regards

Jingyang, Teh


0 Kudos
Reply