nucleosynthesis

there is a gap in element production: big bang nucleosynthesis produce everything up to lithium, and stars start at producing carbon, by triple-alpha fusion. in what way are beryllium (\(Z=4\)) and boron (\(Z=5\)) produced?