01-07-2020, 03:27 PM
(01-04-2020, 04:04 AM)sigmaris Wrote:I now have armbian booting from SPI flash u-boot, its great to be booting from SPI running 5.4.8 kernel with current u-boot. I have booted sdcard, emmc and pcie NVME. I haven't tried with USB ports yet. I had gone back to ext4.(01-03-2020, 07:52 PM)belfastraven Wrote: ...
=> run bootcmd_nvme0
Device 0: Vendor: 0x144d Rev: EXD7101Q Prod: S444NE0K603440
Type: Hard Disk
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
... is now current device
** Unrecognized filesystem type **
JI'm just including the log this time so that you can see that I did use the proper images....
Once again, thanks.
@belfastraven thanks for testing, and pasting the full log here. Looks like your NVMe device is detected OK, I suspect the "Unrecognized filesystem type" problem is just because there is no BTRFS support in this build (it's not enabled in U-Boot by default).
I enabled BTRFS in the config and re-built U-Boot, I haven't tested this yet but you could try using the resulting build, attached:
Edit: if you need the SPI binaries from this build, they can be downloaded from this build artifacts page.
Have you thought of including an image like your flash image, that would just 0-out the flash in case of problems. I believe ayufan has one https://github.com/ayufan-rock64/linux-u-boot/releases/download/2017.09-rockchip-ayufan-1065-g95f6152134/u-boot-erase-spi-rockpro64.img.xz
thanks again.