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
  Pinebook Pro for sale (Austria / Europe) pato3 2 556 Yesterday, 11:35 PM
Last Post: pato3
  Use SD to install new OS over pinebook debian Rudy558 11 6,108 03-28-2023, 03:56 AM
Last Post: Sophia78
  New Pinebook pro won’t boot Generaltuxenburg 2 126 03-25-2023, 12:56 PM
Last Post: Generaltuxenburg
  Pinebook Pro for sale GreyHobbyist 1 554 03-18-2023, 07:28 AM
Last Post: gerstavros
  Pinebook Pro won't boot Whisk 6 1,204 03-14-2023, 11:54 AM
Last Post: KC9UDX
  When does Pinebook Pro power LED go on? Bram 0 145 03-14-2023, 09:53 AM
Last Post: Bram
  Doesn’t power on after flashing emmc badguru 3 270 02-25-2023, 09:00 PM
Last Post: badguru
  Pinebook Pro won't turn on after flashing image Idaho 2 368 02-21-2023, 02:31 PM
Last Post: Idaho
  eMMC problem with Tow-Boot/u-boot on SPI repa 3 617 02-21-2023, 01:49 AM
Last Post: repa
  Partial boot after installing Manjaro on emmc regivanx 11 824 02-06-2023, 09:11 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)