Cyclone V HPS Create SD Image Without Linux?

I’m on a Windows machine hoping to get through the entire build process without needing to install a virtual machine. Already done with the Quartus stuff, moving onto boot image. I have Ubuntu/WSL running on Windows and have managed to build u-boot and the linux kernel, just trying to create the SD image now.

I am running, but I get the following errors:

losetup: cannot find an unused loop device
error: failed to get a loopback device

Any ideas how to get this to work on WSL, or an alternative Windows method?

Try running losetup -f in your WSL. If it doesn’t find anything, then you are probably out of luck. Best do the sensible thing and build it on a Linux machine.