[PATCH 0/3] mtd: maps: vmu-flash: Fix build and runtime errors

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Mon Nov 17 23:31:22 PST 2025


Hi Florian,

On Mon, 2025-11-17 at 23:44 +0100, Florian Fuchs wrote:
> This small series fixes build and runtime errors in the vmu-flash driver
> (enabled by CONFIG_MTD_VMU) and the included maple.h. These changes were
> verified on real Dreamcast hardware with a physical VMU. The VMU can now
> be successfully probed, read and written with MTD tools like mtd_info and
> mtd_debug. Previously, the driver failed to build or crashed during
> probing.
> 
> 	bash-5.3# mtdinfo /dev/mtd0
> 	mtd0
> 	Name:                           vmu2.1.0
> 	Type:                           mlc-nand
> 	Eraseblock size:                512 bytes
> 	Amount of eraseblocks:          256 (131072 bytes, 128.0 KiB)
> 	Minimum input/output unit size: 512 bytes
> 	Sub-page size:                  512 bytes
> 	Character device major/minor:   90:0
> 	Bad blocks are allowed:         true
> 	Device is writable:             true

Thanks again for this series. Before this can be picked up, I would like again
Artur Rojek to test it on his Dreamcast, so let's loop him in.

If he confirms the functionality, I'll pick it up. I'll try to get it reviewed
later this week.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the linux-mtd mailing list