PINE64
NVME problems - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: NVME problems (/showthread.php?tid=10675)

Pages: 1 2


RE: NVME problems - tophneal - 08-17-2020

(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.


RE: NVME problems - appelgriebsch - 08-17-2020

(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!


RE: NVME problems - xmixahlx - 08-19-2020

i would either use mrfixit2001 v2.0 (patched bsp) or pcm's 2020.07-1 (patched mainline) uboot:

https://github.com/mrfixit2001/updates_repo/tree/v2.0/pinebook/filesystem
https://github.com/pcm720/u-boot-build-scripts/releases/tag/v2020.07-1