diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h old mode 100644 new mode 100755 index 3a360ca4..0423c08 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -186,6 +186,9 @@ BOOTENV_SHARED_SCSI \ BOOTENV_SHARED_IDE \ "boot_prefixes=/ /boot/\0" \ + "splashpos=m,m\0" \ + "splashimage=66000000\0" \ + "loadsplash=ext4load mmc 0 ${splashimage} /boot/boot.bmp || fatload mmc 0 ${splashimage} boot.bmp; bmp d ${splashimage}\0" \ "boot_scripts=boot.scr.uimg boot.scr\0" \ "boot_script_dhcp=boot.scr.uimg\0" \ BOOTENV_BOOT_TARGETS \ @@ -243,7 +245,7 @@ "done\0" #ifndef CONFIG_BOOTCOMMAND -#define CONFIG_BOOTCOMMAND "run distro_bootcmd" +#define CONFIG_BOOTCOMMAND "run loadsplash; run distro_bootcmd" #endif #endif /* _CONFIG_CMD_DISTRO_BOOTCMD_H */ diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h old mode 100644 new mode 100755 index 2d6b815..33a7b86 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -10,6 +10,10 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#define CONFIG_SPLASH_SCREEN +#define CONFIG_SPLASH_SCREEN_ALIGN +#define CONFIG_CMD_BMP +#define CONFIG_VIDEO_BMP_RLE8 #ifndef _SUNXI_COMMON_CONFIG_H #define _SUNXI_COMMON_CONFIG_H