U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andrejs Cainikovs <AndrejsC@GlobalAutomationSystems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Stops booting after RAM info
Date: Tue, 17 Jun 2008 17:16:35 +0300	[thread overview]
Message-ID: <4857C743.7060300@GlobalAutomationSystems.com> (raw)
In-Reply-To: <162d31d50806162236wdb08bacu6bddc0505667b817@mail.gmail.com>

Hi,

As far as I know CFG_MAX_FLASH_BANKS should be set to 1 always.
Multiple flash banks in u-boot are not supported.

 > Flash:  0 kB
This message is saying that u-boot was unable to detect the flash chip 
itself.
The easiest way to get you flash working:
1. add flash id in include/flash.h (check your flash datasheet)
2. based on board/../flash.c get it working (probably you will need only 
sector organization, also a datasheet material)

Hope this helps.

Regards,
Andrejs Cainikovs.

navin karnam wrote:
> I changed CFG_MAX_FLASH_BANKS from 2 to 1 soi am getting the
> message as
> Flash:  0 kB
> *** Warning - bad CRC, using default environment
>
> and stops there.
>
> On Tue, Jun 17, 2008 at 10:29 AM, navin karnam <navin.karnam@gmail.com 
> <mailto:navin.karnam@gmail.com>> wrote:
>
>     Hi all,
>
>     I tried to debug why it is stopping after
>
>     DRAM Configuration:
>     Bank #0: a0000000 64 MB
>     Bank #1: a4000000  0 kB
>     Bank #2: a8000000  0 kB
>     Bank #3: ac000000  0 kB
>
>     It is unable to find the flash type;
>     and control is not coming out of flash_init() function.
>
>     Regards,
>     Naveen.
>
>     On Mon, Jun 16, 2008 at 1:35 PM, navin karnam
>     <navin.karnam at gmail.com <mailto:navin.karnam@gmail.com>> wrote:
>
>
>
>         -- Hi all,
>
>         I am new to this list, I planned port u-boot on my board(pxa255),
>         followed the procedure in README and i am able to compile the
>         uboot.
>
>         I loaded the image on board. The messages i got when i boot
>         the board
>         are
>
>         -------------------------------------------------------------
>         U-Boot 0.4.5 (Jun 16 2008 - 12:24:00)
>
>         U-Boot code: A3000000 -> A301BD30  BSS: -> A301FE98
>         DRAM Configuration:
>         Bank #0: a0000000 64 MB
>         Bank #1: a4000000  0 kB
>         Bank #2: a8000000  0 kB
>         Bank #3: ac000000  0 kB
>         -------------------------------------------------------------
>
>
>         and it stops at that point. Please give me an hint where i am
>         making the
>         mistake.
>
>         Regards,
>         Naveen
>
>
>
>
>     -- 
>
>
>
>
> -- 
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ------------------------------------------------------------------------
>
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>   

  reply	other threads:[~2008-06-17 14:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16  8:05 [U-Boot-Users] Stops booting after RAM info navin karnam
2008-06-17  4:59 ` navin karnam
2008-06-17  5:36   ` navin karnam
2008-06-17 14:16     ` Andrejs Cainikovs [this message]
2008-06-17 15:53       ` Alessandro Rubini
2008-06-17 21:11       ` Wolfgang Denk
2008-06-17 23:43         ` Andrejs Cainikovs
2008-06-18  7:37           ` Wolfgang Denk
2008-06-18  7:44             ` Andrejs Cainikovs
2008-06-18 12:28           ` Haavard Skinnemoen
2008-06-18 14:05             ` Andrejs Cainikovs
2008-06-18 14:39               ` navin karnam
2008-06-18 17:30                 ` Andrejs Cainikovs
2008-06-18 20:01               ` Wolfgang Denk

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=4857C743.7060300@GlobalAutomationSystems.com \
    --to=andrejsc@globalautomationsystems.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