eMMC frequently not found by Linux kernel (especially on low battery)
#7
(06-20-2020, 02:38 PM)Arwen Wrote: Note that if you changed the kernel, and other files in "/boot" to ones in Debian, that can prevent Manjaro from booting.

What I did was replaced the U-Boot binaries on disk with "dd" using the default Debian ones, not the files in "/boot".

Sure, that's also what I did. I had not changed Manjaro on the SD card at all. As I understood it from the docs, U-Boot is loaded from the internal eMMC, if available, and only from the SD card if the eMMC is disabled (or probably also if it does not contain U-Boot). But even U-Boot from the eMMC, if configured appropriately, can boot a kernel from the SD card. mrfixit2001's U-Boot, the one I mentioned in this thread's first post, is doing exactly that. Apparently Debian's U-Boot is not configured to do so.

For some reason I had used an older version of mrfixit2001's branch initially: my link goes to 1.1. Now going back to his U-Boot to have the flexibility of sometimes booting Manjaro from SD card, sometimes Debian from eMMC, I opted for version 2.0. I modified his mrfixit_update.sh:
Code:
diff --git a/pinebook/filesystem/mrfixit_update.sh b/pinebook/filesystem/mrfixit_update.sh
--- a/pinebook/filesystem/mrfixit_update.sh
+++ b/pinebook/filesystem/mrfixit_update.sh
@@ -1,7 +1,7 @@
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
-myver="0.0"
+myver="1.99"
if [ -f /usr/share/myver ]; then
        myver=$(cat /usr/share/myver)
fi
@@ -65,10 +65,10 @@ fi

if [[ $myver < 2.0 ]]; then
        # Leave the current kernel version's modules folder in place so that it can be used as the backup kernel
-      echo "Updating Kernel Modules to 4.4.213..."
-      KER="$(uname -r)"
-      find /lib/modules -mindepth 1 ! -regex '^/lib/modules/'$KER'\(/.*\)?' -delete
-      rm /lib/modules/4.4.213 -r
+#      echo "Updating Kernel Modules to 4.4.213..."
+#      KER="$(uname -r)"
+#      find /lib/modules -mindepth 1 ! -regex '^/lib/modules/'$KER'\(/.*\)?' -delete
+#      rm /lib/modules/4.4.213 -r
        mv $DIR/4.4.213 /lib/modules

        echo "Updating U-Boot..."

Actually it seems like DigiKam in Manjaro is now supporting external MySQL databases! Smile So my main reason for having switched to Debian is gone.
And again Manjaro provides much better video playback support. Even full-hd is now working on Youtube (with Chromium).

Still, this u-boot situation is odd. Maybe I should install the version from Manjaro? The version as shown by pacman is: uboot-pinebookpro 2020.07rc4-1.1

I don't even know if I'll continue to have these eMMC not found issues, with the different u-boot I'm using again. I'll report here as soon as I know more.
  Reply


Messages In This Thread
RE: eMMC frequently not found by Linux kernel (especially on low battery) - by v-man - 06-21-2020, 12:56 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: 3 Guest(s)