why eSATA in X-15?

My home desktop PC has an eSATA port. A few months ago I wanted to buy
a hard disk for backup and could not find any at a reasonable price
with an eSATA port. I bought one with a USB3 port.

My question is why was eSATA interface chosen for the X-15? Why not plain SATA?

http://beagleboard.org/newsletter/2015-11/

Because that was the decision we made two years ago. Plain SATA is provided on the expansion connectors as well if you want to design an expansion card for it. The TI EVM has mSATA on the LCD board.

eSATA also provides an extra USB2.0 port.

Gerald

Thanks, Gerald.

Why not use a eSATA to SATA cable?

http://www.amazon.com/SATA-to-eSATA-Cable/dp/B003ENM5IA/ref=sr_1_2?ie=UTF8&qid=1448993586&sr=8-2&keywords=esata+to+sata+cable

Regards,
John

That was the plan…

Gerald

Or, how about using an eSATA enclosure ? they’re not that expensive . . .http://www.amazon.com/Anker%C2%AE-Aluminum-External-Enclosure-12-5mm/dp/B005B5G4S6

eSATA enclosures also usually double as an USB enclosure as well. While on the subject. eSATA is usually more performant when compared to USB, but that can depend on the host controller as well.

Or these:

http://www.amazon.com/gp/product/B002MKKTWA

pair up with an ssd, perfect for the x15..

Regards,

Hi Robert,

Is the port on the X-15 eSATA or eSATAp [1]? The picture [2] says
eSATA, though since Gerald said USB 2 is also supported I guess it is
eSATAp.

If it is indeed an eSATAp port then the cable you suggested is the
best solution in my view because it provides power.
The follow-up question is how much power can the X-15 provide at 5 V
and at 12 V.

[1] https://en.wikipedia.org/wiki/ESATAp
[2] http://beagleboard.org/newsletter/2015-11/

Only 5V is supplied. There is no 12V. Feel free to look at the schematic.

http://elinux.org/Beagleboard:BeagleBoard-X15

Gerald

Thanks.

Hi Robert,

I bought this cable and connected a 240GB SSD. I dd a 32GB SDCard image to the SSD. I can mount /dev/sda1 and see rootfs. I changed the jumpers to select SATA as shown the the quick start guide (J3 1-2, j4 2-3, j6 2-3) and removed the SDCard. After powering down, I push the power button (s1), I see the power led (D3) light for a few seconds and goes out. I see nothing on the console. I also tried setting the jumpers per the PCB legend (J3 2-3, J4 1.2 J6 2-3) and I get the same results.

Regards,
John

Oh, don't change the jumpers. The production x15's isn't going to have
them, only the am57xx evm's.

I've configured u-boot on the microSD to look at the drives like so:

usb : (search first 4 partitions) (usb enables scsi power rail in u-boot,
hence first)
scsi: (search first 4 partitions)
eMMC: (search first 8 partitions)
microSD: (search first 8 partitions)

To setup boot from sata, return the jumpers to eMMC/microsd

boot into debian

cd /opt/scripts/
git pull

WARNING only have sata or usb plugged in, not both.. (script is hardcoded
for /dev/sda)

cd /opt/scripts/tools/non-mmc-rootfs
sudo ./mv_rootfs_dev_sda.sh

reboot..

microSD/eMMC (u-boot) searches scsi and boots from it. :wink:

Regards,

(and i haven't spent any time figuring out how to raw boot from a scsi
device, probably need a custom u-boot setting... :wink: )

Regards,

U-Boot SPL 2015.07-00129-g645e7d3 (Oct 08 2015 - 16:41:20)
DRA752 ES1.1

U-Boot 2015.07-00129-g645e7d3 (Oct 08 2015 - 16:41:20 -0500), Build: jenkins-github_Bootloader-Builder-245

CPU : DRA752 ES1.1
Board: BeagleBoard x15
I2C: ready
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1

** Unable to use mmc 0:1 for loading the env **
Using default environment

SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices…
Found 0 device(s).
Net: not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot: 0
resetting USB…
USB0: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices… Device not responding to set address.

USB device not accepting new address (error=80000000)
2 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found

USB device 0: unknown device

Reset SCSI
Target spinup took 0 ms.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices…
Device 0: (0:0) Vendor: ATA Prod.: OCZ-AGILITY3 Rev: 2.25
Type: Hard Disk
Capacity: 228936.5 MB = 223.5 GB (468862128 x 512)
Found 1 device(s).

SCSI device 0:
Device 0: (0:0) Vendor: ATA Prod.: OCZ-AGILITY3 Rev: 2.25
Type: Hard Disk
Capacity: 228936.5 MB = 223.5 GB (468862128 x 512)
… is now current device
Scanning scsi device 0
Checking for: /uEnv.txt …
Checking for: /boot/uEnv.txt …
bad MBR sector signature 0x0000
** Invalid partition 1 **

Info: input data size = 724274 = 0xB0D32

Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt …
bad MBR sector signature 0xf5fe
** Invalid partition 2 **
bad MBR sector signature 0xf5fe
** Invalid partition 3 **
bad MBR sector signature 0xf5fe
** Invalid partition 4 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc device 0
Checking for: /uEnv.txt …
Checking for: /boot/uEnv.txt …
260 bytes read in 21 ms (11.7 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt …
debug: [uname_r=4.1.10-ti-r24] …
loading /boot/vmlinuz-4.1.10-ti-r24 …
8236568 bytes read in 433 ms (18.1 MiB/s)
loading /boot/dtbs/4.1.10-ti-r24/am57xx-beagle-x15.dtb …
156285 bytes read in 60 ms (2.5 MiB/s)
loading /boot/initrd.img-4.1.10-ti-r24 …
4417832 bytes read in 244 ms (17.3 MiB/s)
debug: [console=ttyO2,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M quiet] …
debug: [bootz 0x82000000 0x88080000:436928 0x88000000] …
Kernel image @ 0x82000000 [ 0x000000 - 0x7dae18 ]

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fbc9000, end 8ffff928 … OK
Loading Device Tree to 8fb9f000, end 8fbc827c … OK

Starting kernel …

[ 3.469431] pci 0000:00:00.0: IOMMU is currently not supported for PCI
[ 4.590281] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
[ 4.597722] ata1: irq_stat 0x00000040, connection status changed
[ 4.603766] ata1: SError: { CommWake DevExch }
Loading, please wait…
fsck from util-linux 2.25.2
rootfs: clean, 238677/1919232 files, 1797551/7791360 blocks
/init: 404: /init: touch: not found
[ 5.814671] systemd[1]: Job console-setup.service/start deleted to break ordering cycle starting with basic.target/start
[ 6.157302] systemd-fsck[196]: rootfs: clean, 238677/1919232 files, 1797551/7791360 blocks
[ 7.423756] remoteproc0: failed to load dra7-ipu1-fw.xem4

Debian GNU/Linux 8 BeagleBoard-X15 ttyS2

BeagleBoard.org Debian Image 2015-10-18

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

BeagleBoard-X15 login: root
Last login: Mon Dec 7 20:03:55 UTC 2015 on ttyS2
Linux BeagleBoard-X15 4.1.10-ti-r24 #3 SMP PREEMPT Sun Oct 25 10:13:57 PDT 2015 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@BeagleBoard-X15:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 10240 0 10240 0% /dev
tmpfs 379212 9912 369300 3% /run
/dev/mmcblk0p1 30618060 6643128 22679488 23% /
tmpfs 948028 4 948024 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 948028 0 948028 0% /sys/fs/cgroup
tmpfs 189608 0 189608 0% /run/user/1000
tmpfs 189608 0 189608 0% /run/user/0
root@BeagleBoard-X15:~#

Regards,
John

Yeah, that was what I was trying to do. When I saw the jumper settings, I though this was possible.

Regards,
John

In u-boot, “scsi scan” doesn’t show anything. even “scsi reset” doesn’t find any devices.

Regards,
John