Steps to install latest debian img to upgraded emmc
#2
When I ordered my Pinebook Pro, I considered recovery too. So I made a separate order for the eMMC USB adapter.

That way, using another computer, I can wipe the eMMC image. Re-install the eMMC in the Pinebook Pro. Then, on boot, the RK3399 will automatically attempt to boot the SPI, fail because it's empty, attempt to boot the eMMC, fail again because it's empty. Last, boot the SD card.

All that said, it may be possible to un-bind the device for the eMMC and re-bind it. In essence, when you flipped the switch, the SoC thought there was no eMMC on the board, so it moved on to the SD card. If you did not flip the switch back fast enough, the OS on the SD card won't detect the eMMC either. So no device driver and no way to write a new image to the eMMC. Catch-22 as they say.

I have rough instructions on how to un-bind and re-bind a device. But, that was for my SD card on an x64 miniature PC. Similar concept.

You could try this;
Code:
echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/unbind
echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/bind
You can verify that this is the correct driver and path using something like this;

Code:
root@Debian-Desktop:~# readlink /sys/block/mmcblk1
../devices/platform/fe330000.sdhci/mmc_host/mmc1/mmc1:0001/block/mmcblk1
root@Debian-Desktop:~# ls /sys/bus/platform/drivers/sdhci-arasan/
bind  fe330000.sdhci  uevent  unbind

root@Debian-Desktop:~# readlink /sys/block/mmcblk0
../devices/platform/fe320000.dwmmc/mmc_host/mmc0/mmc0:59b4/block/mmcblk0
root@Debian-Desktop:~# ls /sys/bus/platform/drivers/dwmmc_rockchip/              
bind  fe310000.dwmmc  fe320000.dwmmc  uevent  unbind
I take no responsibilty for this procedure. It's un-tested as I have not opened my Pinebook Pro yet. (Nor do I have my second eMMC for my ROCKPro64 to test the concept there.)

Note: The "fe310000.dwmmc" device is likely the SDIO used for WiFi.
--
Arwen Evenstar
Princess of Rivendale


Messages In This Thread
RE: Steps to install latest debian img to upgraded emmc - by Arwen - 11-30-2019, 12:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  new manjaro install: wlan0 stuck in setting network address zkajdan 5 705 02-19-2025, 12:49 PM
Last Post: zkajdan
  Doing a fresh install docFarto 5 712 02-09-2025, 02:58 PM
Last Post: mikehenson
  Attempting to install Void Linux, boots into a black screen 9a3eedi 1 1,735 09-28-2024, 09:23 AM
Last Post: throwawayforvoid
  Official Debian support moonwalkers 64 72,020 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  Debian on Pinebook Pro u974615 7 3,919 03-31-2024, 10:11 AM
Last Post: u974615
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,870 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 1,193 12-07-2023, 03:11 PM
Last Post: wdt
  install debian on pbp jsch 7 6,309 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 11,411 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,861 08-21-2023, 09:08 PM
Last Post: vanessadonald

Forum Jump:


Users browsing this thread: 1 Guest(s)