Hi Fabio, On Wed, Sep 14, 2016 at 1:13 AM, Fabio Estevam <feste...@gmail.com> wrote: > Hi Jagan, > > On Tue, Sep 13, 2016 at 4:11 PM, Jagan Teki <jagannadh.t...@gmail.com> wrote: > >>>>> +int dram_init(void) >>>>> +{ >>>>> + gd->ram_size = imx_ddr_size(); >> >> Is this common call for all imx soc's to get the ddr size? because I >> observed incorrect size when I call this function. > > Yes, if you get incorrect size when using this function, it means that > your DDR initialization is incorrect.
OK, and I ran imx6 ddr calibration stress test[1] but observed data abort. the objdump doesn't show any of these address, can you please help me how can I proceed further? icorem6qdl> fatload mmc 0:1 0x10000000 ddr-stress-test-mx6dq.bin reading ddr-stress-test-mx6dq.bin 87520 bytes read in 26 ms (3.2 MiB/s) icorem6qdl> go 0x10000000 ## Starting application at 0x10000000 ... data abort pc : [<00907060>] lr : [<8ff873fb>] reloc pc : [<88182060>] lr : [<178023fb>] sp : 8ef7c458 ip : 00000010 fp : 00000002 r10: 8ffb8914 r9 : 8ef84ee8 r8 : 8ef87cf0 r7 : 8ff873d1 r6 : 10000000 r5 : 00000002 r4 : 8ef87cf4 r3 : 10000000 r2 : 8ef87cf4 r1 : 8ef87cf4 r0 : 00000001 Flags: nzCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... resetting ... [1] https://community.nxp.com/docs/DOC-96412 thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot