Here's how I see them, and how they might build on each other:
I’m assuming that a sufficiently self-informed process can become self-aware. The idea is, once you get enough of the right type of interrelatedness happening in a system, that system will become mechanically/ energetically self-informed. Granted, there may be a necessary step between self-informed and self-aware, but I’m not convinced there has to be. It might be more of a complexity dependent spectrum. But this seems like the best candidate for what generates awareness/ experience, so I'm going with it, and I’ll see where it takes me.
Now that we have self-awareness, how can we create consciousness? I think the answer is, self-awareness plus time. A conscious process would need to be so interrelated as to continually remain informed of the actions of its constituent parts during a smudge of time, technically slightly in the past from an external perspective, which it would know as the present moment. The ‘’present’’ might be akin to the most recent/ least faded waves of sensory input/ activity in the nervous system. Then the fading echoes at the tail end of the smudge, might create a passive short-term memory. Comparing the echoes to the most recent waves, would inform the internal processes about trends in the external processes. This would enable them to notice and use time, giving an extra dimension to awareness, and creating something we might call consciousness.
How about free will then? Consciousness tends to go together with indecision. This seems like the effect of a divergent prediction mechanism, instead of a convergent one. An AGI might be paralyzed by the possibilities it could generate, given even slightly incomplete knowledge. It seems like it would need to pause to evaluate each possible future for probability and desirability. Then it would pick and work towards something in the ‘favorite most likely’ category. This looks to me like a, lets say, ‘higher order’ free will, which is achieved at larger scales/ complexities, despite the predictability of simple particles, through indecision followed by self-determinism.