You have to adjust his daily routine. Let him sleep later at night, then allow him to wake up late - 9am -10am for example. Then have an early lunch & go to school. Let him sleep again when he finished school in the afternoon. As time pasts, he will not sleep at school anymore.
In fact, you should do this at least one week before he starts school.