Peel and chop the sweet potato into chunks, add to a pot. Fill the pot with just enough water to cover the sweet potato and boil until very soft. Using a potato masher or mixer, mash the sweet potato until achieving a smooth consistency. Add ripe banana, egg, baking soda, flour and cinnamon. Mix well.