Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

Commit b3c0e7f

Browse files
Change /srv/init.bmp to /etc/graphics/init.png
This commit also enables PNG for the 'fbv' tool.
1 parent 3bf5760 commit b3c0e7f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

OS/buildroot/config.armhf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ BR2_PACKAGE_E2FSPROGS_FSCK=y
762762
# BR2_PACKAGE_FB_TEST_APP is not set
763763
# BR2_PACKAGE_FBTERM is not set
764764
BR2_PACKAGE_FBV=y
765-
# BR2_PACKAGE_FBV_PNG is not set
765+
BR2_PACKAGE_FBV_PNG=y
766766
# BR2_PACKAGE_FBV_JPEG is not set
767767
# BR2_PACKAGE_FBV_GIF is not set
768768
# BR2_PACKAGE_FREERDP is not set
@@ -1716,7 +1716,7 @@ BR2_PACKAGE_JPEG_SIMD_SUPPORT=y
17161716
#
17171717
# BR2_PACKAGE_LIBMEDIAART is not set
17181718
# BR2_PACKAGE_LIBMNG is not set
1719-
# BR2_PACKAGE_LIBPNG is not set
1719+
BR2_PACKAGE_LIBPNG=y
17201720
# BR2_PACKAGE_LIBQRENCODE is not set
17211721
# BR2_PACKAGE_LIBRAW is not set
17221722
# BR2_PACKAGE_LIBRSVG is not set

OS/buildroot/overlay/etc/graphics

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/media/config/etc/graphics

OS/buildroot/overlay/etc/init.d/S01init_image

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010
# The 'q' key quits fbv right after the image has been drawn to the
1111
# framebuffer.
12-
echo q | fbv /srv/init.bmp
12+
echo q | fbv /etc/graphics/init.png
1313
# Turn on the backlight
1414
echo out > /sys/class/gpio/DIO2_N/direction
1515
echo 1 > /sys/class/gpio/DIO2_N/value

0 commit comments

Comments
 (0)