On Hiroshima, see this recent question. The second crew definitely new they were carrying an atomic bomb; they had been training as part of the same unit as the Hiroshima crew, and the payload of the Enola Gay was no secret after it was used.
Follow-up question, how did the Nagasaki strike survive when surely Japan knew what they were in for?