Update:
- back to NVME boot. Enabled u-boot debug. I can enumerate pcie, check nvme device info, etc.
=> pci enumerate
invalid flags type!
=> pci enumerate
=> pci scan
Scanning PCI devices on bus 0
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
00.00.00 0x1d87 0x3588 Bridge device 0x04
I can also receive nvme details
=> nvme scan
=> nvme info
Device 0: Vendor: 0x15b7 Rev: 711240WD Prod: 21440T800664
Type: Hard Disk
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
I can check partitions
=> part list nvme 0
Partition Map for NVMe device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00008000 0x00107fff "boot"
attrs: 0x0000000000000000
type: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
guid: b602c2bd-f201-4323-bdc0-c8633808d063
2 0x00108000 0x7470660f "rootfs"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: c171e7de-8299-4a64-9250-3206b6768a2e
but if I try to boot, it shuts down and reboots
=> setenv devtype nvme
=> setenv devnum 0
=> run nvme_boot 0
Device 0: Vendor: 0x15b7 Rev: 711240WD Prod: 21440T800664
Type: Hard Disk
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
... is now current device
Scanning nvme 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
1968 bytes read in 0 ms
1: kernel-5.10.66-27-rockchip-gea60d388902d
Retrieving file: /initrd.img-5.10.66-27-rockchip-gea60d388902d
reading /initrd.img-5.10.66-27-rockchip-gea60d388902d
9329636 bytes read in 9 ms (988.6 MiB/s)
Retrieving file: /vmlinuz-5.10.66-27-rockchip-gea60d388902d
reading /vmlinuz-5.10.66-27-rockchip-gea60d388902d
29635072 bytes read in 26 ms (1.1 GiB/s)
append: root=UUID=a4b2a864-b934-40b1-bceb-cd39f0997628 earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 console=tty1 consoleblank=0 loglevel=0 panic=10 rootwait rw init=/sbin/init rootfstype=ext4 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 irqchip.gicv3_pseudo_nmi=0 switolb=1 coherent_pool=2M
Retrieving file: /dtbs/5.10.66-27-rockchip-gea60d388902d/rockchip/rk3588-rock-5b.dtb
reading /dtbs/5.10.66-27-rockchip-gea60d388902d/rockchip/rk3588-rock-5b.dtb
251760 bytes read in 2 ms (120 MiB/s)
Retrieving file: /dtbs/5.10.66-27-rockchip-gea60d388902d/rockchip/overlay/rk3588-uart7-m2.dtbo
reading /dtbs/5.10.66-27-rockchip-gea60d388902d/rockchip/overlay/rk3588-uart7-m2.dtbo
311 bytes read in 1 ms (303.7 KiB/s)
Fdt Ramdisk skip relocation
No misc partition
## Flattened Device Tree blob at 0x0a100000
Booting using the fdt blob at 0x0a100000
reserving fdt memory region: addr=a100000 size=40000
'reserved-memory' cma: addr=10000000 size=10000000
Using Device Tree in place at 000000000a100000, end 000000000a142fff
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000)
Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000)
Total: 117407.197 ms
Starting kernel ...
[ 117.425687] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 117.425709] Linux version 5.10.66-27-rockchip-gea60d388902d (stephen@lara) (gcc (Ubuntu/Linaro 7.5.0-6ubuntu2) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #rockchip SMP Mon Oct 24 08:25:47 UTC 2022
[ 117.435116] Machine model: Radxa ROCK 5B
[ 117.435155] earlycon: uart8250 at MMIO32 0x00000000feb50000 (options '')
[ 117.438292] printk: bootconsole [uart8250] enabled
and then reboot