LTolledo
Posts: 2158
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Unable to Boot RPI 3B from SSD disk

Thu Feb 28, 2019 10:05 am

blacktek wrote:
Thu Feb 28, 2019 9:20 am
yesterday I ordered the inateck adaptor, should arrive today.
that's fast!
I ordered today, and together with that order a Crucial BX500 120GB SSD, (and a few other things). I expect the batch to arrive by Sat.

Do share with us the results of the test once your Inateck adaptor arrives.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Thu Feb 28, 2019 3:32 pm

I'm here with the new sata adapter from Inateck; here the results of each boot/reboot attemp:

1) cold boot no good (here the output from serial console):

MESS:00:00:18.975902:0: hdmi: HDMI: hotplug attached with DVI support
MESS:00:00:18.982083:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:18.993216:0: hdmi: HDMI: power_on to DMT mode 1440x900@60
MESS:00:00:19.001022:0: hdmi: HDMI: Action callback added to queue to happen at frame 0
MESS:00:00:19.017881:0: *** Restart logging
MESS:00:00:19.020371:0: brfs: File read: 1685 bytes
MESS:00:00:19.876261:0: brfs: File read: /mfs/sd/cmdline.txt
MESS:00:00:19.880260:0: Read command line from file 'cmdline.txt':
MESS:00:00:19.886128:0: 'dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=43be32d2-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait rootdelay=5'
MESS:00:00:19.902090:0: brfs: File read: 154 bytes
MESS:00:01:01.699858:0: No kernel trailer - assuming DT-capable
MESS:00:01:02.716541:0: Failed to load Device Tree file '?'
MESS:00:01:02.720922:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:01:07.530311:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:01:12.338815:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined

----------

2) cold boot was fine; here the different output on the console:

MESS:00:00:19.880135:0: Read command line from file 'cmdline.txt':
MESS:00:00:19.886004:0: 'dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=43be32d2-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait rootdelay=5'
MESS:00:00:19.901966:0: brfs: File read: 154 bytes
MESS:00:00:28.340548:0: brfs: File read: /mfs/sd/kernel7.img
MESS:00:00:28.344508:0: Loading 'kernel7.img' to 0x8000 size 0x4b6950
MESS:00:00:28.355004:0: No kernel trailer - assuming DT-capable
MESS:00:00:28.359250:0: brfs: File read: 4942160 bytes

3) hot reboot was fine

4) hot reboot was fine

5) hot reboot was fine

6) hot reboot was fine

then I made a poweroff (from shell, with "sudo poweroff")

7) cold boot was fine

8) hot reboot was very slow at showing each of the lines below

Raspberry Pi Bootcode

USB MSD boot
Read File: config.txt, 1685 (bytes)




Raspberry Pi Bootcode
Read File: config.txt, 1685
Read File: start.elf, 2869092 (bytes)

It remained stuck here and I made a hard poweroff

9) cold boot was fine

10) hot reboot was fine.

I'll do other attempts. What can we say about the failed ones? PSU issues? strange that 8th attempts was very slow at beginning, a line every few seconds. Could it be related to PSU or some other internals?

Extra question: the config.txt and start.elf file I see are read at boot where are stored? on the boot partition of the SSD? if this is the case what is the reason to put "rootdelay=5" in cmdline.txt? it could make sense if /boot is on microsd and /root on external ssd, but I see a non sense to have a delay there if both are on the same device.

Thank you

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Thu Feb 28, 2019 3:48 pm

Here another of the failed boot:

MESS:00:00:19.887378:0: 'dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=43be32d2-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait rootdelay=5'
MESS:00:00:19.903348:0: brfs: File read: 154 bytes
MESS:00:00:41.750187:0: brfs: File read: /mfs/sd/kernel7.img
MESS:00:00:41.754143:0: Loading 'kernel7.img' to 0x8000 size 0x0
MESS:00:00:41.764210:0: No kernel trailer - assuming DT-capable
MESS:00:00:43.793345:0: Failed to load Device Tree file '?'
MESS:00:00:43.797756:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:43.805672:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:43.812130:0: uart: Baud rate change done...
MESS:00:00:43.815563:0: uart: Baud rate change done...

This time it was able to see /mfs/sd/kernel7.img, but had size 0.... mmm

User avatar
HawaiianPi
Posts: 4878
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Unable to Boot RPI 3B from SSD disk

Thu Feb 28, 2019 11:07 pm

