Personal tools

Difference between revisions of "How to use a splash screen with VisionSOM-6ULL"

From SomLabs Wiki

Jump to: navigation, search
(Splash screen bitmap file)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{PageHeader|How to use a splash screen with VisionSOM-6ULL}}
 
{{PageHeader|How to use a splash screen with VisionSOM-6ULL}}
 +
 +
 +
[[Image:sl_wiki_new_version_600x180.jpg|center|link=VisionSOM-6ULL]]
 +
  
 
== Prerequisites ==
 
== Prerequisites ==
* PC with Microsoft Windows 10 64-bit OS or Linux Ubuntu 16.04+ (for flashing to NAND only)
+
* PC with Microsoft Windows 10 64-bit OS or Linux Ubuntu 16.04+ (only for flashing NAND memory)
* A complete package with NXP UUU application (for flashing to NAND only)
+
* A complete package with NXP UUU application (only for flashing NAND memory) - [http://ftp.somlabs.com/Tools/somlabs-visionsom-flasher.zip ftp.somlabs.com/Tools/somlabs-visionsom-flasher.zip]
 
* splash.bmp - splash screen bitmap file (from the complete package above or generated by yourself)
 
* splash.bmp - splash screen bitmap file (from the complete package above or generated by yourself)
  
 
== Information ==
 
== Information ==
* SOMLABS solution is based on NXP UUU tool, with some extensions added on top of it to easly handle SOMLABS boards.
+
* SoMLabs solution is based on NXP UUU tool (Universal Update Utility), with some extensions added on top of it to easly handle SoMLabs boards.
 
* Please note also, that file can be located in any directory - you need to specify complete file path then.
 
* Please note also, that file can be located in any directory - you need to specify complete file path then.
 
* If you are using VisionSOM module with i.MX6UL processor, please change in commands given below '6ull' to '6ul'
 
* If you are using VisionSOM module with i.MX6UL processor, please change in commands given below '6ull' to '6ul'
Line 13: Line 17:
 
[[File:VCB_UUU_flasher_NAND_map.png|center|200px]]
 
[[File:VCB_UUU_flasher_NAND_map.png|center|200px]]
  
== Preparing for flashing splash screen to NAND ==
+
== Splash screen bitmap file ==
 +
A maximum size of splash image file is 800x480px (equal to SL-TFT7-TP-800-480-P display resolution), bpp shall be 24-bit or 8-bit with pallete.
 +
Image shall be stored as .bmp file. Please ensure that file size must be smaller than 1MB.
 +
 
 +
== Preparing for flashing splash screen to NAND memory ==
 
For programming NAND memory of VisionSOM-6ULL, switch boot selector to mode: SERIAL.
 
For programming NAND memory of VisionSOM-6ULL, switch boot selector to mode: SERIAL.
 
{| class="wikitable"
 
{| class="wikitable"
Line 39: Line 47:
 
|}
 
|}
  
Connect the VisionCB-STD board to the host PC using microUSB cable connected to the USB-OTG connector. To observe progress/error reports during programming, please use serial console. If you are using standard VisionSOM carrier board (VisionCB-6ULL-STD), this can be done by using build in serial/usb converter.
+
Connect the VisionCB-6ULL-STD board to the host PC using microUSB cable connected to the USB-OTG connector. To observe progress/error reports during programming, please use serial console. If you are using standard VisionSOM carrier board (VisionCB-6ULL-STD), this can be done by using build in serial/usb converter.
 
 
== Splash screen bitmap file ==
 
A maximum size of splash image file is 800x480px (equal to SL-TFT7-TP-800-480-P display resolution), bpp shall be 24-bit or 8-bit with pallete.
 
Image shall be stored as .bmp file. Please ensure that file size must be smaller than 1MB.
 
  
 
== Flashing splash screen to NAND (from Windows host machine) ==
 
== Flashing splash screen to NAND (from Windows host machine) ==
Line 57: Line 61:
 
{| class="frame-green"
 
{| class="frame-green"
 
|-
 
|-
|Be aware if any of erase blocks in 'splash' partiton are bad, then max. size of splash screen will be smaller. To meet size limit, it is possible to compress bitmap file with gzip and write compressed file to NAND.
+
|Be aware if any of erase blocks in 'splash' partition are bad, then max. size of splash screen will be smaller. To meet the size limit, it is possible to compress a bitmap file with gzip and write compressed file to NAND.
 
|}
 
|}
  
 
== Flashing splash screen to eMMC/SD card ==
 
== Flashing splash screen to eMMC/SD card ==
 
There is no need to perform any additional step to program custom splash image - for applying a splash screen, simply put prepared 'splash.bmp' file into '/boot' directory of the root file system. Please ensure if u-boot on your SD card image supports splash screen displaying.
 
There is no need to perform any additional step to program custom splash image - for applying a splash screen, simply put prepared 'splash.bmp' file into '/boot' directory of the root file system. Please ensure if u-boot on your SD card image supports splash screen displaying.

Latest revision as of 10:20, 16 June 2020

How to use a splash screen with VisionSOM-6ULL



Sl wiki new version 600x180.jpg


Prerequisites

  • PC with Microsoft Windows 10 64-bit OS or Linux Ubuntu 16.04+ (only for flashing NAND memory)
  • A complete package with NXP UUU application (only for flashing NAND memory) - ftp.somlabs.com/Tools/somlabs-visionsom-flasher.zip
  • splash.bmp - splash screen bitmap file (from the complete package above or generated by yourself)

Information

  • SoMLabs solution is based on NXP UUU tool (Universal Update Utility), with some extensions added on top of it to easly handle SoMLabs boards.
  • Please note also, that file can be located in any directory - you need to specify complete file path then.
  • If you are using VisionSOM module with i.MX6UL processor, please change in commands given below '6ull' to '6ul'
  • Default NAND paritions layout for 4M boot variant (remaining NAND area is used for root file system by default):
VCB UUU flasher NAND map.png

Splash screen bitmap file

A maximum size of splash image file is 800x480px (equal to SL-TFT7-TP-800-480-P display resolution), bpp shall be 24-bit or 8-bit with pallete. Image shall be stored as .bmp file. Please ensure that file size must be smaller than 1MB.

Preparing for flashing splash screen to NAND memory

For programming NAND memory of VisionSOM-6ULL, switch boot selector to mode: SERIAL.

BOOTx Boot Mode
BOOT1 BOOT0
1 1 Reserved
1 0 Internal
0 1 Serial
0 0 Fuses

Connect the VisionCB-6ULL-STD board to the host PC using microUSB cable connected to the USB-OTG connector. To observe progress/error reports during programming, please use serial console. If you are using standard VisionSOM carrier board (VisionCB-6ULL-STD), this can be done by using build in serial/usb converter.

Flashing splash screen to NAND (from Windows host machine)

Run command:

uuu.exe -b vsom_6ull_nand_splash splash.bmp

Flashing splash screen to NAND (from Linux host machine)

Make UUU executable:

chmod 755 uuu

Run command:

sudo ./uuu -b vsom_6ull_nand_splash splash.bmp
Be aware if any of erase blocks in 'splash' partition are bad, then max. size of splash screen will be smaller. To meet the size limit, it is possible to compress a bitmap file with gzip and write compressed file to NAND.

Flashing splash screen to eMMC/SD card

There is no need to perform any additional step to program custom splash image - for applying a splash screen, simply put prepared 'splash.bmp' file into '/boot' directory of the root file system. Please ensure if u-boot on your SD card image supports splash screen displaying.

NXP Partner ST Partner Renesas Partner