Personal tools

Difference between revisions of "How to write image to VisionSOM-6ULL NAND/eMMC using UUU tool on Windows"

From SomLabs Wiki

Jump to: navigation, search
(Programming board with eMMC/uSD card)
Line 52: Line 52:
 
<pre>uuu.exe -b vsom_6ull_emmc_flasher sdcard.img</pre>
 
<pre>uuu.exe -b vsom_6ull_emmc_flasher sdcard.img</pre>
 
while: sdcard.img - raw image of SD card or eMMC memory
 
while: sdcard.img - raw image of SD card or eMMC memory
 +
 +
== Splash screen ==
 +
Prepare spalsh image - max. size is 800x480 (equal to screen resolution), bpp shall be 24bit or 8-bit with pallete.
 +
Image shall be stored as bmp file. Please ensure that file size is smaller than 1MB.
 +
=== Flashing splash screen to eMMC ===
 +
There is no need to perform any additional step to programm custom splash image - if you want to have it, simply put your 'splash.bmp' file into '/boot' directory of your root file system.
 +
 +
=== Flashing splash screen to NAND ===
 +
Run command:
 +
<pre>uuu.exe -b vsom_6ull_nand_splash splash.bmp</pre>
 +
 +
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.

Revision as of 00:30, 29 June 2019

How to write image to VisionSOM-6ULL NAND/eMMC using UUU tool on Windows


Prerequisites

    • PC with Microsoft Windows 10 64-bit OS
    • u-boot-dtb.imx - u-boot binary file to be programmed into traget
    • rootfs.ubi - root file system image

Information

Default NAND paritions layout for 4M boot variant:

|----------------------|
|    3 MB  [boot]      |
|----------------------|
|    1 MB  [splash]    |
|----------------------|
|   508M [rootfs]      |  (remaining NAND area is used for root file system by default)
|----------------------| 
VisionCB-2-0-bootsel.png

Preparing

For programming a memory of VisionSOM-6ULL, please 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-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, this can be done by using build in serial/usb converter.


Programming board with eMMC/uSD card

Flasher does not assume any specific partitions layout. It simply takes raw image of eMMC/SD card and writes it into the storage.

For image programing, use command:

uuu.exe -b vsom_6ull_emmc_flasher sdcard.img

while: sdcard.img - raw image of SD card or eMMC memory

Splash screen

Prepare spalsh image - max. size is 800x480 (equal to screen resolution), bpp shall be 24bit or 8-bit with pallete. Image shall be stored as bmp file. Please ensure that file size is smaller than 1MB.

Flashing splash screen to eMMC

There is no need to perform any additional step to programm custom splash image - if you want to have it, simply put your 'splash.bmp' file into '/boot' directory of your root file system.

Flashing splash screen to NAND

Run command:

uuu.exe -b vsom_6ull_nand_splash splash.bmp

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.

NXP Partner ST Partner Renesas Partner