DESK-MP1-L/Deployment/Customizing the splash screen

From DAVE Developer's Wiki
< DESK-MP1-L
Revision as of 06:39, 31 July 2023 by U0031 (talk | contribs) (Created page with "==Customizing the splash screen== === Instructions === The following U-Boot environment variables are required: * <code>splashimage</code>: RAM address where the BMP image...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Customizing the splash screen[edit | edit source]

Instructions[edit | edit source]

The following U-Boot environment variables are required:

  • splashimage: RAM address where the BMP image is loaded. Please note that it must be a 32-bit (eg: 0xc4100000)
  • splashfile: image name to load and then display at boot. (eg: splash_landscape.bmp)

uSD Splash image[edit | edit source]

U-Boot variables[edit | edit source]
splashimage=0xc4100000
splashfile=splash_landscape.bmp
Commands update splah image on u-boot via tftp[edit | edit source]

If you want to upload the image via tftp you must first format the ext4 partitions of the uSD without the metadata_csum flag (eg: mkfs.ext4 -O ^metadata_csum -F -L <name> <partition>)

The following commands are used to store in uSD flash a BMP image loaded via tftp(e.g. the image are con /tftp/desk-mp1-l/splash_image.bmp, serverip=192.168.0.13)

tftp ${loadaddr} desk-mp1-l/splash_image.bmp
ext4write mmc 0:8 ${loadaddr} /splash_landscape.bmp ${filesize}

Not using the metadata_csum flag is not recommended!

Commands update splah image with host[edit | edit source]

You can update the splash image with the following steps:

  • connect the uSD to the host
  • mount the boot partition (eg: sudo mount /dev/sdb8 /mnt)
  • copy on /mnt partition the image with this name: splash_landscape.bmp
  • umount the uSD and excecute the boot
Commands update splah image on userspace[edit | edit source]

After booting and into userspace, get the image to have as splash, for example using a scp command from the host, the boot partition should already be mounted in /boot, put the image to use in the partition, the image must have the name splash_landscape.bmp.