It sounds like what is common when a dog has a food allergy, what are you feeding and how long has your dog been on it?
In the mean time, you can buy some sterile ear cleaning solution at your pet store and it might be a good idea to clean your chi's ears out a few times a week til you've got the crusty bit sorted,...if the outside of his ears are irritated, chances are the insides aren't too happy either.