From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alon Bar-Lev Date: Tue, 5 Jul 2016 03:08:20 +0300 Subject: [U-Boot] [mips][cfi] Unable to write into flash under qemu Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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