blacktek wrote:
Thu Feb 28, 2019 3:32 pm
What can we say about the failed ones? PSU issues? strange that 8th attempts was very slow at beginning, a line every few seconds. Could it be related to PSU or some other internals?
What are you using for a power supply?
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Fri Mar 01, 2019 8:44 am

I've tested a couple; in those tests I used a Vilros 2A

Next week I'll order https://www.amazon.it/gp/product/B01CCR ... UDZ3&psc=1 that should be the RSF original PSU. Doing big collection of psu, adapters and ssd! :(

LTolledo
Posts: 2158
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Unable to Boot RPI 3B from SSD disk

Sat Mar 02, 2019 10:10 am

Ok got the Inateck cable today so this is my test results:

System specs:
1. Raspberry Pi 3 Model B
2. Non-RPF PSU 5v 3A model AD-K50P300
3. 10" HDMI monitor
4. Wireless Keyboard and Mouse (shared via bus powered KVM)
5. Sandisk SDSSDA-240G connected via Inateck UA1003 SATA to USB3.0 adapter cable
6. Raspbian Stretch with Desktop (flashed then via Resin.io Etcher).


output of lsusb

Code: Select all

~ $ lsusb
Bus 001 Device 006: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
Bus 001 Device 005: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 1a86:8074 QinHeng Electronics 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
output of lsblk

Code: Select all

~ $ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 223.6G  0 disk 
├─sda1   8:1    0  43.1M  0 part /boot
└─sda2   8:2    0 223.5G  0 part /
output of blkid

Code: Select all

~ $ blkid
/dev/sda1: LABEL="boot" UUID="D332-A79C" TYPE="vfat" PARTUUID="b300b960-01"
/dev/sda2: LABEL="rootfs" UUID="31688870-9e02-4182-8cda-25195c5a4739" TYPE="ext4" PARTUUID="b300b960-02"
output of uname

Code: Select all

~ $ uname -a
Linux RasPi3B4SSD240G 4.14.62-v7+ #1134 SMP Tue Aug 14 17:10:10 BST 2018 armv7l GNU/Linux
so this inform me that it is an August 2018 version.....(no I havent updated and upgraded this yet)

contents of cmdline.txt

Code: Select all

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=b300b960-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
contents of fstab

Code: Select all

proc            /proc           proc    defaults          0       0
PARTUUID=b300b960-01  /boot           vfat    defaults          0       2
PARTUUID=b300b960-02  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that
output of cpuinfo

Code: Select all

~ $ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 76.80
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 1
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 76.80
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 2
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 76.80
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 3
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 76.80
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

Hardware	: BCM2835
Revision	: a02082
Serial		: 000000001c002682
There you have it!
Mine is running fine on the non-RPF PSU.

later I will try to power this whole setup from a 5v 2.4A that I bought from a dollar store. I'll just change the PSU and micoUSB cable, the rest will remain as is.

