Mainline U-Boot with SPI, NVMe and SATA boot support
#8
@Bullet64 I'm glad you're having some success with this. You might be aware of this already, but in this log:

(01-04-2020, 04:10 PM)Bullet64 Wrote: ...                                       
switch to partitions #0, OK                                                    
mmc1 is current device                                                          
Scanning mmc 1:7...                                                            
Found /boot/extlinux/extlinux.conf                                              
Retrieving file: /boot/extlinux/extlinux.conf                                  
1055 bytes read in 8 ms (127.9 KiB/s)                                          
select kernel        
...                                                           

it shows U-Boot is reading /boot/extlinux/extlinux.conf off the SD card, not the NVMe device. However this would still work if you tell Linux the root filesystem is on NVMe, e.g. with a root=UUID="..." entry in the kernel command line, since Linux would later detect the NVMe device and mount the root filesystem on it.
On the other hand, it *should* be possible to have U-Boot read /boot/extlinux/extlinux.conf and the kernel and initrd off the NVMe device directly, and not involve an SD card at all.

(01-05-2020, 03:22 AM)Bullet64 Wrote: @sigmaris works boot from usb3 with this uboot? Don't work for me.

I am using this image
Code:
buster-minimal-rockpro64-0.9.16-1163-arm64.img

I've tested that booting Linux from a SanDisk USB-stick works (if it's plugged in to either the USB 3.0 or USB 2.0 Type-A ports) but that USB-stick would only be using USB 2.0, I don't have any USB3 disks to test with at the moment. I'll see if I can get one to try out.

Out of curiosity, is boot from a USB3 disk working for you with the Rockchip downstream/vendor U-Boot (https://github.com/rockchip-linux/u-boot/ or one of the other U-Boot builds which is derived from Rockchip's source code, e.g. Ayufan's)?
  Reply


Messages In This Thread
RE: Mainline U-Boot with SPI and NVMe support (alpha/pre-release version for testing) - by sigmaris - 01-05-2020, 07:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  enble boot after power loss/restore dkebler 18 9,428 12-04-2023, 12:14 PM
Last Post: ok38
Bug Broken boot: What am I missing? mkosarek 1 667 09-08-2023, 08:14 AM
Last Post: wdt
  Unable to boot Armbian on new RockPro64 mooseball 5 4,257 07-14-2023, 08:59 AM
Last Post: rockjonn
  no boot white led flashing moserwi 7 4,318 05-18-2023, 10:46 AM
Last Post: wdt
  u-boot locked on pine64pro ljones 1 1,548 09-06-2022, 10:32 AM
Last Post: ljones
  Cannot get my board to boot deutschlmao 11 8,199 09-05-2022, 04:23 PM
Last Post: ljones
  U-BOOT Tutorial hazz 0 1,151 07-19-2022, 10:48 PM
Last Post: hazz
  Installation Debian on emmc: which U-Boot and where? vongillus 3 2,801 07-02-2022, 09:24 AM
Last Post: dkebler
  ROCKPRO64 PCI SSD SD-boot Install pspgarret 0 1,163 06-09-2022, 10:56 AM
Last Post: pspgarret
  Support says "regulator" on the SBC burned out; how to fix? dmos 0 912 06-02-2022, 02:20 AM
Last Post: dmos

Forum Jump:


Users browsing this thread: 1 Guest(s)