Changing Boot Order on the PineBook Pro
Hello, I searched for an answer but I'm not finding anything.  Apologies if this has been asked and answered already.

My Pinebook Pro boot order was behaving as expected for quite some time.  It was booting from the SD card when a bootable card was inserted, and then from the eMMC otherwise.

After flashing Ayufan's Chromium OS build to the eMMC, now for some reason the PBP always boots from the eMMC card unless I disable the hardware switch for it.  This effectively makes the eMMC worthless since it can't be re-enabled without rebooting, but then the boot happens from the eMMC (which is currently in a totally broken state and needs to be re-installed).  I've now got a real chicken and egg problem going here.

I had read that the boot order was fixed (possibly hardcoded) but given my experience here, I'm wondering how true that actually is.

Is there any way to change the boot order?  How can I restore it to factory settings?
It may be possible to re-enable the eMMC after you have both disabled it, and booted to an alternate source, like MicroSD card.
I've used similar instructions for my x86/x64 Media server's MicroSD card. Here is what I have;

Un-TESTED!!!! Use at your own risk. This is from the default Debian, but may
work on others.

While powered off, switch eMMC to disabled state. Then power on. If the user
is not fast enough with the switch to enabled state, the OS image on the SD card
won't see the eMMC. Thus, it may be needed to un-bind and re-bind the eMMC driver.
Note, it is still REQUIRED to enable the eMMC via the hardware switch. These
instruction below, MAY allow the OS to find it after boot.

The first 2 outputs may show nothing, which could happen if OS thinks the eMMC
does not exist. The 3rd command checks and sees if it's possible to unbind and bind.
Lines 4 & 5 are the real work. Though again, line 4 may not do anything if the device
is already un-bound.

# blockdev --getsize64 /dev/mmcblk1

# readlink /sys/block/mmcblk1

# ls /sys/bus/platform/drivers/sdhci-arasan
bind fe330000.sdhci uevent unbind

# echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/unbind
# echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/bind
Arwen Evenstar
Princess of Rivendale

Possibly Related Threads…
Thread Author Replies Views Last Post
  Touchpad notchy on new 2021 pinebook pro Neilcob 3 194 05-11-2021, 07:26 AM
Last Post: msquared
  PineBook Pro revision 2.2: Wishlist for the hardware issue fixes dsimic 52 11,767 05-09-2021, 09:40 PM
Last Post: dsimic
  pinebook pro trackpad randomly stops working chewie 3 146 05-08-2021, 06:53 AM
Last Post: KC9UDX
  Pinebook Pro Revised Keyboard Firmware jackhumbert 67 53,387 04-20-2021, 06:40 AM
Last Post: ab1jx
Question Disassembling PineBook Pro Docking Deck (due to disappeared microSD card) gritibaenz 4 947 04-02-2021, 06:45 PM
Last Post: tkudog
  Microphone not working on Pinebook Pro vfr400racer 2 625 03-21-2021, 02:56 AM
Last Post: vfr400racer
  Minimum daughter boards/peripherals required for main board to boot cmicallef 5 687 03-12-2021, 10:10 PM
Last Post: cmicallef
Photo PineBook Docking Deck charging port? ColoBill 3 1,003 02-26-2021, 10:07 PM
Last Post: Paull
  Anyone have a microphone working on a Pinebook Pro? Rachel Stone 5 974 02-20-2021, 05:21 AM
Last Post: dsimic
  Pinebook Pro broken eDP connector Ocawesome101 4 1,197 01-16-2021, 11:42 PM
Last Post: dsimic

Forum Jump:

Users browsing this thread: 1 Guest(s)