You are reading a single comment by @Vicary and its replies. Click here to read the full conversation.
  • Hi @Vicary, this is a lot more difficult than it sounds. I investigated emulating a SD card (not with Espruino) and it was a lot of work. I found a solution for my needs (security testing) by getting a SD->USB Mass Storage adapter, and then emulating USB mass storage with a microcontroller. So it went Microcontroller(emulating USB MS)->adapter->MicroSD->Device

    It was pretty slow, and the adapters were hard to find and now discontinued:

    http://www.saelig.com/product/mio001.htm­

    Only other option I saw at the time was an expensive industrial SD card testing unit. I might have another look because it would be so useful.

    An easier solution for you might be to use a USB drive to hold your root file system. Emulating a mass storage device is much easier, and I believe there might be devices that allow you to do it (I have one which selects ISOs and emulates a DVD drive).

    See https://samhobbs.co.uk/2013/10/speed-up-­your-pi-by-booting-to-a-usb-flash-drive

  • @thomc Sorry was not checking in lately, thanks for the reply and info in depth.

    Sadly Pi wouldn't boot without a proper boot partition from SD slot. File systems are already mounting to a NAS via NFS, guess I am stuck at the boot stage.

About

Avatar for Vicary @Vicary started