Changes

Jump to: navigation, search

BELK-AN-003: Interfacing DDR3 SDRAM to PL

904 bytes added, 15:08, 31 August 2015
SDRAM bank mapping
[[File:an-belk-003_03.png | 800px | AXI Memory Controller Address Mapping]]
The following dump shows a simple memory test run from U-Boot console:
<pre>
U-Boot 2013.04 (Aug 25 2014 - 23:52:57) [belk-2.1.0]
I2C: readyMemory: ECC disabledDRAM: 1 GiBWARNING: Caches not enabledNow running in RAM - U-Boot at: 3ff68000NAND: 1024 MiBMMC: zynq_sdhci: 0SF: Detected S25FL256S_64K with page size 64 KiB, total 32 MiBIn: serialOut: serialErr: serialNet: Gem.e000b000Hit any key to stop autoboot: 0zynq-uboot> help mtestmtest - simple RAM read/write test Usage:mtest [start [end [pattern [iterations]]]]zynq-uboot>zynq-uboot> mtest 0x48000000 0x4FFFFFFFTesting 48000000 ... 4fffffff:Pattern 00000000 Writing... Reading...Iteration: 53zynq-uboot> <INTERRUPT>zynq-uboot>zynq-uboot> mtest 0x48000000 0x4FFFFFFF 0xA5A5A5A5Testing 48000000 ... 4fffffff:Pattern A5A5A5A5 Writing... Reading...Iteration: 19zynq-uboot> <INTERRUPT></pre> It's also possible to extend Linux kernel memory with the external memory adding a second memory in the device tree:
<pre>
4,650
edits

Navigation menu