01-28-2020, 08:14 PM
Have you all noted this from rockpro64.
@sigmaris has build a mianline u-boot with NVME boot enabled, and has an sd card image for flashing it. I used it at armbian "current" build on a rockpro64, and am able to boot sd, emmc, usb2,usb3, and nvme all from spi flash. Of course, his u-boot for the device tree for the rockpro64 is more robust than the ones just recently developed for the pbp u-boot, but the developers seem to have an NVme branch now, too.
At any rate, taking a look at the flash_spi.scr , you can see that it makes use of the "load" and "sf update" command in u-boot. If you have a properly built image for writing to spi flash, you could probably even stop u-boot through the serial console, and load and sf update the image. You'd still have to disable the emmc, but that might be less trouble then flashing from maskrom mode....
I haven't tried yet.
[url=https://forum.pine64.org/showthread.php?tid=8685][/url]
@sigmaris has build a mianline u-boot with NVME boot enabled, and has an sd card image for flashing it. I used it at armbian "current" build on a rockpro64, and am able to boot sd, emmc, usb2,usb3, and nvme all from spi flash. Of course, his u-boot for the device tree for the rockpro64 is more robust than the ones just recently developed for the pbp u-boot, but the developers seem to have an NVme branch now, too.
At any rate, taking a look at the flash_spi.scr , you can see that it makes use of the "load" and "sf update" command in u-boot. If you have a properly built image for writing to spi flash, you could probably even stop u-boot through the serial console, and load and sf update the image. You'd still have to disable the emmc, but that might be less trouble then flashing from maskrom mode....
I haven't tried yet.
[url=https://forum.pine64.org/showthread.php?tid=8685][/url]