Booting from eMMC with SD inserted?
#1
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.
  Reply
#2
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.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#3
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.
  Reply
#4
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.
  Reply
#5
(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.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#6
(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.
  Reply
#7
(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
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Rainbow Customised (encrypted) eMMC installation using Anarsoul's ArchLinux Blutkoete 7 1,229 09-27-2019, 05:26 AM
Last Post: SKG
  Sd to eMMC badgeranduni 0 156 07-11-2019, 07:23 AM
Last Post: badgeranduni
  Problem booting from sd-card giel 14 496 06-27-2019, 10:28 PM
Last Post: pfeerick
  pinebook black screen when booting with "different power mode than last used" penzoiders 9 559 06-06-2019, 02:02 PM
Last Post: Surehand53
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 528 05-01-2019, 12:09 PM
Last Post: frank-zappa
  DietPi not booting WZ9V 5 417 02-01-2019, 09:06 AM
Last Post: smallfish
  Problems to install qemu on Xenial Mate (for EMMC) demian 1 417 03-14-2018, 08:43 AM
Last Post: xalius
  How to test the emmc(usdhc2) diver and pwm backlight driver? vinothkumar 0 218 12-29-2017, 11:40 PM
Last Post: vinothkumar
  New pinebook owner, media playback how? (was: larger eMMC, what and how to install?) dahni 14 2,974 09-14-2017, 12:04 AM
Last Post: dahni

Forum Jump:


Users browsing this thread: 1 Guest(s)