There is an open source implementation of Autosar standard:
I’m surprised it is GPL. Normally software designed for industry application uses other less restrictive license like BSD or Apache.
Unfortunately it has support only for HCS12 and PowerPC.