U-Boot with direct NVMe boot support for eMMC/SPI Flash
#51
I am afraid I dont know the meaning of those parameters, I just copied that from that manual page.

As far as I know SPI flash is a circuit on the board that executes every boot and enables booting from various devices. We need to update it to support NVMe too.
  Reply
#52
rkdeveloptool ld is saying "not found any devices" What is the process for putting the PBP into maskrom mode?
  Reply
#53
There is a button inside PBP, it was needed to open PBP.

So, press a button and connect to PC with USB C cable (USB C on PBP)

Then after running " rkdeveloptool ld" you should see if PBP is in maskrom or loader more. Loader mode is better, as I remember.

If it is in maskrom mode, then you should run "rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin"

and download that bin from here: https://dl.radxa.com/rockpi/images/loader/

I am just rewriting the steps from that site, so I hope I wrote it right,
[Image: 90678221c167100d7d1e7b1d69cfb05f.jpg]
  Reply
#54
(01-13-2020, 12:33 PM)mamboman777 Wrote: rkdeveloptool ld is saying "not found any devices"  What is the process for putting the PBP into maskrom mode?

Ok.  I got it connected finally and I got the message "Write LBA quit.  Creating Comm object failed."  That being said, somehow I got the device to boot from SD and flashed the stock Debian back on the drive.  Now I can reboot into the stock Debian on the eMMC.  I'll call that a victory for now.   I'll work on getting the nvme working later.  I can't really believe how much work this has been to get going.  Thank you for your guidance.
  Reply
#55
I am glad to help. Funny is, that I cannot flash that SPI using my own guide myself Smile I tried it yesterday too to update it with new testing version but I was not successfull, I could not get to maskrom neither loader mode and seems that I bricked my PBP too. Will try again today Smile
  Reply
#56
I think many of us need to wait on flashing the SPI. With the same U-Boot software working on an eMMC or SD card, their is little advantage at present to flash it to SPI. Yet, quite a bit of risk of soft-bricking.

Ideally, we would see a more functional firmware image, (U-Boot or other), that supported device selection through display & keyboard, in addition to customizable default boot device. I think that's what I will wait for before I look to using the SPI device.
--
Arwen Evenstar
Princess of Rivendale
  Reply
#57
I found out the way how to disable those annoying messages.
Just edit the file /etc/sysctl.conf and uncomment the line:
kernel.printk = 3 4 1 3
  Reply
#58
Is there any update on this? Is there a guide somewhere with the latest/most functional uboot and how to flash it properly? Now I only seem to get some bits and pieces from different places.
  Reply
#59
(03-31-2020, 04:57 AM)brent.thierens Wrote: Is there any update on this? Is there a guide somewhere with the latest/most functional uboot and how to flash it properly? Now I only seem to get some bits and pieces from different places.

You should be able to use this uboot on SPI using these flashing instructions: https://wiki.pine64.org/index.php/Pinebook_Pro_SPI
  Reply
#60
(03-31-2020, 04:57 AM)brent.thierens Wrote: Is there any update on this? Is there a guide somewhere with the latest/most functional uboot and how to flash it properly? Now I only seem to get some bits and pieces from different places.

Here is how I did it.

I ran the SPI mentioned from the command-line from eMMC. 
I used Manjaro and booted the version with emmc install support from an SD card. I chose the NVME drive as the destination.
I opened the device and flipped the eMMC switch to off.
Voila!

I didn't do performance test, but my user test was to go to a graphics heavy sight and scroll. On the eMMC it was noticeably laggy when scrolling. On the NVME it is much smoother scrolling.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cant boot into an OS trashtendenz 3 662 10-23-2024, 03:49 AM
Last Post: chaylengordon
  3 days in, slow/stuck or no boot. lgmpbp2 30 3,687 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 383 09-04-2024, 10:35 AM
Last Post: wdt
  upgrading u-boot--what version? where to get it? bsammon 11 2,610 05-22-2024, 09:33 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 2,279 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 630 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,723 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 1,468 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 1,044 11-22-2023, 11:47 AM
Last Post: fxc
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 42 67,896 11-20-2023, 06:22 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 7 Guest(s)