NVME problems
#11
(08-17-2020, 12:13 PM)mamboman777 Wrote: I do not know what causes this problem, but I know how to get out of it...or at least what works for me.  I do not remember where I got the SPI flash, but I have one that always wakes the drive up.  I suspect the problem is something with the way that the newer U-Boot loads the 660P that makes it get to an un-reachable state, but I can't figure out what causes it to be un-reachable  Maybe something to do with APST? Like I said, I don't really know.  The way I get out of it is boot to the SD card and flash one of the SPI flash's that preceeded the main-line U-Boot SPI flash.  PM me and I can get the file to you.

-Josh

Is this the BSP uboot you mentioned? https://github.com/pcm720/rockchip-u-boot/releases

There is a difference between the BSP uboots and mainline concerning waking NVMe drives, that hasn't quite been figured out yet. I believe there are some looking to find that difference and implement it within mainline, but it hasn't been found yet.
  Reply
#12
(08-17-2020, 12:55 PM)tophneal Wrote:
(08-17-2020, 12:13 PM)mamboman777 Wrote: I do not know what causes this problem, but I know how to get out of it...or at least what works for me.  I do not remember where I got the SPI flash, but I have one that always wakes the drive up.  I suspect the problem is something with the way that the newer U-Boot loads the 660P that makes it get to an un-reachable state, but I can't figure out what causes it to be un-reachable  Maybe something to do with APST? Like I said, I don't really know.  The way I get out of it is boot to the SD card and flash one of the SPI flash's that preceeded the main-line U-Boot SPI flash.  PM me and I can get the file to you.

-Josh

Is this the BSP uboot you mentioned? https://github.com/pcm720/rockchip-u-boot/releases

There is a difference between the BSP uboots and mainline concerning waking NVMe drives, that hasn't quite been figured out yet. I believe there are some looking to find that difference and implement it within mainline, but it hasn't been found yet.

I just grabbed the SPI u-boot file from that location (https://github.com/pcm720/rockchip-u-boot/releases), dd'ed it to the device and rebooted. The NVME get recognized  and my system is properly booting again.

Thanks a lot!
  Reply
#13
i would either use mrfixit2001 v2.0 (patched bsp) or pcm's 2020.07-1 (patched mainline) uboot:

https://github.com/mrfixit2001/updates_r...filesystem
https://github.com/pcm720/u-boot-build-s...v2020.07-1
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 117 86,691 05-13-2021, 11:44 AM
Last Post: tophneal
  NVMe SSD and battery life? dieselnutjob 3 499 04-19-2021, 01:55 PM
Last Post: slyecho
  Selling Pinebook Pro 128GB version (w/ NVMe adaptor) due to lack of use VoT 3 937 03-19-2021, 03:11 AM
Last Post: jj282
  Pine Book Pro Charging Problems balin 6 768 03-07-2021, 10:57 PM
Last Post: KC9UDX
  [split] U-Boot with NVMe support, keyboard & display working as400 83 32,188 01-27-2021, 12:48 AM
Last Post: as400
  Sudden Pinebook Pro boot problems ndp 3 869 01-21-2021, 09:51 AM
Last Post: ndp
  emmc vs NVMe real-world performances Henry 7 2,778 11-15-2020, 02:03 PM
Last Post: rimaille
  NVMe doesn't show up Seferi 19 4,862 10-30-2020, 07:08 AM
Last Post: ReddestDream
  Unable to mount NVME (PineBook Pro) WallStreet 4 2,190 09-13-2020, 11:16 PM
Last Post: Phillip Bell
  NVMe adapter separate order? powerful owl 5 1,735 07-27-2020, 10:02 PM
Last Post: powerful owl

Forum Jump:


Users browsing this thread: 1 Guest(s)