From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] No nandflash found if CONFIG_CMD_UBI is enabled.
Date: Tue, 2 Jun 2009 09:27:21 +0200 [thread overview]
Message-ID: <200906020927.21555.sr@denx.de> (raw)
In-Reply-To: <2c9a759f0906020008k488842e4g564edeee23b34e3c@mail.gmail.com>
Hi Anders,
On Tuesday 02 June 2009 09:08:38 Anders Darander wrote:
> I'm trying to enable the UBI-support in U-Boot (later intending to
> also enable the UBIFS-support). This is on a AT91SAM9260-based system.
> I've verified the same behaviour using both the
> at91sam9260ek_nandflash_config and a forward-ported patch for the
> Olimex sam9_l9260 board. Currently I'm concentrating on the
> at91sam9260ek_nandflash_config, as this one is in the U-Boot
> repository.
>
> However, once I enable the UBI-support, the nand-flash chip is not
> detected... I've tried to trace the problem, and I've found that it is
> timer-related.
Which options did you define to enable UBI? apollon.h should be helpful as an
example here.
Ah, I see them in your patch below. Looks ok on first glance.
> It seems that once I enable CONFIG_CMD_UBI, the timer
> does not work (the debug-printf in the get_ticks()-function in the
> supplied patch is not printing). If I comment out CONFIG_CMD_UBI,
> U-Boot continously prints stuff like:
> Debug: timestamp=6
> Debug: timestamp=10215
> Debug: timestamp=21556
> which is expected.
>
> I'm compiling by running:
> make clean
> make at91sam9260ek_nandflash_config
> make
> and then flashing u-boot.bin to the board.
>
> The supplied patch works, unless the '#define CONFIG_CMD_UBI 1'
> is uncommented, in which case the get_ticks function in
> cpu/arm926ejs/at91/timer.c never seems to be called. I've sofar been
> unable to understand why.
Strange. This should have nothing to do with UBI at all. Sorry I have no clue
where this problem is coming from. Perhaps a "sleeping" issue that is
triggered by larger image size?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
prev parent reply other threads:[~2009-06-02 7:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 7:08 [U-Boot] No nandflash found if CONFIG_CMD_UBI is enabled Anders Darander
2009-06-02 7:27 ` Stefan Roese [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=200906020927.21555.sr@denx.de \
--to=sr@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.