Preheat the oven to 350°F. Lightly grease an 8-by-8-inch cake pan with nonstick cooking spray. Cut a strip of parchment paper slightly narrower than the pan and place it inside, allowing the ends to hang over two opposite sides. This will make it easier to lift the cake out of the pan once it has cooled.
In a medium bowl, combine the gluten-free flour, baking powder, baking soda, kosher salt, and cinnamon. Set aside.
In the bowl of a stand mixer, cream the butter, sugar, and brown sugar for 3 whole minutes until light and fluffy.
Add the mashed banana and mix until smooth. Add one egg and beat until incorporated, then add the other egg and beat until incorporated. The batter might look slightly curdled at this point.
Add the dry ingredients to the batter and beat until smooth. Stop the mixer and scrape down the sides of the bowl to make sure everything is well mixed.
Add the buttermilk to the batter and beat until smooth.
Pour the batter into the cake pan and bake for 30 minutes. While the cake cools, make the frosting.
Combine the chocolate chips and cream in a medium bowl and microwave for 30 seconds. Stir until smooth. If the mixture is hot, put it in the fridge to cool for a few minutes. It should be melted but cool.
Once the chocolate mixture is cool, combine the butter, chocolate mixture, and powdered sugar in a large bowl. Beat for 2 minutes until light and fluffy.
Once the cake is completely cool, spread on the chocolate frosting and cut it into slices.