I got
bananapro to try slackwarearm and sata. slackwarearm is working and running fine. I wondered with sata port could multiple drives be added, and found maybe with a
sata port multiplier.
I found posts that said A20 should be able to do spm. This
post says look for "CONFIG_SATA_PMP=y" in your kernel, I found it,
Quote:
grep -iR 'CONFIG_SATA_PMP' /usr/src/linux/.config
CONFIG_SATA_PMP=y
|
That post also says
Quote:
Now to enable sunxi pmp support edit /boot/boot.cmd. Find the line that begins with setenv bootargs and add: ahci_sunxi.enable_pmp=1
|
so I added ahci_sunxi.enable_pmp=1 to bootargs
Code:
setenv bootargs "${slkconsole} ${bootcmd_generic} root=/dev/sda2 waitforroot=3 rootfstype=ext4 ahci_sunxi.enable_pmp=1"
and got
Code:
/proc/cmdline
console=ttyS0,115200n8 console=tty0 debug earlyprintk sunxi_g2d_mem_reserve=0
sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1024x768p60 root=/dev/sda2
waitforroot=5 rootfstype=ext4 ahci_sunxi.enable_pmp=1
Quote:
[ 4.923099] ata1.15: Port Multiplier 1.2, 0x197b:0x5755 r0, 5 ports, feat 0x5/0xf
[ 4.945693] ata1.00: hard resetting link
[ 5.422167] ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[ 5.435267] ata1.01: hard resetting link
[ 5.910121] ata1.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
|
Code:
blkid
/dev/sdb1: UUID="bfe1a37d-3e1e-4f8b-b6a9-f849988a9ec6" TYPE="ext3" PARTLABEL="primary" PARTUUID="15c9a254-e250-4967-9863-747eaa8e8308"
/dev/sda1: UUID="b61e9fdf-669b-43b9-99ba-75ae02da71dd" TYPE="swap" PARTUUID="0a9dcc02-01"
/dev/sda2: UUID="9d5cdade-54ab-4acb-8cd4-7513cc5e3bc8" TYPE="ext4" PARTUUID="0a9dcc02-02"
I've read spm could get hot, I have adequate cooling and don't think other attachment, Banana_Pi_SATA_PMP_Back_preview_featured, is a good idea.
I also contacted startech about command-based switching (CBS) or FIS (Frame Information Structure)-based switching (FBS), response I got
Quote:
In regards to the throughput to expect loading and trying to access different SATA drives, that will depend on the SATA controller and the hard drivers used, and others factors like the CPU load, the type of file accessed/transferred, the computer hardware, etc.
|
I'm testing/trying things, we'll see. I have nfs exports, tried couple things from different computers, working fine so far.