imx: ventana: enable splashscreen support
PATCH 1/1 imx: ventana: enable splashscreen support
--- include/configs/gw_ventana.h | 7 ++++--- tools/logos/gateworks.bmp | Bin 0 -> 56202 bytes 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 tools/logos/gateworks.bmp
include/configs/gw_ventana.h +4 -3
@@ -191,15 +191,15 @@#define CONFIG_CFB_CONSOLE #define CONFIG_VGA_AS_SINGLE_DEVICE #define CONFIG_SYS_CONSOLE_IS_IN_ENV -#define CONFIG_VIDEO_BMP_RLE8 -#define CONFIG_SPLASH_SCREEN -#define CONFIG_BMP_16BPP #define CONFIG_VIDEO_LOGO #define CONFIG_IPUV3_CLK 260000000#define CONFIG_CMD_HDMIDETECT #define CONFIG_CONSOLE_MUX #define CONFIG_IMX_HDMI #define CONFIG_IMX_VIDEO_SKIP +#define CONFIG_VIDEO_BMP_LOGO +#define CONFIG_SPLASH_SCREEN_ALIGN +#define CONFIG_HIDE_LOGO_VERSION /* Custom config to hide U-boot version */ /* Miscellaneous configurable options */ #define CONFIG_HWCONFIG
@@ -274,6 +274,7 @@#define CONFIG_EXTRA_ENV_SETTINGS_COMMON \ "pcidisable=1\0" \ + "splashpos=m,m\0" \ "usb_pgood_delay=2000\0" \ "console=ttymxc1\0" \ "bootdevs=usb mmc sata flash\0" \
tools/logos/gateworks.bmp new file binary +0 -0
zbLoXYe<{7_(u>nCzW62Sr7!uV^zxUzBK6!ekJ|tD_ at mf{i at fb*S_X;>GiMs_4J#+ z at rLxqH~v=oo!@>_dh?s!l79ECZ%c1~#aJf{Qe)NKmMaXN$>pAKTGd=*Sphu-t*q{ zzW2UA{rLy}BK_50{&o72mdC0=tF;-{{HX&A>DcBhtr4e{Kxc>fBH!J=tu8Lcir{R z>0=-Jc>33WM30mfB!K<R?FsKJ)3%q|bi#Khozu_xbes{QZS5{Ac>&7r&Igl)u0H z<-60}cYh__bI(2L-ml)9zV@~MN?-r_H0Cg-Iwma|Niu?Z+<I%``h114?OTdy8J(v z)8)&T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|V$)&?&6@WBxsV!=VSfQ5G@*&gy)sn6u75N(lT z$zgo4&$1;ri7)mI=<)gv(>ivX#REH12(%8!!VRGddwj!!!DvAX^Fo3i@2U?St>+d z<XCVR9_Xe;WFn31bnrp6dVPm!9XrnKS#5|~N3M6rMIP5NB8?n)VmU}hny&OM4k%C z7+Gc<MGc%KX1s|N6wOw<vrX=_PqFBQHD-4=?z`<={pbYG=VNwh>3Saa}Rl0ZkS9B zqBXQcB*qv;i5bV)7;~CjEbrk~vgf_{d*wb?I&+7(ec(Yugo03^BI}a#J!JQW%DBG= zU1H>=rWjHtfN{>TL2^Q2lufAaqSmtMhAlAzk^(gGMT>94MHYn8<5%<@ARjLbg<_NU z)fk(p%R>%Kun!V5$(?j?19Wu)1LqA*$+_Kn!Be~ZATC&R+Vc&J%PYgve_*c!9>e_u SbN{iPsGj{DPv=wN2EGrqwOHH$
literal 0
HcmV?d00001
Signature · 1 line
1.9.1
PATCH 1/1 imx: ventana: enable splashscreen support
Hi Tim,
tools/logos/gateworks.bmp
Quoted 41 lines · Tim Harvey
Signed-off-by Tim Harvey <[email protected]>--- include/configs/gw_ventana.h | 7 ++++--- tools/logos/gateworks.bmp | Bin 0 -> 56202 bytes 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 tools/logos/gateworks.bmpinclude/configs/gw_ventana.h +4
-3@@ -191,15 +191,15 @@#define CONFIG_CFB_CONSOLE #define CONFIG_VGA_AS_SINGLE_DEVICE #define CONFIG_SYS_CONSOLE_IS_IN_ENV -#define CONFIG_VIDEO_BMP_RLE8 -#define CONFIG_SPLASH_SCREEN -#define CONFIG_BMP_16BPP #define CONFIG_VIDEO_LOGO #define CONFIG_IPUV3_CLK 260000000#define CONFIG_CMD_HDMIDETECT #define CONFIG_CONSOLE_MUX #define CONFIG_IMX_HDMI #define CONFIG_IMX_VIDEO_SKIP +#define CONFIG_VIDEO_BMP_LOGO +#define CONFIG_SPLASH_SCREEN_ALIGN +#define CONFIG_HIDE_LOGO_VERSION /* Custom config to hide U-boot version */ /* Miscellaneous configurable options */ #define CONFIG_HWCONFIG @@ -274,6 +274,7 @@#define CONFIG_EXTRA_ENV_SETTINGS_COMMON \ "pcidisable=1\0" \ + "splashpos=m,m\0" \ "usb_pgood_delay=2000\0" \ "console=ttymxc1\0" \ "bootdevs=usb mmc sata flash\0" \tools/logos/gateworks.bmp new file +0
-0
This is done on several boards, but I would ask if this is strictly required. You can already display a bmp on the screen, and it is a more flexible way as linked the image with U-Boot. Do you really need CONFIG_VIDEO_BMP_LOGO ?
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/1 imx: ventana: enable splashscreen support
Quoted 51 lines · Stefano Babic
Hi Tim,
tools/logos/gateworks.bmp
Quoted 41 lines · Tim Harvey
Signed-off-by Tim Harvey <[email protected]>--- include/configs/gw_ventana.h | 7 ++++--- tools/logos/gateworks.bmp | Bin 0 -> 56202 bytes 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 tools/logos/gateworks.bmpinclude/configs/gw_ventana.h +4
-3@@ -191,15 +191,15 @@#define CONFIG_CFB_CONSOLE #define CONFIG_VGA_AS_SINGLE_DEVICE #define CONFIG_SYS_CONSOLE_IS_IN_ENV -#define CONFIG_VIDEO_BMP_RLE8 -#define CONFIG_SPLASH_SCREEN -#define CONFIG_BMP_16BPP #define CONFIG_VIDEO_LOGO #define CONFIG_IPUV3_CLK 260000000#define CONFIG_CMD_HDMIDETECT #define CONFIG_CONSOLE_MUX #define CONFIG_IMX_HDMI #define CONFIG_IMX_VIDEO_SKIP +#define CONFIG_VIDEO_BMP_LOGO +#define CONFIG_SPLASH_SCREEN_ALIGN +#define CONFIG_HIDE_LOGO_VERSION /* Custom config to hide U-boot version */ /* Miscellaneous configurable options */ #define CONFIG_HWCONFIG @@ -274,6 +274,7 @@#define CONFIG_EXTRA_ENV_SETTINGS_COMMON \ "pcidisable=1\0" \ + "splashpos=m,m\0" \ "usb_pgood_delay=2000\0" \ "console=ttymxc1\0" \ "bootdevs=usb mmc sata flash\0" \tools/logos/gateworks.bmp new file +0
-0This is done on several boards, but I would ask if this is strictly required. You can already display a bmp on the screen, and it is a more flexible way as linked the image with U-Boot. Do you really need
CONFIG_VIDEO_BMP_LOGO?
Quoted 3 lines
Best regards,
Stefano Babic
Stefano,
I think your talking about:
#define CONFIG_CMD_BMP
- Adds support for displaying raw bmp images.
#define CONFIG_SPLASH_SCREEN_ALIGN
- If this option is set the splash image (or bmp logo)
can be freely positioned
on the screen. Environment variable "splashpos"
specifies the position as
"x,y". If a positive number is given it is used as
number of pixel from
left/top. If a negative number is given it is used as
number of pixel from
right/bottom. You can also specify 'm' as x and/or y
to center the image.
While this method of a splash-screen is indeed very flexible it has the downside of bringing up the splash a little later. The other downside is that you have to either load it from the filesystem (which creates an even longer delay) or stick it in a raw partition which means changing an already established partitioning scheme.
Is it generally frowned upon to add hard-coded logo's as I've done and/or is there a move to replace hard-coded logos with loadable ones? It appears there are 16 of them in tools/logos although most appear to be imx6 or other fsl based boards.
Regards,
Tim
PATCH 1/1 imx: ventana: enable splashscreen support
Hi Tim,
Quoted 28 lines · Tim Harvey
Quoted 9 lines
This is done on several boards, but I would ask if this is strictly required. You can already display a bmp on the screen, and it is a more flexible way as linked the image with U-Boot. Do you really need
CONFIG_VIDEO_BMP_LOGO?Best regards,
Stefano BabicStefano,
I think your talking about:
#define
CONFIG_CMD_BMP
- Adds support for displaying raw bmp images.
#defineCONFIG_SPLASH_SCREEN_ALIGN
- If this option is set the splash image (or bmp logo)
can be freely positioned
on the screen. Environment variable "splashpos"
specifies the position as
"x,y". If a positive number is given it is used as
number of pixel from
left/top. If a negative number is given it is used as
number of pixel from
right/bottom. You can also specify 'm' as x and/or y
to center the image.
Quoted 2 lines
While this method of a splash-screen is indeed very flexible it has the downside of bringing up the splash a little later.
This is absolutely true. What I like about it is the strict distinction between code (U-Boot) and data (the bitmap).
Quoted 4 lines
The other
downside is that you have to either load it from the filesystem (which creates an even longer delay) or stick it in a raw partition which means changing an already established partitioning scheme.
Right, this is also correct.
Quoted 4 lines
Is it generally frowned upon to add hard-coded logo's as I've done and/or is there a move to replace hard-coded logos with loadable ones? It appears there are 16 of them in
tools/logos
I know, I have just asked if the 17th could be avoided...
Quoted 2 lines
although most appear to
be imx6 or other fsl based boards.
Right - I do not block patches asking for logo, but I try at least once to convince to use another method.
IMHO there should be at least a way to add an out-of-tree logo, using a variable for instance. I never liked to add binary blob to the tree. Anyway, gw_ventana will be the 17th board with logo :-)
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================