PInebook not booting with eMMC enabled
#1
Right now I have an SD card with Manjaro. If I disable eMMC and press reset, the power led goes red and then pinebook boots to Manjaro from SD. If I enable eMMC and press reset, power led goes off and nothing happens. I did check that eMMC is properly connected. What else can I try?
  Reply
#2
(10-21-2021, 03:35 PM)aragaer Wrote: Right now I have an SD card with Manjaro. If I disable eMMC and press reset, the power led goes red and then pinebook boots to Manjaro from SD. If I enable eMMC and press reset, power led goes off and nothing happens. I did check that eMMC is properly connected. What else can I try?

You have a "bad" uboot on emmc,, search order for uboot (really idbloader)  is SPI, emmc, uSD
Boot from SD, re-enable emmc, use the bind command (search forum), change uboot on emmc
  Reply
#3
(10-22-2021, 09:48 AM)wdt Wrote:
(10-21-2021, 03:35 PM)aragaer Wrote: Right now I have an SD card with Manjaro. If I disable eMMC and press reset, the power led goes red and then pinebook boots to Manjaro from SD. If I enable eMMC and press reset, power led goes off and nothing happens. I did check that eMMC is properly connected. What else can I try?

You have a "bad" uboot on emmc,, search order for uboot (really idbloader)  is SPI, emmc, uSD
Boot from SD, re-enable emmc, use the bind command (search forum), change uboot on emmc

Tried that -- when I boot and re-enable emmc, it's not visible in the system: /dev/mmc* only shows the SD card. When I try the commands in the https://wiki.pine64.org/index.php/Pinebo...nformation I'm getting "write error: No such device"

When I look in /sys/platform/devices, there is no ff330000.sdhci device, but there is ff330000.mmc device instead. I tried the following commands:
Code:
echo ff330000.mmc > /sys/bus/platform/drivers/sdhci-arasan/unbind
echo ff330000.mmc > /sys/bus/platform/drivers/sdhci-arasan/bind
These worked but no effect -- I only got a couple of error messages in dmesg.
  Reply
#4
I've got me an A-A USB cable to try the recovery process but failed to do that (probably didn't do the sequence right). Instead I tried again to boot with eMMC disabled and enable it once the boot started. I've stopped the U-boot from automatically booting and it showed that eMMC does indeed exist. After that I booted into Linux and did `dd if=/dev/mmcblk1 of=/dev/mmcblk2` (from SD card to eMMC). Rebooted again and it booted from eMMC.
  Reply
#5
That's good
Really, all you needed to do was copy mbr (1 sector) to sd, dd 1st 16M sd->emmc, restore emmc mbr
If it should be a little 'flakey' a non-booted distro has the /dev, /sys, /proc, /run
directories empty, just the top directories and the kernel fills them with virtual files
So, you may have to boot from sd, mount emmc and empty those directories
I've found mc (as root) the quickest and least hassle
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Booting Windows on bare-metal rk3399 SBC (no linux involved) strongtz 9 5,256 11 hours ago
Last Post: strongtz
  How to use original PINEBOOK Pro USB-C Docking Deck with my PBP? Comoq 1 76 Yesterday, 04:13 AM
Last Post: CoulMagnussen15
Question Pinebook Pro end-user ready? Watercourse 0 81 05-23-2022, 10:25 AM
Last Post: Watercourse
  Pinebook Pro Upgrade? StriderofRohan 21 5,075 05-23-2022, 04:51 AM
Last Post: gravedigger
  Looking for Screen LCD Panel for the Pinebook Pro gerstavros 3 537 05-09-2022, 05:53 AM
Last Post: gerstavros
  Selling Pinebook Pro (ISO) + nvme from Sweden DavidL 0 108 05-08-2022, 04:31 PM
Last Post: DavidL
  In Search Of ISO: Pinebook Pro USA [Got one locally] ozoned 0 102 05-06-2022, 11:31 AM
Last Post: ozoned
  Prepare Pinebook Pro for Sale GFreeman 9 1,351 05-04-2022, 03:46 AM
Last Post: bonjovi
  For Sale: Pinebook Pro 64gb ANSI with NVMe Adapter Lumat 2 538 04-24-2022, 01:42 AM
Last Post: kylexd
  suckless surf on arch linux pinebook pro scrolling issue gehn5 0 145 04-16-2022, 07:41 PM
Last Post: gehn5

Forum Jump:


Users browsing this thread: 1 Guest(s)