From: Gudjon I. Gudjonsson <gudjon@gudjon.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Using Micron (Numonyx) m28w640hcb with u-boot
Date: Mon, 14 Nov 2011 17:29:57 +0100 [thread overview]
Message-ID: <201111141729.57833.gudjon@gudjon.org> (raw)
In-Reply-To: <4EC0CE06.8060503@st.com>
Hi Vipin
>
> I have had a similar problem with spear3xx board. Basically, this flash
> is write protected in hardware by default. It has to be specifically
> made writable. Please define a flag CONFIG_SYS_FLASH_PROTECTION in your
> config file.
>
Thanks a lot. This works like charm :)
Now I have spent the whole day on trying to mount the device from Linux as a
read/write partition but without luck.
I can mount the partition but if I try to do some writing to it I get:
Write clean marker to block at 0x00030000 failed: -30
...
repeated for all sector boundaries. If I reboot the device the partition is
empty.
Then I tried to use flash_eraseall but it fails as well
# flash_eraseall -j /dev/mtd1
Erasing 64 Kibyte @ 0 -- 0 % complete.
flash_eraseall: /dev/mtd1: MTD write failure: Read-only file system
I tried to unlock the flash (using protect off) before booting Linux but
without any success.
I can't find any configuration option related to the NOR CFI flash in the
spear3xx kernel configuration files.
Do you have any useful hint on this as well?
Regards
Gudjon
next prev parent reply other threads:[~2011-11-14 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-12 12:01 [U-Boot] Using Micron (Numonyx) m28w640hcb with u-boot Gudjon I. Gudjonsson
2011-11-14 4:17 ` Vipin Kumar
[not found] ` <4EC0CE06.8060503@st.com>
2011-11-14 16:29 ` Gudjon I. Gudjonsson [this message]
2011-11-15 5:10 ` Vipin Kumar
2011-11-15 18:48 ` [U-Boot] Using Micron (Numonyx) m28w640hcb with u-boot (Solved) Gudjon I. Gudjonsson
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=201111141729.57833.gudjon@gudjon.org \
--to=gudjon@gudjon.org \
--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