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
  Is the same DD command appropriate for writing EMMC and SD cards wpeckham 4 145 09-23-2021, 09:19 PM
Last Post: KC9UDX
  Trouble booting in Gentoo tdiggitydog 11 478 07-20-2021, 10:16 PM
Last Post: moonwalkers
  Manjaro wont recognize eMMC after booting with it disabled peasant 1 409 06-27-2021, 02:39 AM
Last Post: Arwen
  eMMC frequently not found by Linux kernel (especially on low battery) v-man 14 6,875 05-14-2021, 01:18 PM
Last Post: djhnsn
  NVMe timeout when booting from eMMC but not SD satwell 4 1,704 05-06-2021, 10:12 AM
Last Post: alexeymin
  PBP won't boot from eMMC or SD card: a saga archaicmeander 18 3,697 02-06-2021, 07:40 PM
Last Post: wdt
  UBOOT - Mainline not booting from SD card / BSP OK Anarethos 1 1,090 01-10-2021, 12:33 AM
Last Post: Anarethos
  eMMC Trouble After Flashing WRONG Image balin 7 2,486 12-29-2020, 04:24 PM
Last Post: KC9UDX
  installing OS from SD to eMMC methods for flashing SD PineHead7 3 1,672 12-22-2020, 06:52 PM
Last Post: jiyong
  Graphic problems when booting Debian crecker 1 1,330 12-15-2020, 06:39 PM
Last Post: marszal

Forum Jump:


Users browsing this thread: 1 Guest(s)