Bananian

SSD gets not detected

6 3233
may24x  
Edited by may24x at Fri Feb 6, 2015 05:52

Hi all,
I just connected a brand new Kingston 120 GB SSD disk to my Banana-Pi Router board.
But the disk doesn't show up in /dev ...

dmesg gives me:
  1. Feb  6 11:49:31 saturn kernel: [    1.523190] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
  2. Feb  6 11:49:31 saturn kernel: [   56.666209] ata1: limiting SATA link speed to 1.5 Gbps
  3. Feb  6 12:00:01 saturn kernel: [    1.523047] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
  4. Feb  6 12:00:01 saturn kernel: [   56.636250] ata1: limiting SATA link speed to 1.5 Gbps
Copy the Code
# fdisk -l

Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders, total 15523840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6c70c806

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            2048       43007       20480   83  Linux
/dev/mmcblk0p2           43008    15523839     7740416   83  Linux


I use the latest Bananian Image: 15.01
tkaiser  
Have a look at this thread (the BPi-R1 has a couple of design flaws especially regarding power): http://bananapi.com/index.php/fo ... -on-bpi-r1?start=12

The issue is known and a later Bananian version will take care of it.

may24x  
Thanks a lot for you help. The threads were very helpful.
Unfortunately my hdd still doesn't work.
When powering on the Pi you can clearly hear the pulsing sound of the drive trying to start but not being able to ...
However, with a SSD attached there're  no problems.

On additional question: I assumed that with the OS now copied to the disk, I would not need the SD card anymore to start the Pi.
But it doesn't boot without it ... is there a way to run the system from the SSD only ?

tkaiser  
Edited by tkaiser at Tue Feb 10, 2015 04:26
may24x replied at Tue Feb 10, 2015 02:18
Thanks a lot for you help. The threads were very helpful.
Unfortunately my hdd still doesn't work.
...


Maybe still voltage too low -- several people reported that their 2.5" HDDs don't spin up while SSDs happily work under the same conditions. You can have a look at what's available to the AXP209 PMU (the power management unit) using sysfs: http://forum.lemaker.org/forum.p ... 2&fromuid=33332

On Banana Pi/Pro SATA-pwr is not routed through the PMU and might be a bit lower as reported by the PMU. No idea if that also applies to the 'router board'.

And regarding 'SSD only' boot: no that's not possible. The bootloader has to remain on the SD card.

may24x  
Edited by may24x at Tue Feb 10, 2015 09:05

Well, sometimes the answer is simply: More Power
I fixed the issue now by buying a more powerful USB charger
The new one i capable of delivering up to 3 A ... so has max power of 15 Watt.
Std HDD works fine now

tkaiser  
The Micro-USB connector is specified for max. 1.8A and its tiny contacts are simply not able to transport anything more than 2A. As already said... it's that simple to look what's available to the board: Just execute the following 2 lines in Terminal to get voltage in V and current used in mA:
  1. awk '{printf ("%0.1f",$1/1000); }' </sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/power_supply/ac/current_now
  2. awk '{printf ("%0.2f",$1/1000000); }' </sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/power_supply/ac/voltage_now
Copy the Code
It would be great if you could post the output especially of the second line for both chargers.

Hi, Kingston 120 GB SSD disk now works well on Bpi-R1 ?

You have to log in before you can reply Login | Sign Up

Points Rules