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
  Wiped EMMC, forgot do write new image, won't recognize EMMC zeno 4 97 9 hours ago
Last Post: wdt
  Need Advice for Wiping eMMC on Dead LCD Pinebook Pro calinb 9 156 Yesterday, 12:49 PM
Last Post: calinb
  eMMC not gets detected by initramfs? overlisted 6 1,171 05-09-2021, 09:08 PM
Last Post: djhnsn
  Pinebook Boot CharlesBunders 12 359 05-09-2021, 08:39 PM
Last Post: CharlesBunders
  Broken Boot djhnsn 15 472 05-05-2021, 04:14 PM
Last Post: djhnsn
  NVMe SSD and battery life? dieselnutjob 3 450 04-19-2021, 01:55 PM
Last Post: slyecho
  PBP won't boot (no amber or green LED) ian-s-mcb 46 8,793 04-15-2021, 09:58 AM
Last Post: SnowyMountainWeb
Question erase spi flash aiminick 1 173 04-07-2021, 06:50 AM
Last Post: tophneal
  PIneBook Pro - Boot from SD mcdomx 12 9,603 03-29-2021, 01:13 AM
Last Post: 5825bc9762
  Selling Pinebook Pro 128GB version (w/ NVMe adaptor) due to lack of use VoT 3 894 03-19-2021, 03:11 AM
Last Post: jj282

Forum Jump:


Users browsing this thread: 1 Guest(s)