public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot
Date: Sun, 21 Dec 2014 22:28:46 +0200	[thread overview]
Message-ID: <20141221222846.3bcb88eb@i7> (raw)
In-Reply-To: <549726EE.8050108@elopez.com.ar>

On Sun, 21 Dec 2014 17:00:46 -0300
Emilio L?pez <emilio@elopez.com.ar> wrote:

> Hi Hans,
> 
> El 20/12/14 a las 15:27, Hans de Goede escibi?:
> > Hi All,
> >
> > There are 3 topics which I would like to cover in this mail:
> >
> > 1) Switching over to upstream u-boot for the linux-sunxi project
> (...)
> > Here are some example instructions on how to build upstream u-boot for
> > the Cubietruck:
> >
> > git clone git://git.denx.de/u-boot.git
> > cd u-boot
> > make -j4 CROSS_COMPILE=arm-linux-gnu- Cubietruck_defconfig
> > # If you want to use an upstream kernel the next steps can be skipped (*)
> > make -j4 CROSS_COMPILE=arm-linux-gnu- menuconfig
> > #  select "ARM architecture" -> "Enable workarounds for booting old
> > kernels"
> > #  exit & save
> > make -j4 CROSS_COMPILE=arm-linux-gnu- spl/menuconfig
> > #  select "ARM architecture" -> "Enable workarounds for booting old
> > kernels"
> > #  exit & save
> > # skip to here if you're using an upstream kernel
> > make -j4 CROSS_COMPILE=arm-linux-gnu-
> >
> > And now you will have a u-boot-sunxi-with-spl.bin to dd to your sdcard as
> > usual.
> (...)
> 
> So I thought it'd be a good idea to move over to mainline uboot, but it 
> doesn't seem to be working at all on Cubietruck. When applying power to 
> the board, all I get is
> 
> U-Boot SPL 2015.01-rc3-00163-gd8bec60 (Dec 21 2014 - 16:43:41)
> DRAM:Timeout initialising DRAM
> 
> resetting ...
> 
> U-Boot SPL 2015.01-rc3-00163-gd8bec60 (Dec 21 2014 - 16:43:41)
> DRAM:Timeout initialising DRAM
> 
> resetting ...
> 
> ...ad infinitum.
> 
> The hardware itself is fine, the NAND bootloader runs OK and I used the 
> board with an old uboot-sunxi some days back. Any ideas on what may be 
> going on?

Thanks for reporting this.

First of all, please ensure that there is no obvious misconfiguration.
For example, whether you have really configured u-boot for Cubietruck.

If everything is configured correctly, then it would help a lot to
identify which of the await_bits_set() or await_bits_clear() calls
is failing in 'arch/arm/cpu/armv7/sunxi/dram_sun4i.c' by adding
some extra debugging prints.

-- 
Best regards,
Siarhei Siamashka

  reply	other threads:[~2014-12-21 20:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-20 18:27 [U-Boot] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot Hans de Goede
2014-12-21 20:00 ` [U-Boot] [linux-sunxi] " Emilio López
2014-12-21 20:28   ` Siarhei Siamashka [this message]
2014-12-21 20:40     ` Emilio López
2014-12-22 13:53       ` Hans de Goede
2014-12-22 13:59         ` Ian Campbell
2014-12-22  8:32 ` Michal Suchanek
2014-12-22 13:50   ` Hans de Goede
2014-12-22 17:39     ` Siarhei Siamashka
2015-01-18 19:38 ` [U-Boot] " Ezaul Zillmer
2015-01-18 20:27   ` [U-Boot] [linux-sunxi] " Siarhei Siamashka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141221222846.3bcb88eb@i7 \
    --to=siarhei.siamashka@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox