diff options
author | Cédric Le Goater | 2020-09-18 09:04:36 +0200 |
---|---|---|
committer | Cédric Le Goater | 2020-09-18 09:04:36 +0200 |
commit | 9820e52fbef71564d05f3a83a26ce4c3f7d5d3fd (patch) | |
tree | 7e14961fe4bcf9dc354e2765900f8ee9cfe99eec /docs | |
parent | hw/arm/aspeed: Map the UART5 device unconditionally (diff) | |
download | qemu-9820e52fbef71564d05f3a83a26ce4c3f7d5d3fd.tar.gz qemu-9820e52fbef71564d05f3a83a26ce4c3f7d5d3fd.tar.xz qemu-9820e52fbef71564d05f3a83a26ce4c3f7d5d3fd.zip |
hw/arm/aspeed: Add machine properties to define the flash models
Some machines don't have much differences a part from the flash model
being used. Introduce new machine properties to change them from the
command line.
For instance, to start the ast2500-evb machine with a different FMC
chip and a 64M SPI chip, use :
-M ast2500-evb,fmc-model=mx25l25635e,spi-model=mx66u51235f
Cc: 郁雷 <yulei.sh@bytedance.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Tested-by: Lei YU <yulei.sh@bytedance.com>
Message-Id: <20200915054859.2338477-1-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/system/arm/aspeed.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/system/arm/aspeed.rst b/docs/system/arm/aspeed.rst index 45f891eb3c..2d33d02345 100644 --- a/docs/system/arm/aspeed.rst +++ b/docs/system/arm/aspeed.rst @@ -83,3 +83,21 @@ The image should be attached as an MTD drive. Run : $ qemu-system-arm -M romulus-bmc -nic user \ -drive file=flash-romulus,format=raw,if=mtd -nographic + +Options specific to Aspeed machines are : + + * ``execute-in-place`` which emulates the boot from the CE0 flash + device by using the FMC controller to load the instructions, and + not simply from RAM. This takes a little longer. + + * ``fmc-model`` to change the FMC Flash model. FW needs support for + the chip model to boot. + + * ``spi-model`` to change the SPI Flash model. + +For instance, to start the ``ast2500-evb`` machine with a different +FMC chip and a bigger (64M) SPI chip, use : + +.. code-block:: bash + + -M ast2500-evb,fmc-model=mx25l25635e,spi-model=mx66u51235f |