Difference between revisions of "DESK-MP1-L/Deployment/Customizing the splash screen"

From DAVE Developer's Wiki
Jump to: navigation, search
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<section begin=History/>
+
==Customizing the splash screen==
{| style="border-collapse:collapse; "
 
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
 
|-
 
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
 
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
 
|-
 
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|2023/08/01
 
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|DESK-MP1-L-1.0.0 release
 
|-
 
|}
 
<section end=History/>
 
<section begin=Body/>
 
 
 
__FORCETOC__
 
  
==Customizing the splash screen==
+
=== Instructions ===
  
The following U-Boot environment variables are required for the splash image display when u-boot starts:
+
The following U-Boot environment variables are required:
  
 
* <code>splashimage</code>: RAM address where the BMP image is loaded. Please note that it must be a 32-bit (eg: <code>0xc4100000</code>)
 
* <code>splashimage</code>: RAM address where the BMP image is loaded. Please note that it must be a 32-bit (eg: <code>0xc4100000</code>)
 
* <code>splashfile</code>: image name to load and then display at boot. (eg: <code>splash_landscape.bmp</code>)
 
* <code>splashfile</code>: image name to load and then display at boot. (eg: <code>splash_landscape.bmp</code>)
  
=== U-Boot variables example ===
+
==== uSD Splash image ====
 +
 
 +
===== U-Boot variables =====
  
 
<pre>
 
<pre>
Line 29: Line 17:
 
</pre>
 
</pre>
  
=== How to update splashscreen image ===
 
  
As an example, you can update the splash image with the following steps:
+
===== Example how to update splashscreen image =====
 +
 
 +
You can update the splash image with the following steps:
 
* connect the uSD to the host
 
* connect the uSD to the host
 
* mount the boot partition (eg: <code>sudo mount /dev/sdb8 /mnt</code>)
 
* mount the boot partition (eg: <code>sudo mount /dev/sdb8 /mnt</code>)
 
* copy on <code>/mnt</code> partition the image with this name: <code>splash_landscape.bmp</code>
 
* copy on <code>/mnt</code> partition the image with this name: <code>splash_landscape.bmp</code>
 
* umount the uSD and excecute the boot
 
* umount the uSD and excecute the boot
 
----
 
 
[[Category:ETRA]] [[Category:ETRA_SBC]]
 

Revision as of 06:12, 1 August 2023

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


Example how to update splashscreen image[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