Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
898 Views

Custom Quark x1000 board

Hello There,

We are using quark x1000 soc based on galileo gen 2 in our custom board. We have used single 512 MB DRAM and interfaced with soc using only 8 bit data bus. The bios is unable to initialize memory and halting at MRC rotuine calls. Is it possible to program memory controller in 8 bit data bus mode ?

Thanks & Regards,

Aravind.

8 Replies
idata
Community Manager
40 Views

Hi Aravind,

 

 

Could you provide more details on how you interfaced the SoC with the DRAM? Also, you mention you're unable to initialize the memory, can you provide the output of the halt error log?

 

 

I've also found some useful documents that discuss the memory controller. Check them out here:Let us know if you found this information useful.

 

 

-Sergio

 

idata
Community Manager
40 Views

Hi Sergio,

Our Hardware is designed with Single DDR3 chip of 512MB size and 8 bit data width interfaced to Quark SoC x1000.We are not able to find required parameters to configure the BIOS for x8 bit channel width in the provided "X1000 UEFI Firmware Writers Guide 330236_006US.pdf".

Could you please help us in providing settings for channel width to x8 instead of x16 and also the required PCD MRC parameters to build BIOS for edk2 setup.

Thanks

Narendra

idata
Community Manager
40 Views

Hi Sergio,

Thank you for your quick response.

As Narendra said, we are using Single DDR3 chip of 512MB size and 8 bit data width interfaced to Quark SoC x1000 using only 8 data lines. Please find the connections in the below figure.

As per uefi firmware writers guide we have changed the following mrc parameters as follows dram_width=0(x8) rank_mask=1(rank 0 enable) chan_mask=1 channel_width=1(x16, as there is no other setting mentioned for x8) dram density=3(4Gbit)

Also find the bios log at which the system is halt

Rcvn ch0 rnk0 ln1 : pi=FFFFFFFF

RD32 012 00000070 00000900

WR32 012 00000070 00F00900

RD32 012 00000038 00000000

WR32 012 00000038 3F000000

RD32 012 0000007C 00000824

WR32 012 0000007C 00000024

CH0 RK0 BL1

POST: 0xEEE0

Regards,

Aravind.

idata
Community Manager
40 Views

Hi Aravind,

 

 

Thank you for providing the BIOS log and the schematics we requested. We'll do some research about your questions and reply to you soon.

 

 

-Sergio

 

idata
Community Manager
40 Views

Hello Sergio,

Any update on this.

Thanks & Regards,

Aravind.

idata
Community Manager
40 Views

Hi Aravind

 

 

We don't have any updates as of yet. We'll contact you when we have more information.

 

 

-Sergio

 

idata
Community Manager
40 Views

Hi Aravind

 

 

Thank you for your patience. After doing some research we found out that 8 bit configuration is not supported.

 

 

-Sergio

 

idata
Community Manager
40 Views

Thank You for your support Sergio.

Regards,

Aravind.

Reply