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

From DAVE Developer's Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
 
!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"|ID#
 
 
!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"|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:#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"|X.Y.Z
+
|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"|01/08/2023
 
 
|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
 
|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
 
|-
 
|-
Line 14: Line 12:
 
<section end=History/>
 
<section end=History/>
 
<section begin=Body/>
 
<section begin=Body/>
 +
 +
__FORCETOC__
  
 
==Customizing the splash screen==
 
==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>)
  
==== uSD Splash image ====
+
=== U-Boot variables example ===
 
 
===== U-Boot variables =====
 
  
 
<pre>
 
<pre>
Line 33: Line 29:
 
</pre>
 
</pre>
  
 +
=== How to update splashscreen image ===
  
===== Example how to update splashscreen image =====
+
As an example, you can update the splash image with the following steps:
 
 
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>)
Line 44: Line 39:
 
----
 
----
  
[[Category:ETRA]]
+
[[Category:ETRA]] [[Category:ETRA_SBC]]

Latest revision as of 11:29, 8 January 2024

History
Issue Date Notes
2023/08/01 DESK-MP1-L-1.0.0 release



Customizing the splash screen[edit | edit source]

The following U-Boot environment variables are required for the splash image display when u-boot starts:

  • 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)

U-Boot variables example[edit | edit source]

splashimage=0xc4100000
splashfile=splash_landscape.bmp

How to update splashscreen image[edit | edit source]

As an example, 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