Beginners Guide: Migrating to SSD
#17
Sadly none of these methods are 100% stable (yet)

I'm having issues after having tried everything in this thread, as well as using the latest SPI flash to allow for USB boot (no microSD or eMMC card). The problem is, depending on WHAT you're plugging in to the USB port, there isn't enough of a delay between startup and waiting for whatever is attached to "spin up" and be ready to boot.

I can get it to boot on USB alone on average only 1 out of every 7 to 10 attempts. And on one of these attempts it corrupted the filesystem to where I had to re-image it from scratch onto the SSD. 

What I'd like to see is if it is possible is to do one of three things:
  • Use a new SPI flash that allows a programmatic timeout/delay that is somehow configurable that says something like "wait 20 seconds for anything attached to spin up - then attempt a boot if you find a bootable partition. Then it won't matter if you plug in a slow HD, fast SSD or a USB key with an OS - it should still find it and fire up and not hang
  • Clear instructions on how to use something like what we have for the Pi - a microSD card that has nothing on it all except "bootcode.bin" bootloader and an empty file called "TIMEOUT" that forces a delay I think of 20 seconds - more than ample time to get anything USB attached to power up and be recognized
  • Or failing any of the above - using a low-size un-important SD card, if I put the same Bionic or Stretch image on it that I do on the SSD that I plug in, what changes do i need to make to the SD card before I boot it up to just point to whatever it finds first that is attached to USB again, with a delay. Same thing as the second option listed except using the whole image as nothing but a bootloader. 
     
With either the second or third options, I am perfectly okay with "wasting" a cheap microSD for the purpose of knowing I will always get a reliable bootup after running a reboot or power-cycling the board.
  Reply


Messages In This Thread
Beginners Guide: Migrating to SSD - by rontant - 08-19-2017, 12:59 AM
RE: Beginners Guide: Migrating to SSD - by rmbusy - 10-29-2017, 10:56 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 10-30-2017, 02:58 AM
RE: Beginners Guide: Migrating to SSD - by GaryLa - 01-23-2018, 02:41 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 01-23-2018, 03:30 PM
RE: Beginners Guide: Migrating to SSD - by GaryLa - 01-23-2018, 05:54 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 01-24-2018, 05:37 PM
RE: Beginners Guide: Migrating to SSD - by svyt22 - 01-28-2018, 04:40 AM
RE: Beginners Guide: Migrating to SSD - by SirRyanTheGeek - 04-02-2019, 07:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information Beginners Guide: Adding USB Storage, Linux Formatting and Permissions Ptheven 4 12,220 03-06-2021, 01:49 PM
Last Post: helpmerock
  Step by step guide PXE diskless configuration. burglar_ot 13 35,631 11-01-2020, 11:26 PM
Last Post: michael.gruner
Thumbs Up A guide for how I made RetroPie, RetroArch, and EmulationStation Work on the Rock64 Mrfixit2001 4 16,026 12-17-2018, 03:52 AM
Last Post: va88
  Guide - XRDP - Debian Stretch / Ubuntu Xenial / OMV S3phi40T 3 13,960 05-05-2018, 06:08 AM
Last Post: S3phi40T
Information Guide - Raid Array (Raid 0) Ptheven 0 4,809 10-07-2017, 09:22 AM
Last Post: Ptheven
Information Guide - Setting up a NFS Share Ptheven 0 5,462 09-26-2017, 04:44 AM
Last Post: Ptheven
  Guide - Setting up a SMB(Windows) file server Ptheven 0 12,570 08-21-2017, 08:54 AM
Last Post: Ptheven
Information Beginners Guide: Locating your board, connecting to it. Ptheven 5 15,845 08-21-2017, 04:12 AM
Last Post: Ptheven

Forum Jump:


Users browsing this thread: 1 Guest(s)