public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Raúl Sánchez Siles" <rss@barracuda.es>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AT91 Kernel oops when loading kernel from dataflash.
Date: Wed, 15 Nov 2006 17:08:53 +0100	[thread overview]
Message-ID: <200611151708.55205.rss@barracuda.es> (raw)
In-Reply-To: <200611131130.44702.rss@barracuda.es>

El Lunes, 13 de Noviembre de 2006 11:30, escribi?:
> El Jueves, 9 de Noviembre de 2006 08:02, Ulf Samuelsson escribi?:
> > Ra?l S?nchez Siles wrote:
> > >   Hello all:
> > >
> > >   We're using an AT91RM9200 based board called Portux920T. We have
> > > now a quite stable kernel and u-boot configuration which I attach. We
> > > manage to include a dataflash inside the portux board and get it to
> > > work. At least almost, please read on.
> >
> > >
> > >   We have 64MB Ram and we have tried using 64MB 32bit wide and 32MB
> > > 16bit wide. Flash and Dataflash are both 4MB.
> > >   We will much appreciated whatever info or test that could take out
> > > from this works but... situation. Thank you very much.
> > >
> > >   Regards,
>
>   Looking at this scheme, one could think that the problem is on the 1st
> stage bootloader. We have tried the binary provided by atmel, several
> others binaries seen on the internet, we have compiled it ourselves using
> u-boot initialisation routines, or without them.

...And indeed it was on the first stage bootloader. There was a problem with 
the SDRAMC Configuration Register. The problem was that the bootloader we 
took were for boards using 16MB of RAM, 16bit wide, while the Portux board 
has 2 32MB chips, 16bit wide each one.

  We modified the 1st bootloader source, so that the SDRAMC_CR programming 
changes the NR (Number of Row bits) from 12 to 13. That was the problem.

  If anyone needs further clarification, just ask.

  Thank you for the advises.

  Regards,

-- 
Ra?l S?nchez Siles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061115/590ff1d0/attachment.pgp 

      reply	other threads:[~2006-11-15 16:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08 18:45 [U-Boot-Users] AT91 Kernel oops when loading kernel from dataflash Raúl Sánchez Siles
2006-11-09  7:02 ` Ulf Samuelsson
2006-11-13 10:30   ` Raúl Sánchez Siles
2006-11-15 16:08     ` Raúl Sánchez Siles [this message]

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=200611151708.55205.rss@barracuda.es \
    --to=rss@barracuda.es \
    --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