Can't boot when SD card inserted
#1
TL;DR I'm experiencing this issue but with the Pinebook Pro and the solution outlined there isn't helping me: https://forum.pine64.org/showthread.php?tid=6819

So I've recently upgraded the eMMC in my Pinebook Pro to 128 GB, and I wanted to use an SD card as the home partition. I've partitioned it as the following:

Code:
Lambda /etc # parted /dev/mmcblk1
GNU Parted 3.5
Using /dev/mmcblk1
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                               
Model: SD SD256 (sd/mmc)
Disk /dev/mmcblk1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name     Flags
1      1049kB  256GB  256GB  f2fs         primary

(parted)

I've formatted /dev/mmcblk1p1 as f2fs, and added a line for it in /etc/fstab, but if I reboot the Pinebook with the SD inserted, I get a black screen, and the power LED stays red. If I boot with it removed, it boots from eMMC just fine, and if I re-insert it quickly enough it's mounted as desired.

This is a minor inconvenience, though, so I'd like to get to the bottom of why it's happening, or at least figure out how I might be able to fix it.

I'd previously flashed (using dd) the latest Armbian image to this particular SD card that I'm using, so prior to making the partition table, I zeroed out the first MiB to attempt to get rid of any sort of U-Boot data.

So, what do I need to do to have my Pinebook Pro boot to eMMC in the case that the inserted SD card isn't meant to be bootable? (I'd still like to be able to "rescue" my system by removing the one containing the home partition and inserting a bootable SD in its place.)
  Reply
#2
I strongly suspect that uboot does NOT know how to deal with f2fs,
and tries repeatedly to read it (and fails)
uboot is looking for boot.scr OR extlinux.conf OR aarch64.efi in
/ (in correct path) or boot of medium
Try a card formated ext2
  Reply
#3
(09-05-2022, 07:28 AM)wdt Wrote: I strongly suspect that uboot does NOT know how to deal with f2fs,
and tries repeatedly to read it (and fails)
uboot is looking for boot.scr OR extlinux.conf OR aarch64.efi in
/ (in correct path)  or boot of medium
Try a card formated ext2

Thank you for the info and suggestion.

The day after I opened this thread, it started booting more-or-less fine. I had a moment where the power LED was flashing and the PBP wasn't accepting any input, but I did a hard reset and since then I've gone a week without any issues. Didn't need to reformat the card as ext2 or ext4.

I've been trying to figure out what I _did_ to get it to work, so that I can give a better solution to anyone else who might run into this problem, but I've been unsuccessful in doing so. For now, I'm marking this as solved.
  Reply
#4
Thanks for feed-back
Most interesting that uboot can read f2fs
Personally, I have had to do hard reset more than a dozen times......
(pwr button,, +20s)
Mine is a virgin, the back has never been off,,
but do check that the screws are not loose after a few months
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to make a bootable USB linux sine pinebook will not boot up River 12 321 11-29-2022, 05:41 AM
Last Post: KC9UDX
  U-boot Updates jaredoconnor 5 326 11-17-2022, 04:25 PM
Last Post: wdt
  1st boot chrisrook 5 787 11-15-2022, 02:51 PM
Last Post: igorp
  Cannot Boot From SD Card xp19375 4 397 11-12-2022, 11:26 AM
Last Post: KC9UDX
  Unable to boot from emmc after flashing it rfm83 3 315 11-08-2022, 10:59 PM
Last Post: rfm83
  Pinebook picky about which EMMC will boot flatulent_piney 8 532 11-05-2022, 06:03 PM
Last Post: ajtravis
  Need to re-write U-boot from Pinephone pro currently in mass rom mode wolverine1 1 261 10-30-2022, 10:09 AM
Last Post: wdt
Photo can not boot pinebook pro from recent production run justwantin 9 594 10-22-2022, 06:06 PM
Last Post: justwantin
  No boot after Manjaro flash PBcurry 14 1,326 10-03-2022, 08:33 PM
Last Post: wdt
  After Flashing eMMC, Will Not Boot Mossbot 5 575 09-28-2022, 06:22 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)