Skip to contentSkip to conversation

pflash_write: Unimplemented flash cmd sequence

Qemu-devel davidlt 3 participants 5 messages Nov 23, 2012 – Mar 14, 2013

lore
Share & tools
lore

davidlt

author
#0 lore raw

Public bug reported:

I find the bug already reported on qemu-devel mailing-list [1] w/o replies also on other sources.

Tested on Darwin (Mac OS X 10.7.5) and Scientific Linux 6.3 hosts. Also using the latest 1.2.X and 1.3.0-rc0 and qemu-linaro. On all host operating systems and with different versions on qemu results are the same.

I was following the official Ubuntu ARM instructions [2] how to test OS on ARM emulator.

oss: Could not initialize DAC
oss: Failed to open `/dev/dsp'
oss: Reason: No such file or directory
oss: Could not initialize DAC
oss: Failed to open `/dev/dsp'
oss: Reason: No such file or directory
audio: Failed to create voice `lm4549.out'
Uncompressing Linux................................................................................................................................................................................................. done, booting the kernel.
pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf000f0)
pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf0)

And it freezes, but still eats 40-50% of CPU core.

## Instructions ##

wget -c http://w3.impa.br/~gabrield/data/ubuntu-arm-development-rootfs.tar.bz2
tar jxfv ubuntu-arm-development-rootfs.tar.bz2
chmod +x run.sh
./run.sh

The user to login is ubuntu and password temppwd.

More details on [2].

- - -
[1] http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg00863.html
[2] https://wiki.ubuntu.com/ARM/RootfsFromScratch

** Affects: qemu
Importance: Undecided
Status: New

** Tags: arm

Signature · 52 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1082292

Title:
  [ARM] pflash_write: Unimplemented flash cmd sequence

Status in QEMU:
  New

Bug description:
  I find the bug already reported on qemu-devel mailing-list [1] w/o
  replies also on other sources.

  Tested on Darwin (Mac OS X 10.7.5) and Scientific Linux 6.3 hosts.
  Also using the latest 1.2.X and 1.3.0-rc0 and qemu-linaro. On all host
  operating systems and with different versions on qemu results are the
  same.

  I was following the official Ubuntu ARM instructions [2] how to test
  OS on ARM emulator.

  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  audio: Failed to create voice `lm4549.out'
  Uncompressing Linux................................................................................................................................................................................................. done, booting the kernel.
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf000f0)
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf0)

  And it freezes, but still eats 40-50% of CPU core.

  ## Instructions ##

  wget -c http://w3.impa.br/~gabrield/data/ubuntu-arm-development-rootfs.tar.bz2
  tar jxfv ubuntu-arm-development-rootfs.tar.bz2
  chmod +x run.sh
  ./run.sh

  The user to login is ubuntu and password temppwd.

  More details on [2].

  - - -
  [1] http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg00863.html
  [2] https://wiki.ubuntu.com/ARM/RootfsFromScratch

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1082292/+subscriptions
author
#1 lore raw

** Also affects: qemu-linaro
Importance: Undecided
Status: New

Signature · 54 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1082292

Title:
  [ARM] pflash_write: Unimplemented flash cmd sequence

Status in QEMU:
  New
Status in Linaro QEMU:
  New

Bug description:
  I find the bug already reported on qemu-devel mailing-list [1] w/o
  replies also on other sources.

  Tested on Darwin (Mac OS X 10.7.5) and Scientific Linux 6.3 hosts.
  Also using the latest 1.2.X and 1.3.0-rc0 and qemu-linaro. On all host
  operating systems and with different versions on qemu results are the
  same.

  I was following the official Ubuntu ARM instructions [2] how to test
  OS on ARM emulator.

  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  audio: Failed to create voice `lm4549.out'
  Uncompressing Linux................................................................................................................................................................................................. done, booting the kernel.
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf000f0)
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf0)

  And it freezes, but still eats 40-50% of CPU core.

  ## Instructions ##

  wget -c http://w3.impa.br/~gabrield/data/ubuntu-arm-development-rootfs.tar.bz2
  tar jxfv ubuntu-arm-development-rootfs.tar.bz2
  chmod +x run.sh
  ./run.sh

  The user to login is ubuntu and password temppwd.

  More details on [2].

  - - -
  [1] http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg00863.html
  [2] https://wiki.ubuntu.com/ARM/RootfsFromScratch

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1082292/+subscriptions
#2 lore raw
In reply to davidlt

The message from pflash_write is a warning which only says that the Intel flash emulation got a command sequence which is only supported by the AMD flash emulation.

This warning is currently normal when Linux kernels try to determine the flash type. Linux tries AMD before Intel.

So if there is any problem, it is not related to the flash emulation.

The test scenario works without any problem on a Debian Linux host (tested up to the boot prompt).

Note that there are three location where you get output:
* stdout / stderr on the console
* serial output from the emulation (Alt-Ctrl-3 in QEMU SDL window)
* framebuffer output from the emulation (Alt-Ctrl-1 in QEMU SDL window)

It takes some time until the kernel sends output to the framebuffer (therefore 50 % cpu load), but it works.

Signature · 54 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1082292

Title:
  [ARM] pflash_write: Unimplemented flash cmd sequence

Status in QEMU:
  New
Status in Linaro QEMU:
  New

Bug description:
  I find the bug already reported on qemu-devel mailing-list [1] w/o
  replies also on other sources.

  Tested on Darwin (Mac OS X 10.7.5) and Scientific Linux 6.3 hosts.
  Also using the latest 1.2.X and 1.3.0-rc0 and qemu-linaro. On all host
  operating systems and with different versions on qemu results are the
  same.

  I was following the official Ubuntu ARM instructions [2] how to test
  OS on ARM emulator.

  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  audio: Failed to create voice `lm4549.out'
  Uncompressing Linux................................................................................................................................................................................................. done, booting the kernel.
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf000f0)
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf0)

  And it freezes, but still eats 40-50% of CPU core.

  ## Instructions ##

  wget -c http://w3.impa.br/~gabrield/data/ubuntu-arm-development-rootfs.tar.bz2
  tar jxfv ubuntu-arm-development-rootfs.tar.bz2
  chmod +x run.sh
  ./run.sh

  The user to login is ubuntu and password temppwd.

  More details on [2].

  - - -
  [1] http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg00863.html
  [2] https://wiki.ubuntu.com/ARM/RootfsFromScratch

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1082292/+subscriptions
#3 lore raw
In reply to davidlt

We could drop it to a LOG_UNIMP/LOG_GUEST_ERROR qemu_log warning instead of a plain printf, I guess.

Signature · 54 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1082292

Title:
  [ARM] pflash_write: Unimplemented flash cmd sequence

Status in QEMU:
  New
Status in Linaro QEMU:
  New

Bug description:
  I find the bug already reported on qemu-devel mailing-list [1] w/o
  replies also on other sources.

  Tested on Darwin (Mac OS X 10.7.5) and Scientific Linux 6.3 hosts.
  Also using the latest 1.2.X and 1.3.0-rc0 and qemu-linaro. On all host
  operating systems and with different versions on qemu results are the
  same.

  I was following the official Ubuntu ARM instructions [2] how to test
  OS on ARM emulator.

  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  audio: Failed to create voice `lm4549.out'
  Uncompressing Linux................................................................................................................................................................................................. done, booting the kernel.
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf000f0)
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf0)

  And it freezes, but still eats 40-50% of CPU core.

  ## Instructions ##

  wget -c http://w3.impa.br/~gabrield/data/ubuntu-arm-development-rootfs.tar.bz2
  tar jxfv ubuntu-arm-development-rootfs.tar.bz2
  chmod +x run.sh
  ./run.sh

  The user to login is ubuntu and password temppwd.

  More details on [2].

  - - -
  [1] http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg00863.html
  [2] https://wiki.ubuntu.com/ARM/RootfsFromScratch

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1082292/+subscriptions
#4 lore raw
In reply to davidlt

** Changed in: qemu-linaro
Status: Fix Committed => Fix Released

** Changed in: qemu
Status: Fix Committed => Fix Released

Signature · 54 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1082292

Title:
  [ARM] pflash_write: Unimplemented flash cmd sequence

Status in QEMU:
  Fix Released
Status in Linaro QEMU:
  Fix Released

Bug description:
  I find the bug already reported on qemu-devel mailing-list [1] w/o
  replies also on other sources.

  Tested on Darwin (Mac OS X 10.7.5) and Scientific Linux 6.3 hosts.
  Also using the latest 1.2.X and 1.3.0-rc0 and qemu-linaro. On all host
  operating systems and with different versions on qemu results are the
  same.

  I was following the official Ubuntu ARM instructions [2] how to test
  OS on ARM emulator.

  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  oss: Could not initialize DAC
  oss: Failed to open `/dev/dsp'
  oss: Reason: No such file or directory
  audio: Failed to create voice `lm4549.out'
  Uncompressing Linux................................................................................................................................................................................................. done, booting the kernel.
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf000f0)
  pflash_write: Unimplemented flash cmd sequence (offset 0000000000000000, wcycle 0x0 cmd 0x0 value 0xf0)

  And it freezes, but still eats 40-50% of CPU core.

  ## Instructions ##

  wget -c http://w3.impa.br/~gabrield/data/ubuntu-arm-development-rootfs.tar.bz2
  tar jxfv ubuntu-arm-development-rootfs.tar.bz2
  chmod +x run.sh
  ./run.sh

  The user to login is ubuntu and password temppwd.

  More details on [2].

  - - -
  [1] http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg00863.html
  [2] https://wiki.ubuntu.com/ARM/RootfsFromScratch

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1082292/+subscriptions