oh and below is the image of the setup (you'll notice the forum post....)
RasPiSSD240G.JPG
RasPiSSD240G.JPG (85.49 KiB) Viewed 1399 times
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

LTolledo
Posts: 2158
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Unable to Boot RPI 3B from SSD disk

Sat Mar 02, 2019 10:30 am

Ok now back up again, this time using the 5v 2.4A PSU bought from the dollar store.

while it did boot, and reboot, but the "dreaded yellow thunderbolt" does appear intermittently. Performance reliability might be questionable later...(an RPi3B+ will probably suffer more)
...wont be powering this RPi3B system using the dollar store PSU.

there you have it.

...will power down now...

Hope you get better luck when the proper PSU arrives.....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Wed Mar 06, 2019 11:26 am

Hello,
this morning I received the new RPF PSU, but no good news :( :( :( :(

First cold boot didn't work; boot hanged up at rainbow screen. They 1 cold boot and 2 hot reboots worked, then another reboot didn't work, here below that output from serial console:

MESS:00:00:19.018226:0: *** Restart logging
MESS:00:00:19.020715:0: brfs: File read: 1685 bytes
MESS:00:00:19.876489:0: brfs: File read: /mfs/sd/cmdline.txt
MESS:00:00:19.880488:0: Read command line from file 'cmdline.txt':
MESS:00:00:19.886357:0: 'dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=43be32d2-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait rootdelay=5'
MESS:00:00:19.902319:0: brfs: File read: 154 bytes
MESS:00:00:41.377773:0: brfs: File read: /mfs/sd/kernel7.img
MESS:00:00:41.381728:0: Loading 'kernel7.img' to 0x8000 size 0x0
MESS:00:00:41.391808:0: No kernel trailer - assuming DT-capable
MESS:00:00:43.420920:0: Failed to load Device Tree file '?'
MESS:00:00:43.425321:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:43.433265:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:43.439705:0: uart: Baud rate change done...
MESS:00:00:43.443137:0: uart: Baud rate change done...

I've no more ideas on things to test. Any extra advice?

LTolledo
Posts: 2158
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Unable to Boot RPI 3B from SSD disk

Wed Mar 06, 2019 11:44 am

Are you trying to boot from your an old installation where you tried to set the root delay=5?

Can you try re-flashing your SSD with a fresh installation of Raspbian Stretch?
dont edit anything. Just flash and boot and proceed to installation.

I think I may know why your boot failed on the previous attempts but you have to do the re-flashing first. So I can explain later.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Wed Mar 06, 2019 11:55 am

LTolledo wrote: Are you trying to boot from your an old installation where you tried to set the root delay=5?

Can you try re-flashing your SSD with a fresh installation of Raspbian Stretch?
dont edit anything. Just flash and boot and proceed to installation.

I think I may know why your boot failed on the previous attempts but you have to do the re-flashing first. So I can explain later.
Yes I was trying to boot from an old installation. I'll try to reflash a fresh Stretch and let you know. Thank you!

for the first failed attempt I was unable to capture the serial output because the USB pen changed the COM port and I had to plug unplug it a couple of times on my windows machine

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 8:30 am

Hello,
yesterday and today I'm doing tests with the RPF PSU and a fresh installed Stretch installation. Unfortunately I still have problems; most of the time it boots, but not always.

pi@pi:~ $ vcgencmd version
Feb 12 2019 19:42:42
Copyright (c) 2012 Broadcom
version 8eff5e4023657a8b3b59e1f90dc966f62d74908c (clean) (release) (start)

pi@pi:~ $ uname -a
Linux pi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

A strange thing that is happening is that in serial console now I don't see the output until the rainbow screen (before I was seeing the output from much before)

This is what I see now (but after rainbow screen):

[ 34.521480] reboot: Restarting system
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.98-v7+ (dom@dom-XPS-13-9370) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1200 SMP Tue Feb 12 20:27:48 GMT 2019
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
[ 0.000000] percpu: Embedded 17 pages/cpu @ba348000 s38720 r8192 d22720 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
[ 0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=1440 bcm2708_fb.fbheight=900 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=7ddae82f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait rootdelay=5
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

Now after a reboot the raspi hanged but I've black screen on monitor and nothing in console :(

after this I've now done a rpi-update; it hanged after the first 2 reboots (first time at black screen, second time at rainbow screen)

pi@pi:~ $ vcgencmd version
Mar 6 2019 14:43:20
Copyright (c) 2012 Broadcom
version b403ee6ed819f9ac7a96834ac437b6cfdd4512ad (clean) (release) (start)
pi@pi:~ $ uname -a
Linux pi 4.19.27-v7+ #1206 SMP Wed Mar 6 14:40:18 GMT 2019 armv7l GNU/Linux

Could you please tell me how to restore serial console from first boot phases? and: any other suggestion?

LTolledo
Posts: 2158
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 10:25 am

did you edit the cmdline.txt and added rootdelay=5 at the end?
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 11:38 am

Yes I added cmdline to add root delay to see if something had improved, but didn't :(

LTolledo
Posts: 2158
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 12:11 pm

I've learned (the hard way) never add anything after the last letter in the contents of the cmdline.txt.

Lets get back to square one

RPi3B+
HDMI monitor (HDMI equipped TV works just fine)
USB keyboard and mouse
PSU (the new one you just bought)
SSD with freshly flashed Raspbian Stretch with Desktop, connected via Inateck cable, again dont edit anything.
(no serial console)

connect all the devices. once confirmed turn on the power and see if it boots to the start installation. (be patient on the first boot)
after the initial installation is finished, try rebooting via the shutdown menu.

It should be booting and rebooting fine now.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

User avatar
HawaiianPi
Posts: 4878
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 12:30 pm

LTolledo wrote:
Sat Mar 02, 2019 10:10 am
Ok got the Inateck cable today so this is my test results:
Please try:

Code: Select all

sudo lsusb -vs 1:6
and post the output.

Thanks.


FYI:
This is what I get from the old Eluteng and new TNP adapters (which are identical as far as i can tell).

Code: Select all

*************************************
ELUTENG USB 3.0 to SATA Adapter Cable
*************************************

pi@SSDpie:~ $ sudo lsusb -vs 1:7

Bus 001 Device 007: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x174c ASMedia Technology Inc.
  idProduct          0x55aa ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
  bcdDevice            1.00
  iManufacturer           2 ASM1153USB3.0TOSATA
  iProduct                3 ASM1153USB3.0TOSATA
  iSerial                 1 123456789019
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           85
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     98 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Data-out pipe (0x04)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Command pipe (0x01)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           22
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x0000f41e
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
Device Status:     0x0001
  Self Powered
  
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

k-pi
Posts: 930
Joined: Sun Feb 12, 2017 1:46 pm
Location: Upper Hale, Surrey, UK.

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 1:14 pm

Yippee!

After trying various things previously, not succeeding, & gave up - I had another go at it today & got success! :D :D

Let's hope it continues to work. :lol:

The major thing that I did was to add boot_delay_ms=9000 to config .txt.

I'm using a RPi3B, with the OTP bit set, & a Kingston 60GB SSD, with a USB3 to SATA connector, bought a while back off the internet.

(Unfortunately, I can't tell you the make, as I don't have the receipt, sorry.)

Edited to say that my USB3 to SATA has 2x6" long cables attached, one has a USB3 plug, the other has a USB2 plug, might help in finding one similar.

User avatar
HawaiianPi
Posts: 4878
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 6:34 pm

k-pi wrote:
Tue Mar 12, 2019 1:14 pm
Edited to say that my USB3 to SATA has 2x6" long cables attached, one has a USB3 plug, the other has a USB2 plug, might help in finding one similar.
The USB2 plug would be for power only. It's used to provide additional current for power hungry drives, but on a Pi computer it won't help because the Raspberry Pi has no per-port power limits (all 1.2A can come out of a single USB port if it's the only port in use).

The following commands will provide information about your USB SATA adapter.

Code: Select all

lsusb
Will output something similar to this:

tim@HawaiianPi3:~ $ lsusb
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 008: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge...
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Then try the command again using sudo and the -vs option with the Bus and Device ID (separated by a colon). In the example above the USB SATA adapter is on Bus 001 and is Device 008, so the command would look like this:

Code: Select all

sudo lsusb -vs 1:8
This will output much more information about the USB SATA adapter (see my post above).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

k-pi
Posts: 930
Joined: Sun Feb 12, 2017 1:46 pm
Location: Upper Hale, Surrey, UK.

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 6:49 pm

Ok thanks, my adapter appears to be a JMicron Technology Corp. JMS579, maybe that will help find it. 8-)

LTolledo
Posts: 2158
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Unable to Boot RPI 3B from SSD disk

Tue Mar 12, 2019 9:58 pm

HawaiianPi wrote: sudo lsusb -vs 1:6
and post the output.

Thanks.
here's your request:

Code: Select all


*********************************************
Inateck UA1003 USB 3.0 to SATA Adapter Cable
*********************************************

sudo lsusb -vs 1:5

Bus 001 Device 005: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x174c ASMedia Technology Inc.
  idProduct          0x55aa ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
  bcdDevice            1.00
  iManufacturer           2 ASMT
  iProduct                3 ASM105x
  iSerial                 1 00000000000000000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           85
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     98 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Data-out pipe (0x04)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Command pipe (0x01)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           22
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
Device Status:     0x0001
  Self Powered

am currently using it on this RPi3B+ desktop that I have converted to USB SSD boot (from USB thumbdrive boot).
its the same RPi3B+ that I have been using to browse and post to this forum.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Wed Mar 13, 2019 9:23 am

I've removed the rootdelay=5 from cmdline.txt, unplugged the usb pen from my pc (I've left just the 3 wires connected to the board), but I still have random reboot problems :(

don't know what to do. Original RPF PSU only hdmi monitor connected, keyboard and usb inartek sata adapter. :(:(

Do you know why I only see the serial debug after the rainbow window? (when connected)

any other thing to dig?

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Mon Mar 18, 2019 11:38 am

now more suggestions?

do you know why now I don't see on serial console what happens before rainbow window?

how raspi knows where to read /boot partition from? it's something stored in some internal non valatile memory area?

User avatar
B.Goode
Posts: 8987
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Unable to Boot RPI 3B from SSD disk

Mon Mar 18, 2019 11:53 am

how raspi knows where to read /boot partition from?


Raspberry Pi Foundation documentation here:
https://www.raspberrypi.org/documentati ... /README.md

blacktek
Posts: 68
Joined: Wed Jul 06, 2016 9:36 am

Re: Unable to Boot RPI 3B from SSD disk

Mon Mar 18, 2019 12:06 pm

tnx. what about the other question about serial debug?

Return to “Advanced users”