Creating my own splash screen on the Jetson Xavier-NX using Jetpack 4.4

Hello Nvidia Forum,

I have tried to create my own splash screen by following the bmp-blob-README.txt instructions found in the Linux_for_Tegra/tools/bmp-splash directory.

I have created a 1920x1080 24bpp (Windows format) BMP image and placed it in the Linux_for_Tegra/tools/bmp-splash directory. I then ran the command:
OUT=$PWD ./genbmpblob_L4T.sh t210 ./config_file ./BMP_generator_L4T.py /usr/bin/lz4c my-bmp.blob

I was getting a few errors relating to the BMP_generator_L4T.py script, but have realised that I had to use Python 2.7. I now use the command:
OUT=$PWD /usr/bin/python2.7 ./genbmpblob_L4T.sh t210 ./config_file ./BMP_generator_L4T.py /usr/bin/lz4c my-bmp.blob

When I run the command I am getting the following error:

File “./genbmpblob_L4T.sh”, line 15
function compress_blob()
^
SyntaxError: invalid syntax

On my terminal, the ^ sign is positioned below the second b in the word blob. I haven’t made any changes to the genbmpblob_L4T.sh script, so I am unsure why I am getting a syntax error. Could you please advise on what the issue may be?

Many thanks,

Gavin

Hi,

Sorry for the late reply.

I don’t think specifying /usr/bin/python2.7 makes any changes.
Try modifying the shebang in BMP_generator_L4T.py.

#!/usr/bin/python2.7
#
# Copyright (c) 2017-2020, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA Corporation and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA Corporation is strictly prohibited.
#

"""

Appendix:
-------
    when blob-type = bmp , entry tuple format is:
        <filename bmp-type bmp-resolution>

    currently supported bmp-types: nvidia
    currently supported bmp-resolutions: 480, 720, 810, 1080, 4k.

    example: BMP_generator.py -t bmp -e "nvidia.bmp nvidia 720"

"""

Hi DaveYYY,

Thank you for your reply.

Your advice has worked perfectly. Thank you.

I have just one final question. Is it possible to change the duration of how long the splash screen displays? It currently displays for approx. 1 second. Ideally I would like it to display for a bit longer.

Many thanks,

Gavin

Sorry but I don’t think that’s configurable.

Ah, that’s no problem.

Thanks again for your help!

Gavin

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.