CPU:imx8qx6avlf
SDK:Android Q10.0.0_2.2.0_AUTO
lunch mek_8q_car_userdebug
We noticed that the NXP logo will be displayed when the machine is turned on. It is converted into an array and placed in rear_view_camera/nxp_logo.h.
/*
* Copyright 2018 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#define NXP_LOGO_WIDTH (200)
#define NXP_LOGO_HEIGHT (150)
static const uint8_t NXP_logo[NXP_LOGO_WIDTH * NXP_LOGO_HEIGHT * 2 + 1] =
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
//······
}
How do you convert the picture into an array? I want to replace the NXP logo with my own picture.
Unfortunately, I cannot find a script to change the image.
According to the code rear_view_camera.c, there is a #define "APP_MAKE_COLOR(red, green, blue)". And for an example, the white color is define as APP_COLOR_WHITE APP_MAKE_COLOR(0x1F, 0x3F, 0x1F). I think you may search any tool (e.g. from google) to convert the image file to RGB hex. And then use the APP_MAKE_COLOR(red, green, blue) to create an array of your logo image to replace the NXP logo.
Sorry, I made a mistake. We don't know how to customize the boot animation. Because M4 controls the display at the beginning, and finally Android controls the display.
I think it is the logo for u-boot and for Android.
FYI. I hope this link can help you.
For the EVS, I need to check with the internal AE. I will let you know when I get the reply.