PBP won't boot from eMMC or SD card: a saga
#16
Alright, so I won't say I'm 100% out of the woods for fear of jinxing myself, but I managed to flash mrfixit's Debian onto my eMMC and my PBP has booted into it as expected. I haven't rebooted it yet, so I don't know if it's fiendishly trying to lull me into a false sense of security, but considering the Manjaro installation is gone and it's booting without the SD card, the situation seems promising. The only problem is a high-pitched sound it started making the other day during the troubleshooting, which other forums tell me probably has to do with the power supply and is definitely annoying, but not indicative of a serious problem.

For posterity, I'll try to go over my "solution", but honestly I bet 90% of this was my fault somehow, and I don't even know how I finally managed to boot to my SD card successfully - it was a real mess of mashing the power button and the reset/recovery buttons in whatever order felt right in the moment. But, for the record, I tried the previous advice from this thread and then some, and once I finally got booted into the SD with Debian, I did the following:

1. Downloaded mrfixit's Debian for PBP from https://github.com/mrfixit2001/debian_desktop/releases. This is also what I used to flash the image onto the SD card.

2. Because I had to have the eMMC switched off internally in order to boot from the SD, and switched it back on only after fully booting from the SD, the eMMC was not being properly recognized. Following the instructions at https://wiki.pine64.org/index.php?title=...le_Storage, I ran (as root):
Code:
# echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/unbind
# echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/bind
I don't understand what this did, but afterwards, when using $lsblk or $dh to list available devices, the eMMC would be included and could therefore be flashed to. I made sure to note my eMMC's number with $lsblk before flashing - for me it was mmcblk1 but I gather this can vary with different kernels, so don't take it for granted. I also went back to the normal user account after this but that probably doesn't make a difference.

3. Entered the directory with the Debian image and followed the instructions from https://forum.pine64.org/showthread.php?tid=8229 - but replacing the .img's filename with the one I downloaded. I unzipped the image, and AFTER DOUBLE CHECKING THE DEVICE NUMBER (seriously that part is stupid crazy important), flashed it to eMMC:
Code:
$ unxz pinebookpro-debian-desktop-mrfixit-191226.img.xz
$ sudo dd if=pinebookpro-debian-desktop-mrfixit-191226.img of=/dev/mmcblk1 status=progress
$ sync
Not sure what $sync did but it was attested at https://old.reddit.com/r/PINE64official/...u_on_emmc/

4. After the flash finished up, I powered down, removed the SD card, and powered on again to a glorious Debian login screen. I logged in with default credentials, and rejoiced.

Anyone else who's having the problems I had...well, best of luck to you. Thanks to everyone for the help! I'm off to explore Debian.
  Reply


Messages In This Thread
RE: PBP won't boot from eMMC or SD card: a saga - by archaicmeander - 01-12-2021, 10:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook pro won't boot after bootloader installation jwensouls 4 942 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,230 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,512 12-11-2023, 03:47 AM
Last Post: calinb
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 881 12-07-2023, 03:11 PM
Last Post: wdt
  Boot Order in Pinebook Pro food 8 2,703 11-23-2023, 07:37 AM
Last Post: KC9UDX
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,492 08-21-2023, 09:08 PM
Last Post: vanessadonald
  2TB SD Card Write Errors jiacovelli 3 1,640 06-02-2023, 06:13 PM
Last Post: KC9UDX
  Emergency Mode Boot Hotkey? jiacovelli 20 7,524 06-02-2023, 01:32 PM
Last Post: wdt
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 4,352 04-01-2023, 03:22 PM
Last Post: TRS-80
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 5,291 04-01-2023, 02:58 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 3 Guest(s)