[PATCH] test: Update logic for video test

Kory Maincent kory.maincent at bootlin.com
Mon Oct 6 17:22:24 CEST 2025


On Mon, 6 Oct 2025 17:13:35 +0200
Kory Maincent <kory.maincent at bootlin.com> wrote:

> On Mon, 18 Aug 2025 10:54:06 -0600
> Tom Rini <trini at konsulko.com> wrote:
> 
> > The video test here is specific to the sandbox SDL video driver, so only
> > build it when that is enabled rather than VIDEO is enabled.  
> 
> This broke the build of sandbox_defconfig:

It seems CONFIG_SANDBOX_SDL=y is missing in every sandbox defconfig, and it is
required to have CONFIG_VIDEO_SANDBOX_SDL enabled.

> /usr/bin/ld: /tmp/cc9hfosg.ltrans55.ltrans.o: in function `expo_render_image':
> /home/kory/uboot/test/boot/expo.c:674:(.text+0x5eea): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/expo.c:687:(.text+0x6196): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/expo.c:688:(.text+0x61ea): undefined reference to
> `video_check_copy_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/expo.c:696:(.text+0x62df): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/expo.c:699:(.text+0x63cb): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/expo.c:704:(.text+0x650b): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/expo.c:707:(.text+0x65fe): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/expo.c:733:(.text+0x68e9): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /tmp/cc9hfosg.ltrans56.ltrans.o:/home/kory/uboot/test/boot/cedit.c:267: more
> undefined references to `video_compress_fb' follow /usr/bin/ld:
> /tmp/cc9hfosg.ltrans56.ltrans.o: in function `cedit_render':
> /home/kory/uboot/test/boot/cedit.c:268:(.text+0x63e): undefined reference to
> `video_check_copy_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/cedit.c:275:(.text+0x6c1): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/cedit.c:282:(.text+0x777): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/cedit.c:289:(.text+0x82d): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/cedit.c:296:(.text+0x8e3): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/cedit.c:303:(.text+0x999): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /tmp/cc9hfosg.ltrans56.ltrans.o:/home/kory/uboot/test/boot/cedit.c:309: more
> undefined references to `video_compress_fb' follow /usr/bin/ld:
> /tmp/cc9hfosg.ltrans56.ltrans.o: in function `cedit_render_lineedit':
> /home/kory/uboot/test/boot/cedit.c:398:(.text+0x10b3): undefined reference to
> `video_check_copy_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/cedit.c:405:(.text+0x1136): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/cedit.c:413:(.text+0x11ec): undefined reference to
> `video_compress_fb' /usr/bin/ld:
> /home/kory/uboot/test/boot/cedit.c:424:(.text+0x135b): undefined reference to
> `video_compress_fb'
> 

-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


More information about the U-Boot mailing list