12-08-2020, 12:56 PM
(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. 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