Hello!
I am using Orange Pi 5 Max with dietpi and I was able to get pretty good boot time (kernel + userspace < 5sec). I am booting from SSD NVMe. The problem is everything that happens before starting kernel. It’s losing quite a few seconds on scanning for USB devices that I don’t need, goes through all PCIe addresses etc. So I was trying to disable specific PCIe addresses in .DTB file and USB, didn’t work, still happening. I’ve tried to change u-boot configuration in /usr/lib/u-boot and /usr/lib/u-boot-vendor-orangepi5-max, setting all flags with USB to =n instead of =y, but after running commands:
. /usr/lib/u-boot/platform_install.sh
write_uboot_platform_mtd "$DIR" /dev/mtdblock0
Nothing changes, it still starts USB Controller, scans for USB devices and runs the same PCIe errors. I am a little bit stuck here, how to actually change u-boot configuration?
Thanks,
Patryk