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 the splash screen details with defconfig changes to enable
the splash screen with backlight.
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.
11
+
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
12
+
the vendor logo, which helps with branding and identification of which boot image is used for the bootup.
13
+
All the code related to u-boot splash screen support is based on Processor Linux SDK 09.03.05.02.
14
14
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:
15
+
For AM335x, the splash screen is enabled in u-boot which uses the LCDC driver.
16
+
On AM335x EVM, the LCD backlight is controlled using enhanced Auxiliary(eCAP0) PWM.
17
+
Enable the following configurations in :file:`configs/am335x_evm_defconfig` to use this.
18
18
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.
19
+
.. code-block:: kconfig
23
20
24
-
.. code-block:: text
21
+
CONFIG_SPLASH_SCREEN=y
22
+
CONFIG_SPLASH_SOURCE=y
23
+
CONFIG_SPLASH_SCREEN_ALIGN=y
24
+
CONFIG_HIDE_LOGO_VERSION=y
25
+
CONFIG_AM335X_LCD=y
26
+
CONFIG_VIDEO_BMP_GZIP=y
27
+
CONFIG_BMP_24BPP=y
28
+
CONFIG_BMP_32BPP=y
29
+
CONFIG_BMP=y
30
+
CONFIG_VIDEO=y
31
+
CONFIG_CMD_BMP=y
32
+
CONFIG_SYSCON=y
33
+
CONFIG_REGMAP=y
34
+
CONFIG_CLK_CCF=y
35
+
CONFIG_CLK_TI_AM3_DPLL=y
36
+
CONFIG_CLK_TI_DIVIDER=y
37
+
CONFIG_CLK_TI_MUX=y
38
+
CONFIG_DM_PWM=y
39
+
CONFIG_BACKLIGHT_PWM=y
40
+
CONFIG_PWM_TI_ECAP=y
25
41
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
42
+
If the user is using enhanced High Resolution PWM(eHRPWM) to control the display backlight,
43
+
enable the following config.
34
44
35
-
In include/configs/am335x\_evm.h, add support for the splash screen,
0 commit comments