CoreELEC boot resolution


Does anyone know how to change the display resolution for CoreELEC boot time?
I have H96Pro TV stick and Coreelec otherwise works fine. there is just this annoyance that during boot, its seems that the boot loader will put the display in 4K mode. Many TV’s do not recognize this and therefore I see “Unknown signal format” message until Kodi itself comes up and changes the resolution to HD.
Therefore, when there is a problem with booting I do not see it since CoreELEC seems to boot up in the same mode where the bootloader did put it.
Any way to change this?
Would it be possible to change the resolution already in uboot with the “aml_autoscript” ?


Found a solution by myself:
via SSH:
CoreELEC:~ # fw_setenv hdmimode 1080p60hz
CoreELEC:~ # fw_setenv outputmode 1080p60hz
CoreELEC:~ # reboot