I had time this Weekend and started a new try with the PMP Kernel. I didn't 
had luck with the original kernel, i could not boot with it. Then i tried a 
fork form dan-and

https://github.com/dan-and/linux-sunxi

linaro@cubietruck:~$ zcat /proc/config.gz | grep PMP
CONFIG_SATA_PMP=y

with drivers/ata/ahci.c

 [board_ahci_mcp89] =
 159         {
 160                 AHCI_HFLAGS     (AHCI_HFLAG_NO_FPDMA_AA),
 161                 .flags          = AHCI_FLAG_COMMON,
 162                 .pio_mask       = ATA_PIO4,
 163                 .udma_mask      = ATA_UDMA6,
 164                 .port_ops       = &ahci_ops,
 165         },
 166         [board_ahci_mv] =
 167         {
 168                 AHCI_HFLAGS     (AHCI_HFLAG_NO_NCQ | AHCI_HFLAG_NO_MSI 
|
 169                                  AHCI_HFLAG_MV_PATA),
 170                 .flags          = ATA_FLAG_SATA | ATA_FLAG_PIO_DMA,
 171                 .pio_mask       = ATA_PIO4,
 172                 .udma_mask      = ATA_UDMA6,
 173                 .port_ops       = &ahci_ops,
 174         },


but in dmesg i got


linaro@cubietruck:~$ dmesg | grep ahci
[    1.917710] sw_ahci sw_ahci.0: controller can't do PMP, turning off 
CAP_PMP
[    1.928979] sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
[    1.941734] sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 
0x1 impl platform mode
[    1.956644] sw_ahci sw_ahci.0: flags: ncq sntf pm led clo only pio slum 
part ccc
[    1.968369] scsi0 : sw_ahci_platform


so any more suggestions ? I'm not sure that i compiled it right





You need to edit drivers/ata/ahci_sunxi.c 
> and remove "AHCI_HFLAG_NO_PMP | " from there around line 161. 
>
> As well as enable PMP in you .config of course. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to