All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alon Bar-Lev <alon.barlev@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [mips][cfi] Unable to write into flash under qemu
Date: Tue, 5 Jul 2016 03:08:20 +0300	[thread overview]
Message-ID: <CAOazyz3_Tj_kFem0XmUKGVMvJpeWzzAnd5+9rHO4REpp8rV-ng@mail.gmail.com> (raw)

Hello,

I am using malta board within qemu. I tried recent releases and master of
both.
Two years ago in qemu-1.5 and qemu-1.6 I could use erase and cp.b in order
to erase and write to the flash.
Now when I try to erase flash I get an error suggesting the erase failed,
however, I do see 0xff all over in the device backed file (-pflash).
When I try to write I also receive a failure message.

I am unsure how to debug this, I went back in time and tried the qemu-1.6
and got same error. I suspect it is has something to do with u-boot CFI
driver.

Can anyone help determine if issue is at qemu side or at u-boot side? How
can I debug this?

Thanks,
Alon

             reply	other threads:[~2016-07-05  0:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05  0:08 Alon Bar-Lev [this message]
2016-07-05 12:04 ` [U-Boot] [mips][cfi] Unable to write into flash under qemu Alon Bar-Lev
2016-07-05 16:10   ` Daniel Schwierzeck
2016-07-05 16:50     ` Alon Bar-Lev
2016-07-05 17:05       ` Daniel Schwierzeck
2016-07-05 17:17         ` Alon Bar-Lev
2016-07-05 17:34           ` Daniel Schwierzeck
2016-07-05 17:57             ` Alon Bar-Lev
2016-07-10 20:50     ` Alon Bar-Lev
2016-07-18  8:38       ` Stefan Roese
2016-07-18 12:13         ` Daniel Schwierzeck

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=CAOazyz3_Tj_kFem0XmUKGVMvJpeWzzAnd5+9rHO4REpp8rV-ng@mail.gmail.com \
    --to=alon.barlev@gmail.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 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.