On Tue, 19 May 2015 07:57:19 -0700 (PDT) sufi al hussaini hassani kamili raheemi <sufialhussa...@gmail.com> wrote:
> I tried building mainline u-boot as you suggested @Hans. Here's what I did > (please bear with me): > > Compiled u-boot (natively on olimex A20-micro): > (Installed dtc first) > > > git clone git://git.denx.de/u-boot.git > > make A20-OLinuXino_MICRO_defconfig > > make So you have an A20-OLinuXino_MICRO board, which is working fine. That's very good. Using it you can learn quite a lot about the Allwinner hardware in general. And this experience should help with the other boards. > Wrote the bootloader files to an SD card using: > > sudo dd if=~/u-boot/u-boot.bin of=/dev/disk2 bs=1024 seek=32 > > sudo dd if=~/u-boot/spl/sunxi-spl.bin of=/dev/disk2 bs=1024 seek=8 > However, I still (sadly) get the same error. > U-Boot SPL 2015.07-rc1-00255-g0e6b7a2 (May 19 2015 - 16:55:13) > > DRAM:Timeout initialising DRAM > > As seen above, this is a recent U-Boot version, so I'm guessing I did > compile the U-Boot alright. Your U-Boot is configured for the A20-OLinuXino_MICRO board. Does the A20-OLinuXino_MICRO board boot fine with this new freshly compiled mainline U-Boot? Using the A20-OLinuXino_MICRO config for a different Allwinner based board may lead to unpredictable results. Each board has its own defconfig file for a reason. You need to provide a proper defconfig file for your board. To help people to succeed in this task, there is a guide about bringing up new and previously unsupported devices: http://linux-sunxi.org/New_Device_howto > But, the problem persists and I've run out of ideas. > > Any other suggestions? > Could there be any other reason (apart from DRAM parameters) that could be > causing this? Based on the "Timeout initialising DRAM" error message, this is often encountered when you have configured U-Boot for the wrong SoC type. Is your board really using specifically the *A20* SoC? And as an extra experiment, you may also try: https://github.com/ssvb/sunxi-bootsetup/releases/tag/20141215-sunxi-bootsetup-prototype If your board is really A10, A10s or A20 (and the hardware is not defective), then you may successfully boot it with this SD card image. -- Best regards, Siarhei Siamashka -- 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.