Pinebook Pro refuses to boot from eMMC
#8
(12-08-2020, 12:56 PM)tophneal Wrote:
(12-08-2020, 11:23 AM)pivic Wrote:
(12-08-2020, 08:46 AM)tophneal Wrote: Borked uboot is the likely culprit here.
will the Manjaro img you were originally asked to boot, boot from SD if your emmc is disabled? While the emmc is disabled, try every img you can until one boots. I'd ignore Android, b/ it doesn't have the tools needed to help salvage your emmc.

Also, to save you hassle, you don't have to quickly re enable the emmc during early boot. rebind the emmc well after boot, using this section: https://wiki.pine64.org/index.php/Pinebo...nformation

Thanks a lot for your response!

The Manjaro image just displayed the Manjaro logo and a spinning progress indicator, but didn't progress for 30 minutes; I concluded that it didn't work.

I've just managed to boot using a Debian image, and when I've run those two commands that you linked to I see this:

echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/unbind
fe330000.sdhci unbind

and then:

echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/bind
fe330000.sdhci bind

I can't say that I understand the meaning of those lines, nor whether they actually did anything.


(12-08-2020, 06:50 AM)KC9UDX Wrote: It sounds like your issue is that the U-boot on your eMMC is hosed.  You'll need to disable the eMMC, boot to SD, and switch the eMMC back on very early during booting to be able to fix it.

Get Debian from the link in the blog here.  If that works, and it should, that's your best bet on the SD.  If it doesn't boot, I'm not sure what to tell you.  Once booted, if you turned on the eMMC at the right time, you should be able to copy the U-boot code from the SD to the eMMC, and assuming the operating system is still intact, the eMMC should return to normal operation.

Thanks! I've managed to boot to Debian, but I don't know how to copy the U-boot code from the SD to the eMMC; I don't even know what that means. Sad I've searched around but haven't found anything that seems apt to me. Any help would be greatly appreciated.

Those 2 lines bind/mount the emmc so you can access it from the OS booted on SD. After running the second line, you should be able to see the emmc mounted, or ready to mount.

For uboot, not to be rude, but you haven't dug deep enough yet. There's lots of info on uboot for the PBP here on the forums and in the wiki, though, the forum's search is disasterous. The commands to write the uboot to the emmc can be found in the debian updater script: https://github.com/mrfixit2001/updates_r..._update.sh (lines 18,22,26) You'll need to make sure, first, that you're writing these files to your emmc and not the SD. lsblk in terminal will show you the devices available (if you're booted from SD and dont see your emmc, refer back to the bind commands.) pcm720's uboot also has the files and terminal commands all together for easy reference: https://github.com/pcm720/rockchip-u-boot/releases

Thanks a lot for your time, effort, and patience with myself, being a complete noob.

You're not rude at all; I should have been clear: I don't know Linux much, and even though I've now read up a lot about U-boot.

Firstly, the bind/mount commands didn't mount anything. I performed an lsdsk, which actually listed the eMMC, but still.

Secondly, I ran Mr. Fixit's script as sudo:

[Image: H0XxJpi.png]

Reboot did nothing: eMMC switch was in the correct position (towards the hinge) so eMMC wasn't turned off. I couldn't boot Pinebook Pro from the eMMC, but it could boot from SD.

Thirdly, I retried the script:

[Image: XvvETH9.png]

That did nothing either; the same result as mentioned at my second attempt (as mentioned in this post).

Fourthly, I did this:

[Image: 2jzMxQd.png]

After that little manoeuvre, the computer won't start at all, not from SD nor eMMC. I'm guessing I've now either completely bricked the computer or something else is the matter. At any rate, this computer is becoming my Joker's Origin Story, but I could have myself to blame completely, which I naturally accept. Desperation has brought me to this moment.  Tongue

Any help at this point would greatly be appreciated.

(12-08-2020, 04:06 PM)KC9UDX Wrote: How much do you value whatever is on the eMMC right now?  (You should never have anything you can't afford to lose on there; you should always have backups!)

If there's nothing there of consequence, you could copy the entire working SD card to the eMMC (assuming that the SD card is the same size or smaller than the eMMC).  Or, install a new image of the operating system of your choice to the eMMC.

You would of course lose anything you had on the eMMC, but you'd be starting over with a new, working system.

Hey! Thanks! I've got everything of value on the computer backed up, so I'll happily wipe the eMMC.

I'm sorry, but I don't know how to copy everything from the SD to the eMMC. I mean, I can see the eMMC partition by doing lsdsk but it's not mounted at all. The 'bind/unbind' tip I got earlier in this thread actually didn't mount anything (and I was using a Debian image).


Messages In This Thread
Pinebook Pro refuses to boot from eMMC - by pivic - 12-08-2020, 05:59 AM
RE: Pinebook Pro refuses to boot from eMMC - by pivic - 12-09-2020, 11:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Initial Impressions kunger 443 589,754 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 2,299 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 401 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 304 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 293 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 228 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 678 02-07-2024, 02:12 AM
Last Post: 23Ro
  Pinebook Pro for sale tomekdev 2 745 02-01-2024, 11:35 AM
Last Post: tomekdev
  uboot wont boot to SD card after upgrade jbradley419 7 846 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 295 01-16-2024, 09:17 AM
Last Post: jbradley419

Forum Jump:


Users browsing this thread: 1 Guest(s)