eMMC frequently not found by Linux kernel (especially on low battery)
#4
(06-16-2020, 11:03 AM)v-man Wrote:
(06-11-2020, 12:07 PM)Arwen Wrote: Now I have noticed that booting Manjaro off eMMC was not reliable, and tracked it to U-Boot. Based on another user's forum post, I used the latest default Debian U-Boot files on my eMMC. That has made booting Manjaro off eMMC quite reliable. Perhaps I need to do the same for my Manjaro SD card.

Thanks for the suggestion! A couple of days ago I did:

Code:
cd /usr/lib/u-boot/pinebook-pro-rk3399/
dd if=idbloader.img of=/dev/mmcblk2 seek=64 conv=notrunc
dd if=u-boot.itb of=/dev/mmcblk2 seek=16384 conv=notrunc

Since then I booted the Debian from eMMC two or three times, with decreasing battery levels, and without any problem. So yes, it does look like a U-Boot issue.

But now again I cannot boot from SD card anymore, which is annoying for at least two reasons:
  1. For some reason I think video performance was somewhat better in Manjaro, so being able to use it occasionally would be nice.
  2. Should something go really wrong with my Debian system I cannot boot a rescue system.
Overall I'm quite disappointed with the state of U-Boot support for this device. I have two other ARM systems (RaspberryPi 2 and Cubox-i4) where U-Boot produces display output right from the start. This would probably even allow for a boot menu (which I only tested on yet another ARM, a CB5-311). I'm looking forward to improvements!
For the problem on booting a SD card, you might see about a later version of U-Boot. Early ones did not have additional checks for other devices, before booting their own device.

And yes, I too have joined the "Disappointed in Pinebook Pro's U-Boot state" club. (We hold on-line meetings every week or so, to complain :-).

Ideally I'd like to see U-Boot support a simple device menu. So if it loaded off eMMC, and by default it wanted to boot off any installed SD card, I could force select it back to eMMC. Or visa-versa.

Then, I'd like Grub menu for kernel selection and other details related to Linux.

And last of course, I'd like U-Boot in SPI. But, I am in no hurry for that phase, as recovery is more difficult.
--
Arwen Evenstar
Princess of Rivendale
  Reply


Messages In This Thread
RE: eMMC frequently not found by Linux kernel (especially on low battery) - by Arwen - 06-16-2020, 03:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Void Linux: missing firmware from pinebookpro-firmware? remph 0 61 12-15-2024, 01:58 PM
Last Post: remph
  Attempting to install Void Linux, boots into a black screen 9a3eedi 1 1,292 09-28-2024, 09:23 AM
Last Post: throwawayforvoid
  Slackware Linux working on PBP vxzero 0 668 06-05-2024, 04:30 PM
Last Post: vxzero
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,382 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 930 12-07-2023, 03:11 PM
Last Post: wdt
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 10,188 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,545 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 2,651 08-08-2023, 04:58 AM
Last Post: moobythegoldensock
  Kali Linux for Pinebook Pro - stuck on the login screen owaspfap 0 1,043 07-13-2023, 05:21 PM
Last Post: owaspfap
  kernel module that supports usb-c hdmi alexandre 16 17,469 05-14-2023, 09:58 PM
Last Post: rathofkhan3

Forum Jump:


Users browsing this thread: 8 Guest(s)