Ok, I was trying to run a OrangePi 5 image, because for some reason it wouldn't boot properly with the OrangePi 5 plus image. Now, for some reason the OrangePi 5 plus image boots, maybe after cleaning the SPI? and now the JMicron controller works.
Now I'm just stuck at not being able to boot from the JMicron controller
I've tried to follow the advice here:
https://www.crosstalksolutions…nstallation-with-m-2-ssd/
And here:
https://www.reddit.com/r/Orang…ge_pi_5_from_sata_m2_ssd/
The SSD is flashed with the same image as the SD-card I'm booting from, they have the same UUID on both partitions and I inserted an "overlays=ssd-sata" in the orangepiEnv.txt on both.
I can still only boot with the SD-card.