There is a good basic introduction to the XO laptop here:
http://wiki.laptop.org/go/Getting_started
Or you can download a PDF of that information here:
http://laptop.org/en/laptop/start/getting_started_3.pdf
Here's some information on programming the XO:
Getting Started with XO Development