SD Card "Failed to change directory"

It sounds like the storage partition on the SD card does not exist yet. This is to be expected if you upgraded from OS2.x to OS3.1. The OS upgrade does not add the partition.

What size is your SD card? If it 8GB or larger, you can do either of the following:

or

If it is a 4GB card, there is no space for a partition so you will have to get a larger card.