User Activity

How I can configure BOOT0 and BOOT1 pins? How I can configure bank 1 or bank 2? Is it possible to configure all these from firmware or do I need to change something in hardware?