Skip to content

Add flash emulation to the ARM Versatile PB platform

Thomas Petazzoni qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Increase write buffer size in pflash emulationhw/pflash_cfi01.c+3 -30 replies
2/2Add Flash support to the Versatile PB platformhw/versatilepb.c+36 -74 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [patch 0/2] Add flash emulation to the ARM Versatile PB platform

Hi,

The following two patches add flash emulation to the ARM Versatile PB platform. Compared to the previous version of the patchset sent on October, 2nd, this version has the following changes :

- Drop the two patches that have been included in SVN ;

- In the write buffer increase patch, instead of changing the type of cmd from uint8_t to uint16_t, directly use value to set pfl->counter, since value is not 8 bits masked. Suggested by Andrzej Zaborowski ;

- Change the memory reservation scheme for the Versatile platform. Instead of hardcoding the RAM size, we use the .ram_require machine argument to reserve memory for the flash, and allow the user to define a custom RAM size using the -m option. Hopefully, this adresses Paul Brook's comment about this patch.

Thanks !

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com