U-Boot with direct NVMe boot support for eMMC/SPI Flash
#41
(01-13-2020, 05:13 AM)mamboman777 Wrote: I do not understand how to get this working. I used gnome-disk-utility to"restore" a fresh disk image to s micro SD card. I booted to the SD card then "restored" Manjaro to the emmc and default Debian to the nvme. According to the wiki the uboot code that I need is in the Manjaro release, but it's still booting from SD card first, emmc second. Nothing from nvme. What am I doing wrong?

I think that NVMe is just third in the order. So I needed to remove OS from eMMC to boot from NVMe.
  Reply
#42
(01-13-2020, 05:24 AM)Wizzard Wrote:
(01-13-2020, 05:13 AM)mamboman777 Wrote: I do not understand how to get this working. I used gnome-disk-utility to"restore" a fresh disk image to s micro SD card. I booted to the SD card then "restored" Manjaro to the emmc and default Debian to the nvme. According to the wiki the uboot code that I need is in the Manjaro release, but it's still booting from SD card first, emmc second. Nothing from nvme. What am I doing wrong?

I think that NVMe is just third in the order. So I needed to remove OS from eMMC to boot from NVMe.
I tried completely wiping the emmc and got nothing. Is something supposed to be on the emmc that points to the nvme? Or did I miss flashing something onto the board that points to the nvme?
  Reply
#43
So it seems that you did not flash it correctly or completely, not sure. I flashed it directly from rkdeveloptool.
  Reply
#44
(01-13-2020, 06:19 AM)Wizzard Wrote: So it seems that you did not flash it correctly or completely, not sure. I flashed it directly from rkdeveloptool.

That's what I'm missing. I'm sorry for my ignorance.  What needs to be flashed?

Well, I got something to happen...I followed the instructions for flashing. The machine powered on once too the open sesame screen, them rebooted and nothing. Worse yet, now when an SD is inserted it powers on, the led flashes and the machine appears to power off. Appears I've gone and created a paperweight. Any ideas how to get this working?
  Reply
#45
I followed this guide https://iotbyhvm.ooo/rockpi-4-write-imag...-otg-port/ from chapter "Write to SPI flash via USB" and flashed this file: https://github.com/pcm720/rockchip-u-boo...iflash.bin
  Reply
#46
Can't even boot onto anything now. I'm too frustrated she need to step away till this evening. I'll check back later.
  Reply
#47
No problem, to boot PBP in the MASKROM mode, use Recovery button and connect it to your PC with USB-C cable.

(Need to open PBP and uncover the PCB) The button is no. 28.
[Image: PBPL_S.jpg]
  Reply
#48
(01-13-2020, 07:03 AM)Wizzard Wrote: No problem, to boot PBP in the MASKROM mode, use Recovery button and connect it to your PC with USB-C cable.

(Need to open PBP and uncover the PCB) The button is no. 28.
[Image: PBPL_S.jpg]

Thank you.  That all makes sense. I will be able to do this when I get home from work tonight.  After I connect it to pic, then what?
  Reply
#49
I dont remember everything what I did but I see that it is necessary to download rkdeveloptool in Linux and build it.


Code:
git clone https://github.com/rockchip-linux/rkdeveloptool
cd rkdeveloptool
autoreconf -i
./configure
make


and then to flash that spi image.

Code:
rkdeveloptool wl 0 /path/to/uboot-trust-spi.img
  Reply
#50
(01-13-2020, 08:05 AM)Wizzard Wrote: I dont remember everything what I did but I see that it is necessary to download rkdeveloptool in Linux and build it.


Code:
git clone https://github.com/rockchip-linux/rkdeveloptool
cd rkdeveloptool
autoreconf -i
./configure
make


and then to flash that spi image.

Code:
rkdeveloptool wl 0 /path/to/uboot-trust-spi.img
Thank you so much for taking the time to do this.  What does "wl 0" do? I am able to follow terminal commands and will do this when I get home, but I also would like to try to understand what I'm doing. Is the spi the bit of code that is on board itself?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot custom kernel on PineBook Pro lowenware 3 30 35 minutes ago
Last Post: wdt
  NVME powersaving script mamboman777 7 254 3 hours ago
Last Post: mamboman777
Exclamation Pinebook Pro worst support ever gentux 0 88 Today, 01:48 AM
Last Post: gentux
  pinebook doesnt see the nvme andrewiassur 3 155 06-30-2020, 06:51 PM
Last Post: andrewiassur
  [Solved] SD Card strange boot behaviour benderni 4 224 06-30-2020, 04:27 PM
Last Post: benderni
  Save your sanity: If you buy a PBP, buy a serial adapter and USB to eMMC adapter. Syonyk 11 482 06-30-2020, 10:28 AM
Last Post: manawyrm
  Prepare to buy Pinebook Pro with nvme adapter sujunmin 1 190 06-23-2020, 07:00 AM
Last Post: Samurai_Crow
  Unable to mount NVME (PineBook Pro) WallStreet 3 165 06-21-2020, 09:51 AM
Last Post: xmixahlx
  Intermittent Boot Issues MrRoosevelt 19 938 06-21-2020, 06:45 AM
Last Post: khanku
  Nvme drive not being recognised. vssz 12 495 06-18-2020, 02:43 AM
Last Post: vssz

Forum Jump:


Users browsing this thread: 3 Guest(s)