Help: Pinebook Pro will not enter sleep [Manjaro 20.04]
#41
In my experience, ONLY on SD, battery in s3 is ~7%/day
Maybe it is better on emmc, I can't imagine why
And, yes only a bsp uboot
  Reply
#42
Well, I tried flashing the mrfixit u-boot and hosed my system. On the first boot afterward I noticed some things were broken and there appeared to be disk corruption (files showing as ????????? when using ls), and when I tried rebooting it was stuck on the red light. But hey, now I know how to reflash back to stock from SD card, yay for me I guess.

I think I'll just leave it be.
  Reply
#43
Is there a clearly recommended fix for this? Also unable to suspend on current Manjaro ARM Plasma release; it has never worked for me. Guidance appreciated.
  Reply
#44
> Is there a clearly recommended fix for this?
For what?
If you are referring to the previous post, I think probably the dd command was wrong
uboot (and friends) should NOT be flashed to a partition, but the block device,,, ie
/dev/mmcblk2,,, NOT /dev/mmcblk2p1
If you run fdisk, you will see that the first 62500 sectors have no partition (manjaro),
only the mbr (sector0) and whatever uboot that is installed(and idbloader and maybe trust)
For that matter, only 1 uboot is needed, that 62500 sectors (except for mbr) could be blank
if there is a uboot somewhere else
For manjaro, 5.9 doesn't work, sleep.conf has to have SuspendState=mem in it
and, of course, a bsp uboot
  Reply
#45
Hi everyone one!

Relatively new to PBP.

Just to be sure what I understant here :

"uboot-pinebookpro-bsp" must be installed in place of "uboot-pinebookpro" as the U-BOOT bootloader to support S3 sleep?

Because I nuked by U-BOOT on my PBP and I had to reinstall the base image on Manjaro 20.10 and it come by default with "mainline" U-BOOT, not the BSP.

Last time I tried to install the BSP version (by using the instructions PACMAN showed me) I ended with an unbootbale PBP (still was able to boot from SD card so I reflashed everything).

So,
1) Must I use the BSP version for S3?
2) What are the exact comand to install it if required? The PacMan one or others?

Thanks!
  Reply
#46
(I deleted my previous post and re-did this one. Clearer)

Ok. Found partial answers. The instructions to install uboot-pinebookpro-bsp/uboot-pinebookpro from PACMAN are good.
But it seems to replace the extlinux.conf file so making a backup first and restoring the file after before rebooting is a must.

Now I can switch from the mainline and bsp version. Good.

Looks like the "mainline" version keep the power led red until the kernel boot so it help finding which one is installed.


I have edited the sleep.conf file and changed the parameters

Code:
SuspendState=freeze

to

Code:
SuspendState=mem

Now, when I put the computer un sleep mode, it just stay that way forever. I have to press the power button for 10 seconds and then reboot the laptop.

What did I do wrong?

Using Manjaro 20.10 btw.

Also, found out that the "mainline" version of u-boot alway boot from the eMMC. I have to keep the "bsp" version to be able to bood from SD card. Is it normal?

So, to resume, two questions:

1) With uboot-pinebookpro-bsp + "mem" settings in "sleep.conf", the computer don't resume from sleep. How to fix?
2) With uboot-pinebookpro (mainline), the computer can't boot from MicroSD anymore. BSP version can. Normal?

Thanks!
  Reply
#47
>What did I do wrong?
Unless you have right kernel, this is really quite common behavior, others than manjaro
uname -r ,,, almost certainly will be 5.9,x or 5.10.x
Enable AUR ( package repository), install downgrade ( a shell script ), then
linux-pinebookpro 5.8.x (downgrade linux)
s3 sleep also requires a bsp uboot too, mainline will not work
The over writing of extlinux.conf, without making an .old (as backup) is quite annoying
  Reply
#48
(12-29-2020, 10:51 PM)wdt Wrote: >What did I do wrong?
Unless you have right kernel, this is really quite common behavior, others than manjaro
uname -r  ,,, almost certainly will be 5.9,x or 5.10.x
Enable AUR ( package repository), install downgrade ( a shell script ), then
linux-pinebookpro  5.8.x  (downgrade linux)
s3 sleep also requires a bsp uboot too, mainline will not work
The over writing of extlinux.conf, without making an .old (as backup) is quite annoying

I have 5.9.13-1-MANJARO-ARM

so I have to downgrade the kernel for S3 to works?
Won't it automatically re-update after when using PACMAN ?

I have "uboot-pinebookpro-bsp" installed from PacMan. Is it OK ?
  Reply
#49
You can pin a version
I think it is 5.8.14 that I am using
The pinebookbsp is OK, a fork from mrfixit's bsp
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 5 274 Yesterday, 12:51 AM
Last Post: BronzeBeard
  FLOSS pinebook pro linux set-up misha64 3 786 01-14-2021, 04:05 PM
Last Post: kuleszdl
  An unofficial Debian Installer for Pinebook Pro danielt 410 131,302 01-12-2021, 05:22 PM
Last Post: moonwalkers
  Anyone can get deep sleep fully works with NVME rootfs? plumlis 0 107 01-11-2021, 09:58 AM
Last Post: plumlis
  My Debian journey on the Pinebook Pro schwarzwieweiss 32 1,914 01-07-2021, 09:35 AM
Last Post: schwarzwieweiss
  Armbian for the Pinebook Pro [WIP] Luke 41 11,545 01-06-2021, 06:14 PM
Last Post: Idaho
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 61 26,926 01-06-2021, 02:23 AM
Last Post: pmjohann
Bug Manjaro - KDE/Plasma - Random Crash Anarethos 0 194 01-03-2021, 05:57 PM
Last Post: Anarethos
  Gentoo on Pinebook Pro RELEASE jannik2099 48 25,287 01-03-2021, 06:21 AM
Last Post: wdt
Question Changeing boot animation on Manjaro Anarethos 2 595 12-31-2020, 04:46 PM
Last Post: Anarethos

Forum Jump:


Users browsing this thread: 1 Guest(s)