Re: [PATCH] hw/sd/sdcard: Fix handling of disabled boot partitions

2024-10-03 Thread Philippe Mathieu-Daudé
On 1/10/24 15:01, Peter Maydell wrote: On Mon, 30 Sept 2024 at 21:05, Jan Lübbe wrote: On Mon, 2024-09-30 at 15:18 +0100, Peter Maydell wrote: On Fri, 6 Sept 2024 at 17:51, Jan Luebbe wrote: The enable bits in the EXT_CSD_PART_CONFIG ext_csd register do *not* specify whether the boot parti

Re: [PATCH] hw/sd/sdcard: Fix handling of disabled boot partitions

2024-10-01 Thread Peter Maydell
On Mon, 30 Sept 2024 at 21:05, Jan Lübbe wrote: > > On Mon, 2024-09-30 at 15:18 +0100, Peter Maydell wrote: > > On Fri, 6 Sept 2024 at 17:51, Jan Luebbe wrote: > > > > > > The enable bits in the EXT_CSD_PART_CONFIG ext_csd register do *not* > > > specify whether the boot partitions exist, but whe

Re: [PATCH] hw/sd/sdcard: Fix handling of disabled boot partitions

2024-09-30 Thread Jan Lübbe
On Mon, 2024-09-30 at 15:18 +0100, Peter Maydell wrote: > On Fri, 6 Sept 2024 at 17:51, Jan Luebbe wrote: > > > > The enable bits in the EXT_CSD_PART_CONFIG ext_csd register do *not* > > specify whether the boot partitions exist, but whether they are enabled > > for booting. Existence of the boot

Re: [PATCH] hw/sd/sdcard: Fix handling of disabled boot partitions

2024-09-30 Thread Peter Maydell
On Fri, 6 Sept 2024 at 17:51, Jan Luebbe wrote: > > The enable bits in the EXT_CSD_PART_CONFIG ext_csd register do *not* > specify whether the boot partitions exist, but whether they are enabled > for booting. Existence of the boot partitions is specified by a > EXT_CSD_BOOT_MULT != 0. > > Current

[PATCH] hw/sd/sdcard: Fix handling of disabled boot partitions

2024-09-06 Thread Jan Luebbe
The enable bits in the EXT_CSD_PART_CONFIG ext_csd register do *not* specify whether the boot partitions exist, but whether they are enabled for booting. Existence of the boot partitions is specified by a EXT_CSD_BOOT_MULT != 0. Currently, in the case of boot-partition-size=1M and boot-config=0, L