[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Writeable files in fw_cfg
From: |
David Woodhouse |
Subject: |
Re: [Qemu-devel] [RFC] Writeable files in fw_cfg |
Date: |
Mon, 28 Jan 2013 16:40:28 +0000 |
On Mon, 2013-01-28 at 08:36 -0800, Jordan Justen wrote:
>
> What is need is for pflash_cfi01 to start in plain rom/executable mode
> while firmware executes from it during early boot.
>
> Then later, after the rom has been shadowed, firmware will want to
> write to that memory space to program it. At that point it no longer
> needs to be executable.
>
> So the question is, can it start out in rom/executable mode, but
> change into a non-executable mode if a write occurs? Will qemu get a
> chance to respond if something is written to a rom region, or is it
> silently ignored?
>
> Also, once the 'read-array' command is written to it after programming
> is finished, can it revert to executable rom mode?
We often have separate gating in hardware to enable the write line (or
Vpp) to flash chips. Can we emulate that and use it to switch the flash
between executable and MMIO mode? Rather than being able to trap the
first write and see what it was...
--
dwmw2
smime.p7s
Description: S/MIME cryptographic signature
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, (continued)
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Anthony Liguori, 2013/01/27
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, David Woodhouse, 2013/01/27
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Anthony Liguori, 2013/01/27
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, David Woodhouse, 2013/01/28
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Anthony Liguori, 2013/01/28
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, David Woodhouse, 2013/01/28
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Jordan Justen, 2013/01/28
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg,
David Woodhouse <=
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Anthony Liguori, 2013/01/28
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Gleb Natapov, 2013/01/28
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Anthony Liguori, 2013/01/28
- Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Gleb Natapov, 2013/01/28