[split] U-Boot with NVMe support, keyboard & display working
#21
(07-18-2020, 02:44 PM)belfastraven Wrote: @samueldr, Just to clarify,  I wasn't complaining--I have been able to occasionally boot a 5.7 Manjaro kernel, (probably 25% of the time)  and I really appreciate what you have done.  I just wasn't sure that as400 had seen the comment.

Good, I was just saying Smile. as400 was aware because I talked about the issues on IRC, but good to make sure here too.
  Reply
#22
(07-15-2020, 12:59 PM)as400 Wrote: OK, so I finally was able to build working (sort of) uboot with nvme boot, display and keyboard thanks to Arnaud and @samueldr work.

It boots my 5.8-rc5 but inconsistently. In 15 tries I have 5 failed boots.

If someone is brave enough to test it - I can share SPI image or images for SD/eMMC.
I'll do it! I've successfully bricked and unbricked my PBP already I'm ready for anything let's do thisBig Grin
  Reply
#23
[Image: KPtc7sf.jpg]


This is what's possible with display enabled uboot. Finally we can have multiple kernel choices and multiple OS'es on one drive without too much of a hassle.

@samueldr has posted some new code from Arnaud in his repo so if somebody is interested I can post new binaries for further testing.
For me it works quite well.
  Reply
#24
(07-29-2020, 03:26 AM)as400 Wrote: [Image: KPtc7sf.jpg]


This is what's possible with display enabled uboot. Finally we can have multiple kernel choices and multiple OS'es on one drive without too much of a hassle.

@samueldr has posted some new code from Arnaud in his repo so if somebody is interested I can post new binaries for further testing.
For me it works quite well.



Yes if you can post new binaries i'll test them(especially the spi one w/ gfx)!
  Reply
#25
Also eager to test the SPI versions.
  Reply
#26
I removed previous versions. So this is the only one in this thread currently ---> SPI image

If you want to have uboot menu with kernels your extlinux.conf has to look like this template:

Code:
Timeout 50
DEFAULT Manjaro

MENU TITLE Pinebook Pro boot menu

LABEL Manjaro
KERNEL /Image1
FDT /dtbs/rockchip/rk3399-pinebook-pro.dtb
APPEND initrd=/initramfs-linux1.img console=tty1 rootwait root=/dev/sda2 rootflags=noatime video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60

LABEL Arch
KERNEL /Image2
FDT /dtbs/rockchip/rk3399-pinebook-pro.dtb
APPEND initrd=/initramfs-linux2.img console=tty1 rootwait root=/dev/sda3 rootflags=noatime video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60

It would be nice to know how did it go for you Smile


PLEASE DO NOT FLASH THIS IF YOU DON'T KNOW HOW TO RECOVER FROM BORKED SPI !!!
  Reply
#27
@as400, does that new SPI image have;

- Trouble with kernel 5.5 or later?
- Support booting eMMC & SD card?
- Support booting USB?

I really want alternate boot environments, and normally implement it with new Grub entries. This looks like it would be just the same, selectable kernel, InitRD and boot device.
--
Arwen Evenstar
Princess of Rivendale
  Reply
#28
(07-29-2020, 01:35 PM)as400 Wrote: I removed previous versions. So this is the only one in this thread currently ---> SPI image

If you want to have uboot menu with kernels your extlinux.conf has to look like this template:

Code:
Timeout 50
DEFAULT Manjaro

MENU TITLE Pinebook Pro boot menu

LABEL Manjaro
KERNEL /Image1
FDT /dtbs/rockchip/rk3399-pinebook-pro.dtb
APPEND initrd=/initramfs-linux1.img console=tty1 rootwait root=/dev/sda2 rootflags=noatime video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60

LABEL Arch
KERNEL /Image2
FDT /dtbs/rockchip/rk3399-pinebook-pro.dtb
APPEND initrd=/initramfs-linux2.img console=tty1 rootwait root=/dev/sda3 rootflags=noatime video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60

It would be nice to know how did it go for you Smile


PLEASE DO NOT FLASH THIS IF YOU DON'T KNOW HOW TO RECOVER FROM BORKED SPI !!!
Successfully flashed!!!

I have Manjaro xfce on NVME drive, i got a successfully boot every 5 attempt.

I will try tomorrow other stuff and log serial output!

Thanks a lot!

EDIT: i will edit extlinux.conf to test the kernel menu too!
  Reply
#29
@Arwen to answer your questions:

- Problems with 5.5 and later - very plausible.
- It has booting from everything possible - eMMC, SD, USB and NVME

Let's wait and see how it goes for others.

@samueldr has identified the problem with booting later kernels. You can find details here --> https://github.com/samueldr/wip-pinebook...-664046551

Strangely I have booting problems just occasionaly. And with this last update from Arnaud it happens very rarely.
  Reply
#30
(07-29-2020, 02:40 PM)as400 Wrote: @Arwen to answer your questions:

- Problems with 5.5 and later - very plausible.
- It has booting from everything possible - eMMC, SD, USB and NVME

Let's wait and see how it goes for others.

@samueldr has identified the problem with booting later kernels. You can find details here --> https://github.com/samueldr/wip-pinebook...-664046551

Strangely I have booting problems just occasionaly. And with this last update from Arnaud it happens very rarely.
I am also having problems booting Manjaro with 5.7 kernel.  (on my NVME) but never  a MRfixit image ( from sd )with an earlier kernel.  When I can't boot, the system starts booting but gets stuck in the same place as it did before the latest changes.  The screen get a weird multi-color pattern and then nothing.  The serial console will also hang at that point. 

The booting of different kernels on same device seems to be working fine (I faked it out by pointing to the same kernel with different menu names,  since I have only one on the device...)    I have noticed that when using CTRL-c to interrupt u-boot to boot from a different device,  there is no entry for the NVME  ,  so that if there is an SD card installed one will boot from that,  since it is specified before NVME in the u-boot code.boot order...
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Keyboard unresponsive after some idle time in uboot Trinatriumcitrat 1 57 Yesterday, 03:42 PM
Last Post: KC9UDX
Question Pinebook pro dead / keyboard issue? / Troubleshooting Mengalef 1 45 Yesterday, 08:32 AM
Last Post: Mengalef
  Cant boot into an OS trashtendenz 3 676 10-23-2024, 03:49 AM
Last Post: chaylengordon
  3 days in, slow/stuck or no boot. lgmpbp2 30 3,750 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 392 09-04-2024, 10:35 AM
Last Post: wdt
  upgrading u-boot--what version? where to get it? bsammon 11 2,679 05-22-2024, 09:33 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 2,285 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 632 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,725 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 1,470 12-13-2023, 08:17 PM
Last Post: trillobite

Forum Jump:


Users browsing this thread: 1 Guest(s)