Re: [PATCH] hw/sd: Fix 2 GiB card CSD register values

2020-11-17 Thread Philippe Mathieu-Daudé
On 10/26/20 2:40 AM, Bin Meng wrote: > Hi Philippe, > > On Mon, Oct 26, 2020 at 2:56 AM Philippe Mathieu-Daudé > wrote: >> >> On 10/25/20 4:23 PM, Bin Meng wrote: >>> From: Bin Meng >>> >>> Per the SD spec, to indicate a 2 GiB card, BLOCK_LEN shall be 1024 >>> bytes, hence the READ_BL_LEN

Re: [PATCH] hw/sd: Fix 2 GiB card CSD register values

2020-10-25 Thread Bin Meng
Hi Philippe, On Mon, Oct 26, 2020 at 2:56 AM Philippe Mathieu-Daudé wrote: > > On 10/25/20 4:23 PM, Bin Meng wrote: > > From: Bin Meng > > > > Per the SD spec, to indicate a 2 GiB card, BLOCK_LEN shall be 1024 > > bytes, hence the READ_BL_LEN field in the CSD register shall be 10 > > instead of

Re: [PATCH] hw/sd: Fix 2 GiB card CSD register values

2020-10-25 Thread Philippe Mathieu-Daudé
On 10/25/20 7:56 PM, Philippe Mathieu-Daudé wrote: On 10/25/20 4:23 PM, Bin Meng wrote: From: Bin Meng Per the SD spec, to indicate a 2 GiB card, BLOCK_LEN shall be 1024 bytes, hence the READ_BL_LEN field in the CSD register shall be 10 instead of 9. This fixes the acceptance test error for

Re: [PATCH] hw/sd: Fix 2 GiB card CSD register values

2020-10-25 Thread Philippe Mathieu-Daudé
On 10/25/20 4:23 PM, Bin Meng wrote: From: Bin Meng Per the SD spec, to indicate a 2 GiB card, BLOCK_LEN shall be 1024 bytes, hence the READ_BL_LEN field in the CSD register shall be 10 instead of 9. This fixes the acceptance test error for the NetBSD 9.0 test of the Orange Pi PC that has an

Re: [PATCH] hw/sd: Fix 2 GiB card CSD register values

2020-10-25 Thread Niek Linnenbank
Hello Bin, On Sun, Oct 25, 2020 at 4:25 PM Bin Meng wrote: > From: Bin Meng > > Per the SD spec, to indicate a 2 GiB card, BLOCK_LEN shall be 1024 > bytes, hence the READ_BL_LEN field in the CSD register shall be 10 > instead of 9. > > This fixes the acceptance test error for the NetBSD 9.0

[PATCH] hw/sd: Fix 2 GiB card CSD register values

2020-10-25 Thread Bin Meng
From: Bin Meng Per the SD spec, to indicate a 2 GiB card, BLOCK_LEN shall be 1024 bytes, hence the READ_BL_LEN field in the CSD register shall be 10 instead of 9. This fixes the acceptance test error for the NetBSD 9.0 test of the Orange Pi PC that has an expanded SD card image of 2 GiB size.