public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andy Pont <andy.pont@sdcsystems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] UBI issues on SAMA5D31 NOR flash
Date: Thu, 2 Oct 2014 10:44:12 +0100	[thread overview]
Message-ID: <008c01cfde25$720af270$5620d750$@pont@sdcsystems.com> (raw)
In-Reply-To: <008501cfde21$825aa7a0$870ff6e0$@pont@sdcsystems.com>

Hello Heiko,

> > What says flinfo ? It seems you have protected sectors on
> > your nor flash ... you must unprotect them before using it ...
> 
> flinfo says that all sectors are read only as the flash device supports
> block locking and powers up with all sectors in their locked state.
> 
> The board configuration file includes CONFIG_SYS_FLASH_PROTECTION in
> order to allow the "protect off" command to work prior to manual updates
> of the flash content.

Running "protect off" on the UBI area before "ubi part rootfs" makes the
command work without any issues.  Now just have to figure out why the Linux
kernel isn't detecting the partition and mounting it...

Regards,

Andy.

      reply	other threads:[~2014-10-02  9:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-29 16:40 [U-Boot] UBI issues on SAMA5D31 NOR flash Andy Pont
2014-09-30  4:39 ` Heiko Schocher
2014-09-30  9:04   ` Andy Pont
2014-09-30  9:36     ` Heiko Schocher
2014-09-30 11:19       ` Andy Pont
2014-10-01 11:35         ` Heiko Schocher
2014-10-02  8:16           ` Andy Pont
2014-10-02  9:10             ` Heiko Schocher
2014-10-02  9:16               ` Andy Pont
2014-10-02  9:44                 ` Andy Pont [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='008c01cfde25$720af270$5620d750$@pont@sdcsystems.com' \
    --to=andy.pont@sdcsystems.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