I was reading the http://linux-sunxi.org/New_Device_howto <http://www.google.com/url?q=http%3A%2F%2Flinux-sunxi.org%2FNew_Device_howto&sa=D&sntz=1&usg=AFQjCNGX05PQ296XyV3z4k-J2xcykOK2ww>. I'm now trying to get my board DRAM settings to create a custom u-boot defconfig using the meminfo (sunxi) tool. But, I'm not able to figure out how to deploy it to my board (I did quite a lot of reading before asking this here).
I tried to enter into the FEL mode on my board, but none of the methods described here <http://linux-sunxi.org/FEL#Entering_FEL_mode> seem to work. I'd appreciate if anyone could help me out here. Thanks, Shoaib. On Tuesday, May 19, 2015 at 2:56:30 PM UTC+4, sufi al hussaini hassani kamili raheemi wrote: > > I have a board that's got A20 with Samsung's SDRAM 'K4B1G1646G BCK0'. > > The problem I'm facing now is that I'm not able to get it to boot. I keep > getting the following on debug UART: > > U-Boot SPL 2014.04-10706-g36080eb (Aug 19 2014 - 16:42:16) > DRAM:Timeout initialising DRAM > > resetting ... > > .... (Repeats infinitely) > > > I suspected that the (old) '[dram_para]' in my FEX file was causing this, > as it was configured for 'K4B4G1646D' (which is widely used). > So, I edited the FEX file based on the info I could gather from the > SDRAM's datasheet. It now looks like this: > > > [dram_para] > dram_baseaddr = 0x40000000 > dram_clk = 384 > dram_type = 3 > dram_rank_num = 1 > dram_chip_density = 1024 > dram_io_width = 16 > dram_bus_width = 32 > dram_cas = 9 > dram_zq = 0x7f > dram_odt_en = 0 > dram_size = 256 > dram_tpr0 = 0x42d899b7 > dram_tpr1 = 0xa090 > dram_tpr2 = 0x22a00 > dram_tpr3 = 0x0 > dram_tpr4 = 0x0 > dram_tpr5 = 0x0 > dram_emr1 = 0x4 > dram_emr2 = 0x10 > dram_emr3 = 0x0 > > I tried booting with this but to no avail. The problem persists (same > error). > > I looked for ways to get the DRAM info directly from the hardware and > found meminfo in sunxi tools. > I was able to compile (and run) it (on a A20 based commercial board), but > I just can't figure out how to get it running on my board. > > Now, I'm confused- whether just setting the correct values in my FEX would > suffice or would I have to rebuild U-Boot. > I would appreciate if someone could point me in the right direction to > solve this problem. > > Thanks. > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
