[split] U-Boot with NVMe support, keyboard & display working
#1
This was just posted by @sigmaris on IRC.

https://lists.denx.de/pipermail/u-boot/2...07894.html

And the patches (quite fresh):

http://people.hupstream.com/~rtp/pbp/20200706/patches/
  Reply
#2
Actually, I'd put the builtin USB keyboard at a higher priority than the eDP.

With USB keyboard support, (builtin and or external), we can setup a sequence of events at boot:
  • Pause & blink LED, (which one?), for a short time, (5 seconds?). Perhaps power LED, alternating red & green.
  • During this time, accept keyboard input
  • Select boot device of:
    1. USB
    2. MicroSD card
    3. NVMe
    4. eMMC
With this, we can leave an SD card installed, and over-ride booting to it.

Or even allow re-arranging the default boot order to be fastest first, since we can select something else if needed.
  1. NVMe
  2. eMMC
  3. MicroSD card
  4. USB
--
Arwen Evenstar
Princess of Rivendale
  Reply
#3
I tried to build uboot with patches from @pcm720 + patches from Arnaud to enable eDP support in uboot.

I failed miserably. All the patches apply correctly (on top of 2020.07) and uboot builds ok but resulting SPI image does not boot. Probably something missing in config.

Unfortunately i'm away from home and don't have my serial cable with me Sad
  Reply
#4
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.
  Reply
#5
(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'd be happy to try the SPIFLASH build--I can always back it off and rewrite the working one.  I do have serial output enabled so I can probably help debug.  if you are still without your serial cable.   I would be using a standard Manjaro 5.7 kernel.  I think we are using the same brand/model of NVME  SBXe  except mine is only a 480G.
  Reply
#6
@as400, Is there really any reason why it can't be on the eMMC for testing?

Even if testing, (and further modifications), takes months, putting on the eMMC is both easier to recover, (via the disable switch). And might actually be faster. Whence it's working with all the features we want, then put it in the SPI.

As for the display and keyboard support, wonderful.
Now can I get greedy and ask for a simple menu to select the boot device?
Then a timeout to boot the default order, (whatever that ends up being).
--
Arwen Evenstar
Princess of Rivendale
  Reply
#7
EDIT 16.07.2020 - included images with menu

EDIT 29.07.2020 - new version posted on page 3


So if someone wants to test here are the images (there is NVME boot included in all of them):

REMOVED

Maybe we should move this discussion to another thread so we don't hijack this one ? @Arwen  ?
  Reply
#8
@as400, Split done.

Notify other user, @belfastraven

On the main subject, I'll try and see if I have time over the next week to install and test.
--
Arwen Evenstar
Princess of Rivendale
  Reply
#9
Great - testing needed.
Especially those random kernel lockups are annoying.
  Reply
#10
@as400, oh, in my rush to learn forum post splitting, I forgot to say;

Thank you!
--
Arwen Evenstar
Princess of Rivendale
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro for sale - ISO keyboard - UK only c6Q$! 0 115 02-21-2021, 09:19 AM
Last Post: c6Q$!
  Built-in Webcam Not Working fozzedout 36 10,736 02-01-2021, 08:59 AM
Last Post: lemaurien19
  Novice question: Pinebook Pro does boot (does it?) but black screen Gert V. 21 2,161 01-27-2021, 10:48 PM
Last Post: rimaille
  Sudden Pinebook Pro boot problems ndp 3 497 01-21-2021, 09:51 AM
Last Post: ndp
  How to determine which U-boot I am using edandjeanmcknight@gmail.com 0 211 01-15-2021, 08:25 AM
Last Post: edandjeanmcknight@gmail.com
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 115 72,700 01-04-2021, 09:57 AM
Last Post: wdt
  Booting to sdcard stopped working after emmc flash techiedog 3 725 12-31-2020, 06:30 PM
Last Post: Anarethos
  No keyboard & trackpad leads to no display. RMA from the US. Free parts in Seattle BitterPine 4 1,178 12-30-2020, 06:14 AM
Last Post: BetteHoward
  Pinebook Pro refuses to boot from eMMC pivic 23 2,679 12-14-2020, 05:08 PM
Last Post: KC9UDX
  Keyboard settings not saved on reboot motezart 6 1,226 11-26-2020, 12:11 PM
Last Post: creaverse

Forum Jump:


Users browsing this thread: 2 Guest(s)