Hello Everyone, I've build my own pcb board with A20 chips and ddr3 memory K4B4G1646D-BCK0. Currently i've got problem with memory initialization. Fel script can't init memory, here is a log:
[Tl_Msg][dram_para] [Tl_Msg]dram_baseaddr = 0x40000000 [Tl_Msg]dram_chip_density = 0x1000 [Tl_Msg]dram_size = 0x200 [Tl_Msg]dram_rank_num = 0x1 [Tl_Msg]dram_io_width = 0x10 [Tl_Msg]dram_tpr0 = 0x30926692 [Tl_Msg]dram_cas = 0x6 [Tl_Msg]dram_odt_en = 0x0 [Tl_Msg]dram_tpr1 = 0x1090 [Tl_Msg]dram_zq = 0x7b [Tl_Msg]dram_bus_width = 0x20 [Tl_Msg]dram_tpr4 = 0x0 [Tl_Msg]dram_emr3 = 0x0 [Tl_Msg]dram_clk = 0x78 [Tl_Msg]dram_emr2 = 0x10 [Tl_Msg]dram_emr1 = 0x4 [Tl_Msg]dram_tpr5 = 0x0 [Tl_Msg]dram_tpr3 = 0x71111 [Tl_Msg]dram_type = 0x3 [Tl_Msg]dram_tpr2 = 0x1a0c8 [Tl_Msg] [Tl_Msg][DllInfo] [Tl_Msg] [Tl_Msg][uart_para] [Tl_Msg]uart_debug_rx = port:PB23<2><1><default><default> [Tl_Msg]uart_debug_port = 0x0 [Tl_Msg]uart_debug_tx = port:PB22<2><1><default><default> [Tl_Msg] [Tl_Msg]Init end [Tl_Msg]fel in: dev[/dev/aw_efex1] [Tl_Msg]platform id checked OK [Tl_Msg]To down sys para [Tl_Msg]To down and Run fes1-1 [Tl_Msg]To clear fes aide log [Tl_Msg]To down and Run fes1-2 [Tl_Msg]To clear fes aide log [Tl_Msg]FAIL test fel Down and Up in len=8192 [Tl_Err]f(fel_down_and_up_test)L2202: Fail to compare buf, len=8192 pcall FAILED Tools_51.lua:38: attempt to perform arithmetic on local 'j' (a nil value) 2 209 FelThreadEntry g_Tools_if->Fel2Fes 211 Looks like test pattern was failed. Can anyone tell me that this a hardware problem or those issue can be fixed with dram settings in script file? Best Regards, Scutum -- 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.