Re: [PATCH] hw/arm/npcm8xx_boards: Add auto zero flash image and device part number

2025-05-05 Thread Tim Lee
> This won't work on read-only storage. > > > +} > > } > > qdev_realize_and_unref(flash, BUS(fiu->spi), &error_fatal); > > > > @@ -194,7 +206,8 @@ static void npcm845_evb_init(MachineState *machine) > > qdev_realize(DEVICE(soc), NULL, &error_fatal); > > > > npcm8xx_l

Re: [PATCH] hw/arm/npcm8xx_boards: Add auto zero flash image and device part number

2025-05-05 Thread Philippe Mathieu-Daudé
On 1/4/25 10:59, Tim Lee wrote: Fix flash device part number to `mx66l1g45g` according image-bmc run on npcm8xx evb board (SPIFlash...SF: Detected mx66l1g45g, total 128 MiB) And add auto zero flash image size to resolve error below after executing `./qemu-system-aarch64 -machine npcm845-evb -dri

RE: [PATCH] hw/arm/npcm8xx_boards: Add auto zero flash image and device part number

2025-05-04 Thread kft...@nuvoton.com
From: Tim Lee Sent: Tuesday, April 1, 2025 4:59 PM To: peter.mayd...@linaro.org Cc: qemu-...@nongnu.org; qemu-devel@nongnu.org; wuhao...@google.com; CS20 CHLi30 ; CS20 KFTing ; Tim Lee Subject: [PATCH] hw/arm/npcm8xx_boards: Add auto zero flash image and device part number Fix flash

[PATCH] hw/arm/npcm8xx_boards: Add auto zero flash image and device part number

2025-04-05 Thread Tim Lee
Fix flash device part number to `mx66l1g45g` according image-bmc run on npcm8xx evb board (SPIFlash...SF: Detected mx66l1g45g, total 128 MiB) And add auto zero flash image size to resolve error below after executing `./qemu-system-aarch64 -machine npcm845-evb -drive file=image-bmc` Error message: