Mount eMMC after booting from SD card
#1
Question 
Does anyone know whether it's possible to boot Debian from an SD card on the Pinebook Pro, then insert the eMMC card and mount it? I briefly tried, but had no success.

A while back I messed up uboot on the Manjaro installation on my eMMC card. Afterwards, the Pinebook Pro wouldn't boot from eMMC, or from any other Linux distribution on an SD card if the eMMC was attached. If I remove the eMMC, which I currently have, I can boot from the SD card, but if I re-attach the eMMC card after boot I can't work out how to make the system mount it.

I've ordered a eMMC-to-USB adapter from Pine64, but I was wondering whether there was any other way of mounting the eMMC on an already booted Pinebook Pro.
#2
You can, but it involved having the back plate off. There might be another way to do this, but what you'd want to do is :

Insert your bootable SD in the PBP.

Open the lid and lay they palm rest down on a surface, with the lid hanging off the edge. (recommended to avoid flexing/breaking plastics.)

With the emmc switch off, turn on the PBP.

When you see the power LED activate (uboot from the SD has started) turn the emmc switch to ON. You should have a few seconds from turning on to do this.

The PBP should now boot using the SD, with the emmc initialized by uboot. From there, let it boot up and do the maintenance you need.
#3
(02-15-2020, 07:53 AM)tophneal Wrote: You can, but it involved having the back plate off. There might be another way to do this, but  what you'd want to do is :

Insert your bootable SD in the PBP.

Open the lid and lay they palm rest down on a surface, with the lid hanging off the edge. (recommended to avoid flexing/breaking plastics.)

With the emmc switch off, turn on the PBP.

When you see the power LED activate (uboot from the SD has started) turn the emmc switch to ON. You should have a few seconds from turning on to do this.

The PBP should now boot using the SD, with the emmc initialized by uboot. From there, let it boot up and do the maintenance you need.

Thanks for your help.

I managed to boot into my SD with the eMMC visible. Unfortunately, I wasn't able to undo whatever it was I did to uboot on the eMMC, so I'm reinstalling Manjaro.
#4
An alternative to turning the switch at the right time is to take your time, insert the eMMc when the system has booted, turn the switch on and run the following as root:

echo 'fe330000.sdhci' | tee /sys/bus/platform/drivers/sdhci-arasan/unbind
echo 'fe330000.sdhci' | tee /sys/bus/platform/drivers/sdhci-arasan/bind


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,233 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 884 12-07-2023, 03:11 PM
Last Post: wdt
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,501 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 1,376 08-18-2023, 01:58 AM
Last Post: juliamenendez
  2TB SD Card Write Errors jiacovelli 3 1,641 06-02-2023, 06:13 PM
Last Post: KC9UDX
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 4,356 04-01-2023, 03:22 PM
Last Post: TRS-80
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 5,319 04-01-2023, 02:58 PM
Last Post: TRS-80
  My installation guide starting from messed up eMMC Besouro 0 1,164 12-19-2022, 01:01 PM
Last Post: Besouro
  newer ""emmc-installer" images (manjaro xfce) magistral 1 1,434 10-10-2022, 06:22 AM
Last Post: maxjrh
  6/22 run of PBPs - is reimaging eMMC with new OS possible still? elitegamercody 29 15,856 10-04-2022, 07:55 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)