2. In a food processor, add the nuts and ground them by pulsing until they have the desired consistency and set aside. If you are making homemade bread crumbs, add the bread to the food processor and pulse until you have fine bread crumbs
3. Heat some olive oil in a large frying pan to medium heat and add finely chopped onion and garlic. Fry and add roughly chopped mushrooms and rosemary. Sauté for a couple of minutes and turn the heat off.
Grease the loaf pan with oil. Spoon evenly into a loaf pan or baking tray. Bake in a preheated oven for about 40-45 minutes at 200C (400F) or until the top is browned.