[beaglebone] How to change resolution of DVI cape monitor?

Hi every body! i has succesfull developed one VGA Cape (it used driver and eeprom of DVI Cape), because default resolution of DVI cape is 1024x768, but i used LCD monitor with correct resolution 1366x768, everything is ok when i boot with ubuntu 12.4… but i want ask for change resolution from 1024x768 to 1366x768, i think it is good luck and better view?
Can i change resolution in environment variable of Uboot?