[Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present
I'm running ManjaroARM on my PBP. The OS is installed on the eMMC storage. I also have an SD card permanently installed for extra space. Both the eMMC and the SD card have DOS-format partition tables. The SD card is not bootable; the space reserved for a bootloader (in between the MBR and the partition) is zeroed. The SPI flash is blank.

This arrangement used to work fine, but ever since the most recent update to u-boot from Manjaro's official repositories, the laptop won't boot with the SD card present.  This is a complete console log:

U-Boot 2021.10-2 (Dec 25 2021 - 16:31:17 +0000) Manjaro Linux ARM

SoC: Rockchip rk3399
Reset cause: POR
Model: Pine64 Pinebook Pro
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   mmc@fe31000: 3, mmc@fe320000: 1, mmc@fe330000: 0
Loading Environment from SPIFlash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   vidconsole
Err:   vidconsole
Model: Pine64 Pinebook Pro
Net:   No ethernet found
starting USB...
Bus usb@fe3a0000: USB OHCI 1.0
Bus usb@fe3e0000: USB OHCI 1.0
scanning bus usb@fe3a0000 for devices... 2 USB Device(s) found
scanning bus usb@fe3e0000 for devices... 3 USB Device(s) found
        scanning usb for storage devices: 0
Hit any key to stop autoboot: 0

Device 0: unknown device
switch to partition #0, OK
mmc1 is current device
Scanning mmc 1:1
libfdt fdt_check_header: FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk mmc@fe310000.blk
Disk mmc@fe310000.blk not ready
Scanning disk mmc@fe320000.blk
Scanning disk mmc@fe330000.blk
Found 6 disks
No EFI system partition
BootOrder not defined
EFI boot manager: unknown image

followed by a whole bunch of spew about also being unable to boot off the network (as expected) and a => prompt.

If the SD card is not present, everything is the same up till the "Hit any key to stop autoboot" prompt, after which I get

Device 0: unknown device
Card did not respond to voltage select! : -110
switch to partition #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
204 bytes read in 14 ms (13.7 KiB/s)
1:      Manjaro ARM
Retrieving file: /initramfs-linux.img
7005870 bytes read in 320 ms (20.9 MiB/s)
Retrieving file: /Image
... etc, etc ...

and the machine boots normally.

So what this looks like to me is that u-boot is no longer falling back to booting from the internal eMMC if the SD card is unbootable. How can I persuade it to start doing that again? It's really annoying to have to pop the SD card out every time I start up the laptop and then put it back after it's booted.

Messages In This Thread
[Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present - by zackw - 01-10-2022, 03:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro PBP stable update 2022-06-19 bricked wpeckham 1 104 06-21-2022, 06:13 PM
Last Post: wpeckham
  How to make manjaro sleep or hibernate? KDE? regretfulpineuser 0 60 06-20-2022, 12:56 AM
Last Post: regretfulpineuser
  Help with Kali Linux wifi not working but works with Manjaro PineSupporter 0 111 05-27-2022, 10:24 PM
Last Post: PineSupporter
  PBP won’t boot from eMMC after Debian update / Tow-Boot installer won’t boot from SD Pino64 21 1,015 05-12-2022, 05:00 AM
Last Post: Pino64
  Broken eMMC boot annahellrothsparent 3 315 04-28-2022, 07:31 AM
Last Post: tophneal
  Manjaro and Arch repository with privacy oriented software as400 86 66,635 04-27-2022, 07:44 AM
Last Post: annahellrothsparent
  Fresh Manjaro does not boot from eMMC pentamassiv 6 841 03-27-2022, 11:01 AM
Last Post: xNix
  Dual boot Manjaro and Debian? dieselnutjob 3 481 03-26-2022, 07:17 AM
Last Post: dieselnutjob
  Pinebook Pro w/ Manjaro KDE Random Freeze/Crash BenniTec 1 469 03-18-2022, 04:03 PM
Last Post: BenniTec
  Manjaro Gnome on Pinebook Pro Review! - My New Favourite Pinebook Pro Distro! ImmyChan 0 487 02-18-2022, 12:59 PM
Last Post: ImmyChan

Forum Jump:

Users browsing this thread: 1 Guest(s)