PINE64
Booting from eMMC with SD inserted? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: Linux on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=79)
+--- Thread: Booting from eMMC with SD inserted? (/showthread.php?tid=4664)



Booting from eMMC with SD inserted? - falcon15500 - 06-30-2017

Hi all,
 
Just a (hopefully) quick question - I have Ubuntu MATE installed to the eMMC and I have a 32Gb SD card installed for extra storage.  If I try to boot up with the SD inserted, the boot process stalls at a blank screen (no bootup logo etc).  It will only continue to boot into eMMC if I remove the SD card.

This is a bit of a pain in the arse.

I know that the PB looks at the SD first, but I assumed that if it didn't find what it needed to boot - it would failover to the next option of the eMMC.  Is there anything I can do to get this to work how I would like?

M.


RE: Booting from eMMC with SD inserted? - MarkHaysHarris777 - 06-30-2017

Try inserting the SD card after the bootup.

... alternatively, using a serial console,  try booting from the eMMC with the SD removed;  then stop the uboot at the timer and insert the SD card;  then resume the bootup with the 'boot' command.


RE: Booting from eMMC with SD inserted? - Wizzard - 07-01-2017

I know that Pinebook is quite simple notebook, but it would definitely be better if the installation of system from SD to emmc was not fully automatic. I just reinstalled my quite well installed Android when I accidentally inserted the SDcard with installation image again :Big Grin If it was just one question after bootup, if user really wants to reinstall the emmc from SDcard.


RE: Booting from eMMC with SD inserted? - falcon15500 - 07-11-2017

Okay, so I am an idiot...

For anyone else who is having the same issues, the script:

/usr/local/sbin/pine64_remove_boot0.sh <device>

where <device> is your SDcard (eg: /dev/mmcblk1)
will stop the PB from trying to boot into the SDCard.

So now I can leave the SD inserted and it boots right into the eMMC.

M.


RE: Booting from eMMC with SD inserted? - MarkHaysHarris777 - 07-11-2017

(07-11-2017, 05:22 AM)falcon15500 Wrote: Okay, so I am an idiot...

For anyone else who is having the same issues, the script:

/usr/local/sbin/pine64_remove_boot0.sh <device>

where <device> is your SDcard (eg: /dev/mmcblk1)
will stop the PB from trying to boot into the SDCard.

So now I can leave the SD inserted and it boots right into the eMMC.

M.


You should remove the SD card from the Rock64 if you're going to boot from the eMMC;  the bootup will get confused between the two; true.  But the worst of it from a maker standpoint is that the lower PI-2 bus gpio pins (blue bank, gpio1) are not available if you have the SD card plugged in.


RE: Booting from eMMC with SD inserted? - falcon15500 - 07-11-2017

(07-11-2017, 05:24 AM)MarkHaysHarris777 Wrote:
(07-11-2017, 05:22 AM)falcon15500 Wrote: Okay, so I am an idiot...

For anyone else who is having the same issues, the script:

/usr/local/sbin/pine64_remove_boot0.sh <device>

where <device> is your SDcard (eg: /dev/mmcblk1)
will stop the PB from trying to boot into the SDCard.

So now I can leave the SD inserted and it boots right into the eMMC.

M.


You should remove the SD card from the Rock64 if you're going to boot from the eMMC;  the bootup will get confused between the two; true.  But the worst of it from a maker standpoint is that the lower PI-2 bus gpio pins (blue bank, gpio1) are not available if you have the SD card plugged in.

Well I am on a Pinebook, so that's not really my biggest concern.  After I run the above script, it all works well.

M.


RE: Booting from eMMC with SD inserted? - MarkHaysHarris777 - 07-11-2017

(07-11-2017, 05:31 AM)falcon15500 Wrote:
(07-11-2017, 05:24 AM)MarkHaysHarris777 Wrote:
(07-11-2017, 05:22 AM)falcon15500 Wrote: Okay, so I am an idiot...

For anyone else who is having the same issues, the script:

/usr/local/sbin/pine64_remove_boot0.sh <device>

where <device> is your SDcard (eg: /dev/mmcblk1)
will stop the PB from trying to boot into the SDCard.

So now I can leave the SD inserted and it boots right into the eMMC.

M.


You should remove the SD card from the Rock64 if you're going to boot from the eMMC;  the bootup will get confused between the two; true.  But the worst of it from a maker standpoint is that the lower PI-2 bus gpio pins (blue bank, gpio1) are not available if you have the SD card plugged in.

Well I am on a Pinebook, so that's not really my biggest concern.  After I run the above script, it all works well.

M.

doh;  my bad