PINE64
Manjaro ARM 19.12 Official Release - PineBook Pro - 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: Manjaro ARM 19.12 Official Release - PineBook Pro (/showthread.php?tid=8248)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - hectorzg - 02-24-2020

(02-24-2020, 03:34 PM)spikerguy Wrote: The uboot-pinebookpro have mainline uboot and you flashed it. So now you have mainline uboot on ur Manjaro installation.  

I had planned to make uboot-pinebookpro-bsp but didn't get time today.  Will get it ready tomorrow and push it to unstable, so users can move to bsp uboot and have suspend.

Most users wanted mainline uboot so we made mainline uboot as default.

@wdt
If suspend is working for you then that means you have bsp uboot on ur sd card.  And yes emmc looks for boot script on sd card and hands over to sd card to follow the boot process.

If we do a clean install of the new Manjaro ARM 20.02 release, we get the mainline uboot?

Thanks for taking the time to upload the bsp uboot!

Edit: When you upload the package, do we have to add the unstable repositories to get the bsp uboot or it will eventually be pushed to stable?


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - mamboman777 - 02-24-2020

Ok...I am a relative noob and need some clarification. I went through the procedure of installing a modified U-Boot onto the eMMC so that I could boot off of the NVME drive. Could someone please give me the steps necessary to install the Uboot onto the Emmc that will enable NVME boot and suspend to ram?

Thanks!
-Josh


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - wdt - 02-24-2020

@spikerguy
>If suspend is working for you then that means you have bsp uboot on ur sd card. And yes emmc looks for boot script on sd card and hands over to sd card to follow the boot process

This is not so clear, I think you are saying emmc-uboot ->SD boot.scr ,, ignores SD uboot?
Sooo,, I sometimes wonder how senile I am getting, I really don't remember flashing uboot update
-rw-r--r-- 1 root root 158899 Jan 20 00:02 idbloader.img
-rw-r--r-- 1 root root 845384 Jan 20 00:02 u-boot.itb
And I certainly didn't save 1st 16M,, oops looking at fdisk, 1st 30M (sector 62500)
(just in case didn't work, easy to blow back)
So, curious, got to check, damn,, seek and calculations (assuming dd default bs=512)
........... of=idb.old skip=64 count=311 (file size/512, round up)
...........of=uboot.old skip=16384 count=1652
and then cmp and diff (with new, jan20)
Not the same,, idb same until 507 (line?), uboot right from very beginning
uboot.old starts "LOADER" (could it be a different location? --between old and new)
this is quite odd, sleep works fine, I don't see how it could be better
The image that I started with is dated Jan 9
--edit-- just to be clear, stock on emmc, manjaro on SD


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - mamboman777 - 02-25-2020

So, I should flash a new install on the eMMC, then change the boot to boot.old and everything should be working?


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - wdt - 02-25-2020

Suspend/sleep seems somewhat unclear right now
On manjaro forum Strit? (IIRR) said kernel has to do with s2idle
(5.5.0-3-1 or higher)
I'm guessing that u-boot has to do with s3idle
If it is on the same device, so that the partition table is unchanged,
a suitably sized block write is easiest, usually 1st 16M
(then you don't have to save/restore mbr, sector 0)
But what to start with? Or what to restore? It is all very unclear
All I can say is what I have does 5-6%/day, idbloader and uboot from Jan9 image

I only bothered with CHECKING, the post above because
my mother had alzhiemers, I am quite paranoid about mental lapses


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - User 11436 - 03-01-2020

(02-24-2020, 03:34 PM)spikerguy Wrote:
(02-24-2020, 05:46 AM)slyecho Wrote:
(02-23-2020, 04:10 AM)spikerguy Wrote: For those have issues with Suspend, I assume you're using Mainline uboot which does not include Rockchip blobs which are required for suspend to work. 

I will try to make a package with the BSP u-boot where you can just install and dd it to the partition.

Are those in the uboot-pinebookpro package, because I just ran the dd commands that it prints on installing and now suspend is unrecoverable. I can't wake up in any way I can think of. Also, power led still stays green and not red, like the stock Debian.

The uboot-pinebookpro have mainline uboot and you flashed it. So now you have mainline uboot on ur Manjaro installation.  

I had planned to make uboot-pinebookpro-bsp but didn't get time today.  Will get it ready tomorrow and push it to unstable, so users can move to bsp uboot and have suspend.

Most users wanted mainline uboot so we made mainline uboot as default.

@wdt
If suspend is working for you then that means you have bsp uboot on ur sd card.  And yes emmc looks for boot script on sd card and hands over to sd card to follow the boot process.

So does the default installation not contain the binary blobs necessary for suspend/resume?

Will mainline uboot ever support suspend/resume?


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - spikerguy - 03-01-2020

(03-01-2020, 07:16 AM)Feakster Wrote:
(02-24-2020, 03:34 PM)spikerguy Wrote:
(02-24-2020, 05:46 AM)slyecho Wrote:
(02-23-2020, 04:10 AM)spikerguy Wrote: For those have issues with Suspend, I assume you're using Mainline uboot which does not include Rockchip blobs which are required for suspend to work. 

I will try to make a package with the BSP u-boot where you can just install and dd it to the partition.

Are those in the uboot-pinebookpro package, because I just ran the dd commands that it prints on installing and now suspend is unrecoverable. I can't wake up in any way I can think of. Also, power led still stays green and not red, like the stock Debian.

The uboot-pinebookpro have mainline uboot and you flashed it. So now you have mainline uboot on ur Manjaro installation.  

I had planned to make uboot-pinebookpro-bsp but didn't get time today.  Will get it ready tomorrow and push it to unstable, so users can move to bsp uboot and have suspend.

Most users wanted mainline uboot so we made mainline uboot as default.

@wdt
If suspend is working for you then that means you have bsp uboot on ur sd card.  And yes emmc looks for boot script on sd card and hands over to sd card to follow the boot process.

So does the default installation not contain the binary blobs necessary for suspend/resume?

Will mainline uboot ever support suspend/resume?
Yes the current Mainline uBoot doesn't contain any blobs. 

And Yes there is work going on to add suspend to main ine uboot, but no one knows when it will be ready.


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - wdt - 03-01-2020

I think that the confusion is partly about whether it is S2 or S3 sleep
For me . S2 sleep is perfectly satisfactory ,, 5%/day
This is with 19.12 kde image, jan9, uboot unchanged
(I think, don't know for sure,, there is an update uboot and idbloader in /boot never manually applied)


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - vrabac - 03-02-2020

Here i have Manjaro 20.02 KDE Plasma default install, and S2 sleep seems configured, but if I leave pbpro over night fully charged, and send it with On/Off button to sleep, i find it in the Morning without possibility to power on, need to charge a bit to power it on.

Is there way to set what to do on Lid close/open, and to turn off LCD when inactive but not send to stand by (let say ssh connection)


RE: Manjaro ARM 19.12 Official Release - PineBook Pro - xmixahlx - 03-02-2020

lid and other events are configured in /etc/systemd/ -- see logind.conf and sleep.conf