RFC arm: socfpga: Usability fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest0 of 35 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 35 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes
Dear Wolfgang,
Quoted 10 lines · ZY - wd
Dear Chin Liang See,
Quoted 6 lines · In message <[email protected]> you wrote:
Hmmm... actually I can get it works well for my Altera dev kit. The
get_dram_sizewould take in the argumentPHYS_SDRAM_1_SIZE. From here, the function will ensure the memory specified can read and writable. If its failing here, probably the SDRAM access might have issue. FYI,PHYS_SDRAM_1_SIZEis0x40000000for 1GB.
Quoted 6 lines
Normally,
get_dram_size()would be called with a size argument that is _larger_ (twice as big) as the biggest possible memory configuration on the respective device. Otherwise it can only detect smaller memory sizes, but would fail to detect if a bigger memory device is installed by accident.
Yup, you are right. But currently, the memory space after the SDRAM is a bridge to FPGA. We will get data abort when trying to read that area (for a blank FPGA).
I believe Marek's suggestion to work around the DABT and memory detection would work around SOCFPGA memory detection. Its something we would work closely with Marek to enable this auto detection.
Thanks
Chin Liang
Quoted 4 lines
Best regards,
Wolfgang Denk