PINE64
eMMC frequently not found by Linux kernel (especially on low battery) - 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: eMMC frequently not found by Linux kernel (especially on low battery) (/showthread.php?tid=10185)

Pages: 1 2


RE: eMMC frequently not found by Linux kernel (especially on low battery) - v-man - 03-30-2021

(10-21-2020, 08:08 AM)Arwen Wrote: @v-man You might modify your "/boot" on the SD card to use the root file system on the eMMC. This might not be too bad as a work around.

This would not work in my case, I suppose, since strangely enough the kernel first started booting, and then the eMMC was not found to mount as the root device. Once the eMMC even 'disappeared' from a running system. I wrote these observations in my first post already, about nine months ago.

Having used the Pinebook running from an SD-Card only, I now finally got myself a replacement eMMC (just 32 GByte again), and in addition the NVMe adapter as well, just to have an alternative in case the eMMC replacement would not solve the problems.

I think the eMMC is more reliable now, but a problem is still there. So far I had four cases where the system would not boot successfully in about two weeks with maybe around 20 boots. The situation is different from before: I switched to Armbian (Debian Bullseye, by updating from the Buster image), which is working quite well. When the system hangs during boot-up, the screen stays completely blank (whereas before I would already get console output). At least last time, maybe before as well, the LED stayed red, did not even turn green, so I guess the Linux kernel was not even found?

Somewhere I read a comment about "silicon lottery" with the PineBookPro... and I guess I'm not a winner in this. ;-)

Especially in cases where the PineBook gets stuck some output on the display would be nice. Too bad, progress with u-boot is not fast enough for this to have come to Armbian or Manjaro images yet.

But my PineBook is quite usable again. Smile I also have a 'powerbank' now, a 10.000 mAh usb charger, which I need for my half-broken old Android phone anyway. This could probably help me boot the PineBook if at some point it won't boot without extra power, and I'm not near a power outlet.


RE: eMMC frequently not found by Linux kernel (especially on low battery) - mattpenn - 03-31-2021

Quote:Especially in cases where the PineBook gets stuck some output on the display would be nice. Too bad, progress with u-boot is not fast enough for this to have come to Armbian or Manjaro images yet.

You can get early (initrd) console output if you build a Manjaro image with encryption enabled, this was enabled to show the cryptsetup password prompt correctly. This isn't working yet in Armbian (https://forum.armbian.com/topic/17367-luks-password-entry-not-displayed-on-pinebook-pro-focal/).

Manjaro installer Instructions here: https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-installer
Background on that early boot work: https://forum.pine64.org/showthread.php?tid=9052

I've also been wrestling with the same behaviour of inconsistent eMMC booting when not plugged into the mains power. I'm now going to switch to Manjaro w/ LUKS so I get the console messages early on and see if that sheds any light on the problem day to day. I have noticed over the UART serial console that sometimes the eMMC is just not visible at all.


RE: eMMC frequently not found by Linux kernel (especially on low battery) - djhnsn - 05-09-2021

I am having this same issue. My pbp is from the latest batch. The power level doesn't matter. It can happen at 100% battery and plugged in.

The initrd output in manjaro explains that the EMMC can't be found.

I have tried uboot that came with manjaro, twisteros, the bsp uboot, and a random one from the internet. I get this problem more times than not.

Sometimes after the monitor outputs a few failed attempts, it finds the emmc and boots.

Also when booting from sd, the emmc doesn't appear as attached.

How can I make the uboot keep trying indefinitely? Has another solution been found? It's pretty annoying to have to attempt booting 6 times.


RE: eMMC frequently not found by Linux kernel (especially on low battery) - Arwen - 05-11-2021

@djhnsn  Their is an experimental version of U-Boot which supports NVMe, USB and video menus, as well as installation in SPI flash. It may work for you. I tried it, and worked okay. But, I had some other specialty things so I more or less returned to the normal U-Boot.

Here is a link to the thread, (I think), that describes it;
https://forum.pine64.org/showthread.php?tid=10694


RE: eMMC frequently not found by Linux kernel (especially on low battery) - djhnsn - 05-14-2021

(05-11-2021, 03:06 PM)Arwen Wrote: @djhnsn  Their is an experimental version of U-Boot which supports NVMe, USB and video menus, as well as installation in SPI flash. It may work for you. I tried it, and worked okay. But, I had some other specialty things so I more or less returned to the normal U-Boot.

Here is a link to the thread, (I think), that describes it;
https://forum.pine64.org/showthread.php?tid=10694
Thanks. I appreciate it. I will give it a try soon.