U-Boot - Add screen resolutions for Le Potato

Could you add a method to add U-Boot support for more screen resolutions?

My board is attached to an HDMI monitor with a native resolution of 1366 by 768 that U-Boot does not sync to thereby making it impossible to use the U-Boot console and the EFI boot loader.

Once the OS loads, all is good though. (Debian 12).

Or a method to use the monitor EDID info and pick a “lowest common denominator” supported resolution?

Or at least a method to force the U-Boot HDMI output to be something like: 800 × 600; 1280 × 720; or even 640 × 480 so the U-Boot and EFI screens are useable.

The U-Boot folks have an elegant solution by setting an environment variable to configure this. See: https://github.com/u-boot/u-boot/blob/master/doc/README.video

Board: Libre Computer AML-S905X-CC

U-Boot: 2023.07+ (Oct 13 2023 - 16:20:36 -0400)

The EDID dump for the monitor is:

00000000: 00ff ffff ffff ff00 2613 5018 0100 0000  ........&.P.....
00000010: 0120 0103 8000 0078 aed6 a5a2 594a 9524  . .....x....YJ.$
00000020: 1450 54b5 6b80 7140 81c0 8100 8140 8180  .PT.k.q@.....@..
00000030: 0101 0101 0101 6621 56aa 5100 1e30 468f  ......f!V.Q..0F.
00000040: 3300 9ae6 1000 001e 0000 0010 0000 0000  3...............
00000050: 0000 0000 0000 0000 0000 0000 00fd 0030  ...............0
00000060: 4c23 460a 000a 2020 2020 2020 0000 00fc  L#F...      ....
00000070: 0048 444d 490a 2020 2020 2020 2020 01c2  .HDMI.        ..
00000080: 0203 27f1 4701 0203 0412 1316 2309 0707  ..'.G.......#...
00000090: 8301 0000 6703 0c00 1000 381c e606 0701  ....g.....8.....
000000a0: 6047 00e3 05e3 018c 0ad0 8a20 e02d 1010  `G......... .-..
000000b0: 3e96 00fe 1f11 0000 1800 0000 0000 0000  >...............
000000c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000f0: 0000 0000 0000 0000 0000 0000 0000 0001  ................

Be more than glad to provide any additional info needed.

Many thanks.