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.
#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! )
#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.
#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.
#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! )
#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.
#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! )


Possibly Related Threads…
Thread Author Replies Views Last Post
Rainbow Customised (encrypted) eMMC installation using Anarsoul's ArchLinux Blutkoete 24 38,585 05-02-2022, 12:59 PM
Last Post: thunderweasel
  Write image to eMMC - Pinebook 11.6" irongarment 4 4,744 01-04-2022, 09:22 PM
Last Post: irongarment
  Kali on SD does not Detect EMMC marianobilli 1 3,748 01-07-2021, 06:56 PM
Last Post: evilbunny
  pinebook black screen when booting with "different power mode than last used" penzoiders 12 21,032 04-27-2020, 06:27 AM
Last Post: tophneal
  Sd to eMMC badgeranduni 0 2,399 07-11-2019, 07:23 AM
Last Post: badgeranduni
  Problem booting from sd-card giel 14 17,984 06-27-2019, 10:28 PM
Last Post: pfeerick
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 15,607 05-01-2019, 12:09 PM
Last Post: frank-zappa
  DietPi not booting WZ9V 5 7,382 02-01-2019, 09:06 AM
Last Post: smallfish
  Problems to install qemu on Xenial Mate (for EMMC) demian 1 3,505 03-14-2018, 08:43 AM
Last Post: xalius
  How to test the emmc(usdhc2) diver and pwm backlight driver? vinothkumar 0 2,165 12-29-2017, 11:40 PM
Last Post: vinothkumar

Forum Jump:


Users browsing this thread: 1 Guest(s)