How to expand android system to whole SD card?

Just installed android OS on Le potato by a 32GB card, but found the system less than 4GB, didn’t how to expand system space to whole SD card. Anyone can direct me?

Moreover, android support IR port?

You could try to resize the partition with gparted or whatever disk utility your os has.

Don’t know on the ir.

IR is supported in Android. You need to manually expand the partition with a partitioning tool.