As per
https://3ds.hacks.guide/checking-for-cfw, if it is booting Luma 9.1, then it should be able to use the latest boot.firm.
So that suggests the SD card isn't being read properly. Standard procedure: connect the SD card to your PC, copy everything off the SD card with
Roadkil's Unstoppable Copier, format the card, test the empty card with h2testw, and copy everything back if the test is okay. It is useless to try anything else without doing this first.
Don't you think it would be useful to say something about what's already on the SD card?
Of course, if you've changed the motherboard, then you've also got a different NAND and all the encrypted data in the "Nintendo 3DS" folder is going to be unreadable, but that's a problem for later.