PINE64
[split] U-Boot with NVMe support, keyboard & display working - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: [split] U-Boot with NVMe support, keyboard & display working (/showthread.php?tid=10694)

Pages: 1 2 3 4 5 6 7 8


RE: [split] U-Boot with NVMe support, keyboard & display working - as400 - 09-17-2020

@NickL - by sleep you mean display sleep or entire system sleep ?

What is your booting success/fail ratio ?


RE: [split] U-Boot with NVMe support, keyboard & display working - Wizzard - 09-21-2020

Hi, I would like to try it, but from what I read I am not sure if it is fully working. Does it boot for example ayufan's Ubuntu? Also, where do I get the latest images for SPI flash?


RE: [split] U-Boot with NVMe support, keyboard & display working - as400 - 09-21-2020

@Wizzard - there are problems with booting kernels > 5.4. For some people only one try on ten boots is successful.
In previous post you have a patch for a newer kernels that circumvents the problems.

There are binary images for eMMC/SD and SPI in my repo.

But I wouldn't try to write to SPI if you don't feel adventurous. Try it on SD first and stay on the safe side.


RE: [split] U-Boot with NVMe support, keyboard & display working - Wizzard - 09-21-2020

Good, so are there the binary files with the patch for > 5.4 kernels, or I have to build it?
SD card is a problem for me, cause my SD card slot is broken and does not hold a SD card inside.


RE: [split] U-Boot with NVMe support, keyboard & display working - as400 - 09-21-2020

You would have to build the kernel yourself.


RE: [split] U-Boot with NVMe support, keyboard & display working - as400 - 09-28-2020

Some more testing for those of you who want to Smile

@strit from Manjaro has build kernel 5.9-rc7 with the patch that was posted here by @simonsouth.

So grab the kernel from arm-unstable branch, grab uboot from my repo and test. It should be ok.

Please post the results here.


RE: [split] U-Boot with NVMe support, keyboard & display working - as400 - 10-01-2020

@simonsouth

I have tested your kernel patch. Conclusions :

1. Problem - newer kernels locking/freezing during boot - SOLVED.
2. Problem - screen power management problem (cannot wake screen after it goes off) - SOLVED.

I tried to boot with the patched kernel about 40 times and couldn't get a lock so I would say it's fairly stable patch.


I have also uploaded new version of uboot to my repo.
Added features:

1. Btrfs support.
2. NVME boot option to menu.

If somebody wants to test the binaries ----> https://gitlab.com/as400l/pbp-uboot-display-menu

Remember - to have a consistent booting you must have kernel with @simonsouth patch.


RE: [split] U-Boot with NVMe support, keyboard & display working - as400 - 10-01-2020

@simonsouth - it is also very plausible that your patch will resolve problem with kexec. Which is there for last couple of years.

But I didn't test it.

I forgot to say - thank you for you work Smile


RE: [split] U-Boot with NVMe support, keyboard & display working - as400 - 10-02-2020

@simonsouth more good news. You also resolved problem with distortions on the screen after kexec Smile

I have tested today and it works ok. And this problem is present in the kernel for like last 3 years.


Will this patch be accepted into the mainline ?


P.S. I have tested kexec with all the display stuff compiled into the kernel (rockchip-drm, panfrost, analogix-dp etc.). It might make a difference but I don't really think so.


[split] U-Boot with NVMe support, keyboard & display working - eKeith - 10-02-2020

Nice work! It's a pleasure reading and learning from you all...

Sent from my PH-1 using Tapatalk