Police said a man charged with starting a wildfire confessed to the crime, describing how he planned it for weeks and created a device to ignite a blaze that destroyed hundreds of buildings.