06-14-2020, 12:55 AM
(06-12-2020, 06:35 AM)tophneal Wrote:(06-12-2020, 03:50 AM)AstroCEO Wrote: @tophneal These are the steps I was following. https://wiki.pine64.org/index.php/NOOB#F..._SPI_Flash
It appears that's a relatively new u-boot option from ayufan for the PBP. I haven't heard of any other users trying this u-boot, so I'm not sure what might be going wrong. If you decide to try again, log everything and try opening an issue on ayufan's github. Just in case, I'm going to tag @ayufan here so he can let us potentially bring us up to speed on this new u-boot fwriting image of his.
It might be easier to try using this u-boot instead: https://github.com/pcm720/rockchip-u-boot/releases
It's not mainline like the one from ayufan's repo, but it has boot support for USB (and NVMe when written to SPI) and since it's BSP you will have the ability to use s3 sleep in mainline distros.
I have seen Mr. Fixit's version of this. Which would probably be useful since I want to operate a bootable NVMe. I am not sure of how to install it though since there are three .IMG files.
Code:
# dd if=idbloader.img of=<eMMC/microSD> bs=32k seek=1 conv=fsync
Code:
# dd if=u-boot.img of=<eMMC/microSD> bs=64k seek=128 conv=fsync
Code:
# dd if=trust.img of=<eMMC/microSD> bs=64k seek=192 conv=fsync
Like how do I write all three of these to a microSD card? I would assume each would overwrite the other?
Am I supposed to load the .IMG for each of these to an microSD, then load it, and overwrite to the next in order?