[split] U-Boot with NVMe support, keyboard & display working
#51
@NickL - by sleep you mean display sleep or entire system sleep ?

What is your booting success/fail ratio ?
  Reply
#52
(07-29-2020, 02:40 PM)as400 Wrote: @samueldr has identified the problem with booting later kernels. You can find details here --> https://github.com/samueldr/wip-pinebook...-664046551

Following this, here's a patch to Linux that should address the hang on kernels 5.6 and newer when video is enabled in U-Boot, by fixing the issue with the Rockchip PWM driver instead of undoing other changes to the kernel. (I don't use Github so I'm sharing it here.)

I've tested this using Guix and Linux 5.8.1 and it appears to work fine, but I'd be interested in hearing other people's experience with it on other kernel versions.


Attached Files
.txt   0001-pwm-rockchip-Keep-enabled-PWMs-running-while-probing.patch.txt (Size: 1.72 KB / Downloads: 313)
  Reply
#53
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?
  Reply
#54
@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.
  Reply
#55
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.
  Reply
#56
You would have to build the kernel yourself.
  Reply
#57
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.
  Reply
#58
@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.
  Reply
#59
(10-01-2020, 08:47 AM)as400 Wrote: 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.

Great, I'm glad to hear this. Thanks for testing it so thoroughly.
  Reply
#60
@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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  uboot wont boot to SD card after upgrade jbradley419 7 759 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 277 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 2,173 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 657 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 569 11-22-2023, 11:47 AM
Last Post: fxc
  Selling my Pinebook Pro with a bootable NVMe WD SSD drive pinemouth 0 744 09-27-2023, 08:53 PM
Last Post: pinemouth
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 1,147 09-19-2023, 08:48 AM
Last Post: dachalife
  Dead Pinebook Pro Keyboard Keys calinb 2 1,032 09-02-2023, 12:31 PM
Last Post: calinb
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 1,827 08-03-2023, 03:30 PM
Last Post: tophneal
  power on Pinebook Pro mainboard without keyboard? papable 0 827 07-20-2023, 11:06 PM
Last Post: papable

Forum Jump:


Users browsing this thread: 2 Guest(s)