PINE64
Pinebook Pro sometimes Does not boot up correctly - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Pinebook Pro sometimes Does not boot up correctly (/showthread.php?tid=10689)



Pinebook Pro sometimes Does not boot up correctly - decisivedove - 07-15-2020

Hi,
I recently installed Arch Linux on my Pinebook Pro. /dev/mmcblk2p1 is my boot partition and p2 is my root partition. The problem is that sometimes Linux cannot detect /dev/mmcblk2p2. Sometimes, it works fine. Here is the output:

Quote::: running early hook [udev]
Starting version 245.6-8-arch
:: running hook [udev]
:: Triggering uevents...
Waiting 10 seconds for device /dev/mmcblk2p2 ...
ERROR: device '/dev/mmcblk2p2' not found. Skipping fsck.
:: mounting '/dev/mmcblk2p2' on real root
mount: /new_root: special device /dev/mmcblk2p2 does not exist.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#


It was working fine a while ago, it only happens sometimes. Using UUID on the extlinux config also results in the same.
I had recently soft bricked my PBP and had to switch off the emmc but it is fixed now, if that is relevant.

Apparently running:

Quote:echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/unbind

echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/bind

As suggested by randomuser987987 in the thread Pinebook Pro dead after updating u-boot works in getting the partition to show in /dev. The question is will the changes persist forever?

(07-15-2020, 08:50 PM)decisivedove Wrote: Hi,
I recently installed Arch Linux on my Pinebook Pro. /dev/mmcblk2p1 is my boot partition and p2 is my root partition. The problem is that sometimes Linux cannot detect /dev/mmcblk2p2. Sometimes, it works fine. Here is the output:

Quote::: running early hook [udev]
Starting version 245.6-8-arch
:: running hook [udev]
:: Triggering uevents...
Waiting 10 seconds for device /dev/mmcblk2p2 ...
ERROR: device '/dev/mmcblk2p2' not found. Skipping fsck.
:: mounting '/dev/mmcblk2p2' on real root
mount: /new_root: special device /dev/mmcblk2p2 does not exist.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#


It was working fine a while ago, it only happens sometimes. Using UUID on the extlinux config also results in the same.
I had recently soft bricked my PBP and had to switch off the emmc but it is fixed now, if that is relevant.

Apparently running:

Quote:echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/unbind

echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/bind

As suggested by randomuser987987 in the thread Pinebook Pro dead after updating u-boot works in getting the partition to show in /dev. The question is will the changes persist forever?
It turns out that the changes do not persist. It only works when it wants to. Is there any way to make these changes persist permanently?


RE: Pinebook Pro sometimes Does not boot up correctly - rimaille - 07-17-2020

I run arch as you, wich version of upower are you using ?
I ran the one packaged on https://nhp.sh/pinebookpro/ , but if it comes with some benefits (swithing led colors for each boot process, really fast, nearly upstream), it has some high percentage of failure mounting emmc partitions.
I now run the one packaged from manjaro for a week, it is much longer to boot, but it has 100% boot success so far.

git clone https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-pinebookpro-bsp
cd uboot-pinebook-bsp
sudo dd if=idbloader.img of=/dev/mmcblk2 seek=64 conv=notrunc
sudo dd if=uboot.img of=/dev/mmcblk2 seek=16384 conv=notrunc
sudo dd if=trust.img of=/dev/mmcblk2 seek=24576 conv=notrunc


RE: Pinebook Pro sometimes Does not boot up correctly - decisivedove - 07-18-2020

(07-17-2020, 10:57 AM)rimaille Wrote: I run arch as you, wich version of upower are you using ?
I ran the one packaged on https://nhp.sh/pinebookpro/ , but if it comes with some benefits (swithing led colors for each boot process, really fast, nearly upstream), it has some high percentage of failure mounting emmc partitions.
I now run the one packaged from manjaro for a week, it is much longer to boot, but it has 100% boot success so far.

git clone https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-pinebookpro-bsp
cd uboot-pinebook-bsp
sudo dd if=idbloader.img of=/dev/mmcblk2 seek=64 conv=notrunc
sudo dd if=uboot.img of=/dev/mmcblk2 seek=16384 conv=notrunc
sudo dd if=trust.img of=/dev/mmcblk2 seek=24576 conv=notrunc
i used the one in the Arch Pine 64 repository of the Arch image. The package was uboot-pbp, I believe. I will try the Manjaro package. Thank you!