So, the motherboard has 4 RAM slots and for some reason only slot A2 works, putting RAM sticks in any other slot causes 1 long 2 short beeps. I tried reseating the sticks, resetting the cmos, nothing helped.
Along the way, I also had to fix the bent pins on Ryzen 2600. They seem to be aligned...