You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(u-boot): AM335X: Update splash screen details for 09.03.05.02
Update splash screen details with defconfig changes to enable
splash screen.
Add steps to test the splash screen.
Add the reference output image on AM335x EVM.
Signed-off-by: Sukrut Bellary <[email protected]>
All the code below is based on Processor Linux SDK 03.02.00..05.
13
+
A splash screen is an introductory screen the user sees over the display when the device boots up. Splash screens are typically used to provide feedback to the user that the board is booting up and to showcase
14
+
the vendor logo which helps with branding and identification of which boot image is being used for the bootup.
15
+
All the code related to u-boto splash screen support is based on Processor Linux SDK 09.03.05.02.
14
16
15
-
There is a frame buffer driver for am335x in the drivers/video directory
16
-
called am3355x-fb.c. It makes calls to routines in board.c to set up the
17
-
LCDC and frame buffer. To use it:
17
+
For AM335x, splash screen is enabled in u-boot which uses the LCDC driver.
18
+
On AM335x evm, the LCD backlight is controlled using enhanced Auxiliary(eCAP0) PWM.
19
+
To use this, enable following configurations in configs/am335x_evm_defconfig.
18
20
19
-
Either create a new defconfig in the configs directory or just add
20
-
SPLASH to CONFIG\_SYS\_EXTRA\_OPTIONS. In this example the
21
-
am335x\_evm\_defconfig is copied into a new one called
22
-
am335x\_evm\_splash\_defconfig.
21
+
.. code-block:: kconfig
23
22
24
-
.. code-block:: text
23
+
CONFIG_SPLASH_SCREEN=y
24
+
CONFIG_SPLASH_SOURCE=y
25
+
CONFIG_SPLASH_SCREEN_ALIGN=y
26
+
CONFIG_HIDE_LOGO_VERSION=y
27
+
CONFIG_AM335X_LCD=y
28
+
CONFIG_VIDEO_BMP_GZIP=y
29
+
CONFIG_BMP_24BPP=y
30
+
CONFIG_BMP_32BPP=y
31
+
CONFIG_BMP=y
32
+
CONFIG_VIDEO=y
33
+
CONFIG_CMD_BMP=y
34
+
CONFIG_SYSCON=y
35
+
CONFIG_REGMAP=y
36
+
CONFIG_CLK_CCF=y
37
+
CONFIG_CLK_TI_AM3_DPLL=y
38
+
CONFIG_CLK_TI_DIVIDER=y
39
+
CONFIG_CLK_TI_MUX=y
40
+
CONFIG_DM_PWM=y
41
+
CONFIG_BACKLIGHT_PWM=y
42
+
CONFIG_PWM_TI_ECAP=y
25
43
26
-
CONFIG_TARGET_AM335X_EVM=y
27
-
CONFIG_SPL_STACK_R_ADDR=0x82000000
28
-
CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
29
-
CONFIG_SPL=y
30
-
CONFIG_SPL_STACK_R=y
31
-
CONFIG_SYS_EXTRA_OPTIONS="NAND,SPLASH"
32
-
CONFIG_HUSH_PARSER=y
33
-
CONFIG_AUTOBOOT_KEYED=y
44
+
.. rubric:: Display Image using U-Boot command line
45
+
:name: Display Image
34
46
35
-
In include/configs/am335x\_evm.h, add support for the splash screen,
36
-
LCDC, and gzipped bitmaps.
47
+
To test the display and video driver in U-Boot, run the following commands at U-Boot console:
0 commit comments